@uniformdev/webhooks 19.79.1-alpha.11 → 19.79.1-alpha.18
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/LICENSE.txt +1 -1
- package/dist/index.d.mts +1082 -71
- package/dist/index.d.ts +1082 -71
- package/dist/index.esm.js +446 -17
- package/dist/index.js +478 -17
- package/dist/index.mjs +446 -17
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -1,15 +1,33 @@
|
|
|
1
1
|
// src/composition/common.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
var
|
|
3
|
+
var CompositionCorePayloadSchema = z.object({
|
|
4
4
|
id: z.string(),
|
|
5
5
|
slug: z.string().optional(),
|
|
6
|
-
state: z.number(),
|
|
7
6
|
name: z.string(),
|
|
7
|
+
type: z.string(),
|
|
8
8
|
project: z.object({
|
|
9
9
|
id: z.string(),
|
|
10
10
|
url: z.string()
|
|
11
|
-
})
|
|
12
|
-
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
var CompositionDeletePayloadSchema = CompositionCorePayloadSchema.and(
|
|
14
|
+
z.object({
|
|
15
|
+
state: z.number().optional()
|
|
16
|
+
})
|
|
17
|
+
);
|
|
18
|
+
var CompositionPayloadSchema = CompositionCorePayloadSchema.and(
|
|
19
|
+
z.object({
|
|
20
|
+
state: z.number(),
|
|
21
|
+
edit_url: z.string(),
|
|
22
|
+
api_url: z.string(),
|
|
23
|
+
edge_url: z.string()
|
|
24
|
+
})
|
|
25
|
+
);
|
|
26
|
+
var ReleaseCompositionPayloadSchema = z.object({
|
|
27
|
+
release: z.object({
|
|
28
|
+
id: z.string(),
|
|
29
|
+
url: z.string()
|
|
30
|
+
})
|
|
13
31
|
});
|
|
14
32
|
|
|
15
33
|
// src/definition.ts
|
|
@@ -36,38 +54,32 @@ var CompositionChangedDefinition = definition(
|
|
|
36
54
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
37
55
|
name: "About Us",
|
|
38
56
|
slug: "/about-us",
|
|
57
|
+
type: "page",
|
|
39
58
|
project: {
|
|
40
59
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
41
60
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
42
61
|
},
|
|
43
62
|
state: 64,
|
|
44
|
-
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474
|
|
63
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
64
|
+
api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
|
|
65
|
+
edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`
|
|
45
66
|
}
|
|
46
67
|
);
|
|
47
68
|
var CompositionChangedEventName = CompositionChangedDefinition["event"];
|
|
48
69
|
|
|
49
70
|
// src/composition/composition.deleted.ts
|
|
50
|
-
import { z as z2 } from "zod";
|
|
51
71
|
var CompositionDeletedDefinition = definition(
|
|
52
72
|
{
|
|
53
73
|
event: "composition.deleted",
|
|
54
74
|
name: "Composition Deleted",
|
|
55
75
|
description: "Triggers when a composition has been deleted.",
|
|
56
|
-
schema:
|
|
57
|
-
id: z2.string(),
|
|
58
|
-
state: z2.number().optional(),
|
|
59
|
-
name: z2.string(),
|
|
60
|
-
slug: z2.string().optional(),
|
|
61
|
-
project: z2.object({
|
|
62
|
-
id: z2.string(),
|
|
63
|
-
url: z2.string()
|
|
64
|
-
})
|
|
65
|
-
})
|
|
76
|
+
schema: CompositionDeletePayloadSchema
|
|
66
77
|
},
|
|
67
78
|
{
|
|
68
79
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
69
80
|
state: 64,
|
|
70
81
|
name: "About Us",
|
|
82
|
+
type: "page",
|
|
71
83
|
slug: "/about-us",
|
|
72
84
|
project: {
|
|
73
85
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
@@ -89,16 +101,291 @@ var CompositionPublishedDefinition = definition(
|
|
|
89
101
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
90
102
|
name: "About Us",
|
|
91
103
|
slug: "/about-us",
|
|
104
|
+
type: "page",
|
|
92
105
|
project: {
|
|
93
106
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
94
107
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
95
108
|
},
|
|
96
109
|
state: 64,
|
|
97
|
-
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474
|
|
110
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
111
|
+
api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
|
|
112
|
+
edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`
|
|
98
113
|
}
|
|
99
114
|
);
|
|
100
115
|
var CompositionPublishedEventName = CompositionPublishedDefinition["event"];
|
|
101
116
|
|
|
117
|
+
// src/composition/composition.release.changed.ts
|
|
118
|
+
var CompositionReleaseChangedDefinition = definition(
|
|
119
|
+
{
|
|
120
|
+
event: "composition.release.changed",
|
|
121
|
+
name: "Composition Changed on Release",
|
|
122
|
+
description: "Triggers when a composition has been changed or copied to a pre-launch release.",
|
|
123
|
+
schema: CompositionPayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
release: {
|
|
127
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
128
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
129
|
+
},
|
|
130
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
131
|
+
name: "About Us",
|
|
132
|
+
slug: "/about-us",
|
|
133
|
+
type: "page",
|
|
134
|
+
project: {
|
|
135
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
136
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
137
|
+
},
|
|
138
|
+
state: 64,
|
|
139
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474?release=48293345-f2d0-1125-afda-7c661abad432`,
|
|
140
|
+
api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64&releaseId=48293345-f2d0-1125-afda-7c661abad432`,
|
|
141
|
+
edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64&releaseId=48293345-f2d0-1125-afda-7c661abad432`
|
|
142
|
+
}
|
|
143
|
+
);
|
|
144
|
+
var CompositionReleaseChangedEventName = CompositionReleaseChangedDefinition["event"];
|
|
145
|
+
|
|
146
|
+
// src/composition/composition.release.deleted.ts
|
|
147
|
+
var CompositionReleaseDeletedDefinition = definition(
|
|
148
|
+
{
|
|
149
|
+
event: "composition.release.deleted",
|
|
150
|
+
name: "Composition Deleted on Release",
|
|
151
|
+
description: "Triggers when a composition is deleted that is attached to a pre-launch release.",
|
|
152
|
+
schema: CompositionDeletePayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
release: {
|
|
156
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
157
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
158
|
+
},
|
|
159
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
160
|
+
state: 64,
|
|
161
|
+
name: "About Us",
|
|
162
|
+
type: "page",
|
|
163
|
+
slug: "/about-us",
|
|
164
|
+
project: {
|
|
165
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
166
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
);
|
|
170
|
+
var CompositionReleaseDeletedEventName = CompositionReleaseDeletedDefinition["event"];
|
|
171
|
+
|
|
172
|
+
// src/composition/composition.release.published.ts
|
|
173
|
+
var CompositionReleasePublishedDefinition = definition(
|
|
174
|
+
{
|
|
175
|
+
event: "composition.release.published",
|
|
176
|
+
name: "Composition Published on Release",
|
|
177
|
+
description: "Triggers when a composition has been published that is attached to an pre-launch release.",
|
|
178
|
+
schema: CompositionPayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
release: {
|
|
182
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
183
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
184
|
+
},
|
|
185
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
186
|
+
name: "About Us",
|
|
187
|
+
slug: "/about-us",
|
|
188
|
+
type: "page",
|
|
189
|
+
project: {
|
|
190
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
191
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
192
|
+
},
|
|
193
|
+
state: 64,
|
|
194
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474?release=48293345-f2d0-1125-afda-7c661abad432`,
|
|
195
|
+
api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64?releaseId=48293345-f2d0-1125-afda-7c661abad432`,
|
|
196
|
+
edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64?releaseId=48293345-f2d0-1125-afda-7c661abad432`
|
|
197
|
+
}
|
|
198
|
+
);
|
|
199
|
+
var CompositionReleasePublishedEventName = CompositionReleasePublishedDefinition["event"];
|
|
200
|
+
|
|
201
|
+
// src/entry/common.ts
|
|
202
|
+
import { z as z2 } from "zod";
|
|
203
|
+
var EntryCorePayloadSchema = z2.object({
|
|
204
|
+
id: z2.string(),
|
|
205
|
+
slug: z2.string().optional(),
|
|
206
|
+
name: z2.string(),
|
|
207
|
+
type: z2.string(),
|
|
208
|
+
project: z2.object({
|
|
209
|
+
id: z2.string(),
|
|
210
|
+
url: z2.string()
|
|
211
|
+
})
|
|
212
|
+
});
|
|
213
|
+
var EntryDeletePayloadSchema = EntryCorePayloadSchema.and(
|
|
214
|
+
z2.object({
|
|
215
|
+
state: z2.number().optional()
|
|
216
|
+
})
|
|
217
|
+
);
|
|
218
|
+
var EntryPayloadSchema = EntryCorePayloadSchema.and(
|
|
219
|
+
z2.object({
|
|
220
|
+
state: z2.number(),
|
|
221
|
+
edit_url: z2.string(),
|
|
222
|
+
api_url: z2.string(),
|
|
223
|
+
edge_url: z2.string()
|
|
224
|
+
})
|
|
225
|
+
);
|
|
226
|
+
var ReleaseEntryPayloadSchema = z2.object({
|
|
227
|
+
release: z2.object({
|
|
228
|
+
id: z2.string(),
|
|
229
|
+
url: z2.string()
|
|
230
|
+
})
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
// src/entry/entry.changed.ts
|
|
234
|
+
var EntryChangedDefinition = definition(
|
|
235
|
+
{
|
|
236
|
+
event: "entry.changed",
|
|
237
|
+
name: "Entry Changed",
|
|
238
|
+
description: "Triggers when an entry has been changed.",
|
|
239
|
+
schema: EntryPayloadSchema
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
243
|
+
name: "About Us",
|
|
244
|
+
slug: "/about-us",
|
|
245
|
+
type: "page",
|
|
246
|
+
project: {
|
|
247
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
248
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
249
|
+
},
|
|
250
|
+
state: 64,
|
|
251
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
|
|
252
|
+
api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
|
|
253
|
+
edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`
|
|
254
|
+
}
|
|
255
|
+
);
|
|
256
|
+
var EntryChangedEventName = EntryChangedDefinition["event"];
|
|
257
|
+
|
|
258
|
+
// src/entry/entry.deleted.ts
|
|
259
|
+
var EntryDeletedDefinition = definition(
|
|
260
|
+
{
|
|
261
|
+
event: "entry.deleted",
|
|
262
|
+
name: "Entry Deleted",
|
|
263
|
+
description: "Triggers when an entry has been deleted.",
|
|
264
|
+
schema: EntryDeletePayloadSchema
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
268
|
+
name: "About Us",
|
|
269
|
+
type: "page",
|
|
270
|
+
slug: "/about-us",
|
|
271
|
+
project: {
|
|
272
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
273
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
274
|
+
},
|
|
275
|
+
state: 64
|
|
276
|
+
}
|
|
277
|
+
);
|
|
278
|
+
var EntryDeletedEventName = EntryDeletedDefinition["event"];
|
|
279
|
+
|
|
280
|
+
// src/entry/entry.published.ts
|
|
281
|
+
var EntryPublishedDefinition = definition(
|
|
282
|
+
{
|
|
283
|
+
event: "entry.published",
|
|
284
|
+
name: "Entry Published",
|
|
285
|
+
description: "Triggers when an entry has been published.",
|
|
286
|
+
schema: EntryPayloadSchema
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
290
|
+
name: "About Us",
|
|
291
|
+
slug: "/about-us",
|
|
292
|
+
type: "page",
|
|
293
|
+
project: {
|
|
294
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
295
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
296
|
+
},
|
|
297
|
+
state: 64,
|
|
298
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
|
|
299
|
+
api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
|
|
300
|
+
edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`
|
|
301
|
+
}
|
|
302
|
+
);
|
|
303
|
+
var EntryPublishedEventName = EntryPublishedDefinition["event"];
|
|
304
|
+
|
|
305
|
+
// src/entry/entry.release.changed.ts
|
|
306
|
+
var EntryReleaseChangedDefinition = definition(
|
|
307
|
+
{
|
|
308
|
+
event: "entry.release.changed",
|
|
309
|
+
name: "Entry Changed on Release",
|
|
310
|
+
description: "Triggers when an entry has been changed that is attached to a pre-launch release.",
|
|
311
|
+
schema: EntryPayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
release: {
|
|
315
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
316
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
317
|
+
},
|
|
318
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
319
|
+
name: "About Us",
|
|
320
|
+
slug: "/about-us",
|
|
321
|
+
type: "page",
|
|
322
|
+
project: {
|
|
323
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
324
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
325
|
+
},
|
|
326
|
+
state: 64,
|
|
327
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800?release=48293345-f2d0-1125-afda-7c661abad432`,
|
|
328
|
+
api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64&releaseId=48293345-f2d0-1125-afda-7c661abad432`,
|
|
329
|
+
edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64&releaseId=48293345-f2d0-1125-afda-7c661abad432`
|
|
330
|
+
}
|
|
331
|
+
);
|
|
332
|
+
var EntryReleaseChangedEventName = EntryReleaseChangedDefinition["event"];
|
|
333
|
+
|
|
334
|
+
// src/entry/entry.release.deleted.ts
|
|
335
|
+
var EntryReleaseDeletedDefinition = definition(
|
|
336
|
+
{
|
|
337
|
+
event: "entry.release.deleted",
|
|
338
|
+
name: "Entry Deleted on Release",
|
|
339
|
+
description: "Triggers when an entry has been deleted that is attached to a pre-launch release.",
|
|
340
|
+
schema: EntryDeletePayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
release: {
|
|
344
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
345
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
346
|
+
},
|
|
347
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
348
|
+
name: "About Us",
|
|
349
|
+
type: "page",
|
|
350
|
+
slug: "/about-us",
|
|
351
|
+
project: {
|
|
352
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
353
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
354
|
+
},
|
|
355
|
+
state: 64
|
|
356
|
+
}
|
|
357
|
+
);
|
|
358
|
+
var EntryReleaseDeletedEventName = EntryReleaseDeletedDefinition["event"];
|
|
359
|
+
|
|
360
|
+
// src/entry/entry.release.published.ts
|
|
361
|
+
var EntryReleasePublishedDefinition = definition(
|
|
362
|
+
{
|
|
363
|
+
event: "entry.release.published",
|
|
364
|
+
name: "Entry Published on Release",
|
|
365
|
+
description: "Triggers when an entry has been published that is attached to a pre-launch release.",
|
|
366
|
+
schema: EntryPayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
release: {
|
|
370
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
371
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
372
|
+
},
|
|
373
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
374
|
+
name: "About Us",
|
|
375
|
+
slug: "/about-us",
|
|
376
|
+
type: "page",
|
|
377
|
+
project: {
|
|
378
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
379
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
380
|
+
},
|
|
381
|
+
state: 64,
|
|
382
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800?release=48293345-f2d0-1125-afda-7c661abad432`,
|
|
383
|
+
api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64&releaseId=48293345-f2d0-1125-afda-7c661abad432`,
|
|
384
|
+
edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64&releaseId=48293345-f2d0-1125-afda-7c661abad432`
|
|
385
|
+
}
|
|
386
|
+
);
|
|
387
|
+
var EntryReleasePublishedEventName = EntryReleasePublishedDefinition["event"];
|
|
388
|
+
|
|
102
389
|
// src/manifest/manifest.published.ts
|
|
103
390
|
import { z as z3 } from "zod";
|
|
104
391
|
var ManifestPublishedDefinition = definition(
|
|
@@ -317,14 +604,145 @@ var RedirectUpdateDefinition = definition(
|
|
|
317
604
|
}
|
|
318
605
|
);
|
|
319
606
|
var RedirectUpdatedEventName = RedirectUpdateDefinition["event"];
|
|
607
|
+
|
|
608
|
+
// src/release/common.ts
|
|
609
|
+
import { z as z12 } from "zod";
|
|
610
|
+
var ReleasePayloadSchema = z12.object({
|
|
611
|
+
id: z12.string(),
|
|
612
|
+
state: z12.enum(["open", "locked", "queued", "launching", "launched", "deleting"]),
|
|
613
|
+
name: z12.string(),
|
|
614
|
+
project: z12.object({
|
|
615
|
+
id: z12.string(),
|
|
616
|
+
url: z12.string()
|
|
617
|
+
}),
|
|
618
|
+
autoLaunchSchedule: z12.number().optional(),
|
|
619
|
+
autoLaunchScheduleTimeZone: z12.string().optional(),
|
|
620
|
+
edit_url: z12.string(),
|
|
621
|
+
api_url: z12.string()
|
|
622
|
+
});
|
|
623
|
+
|
|
624
|
+
// src/release/release.changed.ts
|
|
625
|
+
var ReleaseChangedDefinition = definition(
|
|
626
|
+
{
|
|
627
|
+
event: "release.changed",
|
|
628
|
+
name: "Release Changed",
|
|
629
|
+
description: "Triggers when a release definition has been changed.",
|
|
630
|
+
schema: ReleasePayloadSchema
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
634
|
+
name: "Sample Release",
|
|
635
|
+
project: {
|
|
636
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
637
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
638
|
+
},
|
|
639
|
+
state: "open",
|
|
640
|
+
autoLaunchSchedule: 12312412312,
|
|
641
|
+
autoLaunchScheduleTimeZone: "America/New_York",
|
|
642
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
643
|
+
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
644
|
+
}
|
|
645
|
+
);
|
|
646
|
+
var ReleaseChangedEventName = ReleaseChangedDefinition["event"];
|
|
647
|
+
|
|
648
|
+
// src/release/release.deleted.ts
|
|
649
|
+
var ReleaseDeletedDefinition = definition(
|
|
650
|
+
{
|
|
651
|
+
event: "release.deleted",
|
|
652
|
+
name: "Release Deleted",
|
|
653
|
+
description: "Triggers when a release, along with any contents, has been deleted.",
|
|
654
|
+
schema: ReleasePayloadSchema.omit({ api_url: true, edit_url: true })
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
658
|
+
name: "Sample Release",
|
|
659
|
+
project: {
|
|
660
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
661
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
662
|
+
},
|
|
663
|
+
state: "open",
|
|
664
|
+
autoLaunchSchedule: 1212412312,
|
|
665
|
+
autoLaunchScheduleTimeZone: "America/New_York"
|
|
666
|
+
}
|
|
667
|
+
);
|
|
668
|
+
var ReleaseDeletedEventName = ReleaseDeletedDefinition["event"];
|
|
669
|
+
|
|
670
|
+
// src/release/release.launched.ts
|
|
671
|
+
var ReleaseLaunchedDefinition = definition(
|
|
672
|
+
{
|
|
673
|
+
event: "release.launched",
|
|
674
|
+
name: "Release Launched",
|
|
675
|
+
description: "Triggers when a release completes launching.",
|
|
676
|
+
schema: ReleasePayloadSchema
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
680
|
+
name: "Sample Release",
|
|
681
|
+
project: {
|
|
682
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
683
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
684
|
+
},
|
|
685
|
+
state: "open",
|
|
686
|
+
autoLaunchSchedule: 12312412312,
|
|
687
|
+
autoLaunchScheduleTimeZone: "America/New_York",
|
|
688
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
689
|
+
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
690
|
+
}
|
|
691
|
+
);
|
|
692
|
+
var ReleaseLaunchedEventName = ReleaseLaunchedDefinition["event"];
|
|
693
|
+
|
|
694
|
+
// src/release/release.launchstarted.ts
|
|
695
|
+
var ReleaseLaunchStartedDefinition = definition(
|
|
696
|
+
{
|
|
697
|
+
event: "release.launchstarted",
|
|
698
|
+
name: "Release Launch Started",
|
|
699
|
+
description: "Triggers when a release starts launching.",
|
|
700
|
+
schema: ReleasePayloadSchema
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
704
|
+
name: "Sample Release",
|
|
705
|
+
project: {
|
|
706
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
707
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
708
|
+
},
|
|
709
|
+
state: "open",
|
|
710
|
+
autoLaunchSchedule: 12312412312,
|
|
711
|
+
autoLaunchScheduleTimeZone: "America/New_York",
|
|
712
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
713
|
+
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
714
|
+
}
|
|
715
|
+
);
|
|
716
|
+
var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
|
|
320
717
|
export {
|
|
321
718
|
CompositionChangedDefinition,
|
|
322
719
|
CompositionChangedEventName,
|
|
720
|
+
CompositionDeletePayloadSchema,
|
|
323
721
|
CompositionDeletedDefinition,
|
|
324
722
|
CompositionDeletedEventName,
|
|
325
723
|
CompositionPayloadSchema,
|
|
326
724
|
CompositionPublishedDefinition,
|
|
327
725
|
CompositionPublishedEventName,
|
|
726
|
+
CompositionReleaseChangedDefinition,
|
|
727
|
+
CompositionReleaseChangedEventName,
|
|
728
|
+
CompositionReleaseDeletedDefinition,
|
|
729
|
+
CompositionReleaseDeletedEventName,
|
|
730
|
+
CompositionReleasePublishedDefinition,
|
|
731
|
+
CompositionReleasePublishedEventName,
|
|
732
|
+
EntryChangedDefinition,
|
|
733
|
+
EntryChangedEventName,
|
|
734
|
+
EntryDeletePayloadSchema,
|
|
735
|
+
EntryDeletedDefinition,
|
|
736
|
+
EntryDeletedEventName,
|
|
737
|
+
EntryPayloadSchema,
|
|
738
|
+
EntryPublishedDefinition,
|
|
739
|
+
EntryPublishedEventName,
|
|
740
|
+
EntryReleaseChangedDefinition,
|
|
741
|
+
EntryReleaseChangedEventName,
|
|
742
|
+
EntryReleaseDeletedDefinition,
|
|
743
|
+
EntryReleaseDeletedEventName,
|
|
744
|
+
EntryReleasePublishedDefinition,
|
|
745
|
+
EntryReleasePublishedEventName,
|
|
328
746
|
ManifestPublishedDefinition,
|
|
329
747
|
ManifestPublishedEventName,
|
|
330
748
|
ProjectMapDeleteDefinition,
|
|
@@ -343,6 +761,17 @@ export {
|
|
|
343
761
|
RedirectInsertedEventName,
|
|
344
762
|
RedirectUpdateDefinition,
|
|
345
763
|
RedirectUpdatedEventName,
|
|
764
|
+
ReleaseChangedDefinition,
|
|
765
|
+
ReleaseChangedEventName,
|
|
766
|
+
ReleaseCompositionPayloadSchema,
|
|
767
|
+
ReleaseDeletedDefinition,
|
|
768
|
+
ReleaseDeletedEventName,
|
|
769
|
+
ReleaseEntryPayloadSchema,
|
|
770
|
+
ReleaseLaunchStartedDefinition,
|
|
771
|
+
ReleaseLaunchStartedEventName,
|
|
772
|
+
ReleaseLaunchedDefinition,
|
|
773
|
+
ReleaseLaunchedEventName,
|
|
774
|
+
ReleasePayloadSchema,
|
|
346
775
|
definition,
|
|
347
776
|
isDefinition
|
|
348
777
|
};
|