@uniformdev/webhooks 19.186.4-alpha.3 → 19.187.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/README.md +1 -1
- package/dist/index.d.mts +282 -1
- package/dist/index.d.ts +282 -1
- package/dist/index.esm.js +86 -0
- package/dist/index.js +92 -0
- package/dist/index.mjs +86 -0
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
var CompositionCorePayloadSchema = z.object({
|
|
4
4
|
id: z.string(),
|
|
5
|
+
editionId: z.string().optional(),
|
|
5
6
|
slug: z.string().optional(),
|
|
6
7
|
name: z.string(),
|
|
7
8
|
type: z.string(),
|
|
@@ -21,6 +22,11 @@ var CompositionDeletePayloadSchema = CompositionCorePayloadSchema.and(
|
|
|
21
22
|
state: z.number().optional()
|
|
22
23
|
})
|
|
23
24
|
);
|
|
25
|
+
var CompositionRestorePayloadSchema = CompositionCorePayloadSchema.and(
|
|
26
|
+
z.object({
|
|
27
|
+
state: z.number()
|
|
28
|
+
})
|
|
29
|
+
);
|
|
24
30
|
var CompositionPayloadSchema = CompositionCorePayloadSchema.and(
|
|
25
31
|
z.object({
|
|
26
32
|
state: z.number(),
|
|
@@ -58,6 +64,7 @@ var CompositionChangedDefinition = definition(
|
|
|
58
64
|
},
|
|
59
65
|
{
|
|
60
66
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
67
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
61
68
|
name: "About Us",
|
|
62
69
|
slug: "/about-us",
|
|
63
70
|
type: "page",
|
|
@@ -87,6 +94,7 @@ var CompositionDeletedDefinition = definition(
|
|
|
87
94
|
},
|
|
88
95
|
{
|
|
89
96
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
97
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
90
98
|
state: 64,
|
|
91
99
|
name: "About Us",
|
|
92
100
|
type: "page",
|
|
@@ -113,6 +121,7 @@ var CompositionPublishedDefinition = definition(
|
|
|
113
121
|
},
|
|
114
122
|
{
|
|
115
123
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
124
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
116
125
|
name: "About Us",
|
|
117
126
|
slug: "/about-us",
|
|
118
127
|
type: "page",
|
|
@@ -146,6 +155,7 @@ var CompositionReleaseChangedDefinition = definition(
|
|
|
146
155
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
147
156
|
},
|
|
148
157
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
158
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
149
159
|
name: "About Us",
|
|
150
160
|
slug: "/about-us",
|
|
151
161
|
type: "page",
|
|
@@ -175,6 +185,7 @@ var CompositionReleaseDeletedDefinition = definition(
|
|
|
175
185
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
176
186
|
},
|
|
177
187
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
188
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
178
189
|
state: 64,
|
|
179
190
|
name: "About Us",
|
|
180
191
|
type: "page",
|
|
@@ -201,6 +212,7 @@ var CompositionReleasePublishedDefinition = definition(
|
|
|
201
212
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
202
213
|
},
|
|
203
214
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
215
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
204
216
|
name: "About Us",
|
|
205
217
|
slug: "/about-us",
|
|
206
218
|
type: "page",
|
|
@@ -216,10 +228,38 @@ var CompositionReleasePublishedDefinition = definition(
|
|
|
216
228
|
);
|
|
217
229
|
var CompositionReleasePublishedEventName = CompositionReleasePublishedDefinition["event"];
|
|
218
230
|
|
|
231
|
+
// src/composition/composition.release.restored.ts
|
|
232
|
+
var CompositionReleaseRestoredDefinition = definition(
|
|
233
|
+
{
|
|
234
|
+
event: "composition.release.restored",
|
|
235
|
+
name: "Composition Restored on Release",
|
|
236
|
+
description: "Triggers when a composition deleted in a pre-launch release is restored.",
|
|
237
|
+
schema: CompositionRestorePayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
release: {
|
|
241
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
242
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
243
|
+
},
|
|
244
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
245
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
246
|
+
state: 64,
|
|
247
|
+
name: "About Us",
|
|
248
|
+
type: "page",
|
|
249
|
+
slug: "/about-us",
|
|
250
|
+
project: {
|
|
251
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
252
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
);
|
|
256
|
+
var CompositionReleaseRestoredEventName = CompositionReleaseRestoredDefinition["event"];
|
|
257
|
+
|
|
219
258
|
// src/entry/common.ts
|
|
220
259
|
import { z as z2 } from "zod";
|
|
221
260
|
var EntryCorePayloadSchema = z2.object({
|
|
222
261
|
id: z2.string(),
|
|
262
|
+
editionId: z2.string().optional(),
|
|
223
263
|
slug: z2.string().optional(),
|
|
224
264
|
name: z2.string(),
|
|
225
265
|
type: z2.string(),
|
|
@@ -239,6 +279,11 @@ var EntryDeletePayloadSchema = EntryCorePayloadSchema.and(
|
|
|
239
279
|
state: z2.number().optional()
|
|
240
280
|
})
|
|
241
281
|
);
|
|
282
|
+
var EntryRestorePayloadSchema = EntryCorePayloadSchema.and(
|
|
283
|
+
z2.object({
|
|
284
|
+
state: z2.number()
|
|
285
|
+
})
|
|
286
|
+
);
|
|
242
287
|
var EntryPayloadSchema = EntryCorePayloadSchema.and(
|
|
243
288
|
z2.object({
|
|
244
289
|
state: z2.number(),
|
|
@@ -264,6 +309,7 @@ var EntryChangedDefinition = definition(
|
|
|
264
309
|
},
|
|
265
310
|
{
|
|
266
311
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
312
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
267
313
|
name: "About Us",
|
|
268
314
|
slug: "/about-us",
|
|
269
315
|
type: "page",
|
|
@@ -293,6 +339,7 @@ var EntryDeletedDefinition = definition(
|
|
|
293
339
|
},
|
|
294
340
|
{
|
|
295
341
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
342
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
296
343
|
name: "About Us",
|
|
297
344
|
type: "page",
|
|
298
345
|
slug: "/about-us",
|
|
@@ -319,6 +366,7 @@ var EntryPublishedDefinition = definition(
|
|
|
319
366
|
},
|
|
320
367
|
{
|
|
321
368
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
369
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
322
370
|
name: "About Us",
|
|
323
371
|
slug: "/about-us",
|
|
324
372
|
type: "page",
|
|
@@ -352,6 +400,7 @@ var EntryReleaseChangedDefinition = definition(
|
|
|
352
400
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
353
401
|
},
|
|
354
402
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
403
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
355
404
|
name: "About Us",
|
|
356
405
|
slug: "/about-us",
|
|
357
406
|
type: "page",
|
|
@@ -381,6 +430,7 @@ var EntryReleaseDeletedDefinition = definition(
|
|
|
381
430
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
382
431
|
},
|
|
383
432
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
433
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
384
434
|
name: "About Us",
|
|
385
435
|
type: "page",
|
|
386
436
|
slug: "/about-us",
|
|
@@ -407,6 +457,7 @@ var EntryReleasePublishedDefinition = definition(
|
|
|
407
457
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
408
458
|
},
|
|
409
459
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
460
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
410
461
|
name: "About Us",
|
|
411
462
|
slug: "/about-us",
|
|
412
463
|
type: "page",
|
|
@@ -422,6 +473,33 @@ var EntryReleasePublishedDefinition = definition(
|
|
|
422
473
|
);
|
|
423
474
|
var EntryReleasePublishedEventName = EntryReleasePublishedDefinition["event"];
|
|
424
475
|
|
|
476
|
+
// src/entry/entry.release.restored.ts
|
|
477
|
+
var EntryReleaseRestoredDefinition = definition(
|
|
478
|
+
{
|
|
479
|
+
event: "entry.release.restored",
|
|
480
|
+
name: "Entry Restored on Release",
|
|
481
|
+
description: "Triggers when an entry deleted in a pre-launch release is restored.",
|
|
482
|
+
schema: EntryRestorePayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
release: {
|
|
486
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
487
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
488
|
+
},
|
|
489
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
490
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
491
|
+
name: "About Us",
|
|
492
|
+
type: "page",
|
|
493
|
+
slug: "/about-us",
|
|
494
|
+
project: {
|
|
495
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
496
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
497
|
+
},
|
|
498
|
+
state: 64
|
|
499
|
+
}
|
|
500
|
+
);
|
|
501
|
+
var EntryReleaseRestoredEventName = EntryReleaseRestoredDefinition["event"];
|
|
502
|
+
|
|
425
503
|
// src/manifest/manifest.published.ts
|
|
426
504
|
import { z as z3 } from "zod";
|
|
427
505
|
var ManifestPublishedDefinition = definition(
|
|
@@ -842,6 +920,7 @@ var WorkflowEntitySchema = z13.strictObject({
|
|
|
842
920
|
type: z13.enum(["entry", "component"]),
|
|
843
921
|
name: z13.string(),
|
|
844
922
|
id: z13.string(),
|
|
923
|
+
editionId: z13.string().optional(),
|
|
845
924
|
releaseId: z13.string().optional(),
|
|
846
925
|
url: z13.string()
|
|
847
926
|
});
|
|
@@ -871,6 +950,7 @@ var WorkflowTransitionDefinition = definition(
|
|
|
871
950
|
type: "component",
|
|
872
951
|
name: "About Us",
|
|
873
952
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
953
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
874
954
|
releaseId: "7ae142c0-ec20-467a-9268-8fc959045679",
|
|
875
955
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800?release=7ae142c0-ec20-467a-9268-8fc959045679`
|
|
876
956
|
},
|
|
@@ -914,6 +994,9 @@ export {
|
|
|
914
994
|
CompositionReleaseDeletedEventName,
|
|
915
995
|
CompositionReleasePublishedDefinition,
|
|
916
996
|
CompositionReleasePublishedEventName,
|
|
997
|
+
CompositionReleaseRestoredDefinition,
|
|
998
|
+
CompositionReleaseRestoredEventName,
|
|
999
|
+
CompositionRestorePayloadSchema,
|
|
917
1000
|
CompositionTriggerPayloadSchema,
|
|
918
1001
|
EntryChangedDefinition,
|
|
919
1002
|
EntryChangedEventName,
|
|
@@ -929,6 +1012,9 @@ export {
|
|
|
929
1012
|
EntryReleaseDeletedEventName,
|
|
930
1013
|
EntryReleasePublishedDefinition,
|
|
931
1014
|
EntryReleasePublishedEventName,
|
|
1015
|
+
EntryReleaseRestoredDefinition,
|
|
1016
|
+
EntryReleaseRestoredEventName,
|
|
1017
|
+
EntryRestorePayloadSchema,
|
|
932
1018
|
EntryTriggerPayloadSchema,
|
|
933
1019
|
ManifestPublishedDefinition,
|
|
934
1020
|
ManifestPublishedEventName,
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,9 @@ __export(src_exports, {
|
|
|
35
35
|
CompositionReleaseDeletedEventName: () => CompositionReleaseDeletedEventName,
|
|
36
36
|
CompositionReleasePublishedDefinition: () => CompositionReleasePublishedDefinition,
|
|
37
37
|
CompositionReleasePublishedEventName: () => CompositionReleasePublishedEventName,
|
|
38
|
+
CompositionReleaseRestoredDefinition: () => CompositionReleaseRestoredDefinition,
|
|
39
|
+
CompositionReleaseRestoredEventName: () => CompositionReleaseRestoredEventName,
|
|
40
|
+
CompositionRestorePayloadSchema: () => CompositionRestorePayloadSchema,
|
|
38
41
|
CompositionTriggerPayloadSchema: () => CompositionTriggerPayloadSchema,
|
|
39
42
|
EntryChangedDefinition: () => EntryChangedDefinition,
|
|
40
43
|
EntryChangedEventName: () => EntryChangedEventName,
|
|
@@ -50,6 +53,9 @@ __export(src_exports, {
|
|
|
50
53
|
EntryReleaseDeletedEventName: () => EntryReleaseDeletedEventName,
|
|
51
54
|
EntryReleasePublishedDefinition: () => EntryReleasePublishedDefinition,
|
|
52
55
|
EntryReleasePublishedEventName: () => EntryReleasePublishedEventName,
|
|
56
|
+
EntryReleaseRestoredDefinition: () => EntryReleaseRestoredDefinition,
|
|
57
|
+
EntryReleaseRestoredEventName: () => EntryReleaseRestoredEventName,
|
|
58
|
+
EntryRestorePayloadSchema: () => EntryRestorePayloadSchema,
|
|
53
59
|
EntryTriggerPayloadSchema: () => EntryTriggerPayloadSchema,
|
|
54
60
|
ManifestPublishedDefinition: () => ManifestPublishedDefinition,
|
|
55
61
|
ManifestPublishedEventName: () => ManifestPublishedEventName,
|
|
@@ -95,6 +101,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
95
101
|
var import_zod = require("zod");
|
|
96
102
|
var CompositionCorePayloadSchema = import_zod.z.object({
|
|
97
103
|
id: import_zod.z.string(),
|
|
104
|
+
editionId: import_zod.z.string().optional(),
|
|
98
105
|
slug: import_zod.z.string().optional(),
|
|
99
106
|
name: import_zod.z.string(),
|
|
100
107
|
type: import_zod.z.string(),
|
|
@@ -114,6 +121,11 @@ var CompositionDeletePayloadSchema = CompositionCorePayloadSchema.and(
|
|
|
114
121
|
state: import_zod.z.number().optional()
|
|
115
122
|
})
|
|
116
123
|
);
|
|
124
|
+
var CompositionRestorePayloadSchema = CompositionCorePayloadSchema.and(
|
|
125
|
+
import_zod.z.object({
|
|
126
|
+
state: import_zod.z.number()
|
|
127
|
+
})
|
|
128
|
+
);
|
|
117
129
|
var CompositionPayloadSchema = CompositionCorePayloadSchema.and(
|
|
118
130
|
import_zod.z.object({
|
|
119
131
|
state: import_zod.z.number(),
|
|
@@ -151,6 +163,7 @@ var CompositionChangedDefinition = definition(
|
|
|
151
163
|
},
|
|
152
164
|
{
|
|
153
165
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
166
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
154
167
|
name: "About Us",
|
|
155
168
|
slug: "/about-us",
|
|
156
169
|
type: "page",
|
|
@@ -180,6 +193,7 @@ var CompositionDeletedDefinition = definition(
|
|
|
180
193
|
},
|
|
181
194
|
{
|
|
182
195
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
196
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
183
197
|
state: 64,
|
|
184
198
|
name: "About Us",
|
|
185
199
|
type: "page",
|
|
@@ -206,6 +220,7 @@ var CompositionPublishedDefinition = definition(
|
|
|
206
220
|
},
|
|
207
221
|
{
|
|
208
222
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
223
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
209
224
|
name: "About Us",
|
|
210
225
|
slug: "/about-us",
|
|
211
226
|
type: "page",
|
|
@@ -239,6 +254,7 @@ var CompositionReleaseChangedDefinition = definition(
|
|
|
239
254
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
240
255
|
},
|
|
241
256
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
257
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
242
258
|
name: "About Us",
|
|
243
259
|
slug: "/about-us",
|
|
244
260
|
type: "page",
|
|
@@ -268,6 +284,7 @@ var CompositionReleaseDeletedDefinition = definition(
|
|
|
268
284
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
269
285
|
},
|
|
270
286
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
287
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
271
288
|
state: 64,
|
|
272
289
|
name: "About Us",
|
|
273
290
|
type: "page",
|
|
@@ -294,6 +311,7 @@ var CompositionReleasePublishedDefinition = definition(
|
|
|
294
311
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
295
312
|
},
|
|
296
313
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
314
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
297
315
|
name: "About Us",
|
|
298
316
|
slug: "/about-us",
|
|
299
317
|
type: "page",
|
|
@@ -309,10 +327,38 @@ var CompositionReleasePublishedDefinition = definition(
|
|
|
309
327
|
);
|
|
310
328
|
var CompositionReleasePublishedEventName = CompositionReleasePublishedDefinition["event"];
|
|
311
329
|
|
|
330
|
+
// src/composition/composition.release.restored.ts
|
|
331
|
+
var CompositionReleaseRestoredDefinition = definition(
|
|
332
|
+
{
|
|
333
|
+
event: "composition.release.restored",
|
|
334
|
+
name: "Composition Restored on Release",
|
|
335
|
+
description: "Triggers when a composition deleted in a pre-launch release is restored.",
|
|
336
|
+
schema: CompositionRestorePayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
release: {
|
|
340
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
341
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
342
|
+
},
|
|
343
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
344
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
345
|
+
state: 64,
|
|
346
|
+
name: "About Us",
|
|
347
|
+
type: "page",
|
|
348
|
+
slug: "/about-us",
|
|
349
|
+
project: {
|
|
350
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
351
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
);
|
|
355
|
+
var CompositionReleaseRestoredEventName = CompositionReleaseRestoredDefinition["event"];
|
|
356
|
+
|
|
312
357
|
// src/entry/common.ts
|
|
313
358
|
var import_zod2 = require("zod");
|
|
314
359
|
var EntryCorePayloadSchema = import_zod2.z.object({
|
|
315
360
|
id: import_zod2.z.string(),
|
|
361
|
+
editionId: import_zod2.z.string().optional(),
|
|
316
362
|
slug: import_zod2.z.string().optional(),
|
|
317
363
|
name: import_zod2.z.string(),
|
|
318
364
|
type: import_zod2.z.string(),
|
|
@@ -332,6 +378,11 @@ var EntryDeletePayloadSchema = EntryCorePayloadSchema.and(
|
|
|
332
378
|
state: import_zod2.z.number().optional()
|
|
333
379
|
})
|
|
334
380
|
);
|
|
381
|
+
var EntryRestorePayloadSchema = EntryCorePayloadSchema.and(
|
|
382
|
+
import_zod2.z.object({
|
|
383
|
+
state: import_zod2.z.number()
|
|
384
|
+
})
|
|
385
|
+
);
|
|
335
386
|
var EntryPayloadSchema = EntryCorePayloadSchema.and(
|
|
336
387
|
import_zod2.z.object({
|
|
337
388
|
state: import_zod2.z.number(),
|
|
@@ -357,6 +408,7 @@ var EntryChangedDefinition = definition(
|
|
|
357
408
|
},
|
|
358
409
|
{
|
|
359
410
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
411
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
360
412
|
name: "About Us",
|
|
361
413
|
slug: "/about-us",
|
|
362
414
|
type: "page",
|
|
@@ -386,6 +438,7 @@ var EntryDeletedDefinition = definition(
|
|
|
386
438
|
},
|
|
387
439
|
{
|
|
388
440
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
441
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
389
442
|
name: "About Us",
|
|
390
443
|
type: "page",
|
|
391
444
|
slug: "/about-us",
|
|
@@ -412,6 +465,7 @@ var EntryPublishedDefinition = definition(
|
|
|
412
465
|
},
|
|
413
466
|
{
|
|
414
467
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
468
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
415
469
|
name: "About Us",
|
|
416
470
|
slug: "/about-us",
|
|
417
471
|
type: "page",
|
|
@@ -445,6 +499,7 @@ var EntryReleaseChangedDefinition = definition(
|
|
|
445
499
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
446
500
|
},
|
|
447
501
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
502
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
448
503
|
name: "About Us",
|
|
449
504
|
slug: "/about-us",
|
|
450
505
|
type: "page",
|
|
@@ -474,6 +529,7 @@ var EntryReleaseDeletedDefinition = definition(
|
|
|
474
529
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
475
530
|
},
|
|
476
531
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
532
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
477
533
|
name: "About Us",
|
|
478
534
|
type: "page",
|
|
479
535
|
slug: "/about-us",
|
|
@@ -500,6 +556,7 @@ var EntryReleasePublishedDefinition = definition(
|
|
|
500
556
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
501
557
|
},
|
|
502
558
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
559
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
503
560
|
name: "About Us",
|
|
504
561
|
slug: "/about-us",
|
|
505
562
|
type: "page",
|
|
@@ -515,6 +572,33 @@ var EntryReleasePublishedDefinition = definition(
|
|
|
515
572
|
);
|
|
516
573
|
var EntryReleasePublishedEventName = EntryReleasePublishedDefinition["event"];
|
|
517
574
|
|
|
575
|
+
// src/entry/entry.release.restored.ts
|
|
576
|
+
var EntryReleaseRestoredDefinition = definition(
|
|
577
|
+
{
|
|
578
|
+
event: "entry.release.restored",
|
|
579
|
+
name: "Entry Restored on Release",
|
|
580
|
+
description: "Triggers when an entry deleted in a pre-launch release is restored.",
|
|
581
|
+
schema: EntryRestorePayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
release: {
|
|
585
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
586
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
587
|
+
},
|
|
588
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
589
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
590
|
+
name: "About Us",
|
|
591
|
+
type: "page",
|
|
592
|
+
slug: "/about-us",
|
|
593
|
+
project: {
|
|
594
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
595
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
596
|
+
},
|
|
597
|
+
state: 64
|
|
598
|
+
}
|
|
599
|
+
);
|
|
600
|
+
var EntryReleaseRestoredEventName = EntryReleaseRestoredDefinition["event"];
|
|
601
|
+
|
|
518
602
|
// src/manifest/manifest.published.ts
|
|
519
603
|
var import_zod3 = require("zod");
|
|
520
604
|
var ManifestPublishedDefinition = definition(
|
|
@@ -935,6 +1019,7 @@ var WorkflowEntitySchema = import_zod13.z.strictObject({
|
|
|
935
1019
|
type: import_zod13.z.enum(["entry", "component"]),
|
|
936
1020
|
name: import_zod13.z.string(),
|
|
937
1021
|
id: import_zod13.z.string(),
|
|
1022
|
+
editionId: import_zod13.z.string().optional(),
|
|
938
1023
|
releaseId: import_zod13.z.string().optional(),
|
|
939
1024
|
url: import_zod13.z.string()
|
|
940
1025
|
});
|
|
@@ -964,6 +1049,7 @@ var WorkflowTransitionDefinition = definition(
|
|
|
964
1049
|
type: "component",
|
|
965
1050
|
name: "About Us",
|
|
966
1051
|
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
1052
|
+
editionId: "8b937004-6c50-449a-a7cd-a6a70b25f2da",
|
|
967
1053
|
releaseId: "7ae142c0-ec20-467a-9268-8fc959045679",
|
|
968
1054
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800?release=7ae142c0-ec20-467a-9268-8fc959045679`
|
|
969
1055
|
},
|
|
@@ -1008,6 +1094,9 @@ var WorkflowTransitionEventName = WorkflowTransitionDefinition["event"];
|
|
|
1008
1094
|
CompositionReleaseDeletedEventName,
|
|
1009
1095
|
CompositionReleasePublishedDefinition,
|
|
1010
1096
|
CompositionReleasePublishedEventName,
|
|
1097
|
+
CompositionReleaseRestoredDefinition,
|
|
1098
|
+
CompositionReleaseRestoredEventName,
|
|
1099
|
+
CompositionRestorePayloadSchema,
|
|
1011
1100
|
CompositionTriggerPayloadSchema,
|
|
1012
1101
|
EntryChangedDefinition,
|
|
1013
1102
|
EntryChangedEventName,
|
|
@@ -1023,6 +1112,9 @@ var WorkflowTransitionEventName = WorkflowTransitionDefinition["event"];
|
|
|
1023
1112
|
EntryReleaseDeletedEventName,
|
|
1024
1113
|
EntryReleasePublishedDefinition,
|
|
1025
1114
|
EntryReleasePublishedEventName,
|
|
1115
|
+
EntryReleaseRestoredDefinition,
|
|
1116
|
+
EntryReleaseRestoredEventName,
|
|
1117
|
+
EntryRestorePayloadSchema,
|
|
1026
1118
|
EntryTriggerPayloadSchema,
|
|
1027
1119
|
ManifestPublishedDefinition,
|
|
1028
1120
|
ManifestPublishedEventName,
|