Changeset 0.37.15 (#227)

This commit is contained in:
2026-03-23 19:58:17 +00:00
parent b7746c3004
commit d005e8a30f
23 changed files with 1764 additions and 170 deletions

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