@uniformdev/webhooks 20.35.0 → 20.35.1-alpha.210
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/index.d.mts +78 -82
- package/dist/index.d.ts +78 -82
- package/dist/index.esm.js +14 -14
- package/dist/index.js +14 -14
- package/dist/index.mjs +14 -14
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
1
|
+
import * as z from 'zod/v3';
|
|
2
2
|
|
|
3
3
|
declare const CompositionTriggerPayloadSchema: z.ZodObject<{
|
|
4
4
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
@@ -22,7 +22,7 @@ declare const CompositionTriggerPayloadSchema: z.ZodObject<{
|
|
|
22
22
|
id: string;
|
|
23
23
|
} | undefined;
|
|
24
24
|
}>;
|
|
25
|
-
declare const CompositionDeletePayloadSchema: z.ZodObject<
|
|
25
|
+
declare const CompositionDeletePayloadSchema: z.ZodObject<{
|
|
26
26
|
id: z.ZodString;
|
|
27
27
|
editionId: z.ZodOptional<z.ZodString>;
|
|
28
28
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -54,9 +54,9 @@ declare const CompositionDeletePayloadSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
54
54
|
name?: string | undefined;
|
|
55
55
|
email?: string | undefined;
|
|
56
56
|
}>;
|
|
57
|
-
}
|
|
57
|
+
} & {
|
|
58
58
|
state: z.ZodOptional<z.ZodNumber>;
|
|
59
|
-
}
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
type: string;
|
|
61
61
|
name: string;
|
|
62
62
|
id: string;
|
|
@@ -91,7 +91,7 @@ declare const CompositionDeletePayloadSchema: z.ZodObject<z.objectUtil.extendSha
|
|
|
91
91
|
slug?: string | undefined;
|
|
92
92
|
state?: number | undefined;
|
|
93
93
|
}>;
|
|
94
|
-
declare const CompositionRestorePayloadSchema: z.ZodObject<
|
|
94
|
+
declare const CompositionRestorePayloadSchema: z.ZodObject<{
|
|
95
95
|
id: z.ZodString;
|
|
96
96
|
editionId: z.ZodOptional<z.ZodString>;
|
|
97
97
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -123,9 +123,9 @@ declare const CompositionRestorePayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
123
123
|
name?: string | undefined;
|
|
124
124
|
email?: string | undefined;
|
|
125
125
|
}>;
|
|
126
|
-
}
|
|
126
|
+
} & {
|
|
127
127
|
state: z.ZodNumber;
|
|
128
|
-
}
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
129
|
type: string;
|
|
130
130
|
name: string;
|
|
131
131
|
id: string;
|
|
@@ -160,7 +160,7 @@ declare const CompositionRestorePayloadSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
160
160
|
editionId?: string | undefined;
|
|
161
161
|
slug?: string | undefined;
|
|
162
162
|
}>;
|
|
163
|
-
declare const CompositionPayloadSchema: z.ZodObject<
|
|
163
|
+
declare const CompositionPayloadSchema: z.ZodObject<{
|
|
164
164
|
id: z.ZodString;
|
|
165
165
|
editionId: z.ZodOptional<z.ZodString>;
|
|
166
166
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -192,12 +192,12 @@ declare const CompositionPayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
192
192
|
name?: string | undefined;
|
|
193
193
|
email?: string | undefined;
|
|
194
194
|
}>;
|
|
195
|
-
}
|
|
195
|
+
} & {
|
|
196
196
|
state: z.ZodNumber;
|
|
197
197
|
edit_url: z.ZodString;
|
|
198
198
|
api_url: z.ZodString;
|
|
199
199
|
edge_url: z.ZodString;
|
|
200
|
-
}
|
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
|
201
201
|
type: string;
|
|
202
202
|
name: string;
|
|
203
203
|
id: string;
|
|
@@ -265,15 +265,11 @@ type ReleaseCompositionPayload = z.infer<typeof ReleaseCompositionPayloadSchema>
|
|
|
265
265
|
|
|
266
266
|
declare const addEventTypeToSchema: <T extends z.ZodObject<z.ZodRawShape>, EventType extends string>(schema: T, eventType: EventType) => z.ZodObject<T["shape"] & {
|
|
267
267
|
eventType: z.ZodLiteral<EventType>;
|
|
268
|
-
}, "strip", z.ZodTypeAny,
|
|
268
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T["shape"] & {
|
|
269
269
|
eventType: z.ZodLiteral<EventType>;
|
|
270
|
-
}>, any>]: z.
|
|
270
|
+
}>, any> extends infer T_1 ? { [k in keyof T_1]: T_1[k]; } : never, z.baseObjectInputType<T["shape"] & {
|
|
271
271
|
eventType: z.ZodLiteral<EventType>;
|
|
272
|
-
}
|
|
273
|
-
eventType: z.ZodLiteral<EventType>;
|
|
274
|
-
}>]: z.baseObjectInputType<T["shape"] & {
|
|
275
|
-
eventType: z.ZodLiteral<EventType>;
|
|
276
|
-
}>[k_1]; }>;
|
|
272
|
+
}> extends infer T_2 ? { [k_1 in keyof T_2]: T_2[k_1]; } : never>;
|
|
277
273
|
type DefinitionOptions<TSchema extends z.ZodObject<z.ZodRawShape>, EventType extends string> = {
|
|
278
274
|
event: EventType;
|
|
279
275
|
name: string;
|
|
@@ -308,7 +304,7 @@ declare const webhookInitiatorSchema: z.ZodObject<{
|
|
|
308
304
|
}>;
|
|
309
305
|
type WebhookInitiator = z.infer<typeof webhookInitiatorSchema>;
|
|
310
306
|
|
|
311
|
-
declare const CompositionChangedDefinition: Definition<z.ZodObject<
|
|
307
|
+
declare const CompositionChangedDefinition: Definition<z.ZodObject<{
|
|
312
308
|
id: z.ZodString;
|
|
313
309
|
editionId: z.ZodOptional<z.ZodString>;
|
|
314
310
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -340,12 +336,12 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<z.objectUtil.
|
|
|
340
336
|
name?: string | undefined;
|
|
341
337
|
email?: string | undefined;
|
|
342
338
|
}>;
|
|
343
|
-
}
|
|
339
|
+
} & {
|
|
344
340
|
state: z.ZodNumber;
|
|
345
341
|
edit_url: z.ZodString;
|
|
346
342
|
api_url: z.ZodString;
|
|
347
343
|
edge_url: z.ZodString;
|
|
348
|
-
}
|
|
344
|
+
} & {
|
|
349
345
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
350
346
|
type: z.ZodEnum<["release"]>;
|
|
351
347
|
id: z.ZodString;
|
|
@@ -356,7 +352,7 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<z.objectUtil.
|
|
|
356
352
|
type: "release";
|
|
357
353
|
id: string;
|
|
358
354
|
}>>;
|
|
359
|
-
}
|
|
355
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
356
|
type: string;
|
|
361
357
|
name: string;
|
|
362
358
|
id: string;
|
|
@@ -408,7 +404,7 @@ declare const CompositionChangedDefinition: Definition<z.ZodObject<z.objectUtil.
|
|
|
408
404
|
type CompositionChangedPayload = z.infer<(typeof CompositionChangedDefinition)['schema']>;
|
|
409
405
|
declare const CompositionChangedEventName: "composition.changed";
|
|
410
406
|
|
|
411
|
-
declare const CompositionDeletedDefinition: Definition<z.ZodObject<
|
|
407
|
+
declare const CompositionDeletedDefinition: Definition<z.ZodObject<{
|
|
412
408
|
id: z.ZodString;
|
|
413
409
|
editionId: z.ZodOptional<z.ZodString>;
|
|
414
410
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -440,9 +436,9 @@ declare const CompositionDeletedDefinition: Definition<z.ZodObject<z.objectUtil.
|
|
|
440
436
|
name?: string | undefined;
|
|
441
437
|
email?: string | undefined;
|
|
442
438
|
}>;
|
|
443
|
-
}
|
|
439
|
+
} & {
|
|
444
440
|
state: z.ZodOptional<z.ZodNumber>;
|
|
445
|
-
}
|
|
441
|
+
} & {
|
|
446
442
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
447
443
|
type: z.ZodEnum<["release"]>;
|
|
448
444
|
id: z.ZodString;
|
|
@@ -453,7 +449,7 @@ declare const CompositionDeletedDefinition: Definition<z.ZodObject<z.objectUtil.
|
|
|
453
449
|
type: "release";
|
|
454
450
|
id: string;
|
|
455
451
|
}>>;
|
|
456
|
-
}
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
457
453
|
type: string;
|
|
458
454
|
name: string;
|
|
459
455
|
id: string;
|
|
@@ -499,7 +495,7 @@ declare const CompositionDeletedDefinition: Definition<z.ZodObject<z.objectUtil.
|
|
|
499
495
|
type CompositionDeletedPayload = z.infer<(typeof CompositionDeletedDefinition)['schema']>;
|
|
500
496
|
declare const CompositionDeletedEventName: "composition.deleted";
|
|
501
497
|
|
|
502
|
-
declare const CompositionPublishedDefinition: Definition<z.ZodObject<
|
|
498
|
+
declare const CompositionPublishedDefinition: Definition<z.ZodObject<{
|
|
503
499
|
id: z.ZodString;
|
|
504
500
|
editionId: z.ZodOptional<z.ZodString>;
|
|
505
501
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -531,12 +527,12 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<z.objectUti
|
|
|
531
527
|
name?: string | undefined;
|
|
532
528
|
email?: string | undefined;
|
|
533
529
|
}>;
|
|
534
|
-
}
|
|
530
|
+
} & {
|
|
535
531
|
state: z.ZodNumber;
|
|
536
532
|
edit_url: z.ZodString;
|
|
537
533
|
api_url: z.ZodString;
|
|
538
534
|
edge_url: z.ZodString;
|
|
539
|
-
}
|
|
535
|
+
} & {
|
|
540
536
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
541
537
|
type: z.ZodEnum<["release"]>;
|
|
542
538
|
id: z.ZodString;
|
|
@@ -547,7 +543,7 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<z.objectUti
|
|
|
547
543
|
type: "release";
|
|
548
544
|
id: string;
|
|
549
545
|
}>>;
|
|
550
|
-
}
|
|
546
|
+
}, "strip", z.ZodTypeAny, {
|
|
551
547
|
type: string;
|
|
552
548
|
name: string;
|
|
553
549
|
id: string;
|
|
@@ -599,7 +595,7 @@ declare const CompositionPublishedDefinition: Definition<z.ZodObject<z.objectUti
|
|
|
599
595
|
type CompositionPublishedPayload = z.infer<(typeof CompositionPublishedDefinition)['schema']>;
|
|
600
596
|
declare const CompositionPublishedEventName: "composition.published";
|
|
601
597
|
|
|
602
|
-
declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<
|
|
598
|
+
declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
603
599
|
id: z.ZodString;
|
|
604
600
|
editionId: z.ZodOptional<z.ZodString>;
|
|
605
601
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -631,12 +627,12 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<z.obje
|
|
|
631
627
|
name?: string | undefined;
|
|
632
628
|
email?: string | undefined;
|
|
633
629
|
}>;
|
|
634
|
-
}
|
|
630
|
+
} & {
|
|
635
631
|
state: z.ZodNumber;
|
|
636
632
|
edit_url: z.ZodString;
|
|
637
633
|
api_url: z.ZodString;
|
|
638
634
|
edge_url: z.ZodString;
|
|
639
|
-
}
|
|
635
|
+
} & {
|
|
640
636
|
release: z.ZodObject<{
|
|
641
637
|
id: z.ZodString;
|
|
642
638
|
url: z.ZodString;
|
|
@@ -647,7 +643,7 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<z.obje
|
|
|
647
643
|
id: string;
|
|
648
644
|
url: string;
|
|
649
645
|
}>;
|
|
650
|
-
}
|
|
646
|
+
}, "strip", z.ZodTypeAny, {
|
|
651
647
|
type: string;
|
|
652
648
|
name: string;
|
|
653
649
|
id: string;
|
|
@@ -699,7 +695,7 @@ declare const CompositionReleaseChangedDefinition: Definition<z.ZodObject<z.obje
|
|
|
699
695
|
type CompositionReleaseChangedPayload = z.infer<(typeof CompositionReleaseChangedDefinition)['schema']>;
|
|
700
696
|
declare const CompositionReleaseChangedEventName: "composition.release.changed";
|
|
701
697
|
|
|
702
|
-
declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<
|
|
698
|
+
declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
703
699
|
id: z.ZodString;
|
|
704
700
|
editionId: z.ZodOptional<z.ZodString>;
|
|
705
701
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -731,9 +727,9 @@ declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<z.obje
|
|
|
731
727
|
name?: string | undefined;
|
|
732
728
|
email?: string | undefined;
|
|
733
729
|
}>;
|
|
734
|
-
}
|
|
730
|
+
} & {
|
|
735
731
|
state: z.ZodOptional<z.ZodNumber>;
|
|
736
|
-
}
|
|
732
|
+
} & {
|
|
737
733
|
release: z.ZodObject<{
|
|
738
734
|
id: z.ZodString;
|
|
739
735
|
url: z.ZodString;
|
|
@@ -744,7 +740,7 @@ declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<z.obje
|
|
|
744
740
|
id: string;
|
|
745
741
|
url: string;
|
|
746
742
|
}>;
|
|
747
|
-
}
|
|
743
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
744
|
type: string;
|
|
749
745
|
name: string;
|
|
750
746
|
id: string;
|
|
@@ -790,7 +786,7 @@ declare const CompositionReleaseDeletedDefinition: Definition<z.ZodObject<z.obje
|
|
|
790
786
|
type CompositionReleaseDeletedPayload = z.infer<(typeof CompositionReleaseDeletedDefinition)['schema']>;
|
|
791
787
|
declare const CompositionReleaseDeletedEventName: "composition.release.deleted";
|
|
792
788
|
|
|
793
|
-
declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<
|
|
789
|
+
declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
794
790
|
id: z.ZodString;
|
|
795
791
|
editionId: z.ZodOptional<z.ZodString>;
|
|
796
792
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -822,12 +818,12 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<z.ob
|
|
|
822
818
|
name?: string | undefined;
|
|
823
819
|
email?: string | undefined;
|
|
824
820
|
}>;
|
|
825
|
-
}
|
|
821
|
+
} & {
|
|
826
822
|
state: z.ZodNumber;
|
|
827
823
|
edit_url: z.ZodString;
|
|
828
824
|
api_url: z.ZodString;
|
|
829
825
|
edge_url: z.ZodString;
|
|
830
|
-
}
|
|
826
|
+
} & {
|
|
831
827
|
release: z.ZodObject<{
|
|
832
828
|
id: z.ZodString;
|
|
833
829
|
url: z.ZodString;
|
|
@@ -838,7 +834,7 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<z.ob
|
|
|
838
834
|
id: string;
|
|
839
835
|
url: string;
|
|
840
836
|
}>;
|
|
841
|
-
}
|
|
837
|
+
}, "strip", z.ZodTypeAny, {
|
|
842
838
|
type: string;
|
|
843
839
|
name: string;
|
|
844
840
|
id: string;
|
|
@@ -890,7 +886,7 @@ declare const CompositionReleasePublishedDefinition: Definition<z.ZodObject<z.ob
|
|
|
890
886
|
type CompositionReleasePublishedPayload = z.infer<(typeof CompositionReleasePublishedDefinition)['schema']>;
|
|
891
887
|
declare const CompositionReleasePublishedEventName: "composition.release.published";
|
|
892
888
|
|
|
893
|
-
declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<
|
|
889
|
+
declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
894
890
|
id: z.ZodString;
|
|
895
891
|
editionId: z.ZodOptional<z.ZodString>;
|
|
896
892
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -922,9 +918,9 @@ declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<z.obj
|
|
|
922
918
|
name?: string | undefined;
|
|
923
919
|
email?: string | undefined;
|
|
924
920
|
}>;
|
|
925
|
-
}
|
|
921
|
+
} & {
|
|
926
922
|
state: z.ZodNumber;
|
|
927
|
-
}
|
|
923
|
+
} & {
|
|
928
924
|
release: z.ZodObject<{
|
|
929
925
|
id: z.ZodString;
|
|
930
926
|
url: z.ZodString;
|
|
@@ -935,7 +931,7 @@ declare const CompositionReleaseRestoredDefinition: Definition<z.ZodObject<z.obj
|
|
|
935
931
|
id: string;
|
|
936
932
|
url: string;
|
|
937
933
|
}>;
|
|
938
|
-
}
|
|
934
|
+
}, "strip", z.ZodTypeAny, {
|
|
939
935
|
type: string;
|
|
940
936
|
name: string;
|
|
941
937
|
id: string;
|
|
@@ -1003,7 +999,7 @@ declare const EntryTriggerPayloadSchema: z.ZodObject<{
|
|
|
1003
999
|
id: string;
|
|
1004
1000
|
} | undefined;
|
|
1005
1001
|
}>;
|
|
1006
|
-
declare const EntryDeletePayloadSchema: z.ZodObject<
|
|
1002
|
+
declare const EntryDeletePayloadSchema: z.ZodObject<{
|
|
1007
1003
|
id: z.ZodString;
|
|
1008
1004
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1009
1005
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1035,9 +1031,9 @@ declare const EntryDeletePayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1035
1031
|
name?: string | undefined;
|
|
1036
1032
|
email?: string | undefined;
|
|
1037
1033
|
}>;
|
|
1038
|
-
}
|
|
1034
|
+
} & {
|
|
1039
1035
|
state: z.ZodOptional<z.ZodNumber>;
|
|
1040
|
-
}
|
|
1036
|
+
}, "strip", z.ZodTypeAny, {
|
|
1041
1037
|
type: string;
|
|
1042
1038
|
name: string;
|
|
1043
1039
|
id: string;
|
|
@@ -1072,7 +1068,7 @@ declare const EntryDeletePayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1072
1068
|
slug?: string | undefined;
|
|
1073
1069
|
state?: number | undefined;
|
|
1074
1070
|
}>;
|
|
1075
|
-
declare const EntryRestorePayloadSchema: z.ZodObject<
|
|
1071
|
+
declare const EntryRestorePayloadSchema: z.ZodObject<{
|
|
1076
1072
|
id: z.ZodString;
|
|
1077
1073
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1078
1074
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1104,9 +1100,9 @@ declare const EntryRestorePayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1104
1100
|
name?: string | undefined;
|
|
1105
1101
|
email?: string | undefined;
|
|
1106
1102
|
}>;
|
|
1107
|
-
}
|
|
1103
|
+
} & {
|
|
1108
1104
|
state: z.ZodNumber;
|
|
1109
|
-
}
|
|
1105
|
+
}, "strip", z.ZodTypeAny, {
|
|
1110
1106
|
type: string;
|
|
1111
1107
|
name: string;
|
|
1112
1108
|
id: string;
|
|
@@ -1141,7 +1137,7 @@ declare const EntryRestorePayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1141
1137
|
editionId?: string | undefined;
|
|
1142
1138
|
slug?: string | undefined;
|
|
1143
1139
|
}>;
|
|
1144
|
-
declare const EntryPayloadSchema: z.ZodObject<
|
|
1140
|
+
declare const EntryPayloadSchema: z.ZodObject<{
|
|
1145
1141
|
id: z.ZodString;
|
|
1146
1142
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1147
1143
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1173,12 +1169,12 @@ declare const EntryPayloadSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1173
1169
|
name?: string | undefined;
|
|
1174
1170
|
email?: string | undefined;
|
|
1175
1171
|
}>;
|
|
1176
|
-
}
|
|
1172
|
+
} & {
|
|
1177
1173
|
state: z.ZodNumber;
|
|
1178
1174
|
edit_url: z.ZodString;
|
|
1179
1175
|
api_url: z.ZodString;
|
|
1180
1176
|
edge_url: z.ZodString;
|
|
1181
|
-
}
|
|
1177
|
+
}, "strip", z.ZodTypeAny, {
|
|
1182
1178
|
type: string;
|
|
1183
1179
|
name: string;
|
|
1184
1180
|
id: string;
|
|
@@ -1244,7 +1240,7 @@ declare const ReleaseEntryPayloadSchema: z.ZodObject<{
|
|
|
1244
1240
|
type EntryPayload = z.infer<typeof EntryPayloadSchema>;
|
|
1245
1241
|
type ReleaseEntryPayload = z.infer<typeof ReleaseEntryPayloadSchema>;
|
|
1246
1242
|
|
|
1247
|
-
declare const EntryChangedDefinition: Definition<z.ZodObject<
|
|
1243
|
+
declare const EntryChangedDefinition: Definition<z.ZodObject<{
|
|
1248
1244
|
id: z.ZodString;
|
|
1249
1245
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1250
1246
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1276,12 +1272,12 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<z.objectUtil.extend
|
|
|
1276
1272
|
name?: string | undefined;
|
|
1277
1273
|
email?: string | undefined;
|
|
1278
1274
|
}>;
|
|
1279
|
-
}
|
|
1275
|
+
} & {
|
|
1280
1276
|
state: z.ZodNumber;
|
|
1281
1277
|
edit_url: z.ZodString;
|
|
1282
1278
|
api_url: z.ZodString;
|
|
1283
1279
|
edge_url: z.ZodString;
|
|
1284
|
-
}
|
|
1280
|
+
} & {
|
|
1285
1281
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
1286
1282
|
type: z.ZodEnum<["release"]>;
|
|
1287
1283
|
id: z.ZodString;
|
|
@@ -1292,7 +1288,7 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<z.objectUtil.extend
|
|
|
1292
1288
|
type: "release";
|
|
1293
1289
|
id: string;
|
|
1294
1290
|
}>>;
|
|
1295
|
-
}
|
|
1291
|
+
}, "strip", z.ZodTypeAny, {
|
|
1296
1292
|
type: string;
|
|
1297
1293
|
name: string;
|
|
1298
1294
|
id: string;
|
|
@@ -1344,7 +1340,7 @@ declare const EntryChangedDefinition: Definition<z.ZodObject<z.objectUtil.extend
|
|
|
1344
1340
|
type EntryChangedPayload = z.infer<(typeof EntryChangedDefinition)['schema']>;
|
|
1345
1341
|
declare const EntryChangedEventName: "entry.changed";
|
|
1346
1342
|
|
|
1347
|
-
declare const EntryDeletedDefinition: Definition<z.ZodObject<
|
|
1343
|
+
declare const EntryDeletedDefinition: Definition<z.ZodObject<{
|
|
1348
1344
|
id: z.ZodString;
|
|
1349
1345
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1350
1346
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1376,9 +1372,9 @@ declare const EntryDeletedDefinition: Definition<z.ZodObject<z.objectUtil.extend
|
|
|
1376
1372
|
name?: string | undefined;
|
|
1377
1373
|
email?: string | undefined;
|
|
1378
1374
|
}>;
|
|
1379
|
-
}
|
|
1375
|
+
} & {
|
|
1380
1376
|
state: z.ZodOptional<z.ZodNumber>;
|
|
1381
|
-
}
|
|
1377
|
+
} & {
|
|
1382
1378
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
1383
1379
|
type: z.ZodEnum<["release"]>;
|
|
1384
1380
|
id: z.ZodString;
|
|
@@ -1389,7 +1385,7 @@ declare const EntryDeletedDefinition: Definition<z.ZodObject<z.objectUtil.extend
|
|
|
1389
1385
|
type: "release";
|
|
1390
1386
|
id: string;
|
|
1391
1387
|
}>>;
|
|
1392
|
-
}
|
|
1388
|
+
}, "strip", z.ZodTypeAny, {
|
|
1393
1389
|
type: string;
|
|
1394
1390
|
name: string;
|
|
1395
1391
|
id: string;
|
|
@@ -1435,7 +1431,7 @@ declare const EntryDeletedDefinition: Definition<z.ZodObject<z.objectUtil.extend
|
|
|
1435
1431
|
type EntryDeletedPayload = z.infer<(typeof EntryDeletedDefinition)['schema']>;
|
|
1436
1432
|
declare const EntryDeletedEventName: "entry.deleted";
|
|
1437
1433
|
|
|
1438
|
-
declare const EntryPublishedDefinition: Definition<z.ZodObject<
|
|
1434
|
+
declare const EntryPublishedDefinition: Definition<z.ZodObject<{
|
|
1439
1435
|
id: z.ZodString;
|
|
1440
1436
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1441
1437
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1467,12 +1463,12 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<z.objectUtil.exte
|
|
|
1467
1463
|
name?: string | undefined;
|
|
1468
1464
|
email?: string | undefined;
|
|
1469
1465
|
}>;
|
|
1470
|
-
}
|
|
1466
|
+
} & {
|
|
1471
1467
|
state: z.ZodNumber;
|
|
1472
1468
|
edit_url: z.ZodString;
|
|
1473
1469
|
api_url: z.ZodString;
|
|
1474
1470
|
edge_url: z.ZodString;
|
|
1475
|
-
}
|
|
1471
|
+
} & {
|
|
1476
1472
|
trigger: z.ZodOptional<z.ZodObject<{
|
|
1477
1473
|
type: z.ZodEnum<["release"]>;
|
|
1478
1474
|
id: z.ZodString;
|
|
@@ -1483,7 +1479,7 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<z.objectUtil.exte
|
|
|
1483
1479
|
type: "release";
|
|
1484
1480
|
id: string;
|
|
1485
1481
|
}>>;
|
|
1486
|
-
}
|
|
1482
|
+
}, "strip", z.ZodTypeAny, {
|
|
1487
1483
|
type: string;
|
|
1488
1484
|
name: string;
|
|
1489
1485
|
id: string;
|
|
@@ -1535,7 +1531,7 @@ declare const EntryPublishedDefinition: Definition<z.ZodObject<z.objectUtil.exte
|
|
|
1535
1531
|
type EntryPublishedPayload = z.infer<(typeof EntryPublishedDefinition)['schema']>;
|
|
1536
1532
|
declare const EntryPublishedEventName: "entry.published";
|
|
1537
1533
|
|
|
1538
|
-
declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<
|
|
1534
|
+
declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<{
|
|
1539
1535
|
id: z.ZodString;
|
|
1540
1536
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1541
1537
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1567,12 +1563,12 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<z.objectUtil
|
|
|
1567
1563
|
name?: string | undefined;
|
|
1568
1564
|
email?: string | undefined;
|
|
1569
1565
|
}>;
|
|
1570
|
-
}
|
|
1566
|
+
} & {
|
|
1571
1567
|
state: z.ZodNumber;
|
|
1572
1568
|
edit_url: z.ZodString;
|
|
1573
1569
|
api_url: z.ZodString;
|
|
1574
1570
|
edge_url: z.ZodString;
|
|
1575
|
-
}
|
|
1571
|
+
} & {
|
|
1576
1572
|
release: z.ZodObject<{
|
|
1577
1573
|
id: z.ZodString;
|
|
1578
1574
|
url: z.ZodString;
|
|
@@ -1583,7 +1579,7 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<z.objectUtil
|
|
|
1583
1579
|
id: string;
|
|
1584
1580
|
url: string;
|
|
1585
1581
|
}>;
|
|
1586
|
-
}
|
|
1582
|
+
}, "strip", z.ZodTypeAny, {
|
|
1587
1583
|
type: string;
|
|
1588
1584
|
name: string;
|
|
1589
1585
|
id: string;
|
|
@@ -1635,7 +1631,7 @@ declare const EntryReleaseChangedDefinition: Definition<z.ZodObject<z.objectUtil
|
|
|
1635
1631
|
type EntryReleaseChangedPayload = z.infer<(typeof EntryReleaseChangedDefinition)['schema']>;
|
|
1636
1632
|
declare const EntryReleaseChangedEventName: "entry.release.changed";
|
|
1637
1633
|
|
|
1638
|
-
declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<
|
|
1634
|
+
declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<{
|
|
1639
1635
|
id: z.ZodString;
|
|
1640
1636
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1641
1637
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1667,9 +1663,9 @@ declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<z.objectUtil
|
|
|
1667
1663
|
name?: string | undefined;
|
|
1668
1664
|
email?: string | undefined;
|
|
1669
1665
|
}>;
|
|
1670
|
-
}
|
|
1666
|
+
} & {
|
|
1671
1667
|
state: z.ZodOptional<z.ZodNumber>;
|
|
1672
|
-
}
|
|
1668
|
+
} & {
|
|
1673
1669
|
release: z.ZodObject<{
|
|
1674
1670
|
id: z.ZodString;
|
|
1675
1671
|
url: z.ZodString;
|
|
@@ -1680,7 +1676,7 @@ declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<z.objectUtil
|
|
|
1680
1676
|
id: string;
|
|
1681
1677
|
url: string;
|
|
1682
1678
|
}>;
|
|
1683
|
-
}
|
|
1679
|
+
}, "strip", z.ZodTypeAny, {
|
|
1684
1680
|
type: string;
|
|
1685
1681
|
name: string;
|
|
1686
1682
|
id: string;
|
|
@@ -1726,7 +1722,7 @@ declare const EntryReleaseDeletedDefinition: Definition<z.ZodObject<z.objectUtil
|
|
|
1726
1722
|
type EntryReleaseDeletedPayload = z.infer<(typeof EntryReleaseDeletedDefinition)['schema']>;
|
|
1727
1723
|
declare const EntryReleaseDeletedEventName: "entry.release.deleted";
|
|
1728
1724
|
|
|
1729
|
-
declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<
|
|
1725
|
+
declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<{
|
|
1730
1726
|
id: z.ZodString;
|
|
1731
1727
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1732
1728
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1758,12 +1754,12 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<z.objectUt
|
|
|
1758
1754
|
name?: string | undefined;
|
|
1759
1755
|
email?: string | undefined;
|
|
1760
1756
|
}>;
|
|
1761
|
-
}
|
|
1757
|
+
} & {
|
|
1762
1758
|
state: z.ZodNumber;
|
|
1763
1759
|
edit_url: z.ZodString;
|
|
1764
1760
|
api_url: z.ZodString;
|
|
1765
1761
|
edge_url: z.ZodString;
|
|
1766
|
-
}
|
|
1762
|
+
} & {
|
|
1767
1763
|
release: z.ZodObject<{
|
|
1768
1764
|
id: z.ZodString;
|
|
1769
1765
|
url: z.ZodString;
|
|
@@ -1774,7 +1770,7 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<z.objectUt
|
|
|
1774
1770
|
id: string;
|
|
1775
1771
|
url: string;
|
|
1776
1772
|
}>;
|
|
1777
|
-
}
|
|
1773
|
+
}, "strip", z.ZodTypeAny, {
|
|
1778
1774
|
type: string;
|
|
1779
1775
|
name: string;
|
|
1780
1776
|
id: string;
|
|
@@ -1826,7 +1822,7 @@ declare const EntryReleasePublishedDefinition: Definition<z.ZodObject<z.objectUt
|
|
|
1826
1822
|
type EntryReleasePublishedPayload = z.infer<(typeof EntryReleasePublishedDefinition)['schema']>;
|
|
1827
1823
|
declare const EntryReleasePublishedEventName: "entry.release.published";
|
|
1828
1824
|
|
|
1829
|
-
declare const EntryReleaseRestoredDefinition: Definition<z.ZodObject<
|
|
1825
|
+
declare const EntryReleaseRestoredDefinition: Definition<z.ZodObject<{
|
|
1830
1826
|
id: z.ZodString;
|
|
1831
1827
|
editionId: z.ZodOptional<z.ZodString>;
|
|
1832
1828
|
slug: z.ZodOptional<z.ZodString>;
|
|
@@ -1858,9 +1854,9 @@ declare const EntryReleaseRestoredDefinition: Definition<z.ZodObject<z.objectUti
|
|
|
1858
1854
|
name?: string | undefined;
|
|
1859
1855
|
email?: string | undefined;
|
|
1860
1856
|
}>;
|
|
1861
|
-
}
|
|
1857
|
+
} & {
|
|
1862
1858
|
state: z.ZodNumber;
|
|
1863
|
-
}
|
|
1859
|
+
} & {
|
|
1864
1860
|
release: z.ZodObject<{
|
|
1865
1861
|
id: z.ZodString;
|
|
1866
1862
|
url: z.ZodString;
|
|
@@ -1871,7 +1867,7 @@ declare const EntryReleaseRestoredDefinition: Definition<z.ZodObject<z.objectUti
|
|
|
1871
1867
|
id: string;
|
|
1872
1868
|
url: string;
|
|
1873
1869
|
}>;
|
|
1874
|
-
}
|
|
1870
|
+
}, "strip", z.ZodTypeAny, {
|
|
1875
1871
|
type: string;
|
|
1876
1872
|
name: string;
|
|
1877
1873
|
id: string;
|