@fuzdev/fuz_app 0.166.0 → 0.167.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 (55) hide show
  1. package/dist/actions/CLAUDE.md +1 -1
  2. package/dist/actions/action_codegen.d.ts +10 -1
  3. package/dist/actions/action_codegen.d.ts.map +1 -1
  4. package/dist/actions/action_codegen.js +17 -8
  5. package/dist/auth/CLAUDE.md +10 -8
  6. package/dist/auth/cell_action_specs.d.ts +6092 -1092
  7. package/dist/auth/cell_action_specs.d.ts.map +1 -1
  8. package/dist/auth/cell_action_specs.js +96 -97
  9. package/dist/auth/cell_actions.d.ts.map +1 -1
  10. package/dist/auth/cell_actions.js +1 -0
  11. package/dist/auth/cell_audit_action_specs.d.ts +301 -69
  12. package/dist/auth/cell_audit_action_specs.d.ts.map +1 -1
  13. package/dist/auth/cell_audit_action_specs.js +21 -16
  14. package/dist/auth/cell_audit_actions.js +2 -2
  15. package/dist/auth/cell_audit_events.d.ts +2 -2
  16. package/dist/auth/cell_audit_events.d.ts.map +1 -1
  17. package/dist/auth/cell_audit_metadata.d.ts +93 -30
  18. package/dist/auth/cell_audit_metadata.d.ts.map +1 -1
  19. package/dist/auth/cell_audit_metadata.js +15 -14
  20. package/dist/auth/cell_authorize.d.ts +3 -3
  21. package/dist/auth/cell_authorize.js +3 -3
  22. package/dist/auth/cell_data_schema.d.ts +17 -9
  23. package/dist/auth/cell_data_schema.d.ts.map +1 -1
  24. package/dist/auth/cell_data_schema.js +9 -7
  25. package/dist/auth/cell_field_action_specs.d.ts +697 -130
  26. package/dist/auth/cell_field_action_specs.d.ts.map +1 -1
  27. package/dist/auth/cell_field_action_specs.js +25 -27
  28. package/dist/auth/cell_field_actions.d.ts.map +1 -1
  29. package/dist/auth/cell_field_actions.js +2 -0
  30. package/dist/auth/cell_field_audit_metadata.d.ts +49 -13
  31. package/dist/auth/cell_field_audit_metadata.d.ts.map +1 -1
  32. package/dist/auth/cell_field_audit_metadata.js +6 -6
  33. package/dist/auth/cell_grant_action_specs.d.ts +1044 -208
  34. package/dist/auth/cell_grant_action_specs.d.ts.map +1 -1
  35. package/dist/auth/cell_grant_action_specs.js +36 -33
  36. package/dist/auth/cell_grant_actions.js +2 -2
  37. package/dist/auth/cell_grant_audit_metadata.d.ts +188 -40
  38. package/dist/auth/cell_grant_audit_metadata.d.ts.map +1 -1
  39. package/dist/auth/cell_grant_audit_metadata.js +12 -11
  40. package/dist/auth/cell_item_action_specs.d.ts +949 -175
  41. package/dist/auth/cell_item_action_specs.d.ts.map +1 -1
  42. package/dist/auth/cell_item_action_specs.js +30 -34
  43. package/dist/auth/cell_item_actions.js +1 -1
  44. package/dist/auth/cell_item_audit_metadata.d.ts +68 -19
  45. package/dist/auth/cell_item_audit_metadata.d.ts.map +1 -1
  46. package/dist/auth/cell_item_audit_metadata.js +9 -9
  47. package/dist/auth/cell_relation_list_limit.d.ts +1 -2
  48. package/dist/auth/cell_relation_list_limit.d.ts.map +1 -1
  49. package/dist/auth/cell_relation_list_limit.js +3 -8
  50. package/dist/db/cell_moderation.d.ts +6 -7
  51. package/dist/db/cell_moderation.d.ts.map +1 -1
  52. package/dist/db/cell_moderation.js +6 -7
  53. package/dist/testing/cross_backend/cell_crud.js +2 -2
  54. package/dist/testing/cross_backend/cell_relations.js +2 -2
  55. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cell_audit_events.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_audit_events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAsB7B;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,CAcjE,CAAC"}
1
+ {"version":3,"file":"cell_audit_events.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_audit_events.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAsB9D;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAcjE,CAAC"}
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * @module
8
8
  */
9
- import { z } from 'zod';
9
+ import { type Infer } from '@fuzdev/fuz_schema/schema.ts';
10
10
  /**
11
11
  * Shared metadata envelope for cell mutations. `kind` and `path` are
12
12
  * captured at emit-time so the audit-log viewer can show useful context
@@ -17,12 +17,25 @@ import { z } from 'zod';
17
17
  * Loose object: per-kind handlers may extend the metadata without spec
18
18
  * churn.
19
19
  */
20
- export declare const CellAuditMetadata: z.ZodObject<{
21
- cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
22
- kind: z.ZodOptional<z.ZodString>;
23
- path: z.ZodOptional<z.ZodString>;
24
- }, z.core.$loose>;
25
- export type CellAuditMetadata = z.infer<typeof CellAuditMetadata>;
20
+ export declare const CellAuditMetadata: import("@fuzdev/fuz_schema/schema.ts").Schema<{
21
+ cell_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
22
+ path?: string | undefined;
23
+ kind?: string | undefined;
24
+ } & Record<string, unknown>, {
25
+ cell_id: string;
26
+ path?: string | undefined;
27
+ kind?: string | undefined;
28
+ } & Record<string, unknown>, "loose_object", {
29
+ cell_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
30
+ readonly '~types'?: {
31
+ readonly input: string;
32
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
33
+ } | undefined;
34
+ };
35
+ kind: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
36
+ path: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
37
+ }>;
38
+ export type CellAuditMetadata = Infer<typeof CellAuditMetadata>;
26
39
  /**
27
40
  * Metadata envelope for `cell_clone`.
28
41
  *
@@ -37,38 +50,88 @@ export type CellAuditMetadata = z.infer<typeof CellAuditMetadata>;
37
50
  * cloner (who owns — and can audit — the clone). Non-viewable children are
38
51
  * dropped silently (D8).
39
52
  */
40
- export declare const CellCloneAuditMetadata: z.ZodObject<{
41
- source_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
42
- new_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
43
- deep: z.ZodBoolean;
44
- item_count: z.ZodNumber;
45
- kind: z.ZodOptional<z.ZodString>;
46
- }, z.core.$loose>;
47
- export type CellCloneAuditMetadata = z.infer<typeof CellCloneAuditMetadata>;
53
+ export declare const CellCloneAuditMetadata: import("@fuzdev/fuz_schema/schema.ts").Schema<{
54
+ source_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
55
+ deep: boolean;
56
+ new_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
57
+ item_count: number;
58
+ kind?: string | undefined;
59
+ } & Record<string, unknown>, {
60
+ source_id: string;
61
+ deep: boolean;
62
+ new_id: string;
63
+ item_count: number;
64
+ kind?: string | undefined;
65
+ } & Record<string, unknown>, "loose_object", {
66
+ source_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
67
+ readonly '~types'?: {
68
+ readonly input: string;
69
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
70
+ } | undefined;
71
+ };
72
+ new_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
73
+ readonly '~types'?: {
74
+ readonly input: string;
75
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
76
+ } | undefined;
77
+ };
78
+ deep: import("@fuzdev/fuz_schema/schema.ts").Schema<boolean, boolean, "boolean", undefined>;
79
+ item_count: import("@fuzdev/fuz_schema/schema.ts").PipeSchema<number, import("@fuzdev/fuz_schema/schema.ts").Schema<number, number, "number", undefined>>;
80
+ kind: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
81
+ }>;
82
+ export type CellCloneAuditMetadata = Infer<typeof CellCloneAuditMetadata>;
48
83
  /**
49
84
  * Metadata envelope for `cell_moderate`. `cell_id` is the moderated
50
85
  * contribution; `root_id` is its governing root (the container whose
51
86
  * moderation authority gated the call); `moderation` is the terminal decision
52
87
  * applied (`'approved'` | `'rejected'`).
53
88
  */
