mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-04 22:02:16 +02:00
fix(zero):add authz parent schemas
This commit is contained in:
parent
3cbd109e8d
commit
90c3dc98ca
3 changed files with 56 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue