This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/packages/team-activity-log/manifest.json
2026-03-23 19:58:17 +00:00

49 lines
1.2 KiB
JSON

{
"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"
}
}
}