54
- export declare const CellModerateAuditMetadata: z.ZodObject<{
55
- cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
56
- root_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
57
- moderation: z.ZodEnum<{
58
- rejected: "rejected";
59
- approved: "approved";
60
- }>;
61
- }, z.core.$loose>;
62
- export type CellModerateAuditMetadata = z.infer<typeof CellModerateAuditMetadata>;
89
+ export declare const CellModerateAuditMetadata: import("@fuzdev/fuz_schema/schema.ts").Schema<{
90
+ cell_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
91
+ root_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
92
+ moderation: "rejected" | "approved";
93
+ } & Record<string, unknown>, {
94
+ cell_id: string;
95
+ root_id: string;
96
+ moderation: "rejected" | "approved";
97
+ } & Record<string, unknown>, "loose_object", {
98
+ cell_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
99
+ readonly '~types'?: {
100
+ readonly input: string;
101
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
102
+ } | undefined;
103
+ };
104
+ root_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
105
+ readonly '~types'?: {
106
+ readonly input: string;
107
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
108
+ } | undefined;
109
+ };
110
+ moderation: import("@fuzdev/fuz_schema/schema.ts").Schema<"rejected" | "approved", "rejected" | "approved", "one_of", readonly ["approved", "rejected"]>;
111
+ }>;
112
+ export type CellModerateAuditMetadata = Infer<typeof CellModerateAuditMetadata>;
63
113
  /**
64
114
  * Metadata envelope for `cell_policy_set`. `cell_id` is the root; `policy` is
65
115
  * the policy written (`null` when cleared) and `previous_policy` the one it
66
116
  * replaced, so the audit trail carries every policy a root has had.
67
117
  */
68
- export declare const CellPolicySetAuditMetadata: z.ZodObject<{
69
- cell_id: z.ZodUUID & z.ZodType<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string, z.core.$ZodTypeInternals<import("@fuzdev/fuz_schema/schema.js").Branded<string, "Uuid">, string>>;
70
- policy: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
71
- previous_policy: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
72
- }, z.core.$loose>;
73
- export type CellPolicySetAuditMetadata = z.infer<typeof CellPolicySetAuditMetadata>;
118
+ export declare const CellPolicySetAuditMetadata: import("@fuzdev/fuz_schema/schema.ts").Schema<{
119
+ cell_id: import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">;
120
+ policy: ({} & Record<string, unknown>) | null;
121
+ previous_policy: ({} & Record<string, unknown>) | null;
122
+ } & Record<string, unknown>, {
123
+ cell_id: string;
124
+ policy: ({} & Record<string, unknown>) | null;
125
+ previous_policy: ({} & Record<string, unknown>) | null;
126
+ } & Record<string, unknown>, "loose_object", {
127
+ cell_id: import("@fuzdev/fuz_schema/schema.ts").Schema<import("@fuzdev/fuz_schema/schema.ts").Branded<string, "Uuid">, string, "pipe", readonly (import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"string"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"number"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"bigint"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"boolean"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"check"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"uuid"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"unknown"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"record"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"array"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"union"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"literal"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"nullable"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"optional"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"transform"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"pipe"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"lazy"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"regex"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"one_of"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"with_default_fn"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"loose_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"strip_object"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"object_with_rest"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"variant"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_length"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"min_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"max_value"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"safe_integer"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"iso_datetime"> | import("@fuzdev/fuz_schema/schema.ts").SchemaOfKind<"to_lower_case">)[]> & {
128
+ readonly '~types'?: {
129
+ readonly input: string;
130
+ readonly first: import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>;
131
+ } | undefined;
132
+ };
133
+ policy: import("@fuzdev/fuz_schema/schema.ts").Schema<({} & Record<string, unknown>) | null, ({} & Record<string, unknown>) | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{} & Record<string, unknown>, {} & Record<string, unknown>, "loose_object", {}>>>;
134
+ previous_policy: import("@fuzdev/fuz_schema/schema.ts").Schema<({} & Record<string, unknown>) | null, ({} & Record<string, unknown>) | null, "nullable", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<{} & Record<string, unknown>, {} & Record<string, unknown>, "loose_object", {}>>>;
135
+ }>;
136
+ export type CellPolicySetAuditMetadata = Infer<typeof CellPolicySetAuditMetadata>;
74
137
  //# sourceMappingURL=cell_audit_metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cell_audit_metadata.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_audit_metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;;;;;iBAIpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;iBAIrC,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
