@fuzdev/fuz_app 0.102.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/auth/CLAUDE.md +37 -10
  2. package/dist/auth/cell_action_specs.d.ts +261 -35
  3. package/dist/auth/cell_action_specs.d.ts.map +1 -1
  4. package/dist/auth/cell_action_specs.js +102 -9
  5. package/dist/auth/cell_actions.d.ts +51 -0
  6. package/dist/auth/cell_actions.d.ts.map +1 -1
  7. package/dist/auth/cell_actions.js +168 -22
  8. package/dist/auth/cell_audit_events.d.ts +1 -1
  9. package/dist/auth/cell_audit_events.d.ts.map +1 -1
  10. package/dist/auth/cell_audit_events.js +3 -2
  11. package/dist/auth/cell_audit_metadata.d.ts +15 -0
  12. package/dist/auth/cell_audit_metadata.d.ts.map +1 -1
  13. package/dist/auth/cell_audit_metadata.js +11 -0
  14. package/dist/auth/cell_data_schema.d.ts +14 -16
  15. package/dist/auth/cell_data_schema.d.ts.map +1 -1
  16. package/dist/auth/cell_data_schema.js +14 -16
  17. package/dist/db/CLAUDE.md +19 -6
  18. package/dist/db/cell_ddl.d.ts +24 -2
  19. package/dist/db/cell_ddl.d.ts.map +1 -1
  20. package/dist/db/cell_ddl.js +33 -1
  21. package/dist/db/cell_queries.d.ts +59 -8
  22. package/dist/db/cell_queries.d.ts.map +1 -1
  23. package/dist/db/cell_queries.js +50 -12
  24. package/dist/testing/CLAUDE.md +37 -7
  25. package/dist/testing/cross_backend/capabilities.d.ts +14 -0
  26. package/dist/testing/cross_backend/capabilities.d.ts.map +1 -1
  27. package/dist/testing/cross_backend/capabilities.js +3 -0
  28. package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
  29. package/dist/testing/cross_backend/cell_crud.js +55 -13
  30. package/dist/testing/cross_backend/cell_gated_create.d.ts +28 -0
  31. package/dist/testing/cross_backend/cell_gated_create.d.ts.map +1 -0
  32. package/dist/testing/cross_backend/cell_gated_create.js +213 -0
  33. package/dist/testing/cross_backend/cell_grant_role.js +4 -4
  34. package/dist/testing/cross_backend/cell_relations.d.ts.map +1 -1
  35. package/dist/testing/cross_backend/cell_relations.js +30 -24
  36. package/dist/testing/cross_backend/default_backend_configs.d.ts.map +1 -1
  37. package/dist/testing/cross_backend/default_backend_configs.js +7 -0
  38. package/dist/testing/cross_backend/expected_schema.json +4 -0
  39. package/dist/testing/cross_backend/fact_serving.js +2 -2
  40. package/dist/testing/cross_backend/full_spine_mount.d.ts.map +1 -1
  41. package/dist/testing/cross_backend/full_spine_mount.js +9 -1
  42. package/dist/testing/cross_backend/rust_spine_stub_backend_config.d.ts.map +1 -1
  43. package/dist/testing/cross_backend/rust_spine_stub_backend_config.js +6 -3
  44. package/dist/testing/cross_backend/test_cell_gated_create_authorize.d.ts +22 -0
  45. package/dist/testing/cross_backend/test_cell_gated_create_authorize.d.ts.map +1 -0
  46. package/dist/testing/cross_backend/test_cell_gated_create_authorize.js +75 -0
  47. package/dist/testing/cross_backend/ts_spine_backend_config.d.ts.map +1 -1
  48. package/dist/testing/cross_backend/ts_spine_backend_config.js +5 -2
  49. package/package.json +1 -1
@@ -58,12 +58,42 @@ export declare const ERROR_CELL_VISIBILITY_MANAGE_ONLY: "cell_visibility_manage_
58
58
  /** Error reason — input shape for `cell_get` lacked both `id` and `path`. */
59
59
  export declare const ERROR_CELL_GET_REQUIRES_ID_OR_PATH: "cell_get_requires_id_or_path";
