fix(zero):add authz parent schemas

This commit is contained in:
Anish Sarkar 2026-06-23 12:59:50 +05:30
parent 3cbd109e8d
commit 90c3dc98ca
3 changed files with 56 additions and 4 deletions

View file

@ -1,5 +1,12 @@
import { json, number, string, table } from "@rocicorp/zero";
export const automationTable = table("automations")
.columns({
id: number(),
searchSpaceId: number().from("search_space_id"),
})
.primaryKey("id");
// Thin live row: status + per-step progress only. Heavy fields
// (definition_snapshot, inputs, output, artifacts, error) stay on REST
// (`GET /automations/{id}/runs/{run_id}`) and load on detail expand.