1
+ {"version":3,"file":"cell_audit_metadata.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_audit_metadata.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAUN,KAAK,KAAK,EACV,MAAM,8BAA8B,CAAC;AAKtC;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;EAI5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMjC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;EAIpC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAEhF;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;EAIrC,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -6,8 +6,9 @@
6
6
  *
7
7
  * @module
8
8
  */
9
- import { z } from 'zod';
10
- import { Uuid } from '../primitive_schemas.js';
9
+ import { boolean, loose_object, min_value, nullable, number, optional, pipe, safe_integer, string } from '@fuzdev/fuz_schema/schema.ts';
10
+ import { Uuid } from '../primitive_schemas_fuz.js';
11
+ import { CellModerationDecision, CellPolicy } from './cell_action_specs.js';
11
12
  /**
12
13
  * Shared metadata envelope for cell mutations. `kind` and `path` are
13
14
  * captured at emit-time so the audit-log viewer can show useful context
@@ -18,10 +19,10 @@ import { Uuid } from '../primitive_schemas.js';
18
19
  * Loose object: per-kind handlers may extend the metadata without spec
19
20
  * churn.
20
21
  */
21
- export const CellAuditMetadata = z.looseObject({
22
+ export const CellAuditMetadata = loose_object({
22
23
  cell_id: Uuid,
23
- kind: z.string().optional(),
24
- path: z.string().optional()
24
+ kind: optional(string),
25
+ path: optional(string)
25
26
  });
26
27
  /**
27
28
  * Metadata envelope for `cell_clone`.
@@ -37,12 +38,12 @@ export const CellAuditMetadata = z.looseObject({
37
38
  * cloner (who owns — and can audit — the clone). Non-viewable children are
38
39
  * dropped silently (D8).
39
40
  */
40
- export const CellCloneAuditMetadata = z.looseObject({
41
+ export const CellCloneAuditMetadata = loose_object({
41
42
  source_id: Uuid,
42
43
  new_id: Uuid,
43
- deep: z.boolean(),
44
- item_count: z.number().int().nonnegative(),
45
- kind: z.string().optional()
44
+ deep: boolean,
45
+ item_count: pipe(number, safe_integer, min_value(0)),
46
+ kind: optional(string)
46
47
  });
47
48
  /**
48
49
  * Metadata envelope for `cell_moderate`. `cell_id` is the moderated
@@ -50,18 +51,18 @@ export const CellCloneAuditMetadata = z.looseObject({
50
51
  * moderation authority gated the call); `moderation` is the terminal decision
51
52
  * applied (`'approved'` | `'rejected'`).
52
53
  */
53
- export const CellModerateAuditMetadata = z.looseObject({
54
+ export const CellModerateAuditMetadata = loose_object({
54
55
  cell_id: Uuid,
55
56
  root_id: Uuid,
56
- moderation: z.enum(['approved', 'rejected'])
57
+ moderation: CellModerationDecision
57
58
  });
58
59
  /**
59
60
  * Metadata envelope for `cell_policy_set`. `cell_id` is the root; `policy` is
60
61
  * the policy written (`null` when cleared) and `previous_policy` the one it
61
62
  * replaced, so the audit trail carries every policy a root has had.
62
63
  */
63
- export const CellPolicySetAuditMetadata = z.looseObject({
64
+ export const CellPolicySetAuditMetadata = loose_object({
64
65
  cell_id: Uuid,
65
- policy: z.record(z.string(), z.unknown()).nullable(),
66
- previous_policy: z.record(z.string(), z.unknown()).nullable()
66
+ policy: nullable(CellPolicy),
67
+ previous_policy: nullable(CellPolicy)
67
68
  });
@@ -37,9 +37,9 @@
37
37
  * (`has_scoped_role(auth, ROLE_ADMIN, null)`), never a scoped one.
38
38
  *
39
39
  * Moderation gates the audience: a cell's effective audience is its
40
- * visibility or grants **and** its admission, so a pending, rejected, or
41
- * unknown-marker contribution is readable through `can_view_cell` by its owner
42
- * and a global admin alone, whatever its `visibility` or grants say. The
40
+ * visibility or grants **and** its admission, so a pending or rejected
41
+ * contribution is readable through `can_view_cell` by its owner and a global
42
+ * admin alone, whatever its `visibility` or grants say. The
43
43
  * `editor` grant arm of `can_edit_cell` follows the same admission; the owner,
44
44
  * admin, and manage arms don't consult it.
45
45
  *
@@ -37,9 +37,9 @@
37
37
  * (`has_scoped_role(auth, ROLE_ADMIN, null)`), never a scoped one.
38
38
  *
39
39
  * Moderation gates the audience: a cell's effective audience is its
40
- * visibility or grants **and** its admission, so a pending, rejected, or
41
- * unknown-marker contribution is readable through `can_view_cell` by its owner
42
- * and a global admin alone, whatever its `visibility` or grants say. The
40
+ * visibility or grants **and** its admission, so a pending or rejected
41
+ * contribution is readable through `can_view_cell` by its owner and a global
42
+ * admin alone, whatever its `visibility` or grants say. The
43
43
  * `editor` grant arm of `can_edit_cell` follows the same admission; the owner,
44
44
  * admin, and manage arms don't consult it.
45
45
  *
@@ -3,10 +3,12 @@
3
3
  *
4
4
  * The wire-side shape every cell consumer can read without per-kind
5
5
  * knowledge: a permissive bag with two universally-relevant typed
6
- * fields. Per-kind schemas extend this and narrow `kind` to a literal.
6
+ * fields. A per-kind schema spreads its `def`
7
+ * (`loose_object({...CellData.def, ...})`).
7
8
  *
8
- * Loose object: arbitrary additional fields pass through unvalidated,
9
- * preserving the "unknown kinds ship without RPC churn" property. Per-kind
9
+ * Loose object (`@fuzdev/fuz_schema`'s `loose_object`): arbitrary additional
10
+ * fields pass through unvalidated, preserving the "unknown kinds ship without
11
+ * RPC churn" property. Per-kind
10
12
  * shape enforcement is opt-in via the `validate_data` deps slot — see
11
13
  * `auth/cell_actions.ts`.
12
14
  *
@@ -32,16 +34,22 @@
32
34
  *
33
35
  * @module
34
36
  */
35
- import { z } from 'zod';
37
+ import { type Infer } from '@fuzdev/fuz_schema/schema.ts';
36
38
  /**
37
39
  * Base cell-data shape. All fields optional; loose mode admits arbitrary
38
40
  * additional keys so apps can attach metadata or stage new kinds without
39
41
  * touching the wire schema. `kind` lives on the top-level `cell.kind`
40
42
  * column, not here (see the module doc).
41
43
  */
42
- export declare const CellData: z.ZodObject<{
43
- label: z.ZodOptional<z.ZodString>;
44
- summary: z.ZodOptional<z.ZodString>;
45
- }, z.core.$loose>;
46
- export type CellData = z.infer<typeof CellData>;
44
+ export declare const CellData: import("@fuzdev/fuz_schema/schema.ts").Schema<{
45
+ label?: string | undefined;
46
+ summary?: string | undefined;
47
+ } & Record<string, unknown>, {
48
+ label?: string | undefined;
49
+ summary?: string | undefined;
50
+ } & Record<string, unknown>, "loose_object", {
51
+ label: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
52
+ summary: import("@fuzdev/fuz_schema/schema.ts").Schema<string | undefined, string | undefined, "optional", import("@fuzdev/fuz_schema/schema.ts").SchemaWrapperDef<import("@fuzdev/fuz_schema/schema.ts").Schema<string, string, "string", undefined>>>;
53
+ }>;
54
+ export type CellData = Infer<typeof CellData>;
47
55
  //# sourceMappingURL=cell_data_schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cell_data_schema.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_data_schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;;;iBAGnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"cell_data_schema.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_data_schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAkC,KAAK,KAAK,EAAE,MAAM,8BAA8B,CAAC;AAE1F;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;EAGnB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -3,10 +3,12 @@
3
3
  *
4
4
  * The wire-side shape every cell consumer can read without per-kind
5
5
  * knowledge: a permissive bag with two universally-relevant typed
6
- * fields. Per-kind schemas extend this and narrow `kind` to a literal.
6
+ * fields. A per-kind schema spreads its `def`
7
+ * (`loose_object({...CellData.def, ...})`).
7
8
  *
8
- * Loose object: arbitrary additional fields pass through unvalidated,
9
- * preserving the "unknown kinds ship without RPC churn" property. Per-kind
9
+ * Loose object (`@fuzdev/fuz_schema`'s `loose_object`): arbitrary additional
10
+ * fields pass through unvalidated, preserving the "unknown kinds ship without
11
+ * RPC churn" property. Per-kind
10
12
  * shape enforcement is opt-in via the `validate_data` deps slot — see
11
13
  * `auth/cell_actions.ts`.
12
14
  *
@@ -32,14 +34,14 @@
32
34
  *
33
35
  * @module
34
36
  */
35
- import { z } from 'zod';
37
+ import { loose_object, optional, string } from '@fuzdev/fuz_schema/schema.ts';
36
38
  /**
37
39
  * Base cell-data shape. All fields optional; loose mode admits arbitrary
38
40
  * additional keys so apps can attach metadata or stage new kinds without
39
41
  * touching the wire schema. `kind` lives on the top-level `cell.kind`
40
42
  * column, not here (see the module doc).
41
43
  */
42
- export const CellData = z.looseObject({
43
- label: z.string().optional(),
44
- summary: z.string().optional()
44
+ export const CellData = loose_object({
45
+ label: optional(string),
46
+ summary: optional(string)
45
47
  });