Changeset 0.37.15 (#227)
This commit is contained in:
48
packages/team-activity-log/manifest.json
Normal file
48
packages/team-activity-log/manifest.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"id": "team-activity-log",
|
||||
"title": "Team Activity Log",
|
||||
"type": "full",
|
||||
"tier": "starlark",
|
||||
"route": "/s/team-activity-log",
|
||||
"auth": "authenticated",
|
||||
"layout": "single",
|
||||
"version": "0.1.0",
|
||||
"description": "Example surface demonstrating Starlark API routes, extension-owned DB tables, admin settings, and SDK integration.",
|
||||
"author": "switchboard",
|
||||
|
||||
"permissions": ["api.http", "db.read", "db.write"],
|
||||
|
||||
"api_routes": [
|
||||
{"method": "GET", "path": "/entries"},
|
||||
{"method": "POST", "path": "/entries"},
|
||||
{"method": "DELETE", "path": "/entries/*"}
|
||||
],
|
||||
|
||||
"db_tables": [
|
||||
{
|
||||
"name": "entries",
|
||||
"columns": {
|
||||
"user_id": "text",
|
||||
"username": "text",
|
||||
"category": "text",
|
||||
"message": "text",
|
||||
"created_at": "text"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
"settings": {
|
||||
"max_entries": {
|
||||
"type": "number",
|
||||
"label": "Max Entries",
|
||||
"description": "Maximum number of entries to retain (oldest are pruned).",
|
||||
"default": 500
|
||||
},
|
||||
"categories": {
|
||||
"type": "string",
|
||||
"label": "Categories (comma-separated)",
|
||||
"description": "Allowed activity categories. Leave blank for freeform.",
|
||||
"default": "note,update,decision,action-item"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user