@astrale-os/kernel-dsl 1.0.0-beta.21 → 1.0.0-beta.23
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/v1/builder/index.d.ts +2 -0
- package/dist/v1/builder/index.js +1 -0
- package/dist/v1/builder/lowering/value/compile.js +5 -1
- package/dist/v1/builder/lowering/value/file.d.ts +7 -0
- package/dist/v1/builder/lowering/value/file.js +14 -0
- package/dist/v1/builder/lowering/value/zod.js +30 -0
- package/dist/v1/builder/schema/diagnostic.d.ts +1 -1
- package/dist/v1/builder/value/file.d.ts +34 -0
- package/dist/v1/builder/value/file.js +77 -0
- package/dist/v1/index.d.ts +2 -2
- package/dist/v1/index.js +1 -1
- package/dist/v1/language/.spec/schemas/value-schema.schema.json +2 -1
- package/dist/v1/language/validation/rule.js +2 -2
- package/dist/v1/language/value/files.d.ts +44 -0
- package/dist/v1/language/value/files.js +150 -0
- package/dist/v1/language/value/inclusion/evidence.js +2 -0
- package/dist/v1/language/value/inclusion/types.js +23 -0
- package/dist/v1/language/value/model/file.d.ts +41 -0
- package/dist/v1/language/value/model/file.js +122 -0
- package/dist/v1/language/value/profile/meta-schema.compiled.d.ts +1 -0
- package/dist/v1/language/value/profile/meta-schema.compiled.js +18 -5
- package/dist/v1/language/value/profile/rules.js +10 -1
- package/dist/v1/language/value/profile/vocabulary.d.ts +7 -6
- package/dist/v1/language/value/profile/vocabulary.js +7 -1
- package/dist/v1/language/value/regexp/unicode.d.ts +1 -1
- package/dist/v1/language/value/regexp/unicode.js +1 -1
- package/dist/v1/schema/.spec/schemas/domain-schema.schema.json +48 -7
- package/dist/v1/schema/validation/domain.json-schema.js +27 -2
- package/dist/v1/schema/validation/domain.structure.d.ts +49 -46
- package/dist/v1/schema/validation/domain.structure.js +140 -50
- package/dist/v1/schema/validation/value-api.d.ts +4 -0
- package/dist/v1/schema/validation/value-api.js +2 -0
- package/dist/v1/schema/validation/value.json-schema.d.ts +5 -0
- package/dist/v1/schema/validation/value.json-schema.js +30 -4
- package/package.json +3 -3
|
@@ -12,8 +12,11 @@ import type { DomainSchemaIR } from '../model/schema.js';
|
|
|
12
12
|
export type JsonSchemaAnnotation = zodCore.JSONSchema.JSONSchema & {
|
|
13
13
|
readonly id?: string;
|
|
14
14
|
readonly 'x-astrale-rule'?: StructureRule;
|
|
15
|
+
readonly [VARIANTS]?: true;
|
|
15
16
|
};
|
|
16
17
|
export declare const documentJsonSchema: zodCore.$ZodRegistry<JsonSchemaAnnotation, zodCore.$ZodType<unknown, unknown, zodCore.$ZodTypeInternals<unknown, unknown>>>;
|
|
18
|
+
/** The marker of a union of `variants`, which `domain.json-schema.ts` states by `anyOf`. */
|
|
19
|
+
export declare const VARIANTS = "x-astrale-variants";
|
|
17
20
|
/**
|
|
18
21
|
* The checks of the structure JSON Schema cannot state. The published document names each with the
|
|
19
22
|
* positions it constrains, so that a validator of the document knows what it leaves to the Kernel.
|
|
@@ -101,7 +104,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
101
104
|
name: import("zod").ZodString;
|
|
102
105
|
}, zodCore.$strict>>;
|
|
103
106
|
properties: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
104
|
-
schema: import("zod").
|
|
107
|
+
schema: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
105
108
|
required: import("zod").ZodBoolean;
|
|
106
109
|
auto: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
107
110
|
on: ZodType<["create" | "update", ...("create" | "update")[]], ["create" | "update", ...("create" | "update")[]], zodCore.$ZodTypeInternals<["create" | "update", ...("create" | "update")[]], ["create" | "update", ...("create" | "update")[]]>>;
|
|
@@ -119,13 +122,13 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
119
122
|
}, zodCore.$strict>>;
|
|
120
123
|
methods: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
121
124
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
122
|
-
input: import("zod").
|
|
125
|
+
input: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
123
126
|
output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
124
127
|
mode: import("zod").ZodLiteral<"value">;
|
|
125
|
-
schema: import("zod").
|
|
128
|
+
schema: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
126
129
|
}, zodCore.$strict>, import("zod").ZodObject<{
|
|
127
130
|
mode: import("zod").ZodLiteral<"stream">;
|
|
128
|
-
item: import("zod").
|
|
131
|
+
item: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
129
132
|
}, zodCore.$strict>, import("zod").ZodObject<{
|
|
130
133
|
mode: import("zod").ZodLiteral<"binary">;
|
|
131
134
|
}, zodCore.$strict>], "mode">;
|
|
@@ -140,11 +143,8 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
140
143
|
authenticated: "authenticated";
|
|
141
144
|
authorized: "authorized";
|
|
142
145
|
}>;
|
|
143
|
-
policy: import("zod").ZodOptional<import("zod").
|
|
146
|
+
policy: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, ZodType<PolicyCheckExpression<PolicyRef, {
|
|
144
147
|
kind: "self";
|
|
145
|
-
} | {
|
|
146
|
-
kind: "input";
|
|
147
|
-
field: string;
|
|
148
148
|
} | {
|
|
149
149
|
kind: "ref";
|
|
150
150
|
ref: {
|
|
@@ -176,11 +176,11 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
176
176
|
kind: "view";
|
|
177
177
|
name: string;
|
|
178
178
|
};
|
|
179
|
-
}>, unknown, zodCore.$ZodTypeInternals<PolicyCheckExpression<PolicyRef, {
|
|
180
|
-
kind: "self";
|
|
181
179
|
} | {
|
|
182
180
|
kind: "input";
|
|
183
181
|
field: string;
|
|
182
|
+
}>, unknown, zodCore.$ZodTypeInternals<PolicyCheckExpression<PolicyRef, {
|
|
183
|
+
kind: "self";
|
|
184
184
|
} | {
|
|
185
185
|
kind: "ref";
|
|
186
186
|
ref: {
|
|
@@ -212,6 +212,9 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
212
212
|
kind: "view";
|
|
213
213
|
name: string;
|
|
214
214
|
};
|
|
215
|
+
} | {
|
|
216
|
+
kind: "input";
|
|
217
|
+
field: string;
|
|
215
218
|
}>, unknown>>]>>;
|
|
216
219
|
static: import("zod").ZodBoolean;
|
|
217
220
|
abstract: import("zod").ZodBoolean;
|
|
@@ -236,9 +239,6 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
236
239
|
auth: "anonymous" | "authenticated" | "authorized";
|
|
237
240
|
policy?: true | PolicyCheckExpression<PolicyRef, {
|
|
238
241
|
kind: "self";
|
|
239
|
-
} | {
|
|
240
|
-
kind: "input";
|
|
241
|
-
field: string;
|
|
242
242
|
} | {
|
|
243
243
|
kind: "ref";
|
|
244
244
|
ref: {
|
|
@@ -270,6 +270,9 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
270
270
|
kind: "view";
|
|
271
271
|
name: string;
|
|
272
272
|
};
|
|
273
|
+
} | {
|
|
274
|
+
kind: "input";
|
|
275
|
+
field: string;
|
|
273
276
|
}> | undefined;
|
|
274
277
|
static: boolean;
|
|
275
278
|
abstract: boolean;
|
|
@@ -316,9 +319,6 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
316
319
|
auth: "anonymous" | "authenticated" | "authorized";
|
|
317
320
|
policy?: true | PolicyCheckExpression<PolicyRef, {
|
|
318
321
|
kind: "self";
|
|
319
|
-
} | {
|
|
320
|
-
kind: "input";
|
|
321
|
-
field: string;
|
|
322
322
|
} | {
|
|
323
323
|
kind: "ref";
|
|
324
324
|
ref: {
|
|
@@ -350,6 +350,9 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
350
350
|
kind: "view";
|
|
351
351
|
name: string;
|
|
352
352
|
};
|
|
353
|
+
} | {
|
|
354
|
+
kind: "input";
|
|
355
|
+
field: string;
|
|
353
356
|
}> | undefined;
|
|
354
357
|
static: boolean;
|
|
355
358
|
abstract: boolean;
|
|
@@ -381,7 +384,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
381
384
|
}, zodCore.$strict>>;
|
|
382
385
|
icon: import("zod").ZodOptional<import("zod").ZodString>;
|
|
383
386
|
policies: import("zod").ZodObject<{
|
|
384
|
-
read: import("zod").ZodOptional<import("zod").
|
|
387
|
+
read: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<false>, import("zod").ZodObject<{
|
|
385
388
|
origin: import("zod").ZodString;
|
|
386
389
|
kind: import("zod").ZodLiteral<"policy">;
|
|
387
390
|
name: import("zod").ZodString;
|
|
@@ -452,7 +455,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
452
455
|
name: string;
|
|
453
456
|
};
|
|
454
457
|
}>, unknown>>]>>;
|
|
455
|
-
traverse: import("zod").ZodOptional<import("zod").
|
|
458
|
+
traverse: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<false>, import("zod").ZodObject<{
|
|
456
459
|
origin: import("zod").ZodString;
|
|
457
460
|
kind: import("zod").ZodLiteral<"policy">;
|
|
458
461
|
name: import("zod").ZodString;
|
|
@@ -523,7 +526,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
523
526
|
name: string;
|
|
524
527
|
};
|
|
525
528
|
}>, unknown>>]>>;
|
|
526
|
-
create: import("zod").ZodOptional<import("zod").
|
|
529
|
+
create: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, ZodType<PolicyCheckExpression<PolicyRef, {
|
|
527
530
|
kind: "ref";
|
|
528
531
|
ref: {
|
|
529
532
|
origin: string;
|
|
@@ -586,7 +589,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
586
589
|
name: string;
|
|
587
590
|
};
|
|
588
591
|
}>, unknown>>]>>;
|
|
589
|
-
update: import("zod").ZodOptional<import("zod").
|
|
592
|
+
update: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, import("zod").ZodObject<{
|
|
590
593
|
origin: import("zod").ZodString;
|
|
591
594
|
kind: import("zod").ZodLiteral<"policy">;
|
|
592
595
|
name: import("zod").ZodString;
|
|
@@ -657,7 +660,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
657
660
|
name: string;
|
|
658
661
|
};
|
|
659
662
|
}>, unknown>>]>>;
|
|
660
|
-
delete: import("zod").ZodOptional<import("zod").
|
|
663
|
+
delete: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, import("zod").ZodObject<{
|
|
661
664
|
origin: import("zod").ZodString;
|
|
662
665
|
kind: import("zod").ZodLiteral<"policy">;
|
|
663
666
|
name: import("zod").ZodString;
|
|
@@ -759,7 +762,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
759
762
|
once: "once";
|
|
760
763
|
}>>;
|
|
761
764
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
762
|
-
schema: import("zod").
|
|
765
|
+
schema: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
763
766
|
}, zodCore.$strict>>;
|
|
764
767
|
constraints: import("zod").ZodObject<{
|
|
765
768
|
noSelf: import("zod").ZodOptional<import("zod").ZodLiteral<true>>;
|
|
@@ -802,7 +805,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
802
805
|
directed: "directed";
|
|
803
806
|
undirected: "undirected";
|
|
804
807
|
}>;
|
|
805
|
-
endpoints: import("zod").
|
|
808
|
+
endpoints: import("zod").ZodXor<readonly [import("zod").ZodObject<{
|
|
806
809
|
source: import("zod").ZodObject<{
|
|
807
810
|
role: import("zod").ZodString;
|
|
808
811
|
accepts: ZodType<[{
|
|
@@ -987,7 +990,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
987
990
|
}>;
|
|
988
991
|
}, zodCore.$strict>], null>]>;
|
|
989
992
|
policies: import("zod").ZodObject<{
|
|
990
|
-
read: import("zod").ZodOptional<import("zod").
|
|
993
|
+
read: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<false>, import("zod").ZodObject<{
|
|
991
994
|
origin: import("zod").ZodString;
|
|
992
995
|
kind: import("zod").ZodLiteral<"policy">;
|
|
993
996
|
name: import("zod").ZodString;
|
|
@@ -1058,7 +1061,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
1058
1061
|
name: string;
|
|
1059
1062
|
};
|
|
1060
1063
|
}>, unknown>>]>>;
|
|
1061
|
-
traverse: import("zod").ZodOptional<import("zod").
|
|
1064
|
+
traverse: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<false>, import("zod").ZodObject<{
|
|
1062
1065
|
origin: import("zod").ZodString;
|
|
1063
1066
|
kind: import("zod").ZodLiteral<"policy">;
|
|
1064
1067
|
name: import("zod").ZodString;
|
|
@@ -1129,7 +1132,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
1129
1132
|
name: string;
|
|
1130
1133
|
};
|
|
1131
1134
|
}>, unknown>>]>>;
|
|
1132
|
-
create: import("zod").ZodOptional<import("zod").
|
|
1135
|
+
create: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, import("zod").ZodObject<{
|
|
1133
1136
|
origin: import("zod").ZodString;
|
|
1134
1137
|
kind: import("zod").ZodLiteral<"policy">;
|
|
1135
1138
|
name: import("zod").ZodString;
|
|
@@ -1200,7 +1203,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
1200
1203
|
name: string;
|
|
1201
1204
|
};
|
|
1202
1205
|
}>, unknown>>]>>;
|
|
1203
|
-
update: import("zod").ZodOptional<import("zod").
|
|
1206
|
+
update: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, import("zod").ZodObject<{
|
|
1204
1207
|
origin: import("zod").ZodString;
|
|
1205
1208
|
kind: import("zod").ZodLiteral<"policy">;
|
|
1206
1209
|
name: import("zod").ZodString;
|
|
@@ -1271,7 +1274,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
1271
1274
|
name: string;
|
|
1272
1275
|
};
|
|
1273
1276
|
}>, unknown>>]>>;
|
|
1274
|
-
delete: import("zod").ZodOptional<import("zod").
|
|
1277
|
+
delete: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, import("zod").ZodObject<{
|
|
1275
1278
|
origin: import("zod").ZodString;
|
|
1276
1279
|
kind: import("zod").ZodLiteral<"policy">;
|
|
1277
1280
|
name: import("zod").ZodString;
|
|
@@ -7310,10 +7313,10 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7310
7313
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7311
7314
|
output: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
7312
7315
|
mode: import("zod").ZodLiteral<"value">;
|
|
7313
|
-
schema: import("zod").
|
|
7316
|
+
schema: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
7314
7317
|
}, zodCore.$strict>, import("zod").ZodObject<{
|
|
7315
7318
|
mode: import("zod").ZodLiteral<"stream">;
|
|
7316
|
-
item: import("zod").
|
|
7319
|
+
item: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
7317
7320
|
}, zodCore.$strict>, import("zod").ZodObject<{
|
|
7318
7321
|
mode: import("zod").ZodLiteral<"binary">;
|
|
7319
7322
|
}, zodCore.$strict>], "mode">;
|
|
@@ -7328,11 +7331,8 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7328
7331
|
authenticated: "authenticated";
|
|
7329
7332
|
authorized: "authorized";
|
|
7330
7333
|
}>;
|
|
7331
|
-
policy: import("zod").ZodOptional<import("zod").
|
|
7334
|
+
policy: import("zod").ZodOptional<import("zod").ZodXor<readonly [import("zod").ZodLiteral<true>, ZodType<PolicyCheckExpression<PolicyRef, {
|
|
7332
7335
|
kind: "self";
|
|
7333
|
-
} | {
|
|
7334
|
-
kind: "input";
|
|
7335
|
-
field: string;
|
|
7336
7336
|
} | {
|
|
7337
7337
|
kind: "ref";
|
|
7338
7338
|
ref: {
|
|
@@ -7364,11 +7364,11 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7364
7364
|
kind: "view";
|
|
7365
7365
|
name: string;
|
|
7366
7366
|
};
|
|
7367
|
-
}>, unknown, zodCore.$ZodTypeInternals<PolicyCheckExpression<PolicyRef, {
|
|
7368
|
-
kind: "self";
|
|
7369
7367
|
} | {
|
|
7370
7368
|
kind: "input";
|
|
7371
7369
|
field: string;
|
|
7370
|
+
}>, unknown, zodCore.$ZodTypeInternals<PolicyCheckExpression<PolicyRef, {
|
|
7371
|
+
kind: "self";
|
|
7372
7372
|
} | {
|
|
7373
7373
|
kind: "ref";
|
|
7374
7374
|
ref: {
|
|
@@ -7400,12 +7400,15 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7400
7400
|
kind: "view";
|
|
7401
7401
|
name: string;
|
|
7402
7402
|
};
|
|
7403
|
+
} | {
|
|
7404
|
+
kind: "input";
|
|
7405
|
+
field: string;
|
|
7403
7406
|
}>, unknown>>]>>;
|
|
7404
|
-
input: import("zod").
|
|
7407
|
+
input: import("zod").ZodXor<readonly [import("zod").ZodObject<{
|
|
7405
7408
|
mode: import("zod").ZodLiteral<"binary">;
|
|
7406
|
-
metadata: import("zod").
|
|
7409
|
+
metadata: import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>;
|
|
7407
7410
|
maximumBytes: import("zod").ZodNumber;
|
|
7408
|
-
}, zodCore.$strict>, import("zod").
|
|
7411
|
+
}, zodCore.$strict>, import("zod").ZodXor<readonly [import("zod").ZodBoolean, import("zod").ZodRecord<import("zod").ZodString, ZodType<JsonValue, unknown, zodCore.$ZodTypeInternals<JsonValue, unknown>>>]>]>;
|
|
7409
7412
|
ref: import("zod").ZodObject<{
|
|
7410
7413
|
origin: import("zod").ZodString;
|
|
7411
7414
|
kind: import("zod").ZodLiteral<"function">;
|
|
@@ -7431,9 +7434,6 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7431
7434
|
auth: "anonymous" | "authenticated" | "authorized";
|
|
7432
7435
|
policy?: true | PolicyCheckExpression<PolicyRef, {
|
|
7433
7436
|
kind: "self";
|
|
7434
|
-
} | {
|
|
7435
|
-
kind: "input";
|
|
7436
|
-
field: string;
|
|
7437
7437
|
} | {
|
|
7438
7438
|
kind: "ref";
|
|
7439
7439
|
ref: {
|
|
@@ -7465,6 +7465,9 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7465
7465
|
kind: "view";
|
|
7466
7466
|
name: string;
|
|
7467
7467
|
};
|
|
7468
|
+
} | {
|
|
7469
|
+
kind: "input";
|
|
7470
|
+
field: string;
|
|
7468
7471
|
}> | undefined;
|
|
7469
7472
|
input: boolean | Record<string, JsonValue> | {
|
|
7470
7473
|
mode: "binary";
|
|
@@ -7525,9 +7528,6 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7525
7528
|
auth: "anonymous" | "authenticated" | "authorized";
|
|
7526
7529
|
policy?: true | PolicyCheckExpression<PolicyRef, {
|
|
7527
7530
|
kind: "self";
|
|
7528
|
-
} | {
|
|
7529
|
-
kind: "input";
|
|
7530
|
-
field: string;
|
|
7531
7531
|
} | {
|
|
7532
7532
|
kind: "ref";
|
|
7533
7533
|
ref: {
|
|
@@ -7559,6 +7559,9 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7559
7559
|
kind: "view";
|
|
7560
7560
|
name: string;
|
|
7561
7561
|
};
|
|
7562
|
+
} | {
|
|
7563
|
+
kind: "input";
|
|
7564
|
+
field: string;
|
|
7562
7565
|
}> | undefined;
|
|
7563
7566
|
input: boolean | Record<string, JsonValue> | {
|
|
7564
7567
|
mode: "binary";
|
|
@@ -7606,7 +7609,7 @@ export declare const domainSchemaStructure: import("zod").ZodObject<{
|
|
|
7606
7609
|
kind: import("zod").ZodLiteral<"policy">;
|
|
7607
7610
|
name: import("zod").ZodString;
|
|
7608
7611
|
}, zodCore.$strict>;
|
|
7609
|
-
expression: import("zod").
|
|
7612
|
+
expression: import("zod").ZodXor<readonly [import("zod").ZodObject<{
|
|
7610
7613
|
match: ZodType<PolicyPatternExpression, unknown, zodCore.$ZodTypeInternals<PolicyPatternExpression, unknown>>;
|
|
7611
7614
|
}, zodCore.$strict>, import("zod").ZodObject<{
|
|
7612
7615
|
allOf: ZodType<[{
|