60
60
  /**
61
- * Error reason — `cell_clone` `with_data_patch` would change `data.kind`.
62
- * Per-kind shape validation can pass coincidentally (e.g., one kind's
63
- * schema accepts most of another's fields), so we reject the cross-kind
64
- * patch explicitly to prevent incoherent clones.
61
+ * Error reason — a `kind` key was supplied inside `data`. `kind` is a
62
+ * top-level column (`cell.kind`), not content metadata; accepting it inside
63
+ * `data` would create two sources of truth. Rejected fail-loud at the
64
+ * create / update / clone-patch boundary so the column stays canonical.
65
65
  */
66
- export declare const ERROR_CELL_CLONE_KIND_MISMATCH: "cell_clone_kind_mismatch";
66
+ export declare const ERROR_CELL_KIND_IN_DATA: "cell_kind_in_data";
67
+ /**
68
+ * Error reason — `cell_create` was given an empty-string `kind`. `kind` is a
69
+ * non-empty capability tag or absent (`null` = typeless cell); `""` (a tag
70
+ * that tags nothing) is rejected fail-loud so `kind` stays a clean
71
+ * `null | non-empty-string` (twin of the Rust `ERROR_CELL_KIND_EMPTY`).
72
+ */
73
+ export declare const ERROR_CELL_KIND_EMPTY: "cell_kind_empty";
74
+ /**
75
+ * Error reason — the parent-aware `CellCreateAuthorize` denied the create for a
76
+ * **viewable** parent (or a root creation): "you see it, you can't contribute
77
+ * here." A **403** `forbidden`, distinct from the create-path **404** mask used
78
+ * when the parent itself isn't viewable (twin of the Rust
79
+ * `ERROR_CELL_CREATE_FORBIDDEN`).
80
+ */
81
+ export declare const ERROR_CELL_CREATE_FORBIDDEN: "cell_create_forbidden";
82
+ /**
83
+ * Error reason — `cell_moderate` caller can view the contribution but lacks
84
+ * moderation authority over its governing root (not admin / not the root's
85
+ * manager). A **403** `forbidden`. The author can view their own pending
86
+ * contribution, so they reach this gate — and are denied here, which is the
87
+ * anti-self-approval guard (twin of the Rust `ERROR_CELL_MODERATE_FORBIDDEN`).
88
+ */
89
+ export declare const ERROR_CELL_MODERATE_FORBIDDEN: "cell_moderate_forbidden";
90
+ /**
91
+ * Error reason — `cell_moderate` target has no governing root (`root_id` is
92
+ * null): it's a root or an unparented cell, not a gated contribution, so there
93
+ * is nothing to moderate. A **400** `invalid_params` (twin of the Rust
94
+ * `ERROR_CELL_NOT_A_CONTRIBUTION`).
95
+ */
96
+ export declare const ERROR_CELL_NOT_A_CONTRIBUTION: "cell_not_a_contribution";
67
97
  /**
68
98
  * Error reason — null-auth `cell_list` caller passed a `created_by`
69
99
  * filter. The filter is a soft account-id enumeration vector ("does
@@ -130,15 +160,18 @@ export declare const CellJson: z.ZodObject<{
130
160
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
131
161
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
132
162
  data: z.ZodObject<{
133
- kind: z.ZodOptional<z.ZodString>;
134
163
  label: z.ZodOptional<z.ZodString>;
135
164
  summary: z.ZodOptional<z.ZodString>;
136
165
  }, z.core.$loose>;
166
+ kind: z.ZodNullable<z.ZodString>;
137
167
  visibility: z.ZodEnum<{
138
168
  private: "private";
139
169
  public: "public";
140
170
  }>;
141
171
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
172
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
173
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
174
+ moderation: z.ZodNullable<z.ZodString>;
142
175
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
143
176
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
144
177
  created_at: z.ZodString;
@@ -154,15 +187,16 @@ export type CellJson = z.infer<typeof CellJson>;
154
187
  */
155
188
  export declare const CellCreateInput: z.ZodObject<{
156
189
  data: z.ZodObject<{
157
- kind: z.ZodOptional<z.ZodString>;
158
190
  label: z.ZodOptional<z.ZodString>;
159
191
  summary: z.ZodOptional<z.ZodString>;
160
192
  }, z.core.$loose>;
193
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
194
  visibility: z.ZodOptional<z.ZodEnum<{
162
195
  private: "private";
163
196
  public: "public";
164
197
  }>>;
165
198
  path: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>>;
199
+ parent_id: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>>;
166
200
  acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
167
201
  }, z.core.$strict>;
168
202
  export type CellCreateInput = z.infer<typeof CellCreateInput>;
