@fuzdev/fuz_app 0.155.1 → 0.157.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.
- package/dist/actions/CLAUDE.md +27 -14
- package/dist/actions/action_codegen.d.ts +10 -3
- package/dist/actions/action_codegen.d.ts.map +1 -1
- package/dist/actions/action_codegen.js +52 -13
- package/dist/actions/action_event.d.ts.map +1 -1
- package/dist/actions/action_event.js +13 -11
- package/dist/actions/action_rpc.d.ts +4 -3
- package/dist/actions/action_rpc.d.ts.map +1 -1
- package/dist/actions/action_rpc.js +4 -3
- package/dist/actions/action_spec.d.ts +102 -206
- package/dist/actions/action_spec.d.ts.map +1 -1
- package/dist/actions/action_spec.js +18 -96
- package/dist/actions/action_types.d.ts +4 -4
- package/dist/actions/action_types.d.ts.map +1 -1
- package/dist/actions/action_types.js +2 -2
- package/dist/actions/broadcast_api.d.ts.map +1 -1
- package/dist/actions/broadcast_api.js +6 -5
- package/dist/actions/compile_action_registry.d.ts +11 -6
- package/dist/actions/compile_action_registry.d.ts.map +1 -1
- package/dist/actions/compile_action_registry.js +15 -9
- package/dist/actions/perform_action.d.ts +4 -4
- package/dist/actions/perform_action.d.ts.map +1 -1
- package/dist/actions/perform_action.js +11 -11
- package/dist/auth/CLAUDE.md +1 -1
- package/dist/auth/account_action_specs.d.ts +50 -23
- package/dist/auth/account_action_specs.d.ts.map +1 -1
- package/dist/auth/account_action_specs.js +18 -8
- package/dist/auth/account_route_schema.d.ts +10 -10
- package/dist/auth/account_schema.d.ts +21 -21
- package/dist/auth/actor_lookup_action_specs.d.ts +7 -7
- package/dist/auth/actor_search_action_specs.d.ts +6 -6
- package/dist/auth/admin_action_specs.d.ts +98 -98
- package/dist/auth/app_settings_schema.d.ts +2 -2
- package/dist/auth/audit_log_route_schema.d.ts +1 -1
- package/dist/auth/audit_log_schema.d.ts +44 -44
- package/dist/auth/auth_guard_resolver.d.ts +2 -2
- package/dist/auth/auth_guard_resolver.js +2 -2
- package/dist/auth/bootstrap_route_schema.d.ts +4 -4
- package/dist/auth/cell_action_specs.d.ts +241 -241
- package/dist/auth/cell_actions.js +3 -3
- package/dist/auth/cell_audit_action_specs.d.ts +14 -14
- package/dist/auth/cell_audit_metadata.d.ts +6 -6
- package/dist/auth/cell_field_action_specs.d.ts +38 -38
- package/dist/auth/cell_field_audit_metadata.d.ts +4 -4
- package/dist/auth/cell_grant_action_specs.d.ts +61 -61
- package/dist/auth/cell_grant_audit_metadata.d.ts +10 -10
- package/dist/auth/cell_item_action_specs.d.ts +50 -50
- package/dist/auth/cell_item_audit_metadata.d.ts +5 -5
- package/dist/auth/invite_schema.d.ts +6 -6
- package/dist/auth/role_grant_offer_action_specs.d.ts +120 -120
- package/dist/auth/role_grant_offer_notifications.d.ts +66 -66
- package/dist/auth/role_grant_offer_schema.d.ts +6 -6
- package/dist/auth/self_service_role_action_specs.d.ts +2 -2
- package/dist/auth/signup_route_schema.d.ts +2 -2
- package/dist/http/CLAUDE.md +26 -17
- package/dist/http/auth_shape.d.ts +51 -17
- package/dist/http/auth_shape.d.ts.map +1 -1
- package/dist/http/auth_shape.js +101 -52
- package/dist/http/error_schemas.d.ts +15 -8
- package/dist/http/error_schemas.d.ts.map +1 -1
- package/dist/http/error_schemas.js +4 -9
- package/dist/http/jsonrpc_errors.d.ts +11 -4
- package/dist/http/jsonrpc_errors.d.ts.map +1 -1
- package/dist/http/jsonrpc_errors.js +11 -4
- package/dist/http/jsonrpc_helpers.d.ts.map +1 -1
- package/dist/http/jsonrpc_helpers.js +2 -1
- package/dist/http/route_spec.d.ts +37 -19
- package/dist/http/route_spec.d.ts.map +1 -1
- package/dist/http/route_spec.js +54 -24
- package/dist/http/schema_helpers.d.ts +27 -24
- package/dist/http/schema_helpers.d.ts.map +1 -1
- package/dist/http/schema_helpers.js +24 -19
- package/dist/http/surface.d.ts.map +1 -1
- package/dist/http/surface.js +7 -3
- package/dist/primitive_schemas.d.ts +16 -5
- package/dist/primitive_schemas.d.ts.map +1 -1
- package/dist/primitive_schemas.js +26 -4
- package/dist/primitive_schemas_fuz.d.ts +67 -0
- package/dist/primitive_schemas_fuz.d.ts.map +1 -0
- package/dist/primitive_schemas_fuz.js +47 -0
- package/dist/realtime/sse.d.ts +3 -3
- package/dist/realtime/sse.d.ts.map +1 -1
- package/dist/realtime/sse.js +4 -4
- package/dist/schema_issues.d.ts +91 -4
- package/dist/schema_issues.d.ts.map +1 -1
- package/dist/schema_issues.js +262 -1
- package/dist/schema_meta.d.ts +24 -8
- package/dist/schema_meta.d.ts.map +1 -1
- package/dist/schema_meta.js +31 -10
- package/dist/server/serve_fact_route.d.ts.map +1 -1
- package/dist/server/serve_fact_route.js +2 -1
- package/dist/testing/CLAUDE.md +23 -17
- package/dist/testing/admin_integration.d.ts.map +1 -1
- package/dist/testing/admin_integration.js +3 -2
- package/dist/testing/adversarial_404.d.ts +2 -2
- package/dist/testing/adversarial_404.d.ts.map +1 -1
- package/dist/testing/adversarial_404.js +8 -5
- package/dist/testing/adversarial_input.js +1 -1
- package/dist/testing/adversarial_input_cases.d.ts +18 -23
- package/dist/testing/adversarial_input_cases.d.ts.map +1 -1
- package/dist/testing/adversarial_input_cases.js +51 -46
- package/dist/testing/assertions.d.ts +6 -5
- package/dist/testing/assertions.d.ts.map +1 -1
- package/dist/testing/assertions.js +9 -4
- package/dist/testing/cross_backend/action_manifest.d.ts +2 -1
- package/dist/testing/cross_backend/action_manifest.d.ts.map +1 -1
- package/dist/testing/cross_backend/action_manifest.js +3 -3
- package/dist/testing/cross_backend/cell_crud.d.ts.map +1 -1
- package/dist/testing/cross_backend/cell_crud.js +3 -8
- package/dist/testing/cross_backend/conformance_table.d.ts.map +1 -1
- package/dist/testing/cross_backend/conformance_table.js +5 -4
- package/dist/testing/cross_backend/cross_rpc.d.ts +4 -2
- package/dist/testing/cross_backend/cross_rpc.d.ts.map +1 -1
- package/dist/testing/cross_backend/cross_rpc.js +6 -4
- package/dist/testing/cross_backend/rpc_success_fixtures.d.ts.map +1 -1
- package/dist/testing/cross_backend/sse_round_trip.d.ts.map +1 -1
- package/dist/testing/cross_backend/sse_round_trip.js +3 -2
- package/dist/testing/cross_backend/testing_reset_actions.d.ts +8 -8
- package/dist/testing/error_coverage.d.ts +9 -17
- package/dist/testing/error_coverage.d.ts.map +1 -1
- package/dist/testing/error_coverage.js +20 -3
- package/dist/testing/integration_helpers.d.ts.map +1 -1
- package/dist/testing/integration_helpers.js +7 -6
- package/dist/testing/rpc_envelope_cases.d.ts +3 -3
- package/dist/testing/rpc_envelope_cases.d.ts.map +1 -1
- package/dist/testing/rpc_envelope_cases.js +1 -1
- package/dist/testing/rpc_helpers.d.ts +12 -8
- package/dist/testing/rpc_helpers.d.ts.map +1 -1
- package/dist/testing/rpc_helpers.js +18 -15
- package/dist/testing/schema_generators.d.ts +75 -40
- package/dist/testing/schema_generators.d.ts.map +1 -1
- package/dist/testing/schema_generators.js +273 -99
- package/dist/testing/sse_round_trip.d.ts.map +1 -1
- package/dist/testing/sse_round_trip.js +4 -3
- package/dist/ui/admin_accounts_state.svelte.d.ts +10 -10
- package/dist/ui/admin_accounts_state.svelte.d.ts.map +1 -1
- package/dist/ui/admin_invites_state.svelte.d.ts +1 -1
- package/dist/ui/admin_invites_state.svelte.d.ts.map +1 -1
- package/dist/ui/admin_sessions_state.svelte.d.ts +2 -2
- package/dist/ui/admin_sessions_state.svelte.d.ts.map +1 -1
- package/dist/ui/role_grant_offers_state.svelte.d.ts +6 -6
- package/dist/zod.d.ts +23 -5
- package/dist/zod.d.ts.map +1 -1
- package/dist/zod.js +2 -2
- package/package.json +6 -6
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
*/
|
|
54
54
|
import { rpc_action } from '../actions/action_types.js';
|
|
55
55
|
import { jsonrpc_errors, dev_only } from '../http/jsonrpc_errors.js';
|
|
56
|
-
import { is_schema_validation_error } from '../schema_issues.js';
|
|
56
|
+
import { is_schema_validation_error, to_wire_issues } from '../schema_issues.js';
|
|
57
57
|
import { is_pg_unique_violation } from '../db/pg_error.js';
|
|
58
58
|
import { has_scoped_role } from './request_context.js';
|
|
59
59
|
import { ROLE_ADMIN } from './role_schema.js';
|
|
@@ -184,7 +184,7 @@ export const create_cell_actions = (deps) => {
|
|
|
184
184
|
}
|
|
185
185
|
catch (err) {
|
|
186
186
|
if (is_schema_validation_error(err)) {
|
|
187
|
-
throw jsonrpc_errors.invalid_params('cell.data shape validation failed', dev_only({ issues: err.issues }));
|
|
187
|
+
throw jsonrpc_errors.invalid_params('cell.data shape validation failed', dev_only(() => ({ issues: to_wire_issues(err.issues, data) })));
|
|
188
188
|
}
|
|
189
189
|
throw err;
|
|
190
190
|
}
|
|
@@ -203,7 +203,7 @@ export const create_cell_actions = (deps) => {
|
|
|
203
203
|
}
|
|
204
204
|
catch (err) {
|
|
205
205
|
if (is_schema_validation_error(err)) {
|
|
206
|
-
throw jsonrpc_errors.invalid_params('cell.policy validation failed', dev_only({ issues: err.issues }));
|
|
206
|
+
throw jsonrpc_errors.invalid_params('cell.policy validation failed', dev_only(() => ({ issues: to_wire_issues(err.issues, policy) })));
|
|
207
207
|
}
|
|
208
208
|
throw err;
|
|
209
209
|
}
|
|
@@ -37,34 +37,34 @@ import { z } from 'zod';
|
|
|
37
37
|
* consumers use.
|
|
38
38
|
*/
|
|
39
39
|
export declare const CellAuditEventJson: z.ZodObject<{
|
|
40
|
-
id: z.
|
|
40
|
+
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>>;
|
|
41
41
|
seq: z.ZodNumber;
|
|
42
42
|
event_type: z.ZodString;
|
|
43
43
|
outcome: z.ZodEnum<{
|
|
44
44
|
success: "success";
|
|
45
45
|
failure: "failure";
|
|
46
46
|
}>;
|
|
47
|
-
actor_id: z.ZodNullable<z.
|
|
47
|
+
actor_id: z.ZodNullable<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>>>;
|
|
48
48
|
created_at: z.ZodString;
|
|
49
49
|
}, z.core.$strict>;
|
|
50
50
|
export type CellAuditEventJson = z.infer<typeof CellAuditEventJson>;
|
|
51
51
|
/** Page size for `cell_audit_list`. Single page at MVP; no cursor wire. */
|
|
52
52
|
export declare const CELL_AUDIT_LIST_DEFAULT_LIMIT = 50;
|
|
53
53
|
export declare const CellAuditListInput: z.ZodObject<{
|
|
54
|
-
cell_id: z.
|
|
55
|
-
acting: z.ZodOptional<z.
|
|
54
|
+
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>>;
|
|
55
|
+
acting: z.ZodOptional<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
56
|
}, z.core.$strict>;
|
|
57
57
|
export type CellAuditListInput = z.infer<typeof CellAuditListInput>;
|
|
58
58
|
export declare const CellAuditListOutput: z.ZodObject<{
|
|
59
59
|
events: z.ZodArray<z.ZodObject<{
|
|
60
|
-
id: z.
|
|
60
|
+
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>>;
|
|
61
61
|
seq: z.ZodNumber;
|
|
62
62
|
event_type: z.ZodString;
|
|
63
63
|
outcome: z.ZodEnum<{
|
|
64
64
|
success: "success";
|
|
65
65
|
failure: "failure";
|
|
66
66
|
}>;
|
|
67
|
-
actor_id: z.ZodNullable<z.
|
|
67
|
+
actor_id: z.ZodNullable<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>>>;
|
|
68
68
|
created_at: z.ZodString;
|
|
69
69
|
}, z.core.$strict>>;
|
|
70
70
|
}, z.core.$strict>;
|
|
@@ -79,19 +79,19 @@ export declare const cell_audit_list_action_spec: {
|
|
|
79
79
|
};
|
|
80
80
|
side_effects: false;
|
|
81
81
|
input: z.ZodObject<{
|
|
82
|
-
cell_id: z.
|
|
83
|
-
acting: z.ZodOptional<z.
|
|
82
|
+
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>>;
|
|
83
|
+
acting: z.ZodOptional<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>>>;
|
|
84
84
|
}, z.core.$strict>;
|
|
85
85
|
output: z.ZodObject<{
|
|
86
86
|
events: z.ZodArray<z.ZodObject<{
|
|
87
|
-
id: z.
|
|
87
|
+
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>>;
|
|
88
88
|
seq: z.ZodNumber;
|
|
89
89
|
event_type: z.ZodString;
|
|
90
90
|
outcome: z.ZodEnum<{
|
|
91
91
|
success: "success";
|
|
92
92
|
failure: "failure";
|
|
93
93
|
}>;
|
|
94
|
-
actor_id: z.ZodNullable<z.
|
|
94
|
+
actor_id: z.ZodNullable<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>>>;
|
|
95
95
|
created_at: z.ZodString;
|
|
96
96
|
}, z.core.$strict>>;
|
|
97
97
|
}, z.core.$strict>;
|
|
@@ -109,19 +109,19 @@ export declare const all_cell_audit_action_specs: readonly [{
|
|
|
109
109
|
};
|
|
110
110
|
side_effects: false;
|
|
111
111
|
input: z.ZodObject<{
|
|
112
|
-
cell_id: z.
|
|
113
|
-
acting: z.ZodOptional<z.
|
|
112
|
+
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>>;
|
|
113
|
+
acting: z.ZodOptional<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>>>;
|
|
114
114
|
}, z.core.$strict>;
|
|
115
115
|
output: z.ZodObject<{
|
|
116
116
|
events: z.ZodArray<z.ZodObject<{
|
|
117
|
-
id: z.
|
|
117
|
+
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>>;
|
|
118
118
|
seq: z.ZodNumber;
|
|
119
119
|
event_type: z.ZodString;
|
|
120
120
|
outcome: z.ZodEnum<{
|
|
121
121
|
success: "success";
|
|
122
122
|
failure: "failure";
|
|
123
123
|
}>;
|
|
124
|
-
actor_id: z.ZodNullable<z.
|
|
124
|
+
actor_id: z.ZodNullable<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>>>;
|
|
125
125
|
created_at: z.ZodString;
|
|
126
126
|
}, z.core.$strict>>;
|
|
127
127
|
}, z.core.$strict>;
|
|
@@ -18,7 +18,7 @@ import { z } from 'zod';
|
|
|
18
18
|
* churn.
|
|
19
19
|
*/
|
|
20
20
|
export declare const CellAuditMetadata: z.ZodObject<{
|
|
21
|
-
cell_id: z.
|
|
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
22
|
kind: z.ZodOptional<z.ZodString>;
|
|
23
23
|
path: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, z.core.$loose>;
|
|
@@ -38,8 +38,8 @@ export type CellAuditMetadata = z.infer<typeof CellAuditMetadata>;
|
|
|
38
38
|
* dropped silently (D8).
|
|
39
39
|
*/
|
|
40
40
|
export declare const CellCloneAuditMetadata: z.ZodObject<{
|
|
41
|
-
source_id: z.
|
|
42
|
-
new_id: z.
|
|
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
43
|
deep: z.ZodBoolean;
|
|
44
44
|
item_count: z.ZodNumber;
|
|
45
45
|
kind: z.ZodOptional<z.ZodString>;
|
|
@@ -52,8 +52,8 @@ export type CellCloneAuditMetadata = z.infer<typeof CellCloneAuditMetadata>;
|
|
|
52
52
|
* applied (`'approved'` | `'rejected'`).
|
|
53
53
|
*/
|
|
54
54
|
export declare const CellModerateAuditMetadata: z.ZodObject<{
|
|
55
|
-
cell_id: z.
|
|
56
|
-
root_id: z.
|
|
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
57
|
moderation: z.ZodEnum<{
|
|
58
58
|
rejected: "rejected";
|
|
59
59
|
approved: "approved";
|
|
@@ -66,7 +66,7 @@ export type CellModerateAuditMetadata = z.infer<typeof CellModerateAuditMetadata
|
|
|
66
66
|
* replaced, so the audit trail carries every policy a root has had.
|
|
67
67
|
*/
|
|
68
68
|
export declare const CellPolicySetAuditMetadata: z.ZodObject<{
|
|
69
|
-
cell_id: z.
|
|
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
70
|
policy: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
71
71
|
previous_policy: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
72
72
|
}, z.core.$loose>;
|
|
@@ -23,9 +23,9 @@ export declare const CellFieldName: z.core.$ZodBranded<z.ZodString, "CellFieldNa
|
|
|
23
23
|
export type CellFieldName = z.infer<typeof CellFieldName>;
|
|
24
24
|
/** Wire-format for a `cell_field` row. ISO `created_at`, branded UUIDs. */
|
|
25
25
|
export declare const FieldJson: z.ZodObject<{
|
|
26
|
-
source_id: z.
|
|
26
|
+
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>>;
|
|
27
27
|
name: z.ZodString;
|
|
28
|
-
target_id: z.
|
|
28
|
+
target_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>>;
|
|
29
29
|
created_at: z.ZodString;
|
|
30
30
|
}, z.core.$strict>;
|
|
31
31
|
export type FieldJson = z.infer<typeof FieldJson>;
|
|
@@ -34,17 +34,17 @@ export type FieldJson = z.infer<typeof FieldJson>;
|
|
|
34
34
|
* the same input updates `target_id` and bumps `created_at`.
|
|
35
35
|
*/
|
|
36
36
|
export declare const CellFieldSetInput: z.ZodObject<{
|
|
37
|
-
source_id: z.
|
|
37
|
+
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>>;
|
|
38
38
|
name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
|
|
39
|
-
target_id: z.
|
|
40
|
-
acting: z.ZodOptional<z.
|
|
39
|
+
target_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>>;
|
|
40
|
+
acting: z.ZodOptional<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>>>;
|
|
41
41
|
}, z.core.$strict>;
|
|
42
42
|
export type CellFieldSetInput = z.infer<typeof CellFieldSetInput>;
|
|
43
43
|
export declare const CellFieldSetOutput: z.ZodObject<{
|
|
44
44
|
field: z.ZodObject<{
|
|
45
|
-
source_id: z.
|
|
45
|
+
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>>;
|
|
46
46
|
name: z.ZodString;
|
|
47
|
-
target_id: z.
|
|
47
|
+
target_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>>;
|
|
48
48
|
created_at: z.ZodString;
|
|
49
49
|
}, z.core.$strict>;
|
|
50
50
|
}, z.core.$strict>;
|
|
@@ -54,9 +54,9 @@ export type CellFieldSetOutput = z.infer<typeof CellFieldSetOutput>;
|
|
|
54
54
|
* returned even when no row matched.
|
|
55
55
|
*/
|
|
56
56
|
export declare const CellFieldDeleteInput: z.ZodObject<{
|
|
57
|
-
source_id: z.
|
|
57
|
+
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>>;
|
|
58
58
|
name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
|
|
59
|
-
acting: z.ZodOptional<z.
|
|
59
|
+
acting: z.ZodOptional<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>>>;
|
|
60
60
|
}, z.core.$strict>;
|
|
61
61
|
export type CellFieldDeleteInput = z.infer<typeof CellFieldDeleteInput>;
|
|
62
62
|
export declare const CellFieldDeleteOutput: z.ZodObject<{
|
|
@@ -78,18 +78,18 @@ export type CellFieldDeleteOutput = z.infer<typeof CellFieldDeleteOutput>;
|
|
|
78
78
|
* listing has no cursor, oldest field first.
|
|
79
79
|
*/
|
|
80
80
|
export declare const CellFieldListInput: z.ZodObject<{
|
|
81
|
-
source_id: z.ZodOptional<z.
|
|
82
|
-
target_id: z.ZodOptional<z.
|
|
81
|
+
source_id: z.ZodOptional<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>>>;
|
|
82
|
+
target_id: z.ZodOptional<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>>>;
|
|
83
83
|
name_after: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">>;
|
|
84
84
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
85
|
-
acting: z.ZodOptional<z.
|
|
85
|
+
acting: z.ZodOptional<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>>>;
|
|
86
86
|
}, z.core.$strict>;
|
|
87
87
|
export type CellFieldListInput = z.infer<typeof CellFieldListInput>;
|
|
88
88
|
export declare const CellFieldListOutput: z.ZodObject<{
|
|
89
89
|
fields: z.ZodArray<z.ZodObject<{
|
|
90
|
-
source_id: z.
|
|
90
|
+
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>>;
|
|
91
91
|
name: z.ZodString;
|
|
92
|
-
target_id: z.
|
|
92
|
+
target_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>>;
|
|
93
93
|
created_at: z.ZodString;
|
|
94
94
|
}, z.core.$strict>>;
|
|
95
95
|
}, z.core.$strict>;
|
|
@@ -104,16 +104,16 @@ export declare const cell_field_set_action_spec: {
|
|
|
104
104
|
};
|
|
105
105
|
side_effects: true;
|
|
106
106
|
input: z.ZodObject<{
|
|
107
|
-
source_id: z.
|
|
107
|
+
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>>;
|
|
108
108
|
name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
|
|
109
|
-
target_id: z.
|
|
110
|
-
acting: z.ZodOptional<z.
|
|
109
|
+
target_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>>;
|
|
110
|
+
acting: z.ZodOptional<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>>>;
|
|
111
111
|
}, z.core.$strict>;
|
|
112
112
|
output: z.ZodObject<{
|
|
113
113
|
field: z.ZodObject<{
|
|
114
|
-
source_id: z.
|
|
114
|
+
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>>;
|
|
115
115
|
name: z.ZodString;
|
|
116
|
-
target_id: z.
|
|
116
|
+
target_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>>;
|
|
117
117
|
created_at: z.ZodString;
|
|
118
118
|
}, z.core.$strict>;
|
|
119
119
|
}, z.core.$strict>;
|
|
@@ -130,9 +130,9 @@ export declare const cell_field_delete_action_spec: {
|
|
|
130
130
|
};
|
|
131
131
|
side_effects: true;
|
|
132
132
|
input: z.ZodObject<{
|
|
133
|
-
source_id: z.
|
|
133
|
+
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>>;
|
|
134
134
|
name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
|
|
135
|
-
acting: z.ZodOptional<z.
|
|
135
|
+
acting: z.ZodOptional<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>>>;
|
|
136
136
|
}, z.core.$strict>;
|
|
137
137
|
output: z.ZodObject<{
|
|
138
138
|
ok: z.ZodLiteral<true>;
|
|
@@ -151,17 +151,17 @@ export declare const cell_field_list_action_spec: {
|
|
|
151
151
|
};
|
|
152
152
|
side_effects: false;
|
|
153
153
|
input: z.ZodObject<{
|
|
154
|
-
source_id: z.ZodOptional<z.
|
|
155
|
-
target_id: z.ZodOptional<z.
|
|
154
|
+
source_id: z.ZodOptional<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>>>;
|
|
155
|
+
target_id: z.ZodOptional<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>>>;
|
|
156
156
|
name_after: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">>;
|
|
157
157
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
158
|
-
acting: z.ZodOptional<z.
|
|
158
|
+
acting: z.ZodOptional<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>>>;
|
|
159
159
|
}, z.core.$strict>;
|
|
160
160
|
output: z.ZodObject<{
|
|
161
161
|
fields: z.ZodArray<z.ZodObject<{
|
|
162
|
-
source_id: z.
|
|
162
|
+
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>>;
|
|
163
163
|
name: z.ZodString;
|
|
164
|
-
target_id: z.
|
|
164
|
+
target_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>>;
|
|
165
165
|
created_at: z.ZodString;
|
|
166
166
|
}, z.core.$strict>>;
|
|
167
167
|
}, z.core.$strict>;
|
|
@@ -180,16 +180,16 @@ export declare const all_cell_field_action_specs: readonly [{
|
|
|
180
180
|
};
|
|
181
181
|
side_effects: true;
|
|
182
182
|
input: z.ZodObject<{
|
|
183
|
-
source_id: z.
|
|
183
|
+
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>>;
|
|
184
184
|
name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
|
|
185
|
-
target_id: z.
|
|
186
|
-
acting: z.ZodOptional<z.
|
|
185
|
+
target_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>>;
|
|
186
|
+
acting: z.ZodOptional<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>>>;
|
|
187
187
|
}, z.core.$strict>;
|
|
188
188
|
output: z.ZodObject<{
|
|
189
189
|
field: z.ZodObject<{
|
|
190
|
-
source_id: z.
|
|
190
|
+
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>>;
|
|
191
191
|
name: z.ZodString;
|
|
192
|
-
target_id: z.
|
|
192
|
+
target_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>>;
|
|
193
193
|
created_at: z.ZodString;
|
|
194
194
|
}, z.core.$strict>;
|
|
195
195
|
}, z.core.$strict>;
|
|
@@ -205,9 +205,9 @@ export declare const all_cell_field_action_specs: readonly [{
|
|
|
205
205
|
};
|
|
206
206
|
side_effects: true;
|
|
207
207
|
input: z.ZodObject<{
|
|
208
|
-
source_id: z.
|
|
208
|
+
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>>;
|
|
209
209
|
name: z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">;
|
|
210
|
-
acting: z.ZodOptional<z.
|
|
210
|
+
acting: z.ZodOptional<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>>>;
|
|
211
211
|
}, z.core.$strict>;
|
|
212
212
|
output: z.ZodObject<{
|
|
213
213
|
ok: z.ZodLiteral<true>;
|
|
@@ -225,17 +225,17 @@ export declare const all_cell_field_action_specs: readonly [{
|
|
|
225
225
|
};
|
|
226
226
|
side_effects: false;
|
|
227
227
|
input: z.ZodObject<{
|
|
228
|
-
source_id: z.ZodOptional<z.
|
|
229
|
-
target_id: z.ZodOptional<z.
|
|
228
|
+
source_id: z.ZodOptional<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>>>;
|
|
229
|
+
target_id: z.ZodOptional<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>>>;
|
|
230
230
|
name_after: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "CellFieldName", "out">>;
|
|
231
231
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
232
|
-
acting: z.ZodOptional<z.
|
|
232
|
+
acting: z.ZodOptional<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>>>;
|
|
233
233
|
}, z.core.$strict>;
|
|
234
234
|
output: z.ZodObject<{
|
|
235
235
|
fields: z.ZodArray<z.ZodObject<{
|
|
236
|
-
source_id: z.
|
|
236
|
+
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>>;
|
|
237
237
|
name: z.ZodString;
|
|
238
|
-
target_id: z.
|
|
238
|
+
target_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>>;
|
|
239
239
|
created_at: z.ZodString;
|
|
240
240
|
}, z.core.$strict>>;
|
|
241
241
|
}, z.core.$strict>;
|
|
@@ -15,16 +15,16 @@ import { z } from 'zod';
|
|
|
15
15
|
* if needed.
|
|
16
16
|
*/
|
|
17
17
|
export declare const CellFieldSetAuditMetadata: z.ZodObject<{
|
|
18
|
-
source_id: z.
|
|
18
|
+
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>>;
|
|
19
19
|
name: z.ZodString;
|
|
20
|
-
target_id: z.
|
|
20
|
+
target_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>>;
|
|
21
21
|
}, z.core.$loose>;
|
|
22
22
|
export type CellFieldSetAuditMetadata = z.infer<typeof CellFieldSetAuditMetadata>;
|
|
23
23
|
/** Metadata envelope for `cell_field_delete`. */
|
|
24
24
|
export declare const CellFieldDeleteAuditMetadata: z.ZodObject<{
|
|
25
|
-
source_id: z.
|
|
25
|
+
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>>;
|
|
26
26
|
name: z.ZodString;
|
|
27
|
-
target_id: z.
|
|
27
|
+
target_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>>;
|
|
28
28
|
}, z.core.$loose>;
|
|
29
29
|
export type CellFieldDeleteAuditMetadata = z.infer<typeof CellFieldDeleteAuditMetadata>;
|
|
30
30
|
//# sourceMappingURL=cell_field_audit_metadata.d.ts.map
|