@middlewr/contracts 0.0.47 → 0.0.49
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 +756 -152
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +25 -23
- package/dist/cjs/link-templates.schema.d.ts +108 -0
- package/dist/cjs/link-templates.schema.d.ts.map +1 -1
- package/dist/cjs/links.schema.d.ts +108 -48
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/cjs/rules.schema.d.ts +81 -0
- package/dist/cjs/rules.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +756 -152
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +25 -23
- package/dist/esm/link-templates.schema.d.ts +108 -0
- package/dist/esm/link-templates.schema.d.ts.map +1 -1
- package/dist/esm/links.schema.d.ts +108 -48
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/dist/esm/rules.schema.d.ts +81 -0
- package/dist/esm/rules.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/links.schema.ts +51 -77
- package/src/rules.schema.ts +29 -0
|
@@ -79,6 +79,30 @@ export declare const RuleGraphNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
79
79
|
y: z.ZodNumber;
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
next: z.ZodNullable<z.ZodString>;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
id: z.ZodString;
|
|
84
|
+
type: z.ZodLiteral<"countdown">;
|
|
85
|
+
position: z.ZodObject<{
|
|
86
|
+
x: z.ZodNumber;
|
|
87
|
+
y: z.ZodNumber;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
seconds: z.ZodNumber;
|
|
90
|
+
message: z.ZodNullable<z.ZodString>;
|
|
91
|
+
next: z.ZodNullable<z.ZodString>;
|
|
92
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
93
|
+
id: z.ZodString;
|
|
94
|
+
type: z.ZodLiteral<"webhook">;
|
|
95
|
+
position: z.ZodObject<{
|
|
96
|
+
x: z.ZodNumber;
|
|
97
|
+
y: z.ZodNumber;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
url: z.ZodString;
|
|
100
|
+
method: z.ZodEnum<{
|
|
101
|
+
POST: "POST";
|
|
102
|
+
GET: "GET";
|
|
103
|
+
}>;
|
|
104
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
105
|
+
next: z.ZodNullable<z.ZodString>;
|
|
82
106
|
}, z.core.$strip>, z.ZodObject<{
|
|
83
107
|
id: z.ZodString;
|
|
84
108
|
type: z.ZodLiteral<"entry">;
|
|
@@ -87,6 +111,9 @@ export declare const RuleGraphNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
87
111
|
y: z.ZodNumber;
|
|
88
112
|
}, z.core.$strip>;
|
|
89
113
|
next: z.ZodNullable<z.ZodString>;
|
|
114
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
115
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
116
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
90
117
|
}, z.core.$strip>], "type">;
|
|
91
118
|
export declare const RuleGraphOutputSchema: z.ZodObject<{
|
|
92
119
|
entry: z.ZodString;
|
|
@@ -170,6 +197,30 @@ export declare const RuleGraphOutputSchema: z.ZodObject<{
|
|
|
170
197
|
y: z.ZodNumber;
|
|
171
198
|
}, z.core.$strip>;
|
|
172
199
|
next: z.ZodNullable<z.ZodString>;
|
|
200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
201
|
+
id: z.ZodString;
|
|
202
|
+
type: z.ZodLiteral<"countdown">;
|
|
203
|
+
position: z.ZodObject<{
|
|
204
|
+
x: z.ZodNumber;
|
|
205
|
+
y: z.ZodNumber;
|
|
206
|
+
}, z.core.$strip>;
|
|
207
|
+
seconds: z.ZodNumber;
|
|
208
|
+
message: z.ZodNullable<z.ZodString>;
|
|
209
|
+
next: z.ZodNullable<z.ZodString>;
|
|
210
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
211
|
+
id: z.ZodString;
|
|
212
|
+
type: z.ZodLiteral<"webhook">;
|
|
213
|
+
position: z.ZodObject<{
|
|
214
|
+
x: z.ZodNumber;
|
|
215
|
+
y: z.ZodNumber;
|
|
216
|
+
}, z.core.$strip>;
|
|
217
|
+
url: z.ZodString;
|
|
218
|
+
method: z.ZodEnum<{
|
|
219
|
+
POST: "POST";
|
|
220
|
+
GET: "GET";
|
|
221
|
+
}>;
|
|
222
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
223
|
+
next: z.ZodNullable<z.ZodString>;
|
|
173
224
|
}, z.core.$strip>, z.ZodObject<{
|
|
174
225
|
id: z.ZodString;
|
|
175
226
|
type: z.ZodLiteral<"entry">;
|
|
@@ -178,6 +229,9 @@ export declare const RuleGraphOutputSchema: z.ZodObject<{
|
|
|
178
229
|
y: z.ZodNumber;
|
|
179
230
|
}, z.core.$strip>;
|
|
180
231
|
next: z.ZodNullable<z.ZodString>;
|
|
232
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
233
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
234
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
181
235
|
}, z.core.$strip>], "type">>;
|
|
182
236
|
}, z.core.$strip>;
|
|
183
237
|
export declare const RuleGraphSchema: z.ZodObject<{
|
|
@@ -262,6 +316,30 @@ export declare const RuleGraphSchema: z.ZodObject<{
|
|
|
262
316
|
y: z.ZodNumber;
|
|
263
317
|
}, z.core.$strip>;
|
|
264
318
|
next: z.ZodNullable<z.ZodString>;
|
|
319
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
320
|
+
id: z.ZodString;
|
|
321
|
+
type: z.ZodLiteral<"countdown">;
|
|
322
|
+
position: z.ZodObject<{
|
|
323
|
+
x: z.ZodNumber;
|
|
324
|
+
y: z.ZodNumber;
|
|
325
|
+
}, z.core.$strip>;
|
|
326
|
+
seconds: z.ZodNumber;
|
|
327
|
+
message: z.ZodNullable<z.ZodString>;
|
|
328
|
+
next: z.ZodNullable<z.ZodString>;
|
|
329
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
330
|
+
id: z.ZodString;
|
|
331
|
+
type: z.ZodLiteral<"webhook">;
|
|
332
|
+
position: z.ZodObject<{
|
|
333
|
+
x: z.ZodNumber;
|
|
334
|
+
y: z.ZodNumber;
|
|
335
|
+
}, z.core.$strip>;
|
|
336
|
+
url: z.ZodString;
|
|
337
|
+
method: z.ZodEnum<{
|
|
338
|
+
POST: "POST";
|
|
339
|
+
GET: "GET";
|
|
340
|
+
}>;
|
|
341
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
342
|
+
next: z.ZodNullable<z.ZodString>;
|
|
265
343
|
}, z.core.$strip>, z.ZodObject<{
|
|
266
344
|
id: z.ZodString;
|
|
267
345
|
type: z.ZodLiteral<"entry">;
|
|
@@ -270,6 +348,9 @@ export declare const RuleGraphSchema: z.ZodObject<{
|
|
|
270
348
|
y: z.ZodNumber;
|
|
271
349
|
}, z.core.$strip>;
|
|
272
350
|
next: z.ZodNullable<z.ZodString>;
|
|
351
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
352
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
353
|
+
fallback_url: z.ZodNullable<z.ZodString>;
|
|
273
354
|
}, z.core.$strip>], "type">>;
|
|
274
355
|
}, z.core.$strip>;
|
|
275
356
|
//# 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;AA0HxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAS9B,CAAC;AAOH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGhC,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuBvB,CAAC"}
|