@@ -171,15 +205,18 @@ export declare const CellCreateOutput: z.ZodObject<{
171
205
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
172
206
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
173
207
  data: z.ZodObject<{
174
- kind: z.ZodOptional<z.ZodString>;
175
208
  label: z.ZodOptional<z.ZodString>;
176
209
  summary: z.ZodOptional<z.ZodString>;
177
210
  }, z.core.$loose>;
211
+ kind: z.ZodNullable<z.ZodString>;
178
212
  visibility: z.ZodEnum<{
179
213
  private: "private";
180
214
  public: "public";
181
215
  }>;
182
216
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
217
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
218
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
219
+ moderation: z.ZodNullable<z.ZodString>;
183
220
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
184
221
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
185
222
  created_at: z.ZodString;
@@ -215,15 +252,18 @@ export declare const CellGetOutput: z.ZodObject<{
215
252
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
216
253
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
217
254
  data: z.ZodObject<{
218
- kind: z.ZodOptional<z.ZodString>;
219
255
  label: z.ZodOptional<z.ZodString>;
220
256
  summary: z.ZodOptional<z.ZodString>;
221
257
  }, z.core.$loose>;
258
+ kind: z.ZodNullable<z.ZodString>;
222
259
  visibility: z.ZodEnum<{
223
260
  private: "private";
224
261
  public: "public";
225
262
  }>;
226
263
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
264
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
265
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
266
+ moderation: z.ZodNullable<z.ZodString>;
227
267
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
228
268
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
229
269
  created_at: z.ZodString;
@@ -260,7 +300,6 @@ export type CellGetOutput = z.infer<typeof CellGetOutput>;
260
300
  export declare const CellUpdateInput: z.ZodObject<{
261
301
  cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
262
302
  data: z.ZodOptional<z.ZodObject<{
263
- kind: z.ZodOptional<z.ZodString>;
264
303
  label: z.ZodOptional<z.ZodString>;
265
304
  summary: z.ZodOptional<z.ZodString>;
266
305
  }, z.core.$loose>>;
@@ -277,15 +316,18 @@ export declare const CellUpdateOutput: z.ZodObject<{
277
316
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
278
317
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
279
318
  data: z.ZodObject<{
280
- kind: z.ZodOptional<z.ZodString>;
281
319
  label: z.ZodOptional<z.ZodString>;
282
320
  summary: z.ZodOptional<z.ZodString>;
283
321
  }, z.core.$loose>;
322
+ kind: z.ZodNullable<z.ZodString>;
284
323
  visibility: z.ZodEnum<{
285
324
  private: "private";
286
325
  public: "public";
287
326
  }>;
288
327
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
328
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
329
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
330
+ moderation: z.ZodNullable<z.ZodString>;
289
331
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
290
332
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
291
333
  created_at: z.ZodString;
@@ -319,7 +361,7 @@ export type CellDeleteOutput = z.infer<typeof CellDeleteOutput>;
319
361
  * `shared_with: 'me'` narrows to cells that admit the caller via a
320
362
  * `cell_grant` row (actor-shaped or role-shaped principal) AND that
321
363
  * the caller does not own. Authenticated only; combine with
322
- * `data_kind` / `path_prefix` etc. to scope further. Combining with
364
+ * `kind` / `path_prefix` etc. to scope further. Combining with
323
365
  * `created_by: <my-actor-id>` produces an empty result by definition
324
366
  * (owner is implicit, never appears as a grant principal); we don't
325
367
  * reject the combination at the schema layer because SQL emptiness is
@@ -327,7 +369,7 @@ export type CellDeleteOutput = z.infer<typeof CellDeleteOutput>;
327
369
  */
328
370
  export declare const CellListInput: z.ZodDefault<z.ZodObject<{
329
371
  ids: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>>;
330
- data_kind: z.ZodOptional<z.ZodString>;
372
+ kind: z.ZodOptional<z.ZodString>;
331
373
  visibility: z.ZodOptional<z.ZodEnum<{
332
374
  private: "private";
333
375
  public: "public";
@@ -335,6 +377,8 @@ export declare const CellListInput: z.ZodDefault<z.ZodObject<{
335
377
  ref: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>;
336
378
  created_by: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
337
379
  path_prefix: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
380
+ root_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
381
+ moderation: z.ZodOptional<z.ZodString>;
338
382
  shared_with: z.ZodOptional<z.ZodLiteral<"me">>;
339
383
  order_by: z.ZodOptional<z.ZodEnum<{
340
384
  created_at: "created_at";
@@ -354,15 +398,18 @@ export declare const CellListOutput: z.ZodObject<{
354
398
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
355
399
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
356
400
  data: z.ZodObject<{
357
- kind: z.ZodOptional<z.ZodString>;
358
401
  label: z.ZodOptional<z.ZodString>;
359
402
  summary: z.ZodOptional<z.ZodString>;
360
403
  }, z.core.$loose>;
404
+ kind: z.ZodNullable<z.ZodString>;
361
405
  visibility: z.ZodEnum<{
362
406
  private: "private";
363
407
  public: "public";
364
408
  }>;
365
409
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
410
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
411
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
412
+ moderation: z.ZodNullable<z.ZodString>;
366
413
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
367
414
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
368
415
  created_at: z.ZodString;
@@ -396,7 +443,6 @@ export declare const CellCloneInput: z.ZodObject<{
396
443
  source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
397
444
  deep: z.ZodOptional<z.ZodBoolean>;
398
445
  with_data_patch: z.ZodOptional<z.ZodObject<{
399
- kind: z.ZodOptional<z.ZodString>;
400
446
  label: z.ZodOptional<z.ZodString>;
401
447
  summary: z.ZodOptional<z.ZodString>;
402
448
  }, z.core.$loose>>;
@@ -408,15 +454,18 @@ export declare const CellCloneOutput: z.ZodObject<{
408
454
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
409
455
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
410
456
  data: z.ZodObject<{
411
- kind: z.ZodOptional<z.ZodString>;
412
457
  label: z.ZodOptional<z.ZodString>;
413
458
  summary: z.ZodOptional<z.ZodString>;
414
459
  }, z.core.$loose>;
460
+ kind: z.ZodNullable<z.ZodString>;
415
461
  visibility: z.ZodEnum<{
416
462
  private: "private";
417
463
  public: "public";
418
464
  }>;
419
465
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
466
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
467
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
468
+ moderation: z.ZodNullable<z.ZodString>;
420
469
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
421
470
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
422
471
  created_at: z.ZodString;
@@ -426,6 +475,60 @@ export declare const CellCloneOutput: z.ZodObject<{
426
475
  }, z.core.$strict>;
427
476
  }, z.core.$strict>;
428
477
  export type CellCloneOutput = z.infer<typeof CellCloneOutput>;
478
+ /**
479
+ * The terminal transition a `cell_moderate` call applies to a gated
480
+ * contribution's `moderation` lifecycle. The born state (`'pending'`) is set
481
+ * by the create authorizer, never on the wire; the verb only moves it to a
482
+ * terminal state. `'approved'` publishes (also flips `visibility → 'public'`);
483
+ * `'rejected'` leaves it private.
484
+ */
485
+ export declare const CellModerationDecision: z.ZodEnum<{
486
+ rejected: "rejected";
487
+ approved: "approved";
488
+ }>;
489
+ export type CellModerationDecision = z.infer<typeof CellModerationDecision>;
490
+ /**
491
+ * Input for `cell_moderate` — the `pending → approved | rejected` transition,
492
+ * gated on moderation authority over the **governing root** (admin / root
493
+ * owner in v1), not the contribution (which the author manages, and could
494
+ * otherwise self-approve). 404 when the target isn't viewable; 403 when it is
495
+ * but the caller isn't a root manager (the author lands here).
496
+ */
497
+ export declare const CellModerateInput: z.ZodObject<{
498
+ cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
499
+ moderation: z.ZodEnum<{
500
+ rejected: "rejected";
501
+ approved: "approved";
502
+ }>;
503
+ acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
504
+ }, z.core.$strict>;
505
+ export type CellModerateInput = z.infer<typeof CellModerateInput>;
506
+ export declare const CellModerateOutput: z.ZodObject<{
507
+ cell: z.ZodObject<{
508
+ id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
509
+ path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
510
+ data: z.ZodObject<{
511
+ label: z.ZodOptional<z.ZodString>;
512
+ summary: z.ZodOptional<z.ZodString>;
513
+ }, z.core.$loose>;
514
+ kind: z.ZodNullable<z.ZodString>;
515
+ visibility: z.ZodEnum<{
516
+ private: "private";
517
+ public: "public";
518
+ }>;
519
+ refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
520
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
521
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
522
+ moderation: z.ZodNullable<z.ZodString>;
523
+ created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
524
+ updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
525
+ created_at: z.ZodString;
526
+ updated_at: z.ZodNullable<z.ZodString>;
527
+ deleted_at: z.ZodNullable<z.ZodString>;
528
+ grant_count: z.ZodNumber;
529
+ }, z.core.$strict>;
530
+ }, z.core.$strict>;
531
+ export type CellModerateOutput = z.infer<typeof CellModerateOutput>;
429
532
  export declare const cell_create_action_spec: {
430
533
  method: string;
431
534
  kind: "request_response";
@@ -437,15 +540,16 @@ export declare const cell_create_action_spec: {
437
540
  side_effects: true;
438
541
  input: z.ZodObject<{
439
542
  data: z.ZodObject<{
440
- kind: z.ZodOptional<z.ZodString>;
441
543
  label: z.ZodOptional<z.ZodString>;
442
544
  summary: z.ZodOptional<z.ZodString>;
443
545
  }, z.core.$loose>;
546
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
547
  visibility: z.ZodOptional<z.ZodEnum<{
445
548
  private: "private";
446
549
  public: "public";
447
550
  }>>;
448
551
  path: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>>;
552
+ parent_id: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>>;
449
553
  acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
450
554
  }, z.core.$strict>;
451
555
  output: z.ZodObject<{
@@ -453,15 +557,18 @@ export declare const cell_create_action_spec: {
453
557
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
454
558
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
455
559
  data: z.ZodObject<{
456
- kind: z.ZodOptional<z.ZodString>;
457
560
  label: z.ZodOptional<z.ZodString>;
458
561
  summary: z.ZodOptional<z.ZodString>;
459
562
  }, z.core.$loose>;
563
+ kind: z.ZodNullable<z.ZodString>;
460
564
  visibility: z.ZodEnum<{
461
565
  private: "private";
462
566
  public: "public";
463
567
  }>;
464
568
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
569
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
570
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
571
+ moderation: z.ZodNullable<z.ZodString>;
465
572
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
466
573
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
467
574
  created_at: z.ZodString;
@@ -493,15 +600,18 @@ export declare const cell_get_action_spec: {
493
600
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
494
601
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
495
602
  data: z.ZodObject<{
496
- kind: z.ZodOptional<z.ZodString>;
497
603
  label: z.ZodOptional<z.ZodString>;
498
604
  summary: z.ZodOptional<z.ZodString>;
499
605
  }, z.core.$loose>;
606
+ kind: z.ZodNullable<z.ZodString>;
500
607
  visibility: z.ZodEnum<{
501
608
  private: "private";
502
609
  public: "public";
503
610
  }>;
504
611
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
612
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
613
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
614
+ moderation: z.ZodNullable<z.ZodString>;
505
615
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
506
616
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
507
617
  created_at: z.ZodString;
@@ -542,7 +652,6 @@ export declare const cell_update_action_spec: {
542
652
  input: z.ZodObject<{
543
653
  cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
544
654
  data: z.ZodOptional<z.ZodObject<{
545
- kind: z.ZodOptional<z.ZodString>;
546
655
  label: z.ZodOptional<z.ZodString>;
547
656
  summary: z.ZodOptional<z.ZodString>;
548
657
  }, z.core.$loose>>;
@@ -558,15 +667,18 @@ export declare const cell_update_action_spec: {
558
667
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
559
668
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
560
669
  data: z.ZodObject<{
561
- kind: z.ZodOptional<z.ZodString>;
562
670
  label: z.ZodOptional<z.ZodString>;
563
671
  summary: z.ZodOptional<z.ZodString>;
564
672
  }, z.core.$loose>;
673
+ kind: z.ZodNullable<z.ZodString>;
565
674
  visibility: z.ZodEnum<{
566
675
  private: "private";
567
676
  public: "public";
568
677
  }>;
569
678
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
679
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
680
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
681
+ moderation: z.ZodNullable<z.ZodString>;
570
682
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
571
683
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
572
684
  created_at: z.ZodString;
@@ -609,7 +721,7 @@ export declare const cell_list_action_spec: {
609
721
  side_effects: false;
610
722
  input: z.ZodDefault<z.ZodObject<{
611
723
  ids: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>>;
612
- data_kind: z.ZodOptional<z.ZodString>;
724
+ kind: z.ZodOptional<z.ZodString>;
613
725
  visibility: z.ZodOptional<z.ZodEnum<{
614
726
  private: "private";
615
727
  public: "public";
@@ -617,6 +729,8 @@ export declare const cell_list_action_spec: {
617
729
  ref: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>;
618
730
  created_by: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
619
731
  path_prefix: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
732
+ root_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
733
+ moderation: z.ZodOptional<z.ZodString>;
620
734
  shared_with: z.ZodOptional<z.ZodLiteral<"me">>;
621
735
  order_by: z.ZodOptional<z.ZodEnum<{
622
736
  created_at: "created_at";
@@ -635,15 +749,18 @@ export declare const cell_list_action_spec: {
635
749
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
636
750
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
637
751
  data: z.ZodObject<{
638
- kind: z.ZodOptional<z.ZodString>;
639
752
  label: z.ZodOptional<z.ZodString>;
640
753
  summary: z.ZodOptional<z.ZodString>;
641
754
  }, z.core.$loose>;
755
+ kind: z.ZodNullable<z.ZodString>;
642
756
  visibility: z.ZodEnum<{
643
757
  private: "private";
644
758
  public: "public";
645
759
  }>;
646
760
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
761
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
762
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
763
+ moderation: z.ZodNullable<z.ZodString>;
647
764
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
648
765
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
649
766
  created_at: z.ZodString;
@@ -682,7 +799,6 @@ export declare const cell_clone_action_spec: {
682
799
  source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
683
800
  deep: z.ZodOptional<z.ZodBoolean>;
684
801
  with_data_patch: z.ZodOptional<z.ZodObject<{
685
- kind: z.ZodOptional<z.ZodString>;
686
802
  label: z.ZodOptional<z.ZodString>;
687
803
  summary: z.ZodOptional<z.ZodString>;
688
804
  }, z.core.$loose>>;
@@ -693,15 +809,64 @@ export declare const cell_clone_action_spec: {
693
809
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
694
810
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
695
811
  data: z.ZodObject<{
696
- kind: z.ZodOptional<z.ZodString>;
697
812
  label: z.ZodOptional<z.ZodString>;
698
813
  summary: z.ZodOptional<z.ZodString>;
699
814
  }, z.core.$loose>;
815
+ kind: z.ZodNullable<z.ZodString>;
700
816
  visibility: z.ZodEnum<{
701
817
  private: "private";
702
818
  public: "public";
703
819
  }>;
704
820
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
821
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
822
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
823
+ moderation: z.ZodNullable<z.ZodString>;
824
+ created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
825
+ updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
826
+ created_at: z.ZodString;
827
+ updated_at: z.ZodNullable<z.ZodString>;
828
+ deleted_at: z.ZodNullable<z.ZodString>;
829
+ grant_count: z.ZodNumber;
830
+ }, z.core.$strict>;
831
+ }, z.core.$strict>;
832
+ async: true;
833
+ rate_limit: "account";
834
+ description: string;
835
+ };
836
+ export declare const cell_moderate_action_spec: {
837
+ method: string;
838
+ kind: "request_response";
839
+ initiator: "frontend";
840
+ auth: {
841
+ account: "required";
842
+ actor: "required";
843
+ };
844
+ side_effects: true;
845
+ input: z.ZodObject<{
846
+ cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
847
+ moderation: z.ZodEnum<{
848
+ rejected: "rejected";
849
+ approved: "approved";
850
+ }>;
851
+ acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
852
+ }, z.core.$strict>;
853
+ output: z.ZodObject<{
854
+ cell: z.ZodObject<{
855
+ id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
856
+ path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
857
+ data: z.ZodObject<{
858
+ label: z.ZodOptional<z.ZodString>;
859
+ summary: z.ZodOptional<z.ZodString>;
860
+ }, z.core.$loose>;
861
+ kind: z.ZodNullable<z.ZodString>;
862
+ visibility: z.ZodEnum<{
863
+ private: "private";
864
+ public: "public";
865
+ }>;
866
+ refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
867
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
868
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
869
+ moderation: z.ZodNullable<z.ZodString>;
705
870
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
706
871
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
707
872
  created_at: z.ZodString;
@@ -716,7 +881,7 @@ export declare const cell_clone_action_spec: {
716
881
  };
717
882
  /**
718
883
  * All cell-layer action specs — composed by app registries. Bundles the
719
- * six generic verbs (this module), the three `cell_grant_*` specs, the
884
+ * seven generic verbs (this module), the three `cell_grant_*` specs, the
720
885
  * three `cell_field_*` specs, the four `cell_item_*` specs, and the
721
886
  * `cell_audit_list` spec so codegen + UI clients see a single cell
722
887
  * namespace.
@@ -732,15 +897,16 @@ export declare const all_cell_action_specs: readonly [{
732
897
  side_effects: true;
733
898
  input: z.ZodObject<{
734
899
  data: z.ZodObject<{
735
- kind: z.ZodOptional<z.ZodString>;
736
900
  label: z.ZodOptional<z.ZodString>;
737
901
  summary: z.ZodOptional<z.ZodString>;
738
902
  }, z.core.$loose>;
903
+ kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
739
904
  visibility: z.ZodOptional<z.ZodEnum<{
740
905
  private: "private";
741
906
  public: "public";
742
907
  }>>;
743
908
  path: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>>;
909
+ parent_id: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>>;
744
910
  acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
745
911
  }, z.core.$strict>;
746
912
  output: z.ZodObject<{
@@ -748,15 +914,18 @@ export declare const all_cell_action_specs: readonly [{
748
914
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
749
915
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
750
916
  data: z.ZodObject<{
751
- kind: z.ZodOptional<z.ZodString>;
752
917
  label: z.ZodOptional<z.ZodString>;
753
918
  summary: z.ZodOptional<z.ZodString>;
754
919
  }, z.core.$loose>;
920
+ kind: z.ZodNullable<z.ZodString>;
755
921
  visibility: z.ZodEnum<{
756
922
  private: "private";
757
923
  public: "public";
758
924
  }>;
759
925
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
926
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
927
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
928
+ moderation: z.ZodNullable<z.ZodString>;
760
929
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
761
930
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
762
931
  created_at: z.ZodString;
@@ -787,15 +956,18 @@ export declare const all_cell_action_specs: readonly [{
787
956
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
788
957
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
789
958
  data: z.ZodObject<{
790
- kind: z.ZodOptional<z.ZodString>;
791
959
  label: z.ZodOptional<z.ZodString>;
792
960
  summary: z.ZodOptional<z.ZodString>;
793
961
  }, z.core.$loose>;
962
+ kind: z.ZodNullable<z.ZodString>;
794
963
  visibility: z.ZodEnum<{
795
964
  private: "private";
796
965
  public: "public";
797
966
  }>;
798
967
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
968
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
969
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
970
+ moderation: z.ZodNullable<z.ZodString>;
799
971
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
800
972
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
801
973
  created_at: z.ZodString;
@@ -835,7 +1007,6 @@ export declare const all_cell_action_specs: readonly [{
835
1007
  input: z.ZodObject<{
836
1008
  cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
837
1009
  data: z.ZodOptional<z.ZodObject<{
838
- kind: z.ZodOptional<z.ZodString>;
839
1010
  label: z.ZodOptional<z.ZodString>;
840
1011
  summary: z.ZodOptional<z.ZodString>;
841
1012
  }, z.core.$loose>>;
@@ -851,15 +1022,18 @@ export declare const all_cell_action_specs: readonly [{
851
1022
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
852
1023
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
853
1024
  data: z.ZodObject<{
854
- kind: z.ZodOptional<z.ZodString>;
855
1025
  label: z.ZodOptional<z.ZodString>;
856
1026
  summary: z.ZodOptional<z.ZodString>;
857
1027
  }, z.core.$loose>;
1028
+ kind: z.ZodNullable<z.ZodString>;
858
1029
  visibility: z.ZodEnum<{
859
1030
  private: "private";
860
1031
  public: "public";
861
1032
  }>;
862
1033
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
1034
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1035
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1036
+ moderation: z.ZodNullable<z.ZodString>;
863
1037
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
864
1038
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
865
1039
  created_at: z.ZodString;
@@ -900,7 +1074,7 @@ export declare const all_cell_action_specs: readonly [{
900
1074
  side_effects: false;
901
1075
  input: z.ZodDefault<z.ZodObject<{
902
1076
  ids: z.ZodOptional<z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>>;
903
- data_kind: z.ZodOptional<z.ZodString>;
1077
+ kind: z.ZodOptional<z.ZodString>;
904
1078
  visibility: z.ZodOptional<z.ZodEnum<{
905
1079
  private: "private";
906
1080
  public: "public";
@@ -908,6 +1082,8 @@ export declare const all_cell_action_specs: readonly [{
908
1082
  ref: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>;
909
1083
  created_by: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
910
1084
  path_prefix: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
1085
+ root_id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1086
+ moderation: z.ZodOptional<z.ZodString>;
911
1087
  shared_with: z.ZodOptional<z.ZodLiteral<"me">>;
912
1088
  order_by: z.ZodOptional<z.ZodEnum<{
913
1089
  created_at: "created_at";
@@ -926,15 +1102,18 @@ export declare const all_cell_action_specs: readonly [{
926
1102
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
927
1103
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
928
1104
  data: z.ZodObject<{
929
- kind: z.ZodOptional<z.ZodString>;
930
1105
  label: z.ZodOptional<z.ZodString>;
931
1106
  summary: z.ZodOptional<z.ZodString>;
932
1107
  }, z.core.$loose>;
1108
+ kind: z.ZodNullable<z.ZodString>;
933
1109
  visibility: z.ZodEnum<{
934
1110
  private: "private";
935
1111
  public: "public";
936
1112
  }>;
937
1113
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
1114
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1115
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1116
+ moderation: z.ZodNullable<z.ZodString>;
938
1117
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
939
1118
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
940
1119
  created_at: z.ZodString;
@@ -972,7 +1151,6 @@ export declare const all_cell_action_specs: readonly [{
972
1151
  source_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
973
1152
  deep: z.ZodOptional<z.ZodBoolean>;
974
1153
  with_data_patch: z.ZodOptional<z.ZodObject<{
975
- kind: z.ZodOptional<z.ZodString>;
976
1154
  label: z.ZodOptional<z.ZodString>;
977
1155
  summary: z.ZodOptional<z.ZodString>;
978
1156
  }, z.core.$loose>>;
@@ -983,15 +1161,63 @@ export declare const all_cell_action_specs: readonly [{
983
1161
  id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
984
1162
  path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
985
1163
  data: z.ZodObject<{
986
- kind: z.ZodOptional<z.ZodString>;
987
1164
  label: z.ZodOptional<z.ZodString>;
988
1165
  summary: z.ZodOptional<z.ZodString>;
989
1166
  }, z.core.$loose>;
1167
+ kind: z.ZodNullable<z.ZodString>;
1168
+ visibility: z.ZodEnum<{
1169
+ private: "private";
1170
+ public: "public";
1171
+ }>;
1172
+ refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
1173
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1174
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1175
+ moderation: z.ZodNullable<z.ZodString>;
1176
+ created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1177
+ updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1178
+ created_at: z.ZodString;
1179
+ updated_at: z.ZodNullable<z.ZodString>;
1180
+ deleted_at: z.ZodNullable<z.ZodString>;
1181
+ grant_count: z.ZodNumber;
1182
+ }, z.core.$strict>;
1183
+ }, z.core.$strict>;
1184
+ async: true;
1185
+ rate_limit: "account";
1186
+ description: string;
1187
+ }, {
1188
+ method: string;
1189
+ kind: "request_response";
1190
+ initiator: "frontend";
1191
+ auth: {
1192
+ account: "required";
1193
+ actor: "required";
1194
+ };
1195
+ side_effects: true;
1196
+ input: z.ZodObject<{
1197
+ cell_id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
1198
+ moderation: z.ZodEnum<{
1199
+ rejected: "rejected";
1200
+ approved: "approved";
1201
+ }>;
1202
+ acting: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1203
+ }, z.core.$strict>;
1204
+ output: z.ZodObject<{
1205
+ cell: z.ZodObject<{
1206
+ id: z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">;
1207
+ path: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "CellPath", "out">>;
1208
+ data: z.ZodObject<{
1209
+ label: z.ZodOptional<z.ZodString>;
1210
+ summary: z.ZodOptional<z.ZodString>;
1211
+ }, z.core.$loose>;
1212
+ kind: z.ZodNullable<z.ZodString>;
990
1213
  visibility: z.ZodEnum<{
991
1214
  private: "private";
992
1215
  public: "public";
993
1216
  }>;
994
1217
  refs: z.ZodNullable<z.ZodArray<z.core.$ZodBranded<z.ZodString, "FactHash", "out">>>;
1218
+ parent_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1219
+ root_id: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
1220
+ moderation: z.ZodNullable<z.ZodString>;
995
1221
  created_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
996
1222
  updated_by: z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "Uuid", "out">>;
997
1223
  created_at: z.ZodString;