@middlewr/contracts 0.0.46 → 0.0.48
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/cjs/index.d.ts +84 -88
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +15 -18
- package/dist/cjs/link-templates.schema.d.ts +12 -0
- package/dist/cjs/link-templates.schema.d.ts.map +1 -1
- package/dist/cjs/links.schema.d.ts +12 -32
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/cjs/rules.schema.d.ts +101 -0
- package/dist/cjs/rules.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +84 -88
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +14 -18
- package/dist/esm/link-templates.schema.d.ts +12 -0
- package/dist/esm/link-templates.schema.d.ts.map +1 -1
- package/dist/esm/links.schema.d.ts +12 -32
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/dist/esm/rules.schema.d.ts +101 -0
- package/dist/esm/rules.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/link-templates.schema.ts +2 -2
- package/src/links.schema.ts +2 -15
- package/src/rules.schema.ts +17 -9
|
@@ -94,6 +94,9 @@ export declare const LinkTemplateSchema: z.ZodObject<{
|
|
|
94
94
|
y: z.ZodNumber;
|
|
95
95
|
}, z.core.$strip>;
|
|
96
96
|
next: z.ZodNullable<z.ZodString>;
|
|
97
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
98
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
99
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
97
100
|
}, z.core.$strip>], "type">>;
|
|
98
101
|
}, z.core.$strip>>;
|
|
99
102
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -192,6 +195,9 @@ export declare const CreateLinkTemplateInputSchema: z.ZodObject<{
|
|
|
192
195
|
y: z.ZodNumber;
|
|
193
196
|
}, z.core.$strip>;
|
|
194
197
|
next: z.ZodNullable<z.ZodString>;
|
|
198
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
199
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
200
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
195
201
|
}, z.core.$strip>], "type">>;
|
|
196
202
|
}, z.core.$strip>>>;
|
|
197
203
|
}, z.core.$strip>;
|
|
@@ -288,6 +294,9 @@ export declare const UpdateLinkTemplateInputSchema: z.ZodObject<{
|
|
|
288
294
|
y: z.ZodNumber;
|
|
289
295
|
}, z.core.$strip>;
|
|
290
296
|
next: z.ZodNullable<z.ZodString>;
|
|
297
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
298
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
299
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
291
300
|
}, z.core.$strip>], "type">>;
|
|
292
301
|
}, z.core.$strip>>;
|
|
293
302
|
}, z.core.$strip>;
|
|
@@ -392,6 +401,9 @@ export declare const PaginatedLinkTemplatesSchema: z.ZodObject<{
|
|
|
392
401
|
y: z.ZodNumber;
|
|
393
402
|
}, z.core.$strip>;
|
|
394
403
|
next: z.ZodNullable<z.ZodString>;
|
|
404
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
405
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
406
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
395
407
|
}, z.core.$strip>], "type">>;
|
|
396
408
|
}, z.core.$strip>>;
|
|
397
409
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-templates.schema.d.ts","sourceRoot":"","sources":["../../src/link-templates.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"link-templates.schema.d.ts","sourceRoot":"","sources":["../../src/link-templates.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ7B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMvC,CAAC"}
|
|
@@ -40,9 +40,6 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
40
40
|
utm_term: z.ZodNullable<z.ZodString>;
|
|
41
41
|
utm_content: z.ZodNullable<z.ZodString>;
|
|
42
42
|
password: z.ZodNullable<z.ZodString>;
|
|
43
|
-
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
44
|
-
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
45
|
-
fallback_url: z.ZodNullable<z.ZodString>;
|
|
46
43
|
is_active: z.ZodBoolean;
|
|
47
44
|
redirect_type: z.ZodNumber;
|
|
48
45
|
click_count: z.ZodCoercedNumber<unknown>;
|
|
@@ -171,6 +168,9 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
171
168
|
y: z.ZodNumber;
|
|
172
169
|
}, z.core.$strip>;
|
|
173
170
|
next: z.ZodNullable<z.ZodString>;
|
|
171
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
172
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
173
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
174
174
|
}, z.core.$strip>], "type">>;
|
|
175
175
|
}, z.core.$strip>>>;
|
|
176
176
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -194,9 +194,6 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
194
194
|
utm_term: z.ZodOptional<z.ZodString>;
|
|
195
195
|
utm_content: z.ZodOptional<z.ZodString>;
|
|
196
196
|
password: z.ZodOptional<z.ZodString>;
|
|
197
|
-
starts_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
198
|
-
expires_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
199
|
-
fallback_url: z.ZodOptional<z.ZodString>;
|
|
200
197
|
redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
201
198
|
qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
202
199
|
fg_color: z.ZodString;
|
|
@@ -319,6 +316,9 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
319
316
|
y: z.ZodNumber;
|
|
320
317
|
}, z.core.$strip>;
|
|
321
318
|
next: z.ZodNullable<z.ZodString>;
|
|
319
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
320
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
321
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
322
322
|
}, z.core.$strip>], "type">>;
|
|
323
323
|
}, z.core.$strip>>>;
|
|
324
324
|
}, z.core.$strip>;
|
|
@@ -334,9 +334,6 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
334
334
|
utm_term: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
335
|
utm_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
336
336
|
password: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
337
|
-
starts_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
338
|
-
expires_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
339
|
-
fallback_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
340
337
|
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
341
338
|
redirect_type: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
342
339
|
qr_code_settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -460,6 +457,9 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
460
457
|
y: z.ZodNumber;
|
|
461
458
|
}, z.core.$strip>;
|
|
462
459
|
next: z.ZodNullable<z.ZodString>;
|
|
460
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
461
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
462
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
463
463
|
}, z.core.$strip>], "type">>;
|
|
464
464
|
}, z.core.$strip>>>;
|
|
465
465
|
}, z.core.$strip>;
|
|
@@ -470,18 +470,8 @@ export declare const LinkFiltersSchema: z.ZodObject<{
|
|
|
470
470
|
true: "true";
|
|
471
471
|
false: "false";
|
|
472
472
|
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
473
|
-
has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
474
|
-
true: "true";
|
|
475
|
-
false: "false";
|
|
476
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
477
|
-
expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
478
|
-
true: "true";
|
|
479
|
-
false: "false";
|
|
480
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
481
473
|
created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
482
474
|
created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
483
|
-
expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
484
|
-
expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
485
475
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
486
476
|
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
487
477
|
created_at: "created_at";
|
|
@@ -504,18 +494,8 @@ export declare const ExportLinksFiltersSchema: z.ZodObject<{
|
|
|
504
494
|
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
505
495
|
tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
506
496
|
domain_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
507
|
-
has_expiration: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
508
|
-
true: "true";
|
|
509
|
-
false: "false";
|
|
510
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
511
|
-
expired: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodBoolean, z.ZodEnum<{
|
|
512
|
-
true: "true";
|
|
513
|
-
false: "false";
|
|
514
|
-
}>]>, z.ZodTransform<boolean, boolean | "true" | "false">>>;
|
|
515
497
|
created_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
516
498
|
created_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
517
|
-
expires_from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
518
|
-
expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
519
499
|
sort_by: z.ZodDefault<z.ZodEnum<{
|
|
520
500
|
created_at: "created_at";
|
|
521
501
|
title: "title";
|
|
@@ -543,9 +523,6 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
543
523
|
utm_term: z.ZodNullable<z.ZodString>;
|
|
544
524
|
utm_content: z.ZodNullable<z.ZodString>;
|
|
545
525
|
password: z.ZodNullable<z.ZodString>;
|
|
546
|
-
starts_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
547
|
-
expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
548
|
-
fallback_url: z.ZodNullable<z.ZodString>;
|
|
549
526
|
is_active: z.ZodBoolean;
|
|
550
527
|
redirect_type: z.ZodNumber;
|
|
551
528
|
click_count: z.ZodCoercedNumber<unknown>;
|
|
@@ -674,6 +651,9 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
674
651
|
y: z.ZodNumber;
|
|
675
652
|
}, z.core.$strip>;
|
|
676
653
|
next: z.ZodNullable<z.ZodString>;
|
|
654
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
655
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
656
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
677
657
|
}, z.core.$strip>], "type">>;
|
|
678
658
|
}, z.core.$strip>>>;
|
|
679
659
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA2BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8B5B,CAAC;AAEP,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+B5B,CAAC;AAMP,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
|
|
@@ -87,7 +87,105 @@ export declare const RuleGraphNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
87
87
|
y: z.ZodNumber;
|
|
88
88
|
}, z.core.$strip>;
|
|
89
89
|
next: z.ZodNullable<z.ZodString>;
|
|
90
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
91
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
92
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
90
93
|
}, z.core.$strip>], "type">;
|
|
94
|
+
export declare const RuleGraphOutputSchema: z.ZodObject<{
|
|
95
|
+
entry: z.ZodString;
|
|
96
|
+
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
97
|
+
id: z.ZodString;
|
|
98
|
+
type: z.ZodLiteral<"condition">;
|
|
99
|
+
position: z.ZodObject<{
|
|
100
|
+
x: z.ZodNumber;
|
|
101
|
+
y: z.ZodNumber;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
field: z.ZodString;
|
|
104
|
+
operator: z.ZodEnum<{
|
|
105
|
+
eq: "eq";
|
|
106
|
+
neq: "neq";
|
|
107
|
+
in: "in";
|
|
108
|
+
not_in: "not_in";
|
|
109
|
+
contains: "contains";
|
|
110
|
+
not_contains: "not_contains";
|
|
111
|
+
gt: "gt";
|
|
112
|
+
lt: "lt";
|
|
113
|
+
gte: "gte";
|
|
114
|
+
lte: "lte";
|
|
115
|
+
regex: "regex";
|
|
116
|
+
}>;
|
|
117
|
+
value: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNumber]>;
|
|
118
|
+
outputs: z.ZodObject<{
|
|
119
|
+
true: z.ZodNullable<z.ZodString>;
|
|
120
|
+
false: z.ZodNullable<z.ZodString>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
123
|
+
id: z.ZodString;
|
|
124
|
+
type: z.ZodLiteral<"split">;
|
|
125
|
+
position: z.ZodObject<{
|
|
126
|
+
x: z.ZodNumber;
|
|
127
|
+
y: z.ZodNumber;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
130
|
+
weight: z.ZodNumber;
|
|
131
|
+
target: z.ZodNullable<z.ZodString>;
|
|
132
|
+
}, z.core.$strip>>;
|
|
133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
134
|
+
id: z.ZodString;
|
|
135
|
+
type: z.ZodLiteral<"destination">;
|
|
136
|
+
position: z.ZodObject<{
|
|
137
|
+
x: z.ZodNumber;
|
|
138
|
+
y: z.ZodNumber;
|
|
139
|
+
}, z.core.$strip>;
|
|
140
|
+
url: z.ZodString;
|
|
141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
142
|
+
id: z.ZodString;
|
|
143
|
+
type: z.ZodLiteral<"transform">;
|
|
144
|
+
position: z.ZodObject<{
|
|
145
|
+
x: z.ZodNumber;
|
|
146
|
+
y: z.ZodNumber;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
transforms: z.ZodObject<{
|
|
149
|
+
query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
150
|
+
key: z.ZodString;
|
|
151
|
+
value: z.ZodString;
|
|
152
|
+
mode: z.ZodEnum<{
|
|
153
|
+
set: "set";
|
|
154
|
+
append: "append";
|
|
155
|
+
}>;
|
|
156
|
+
}, z.core.$strip>>>;
|
|
157
|
+
redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
|
|
158
|
+
response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
key: z.ZodString;
|
|
160
|
+
value: z.ZodString;
|
|
161
|
+
mode: z.ZodEnum<{
|
|
162
|
+
set: "set";
|
|
163
|
+
append: "append";
|
|
164
|
+
}>;
|
|
165
|
+
}, z.core.$strip>>>;
|
|
166
|
+
}, z.core.$strip>;
|
|
167
|
+
next: z.ZodNullable<z.ZodString>;
|
|
168
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
169
|
+
id: z.ZodString;
|
|
170
|
+
type: z.ZodLiteral<"password">;
|
|
171
|
+
position: z.ZodObject<{
|
|
172
|
+
x: z.ZodNumber;
|
|
173
|
+
y: z.ZodNumber;
|
|
174
|
+
}, z.core.$strip>;
|
|
175
|
+
next: z.ZodNullable<z.ZodString>;
|
|
176
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
type: z.ZodLiteral<"entry">;
|
|
179
|
+
position: z.ZodObject<{
|
|
180
|
+
x: z.ZodNumber;
|
|
181
|
+
y: z.ZodNumber;
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
next: z.ZodNullable<z.ZodString>;
|
|
184
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
185
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
186
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>], "type">>;
|
|
188
|
+
}, z.core.$strip>;
|
|
91
189
|
export declare const RuleGraphSchema: z.ZodObject<{
|
|
92
190
|
entry: z.ZodString;
|
|
93
191
|
nodes: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -178,6 +276,9 @@ export declare const RuleGraphSchema: z.ZodObject<{
|
|
|
178
276
|
y: z.ZodNumber;
|
|
179
277
|
}, z.core.$strip>;
|
|
180
278
|
next: z.ZodNullable<z.ZodString>;
|
|
279
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
280
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
281
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
181
282
|
}, z.core.$strip>], "type">>;
|
|
182
283
|
}, z.core.$strip>;
|
|
183
284
|
//# sourceMappingURL=rules.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkGxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAO9B,CAAC;AAOH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBvB,CAAC"}
|