@uniformdev/webhooks 19.61.1 → 19.62.1-alpha.127
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 +1274 -47
- package/dist/index.d.ts +1274 -47
- package/dist/index.esm.js +511 -19
- package/dist/index.js +546 -19
- package/dist/index.mjs +511 -19
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -20,13 +20,37 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
ArchivedReleaseLaunchStartedDefinition: () => ArchivedReleaseLaunchStartedDefinition,
|
|
23
24
|
CompositionChangedDefinition: () => CompositionChangedDefinition,
|
|
24
25
|
CompositionChangedEventName: () => CompositionChangedEventName,
|
|
26
|
+
CompositionDeletePayloadSchema: () => CompositionDeletePayloadSchema,
|
|
25
27
|
CompositionDeletedDefinition: () => CompositionDeletedDefinition,
|
|
26
28
|
CompositionDeletedEventName: () => CompositionDeletedEventName,
|
|
27
29
|
CompositionPayloadSchema: () => CompositionPayloadSchema,
|
|
28
30
|
CompositionPublishedDefinition: () => CompositionPublishedDefinition,
|
|
29
31
|
CompositionPublishedEventName: () => CompositionPublishedEventName,
|
|
32
|
+
CompositionReleaseChangedDefinition: () => CompositionReleaseChangedDefinition,
|
|
33
|
+
CompositionReleaseChangedEventName: () => CompositionReleaseChangedEventName,
|
|
34
|
+
CompositionReleaseDeletedDefinition: () => CompositionReleaseDeletedDefinition,
|
|
35
|
+
CompositionReleaseDeletedEventName: () => CompositionReleaseDeletedEventName,
|
|
36
|
+
CompositionReleasePublishedDefinition: () => CompositionReleasePublishedDefinition,
|
|
37
|
+
CompositionReleasePublishedEventName: () => CompositionReleasePublishedEventName,
|
|
38
|
+
CompositionTriggerPayloadSchema: () => CompositionTriggerPayloadSchema,
|
|
39
|
+
EntryChangedDefinition: () => EntryChangedDefinition,
|
|
40
|
+
EntryChangedEventName: () => EntryChangedEventName,
|
|
41
|
+
EntryDeletePayloadSchema: () => EntryDeletePayloadSchema,
|
|
42
|
+
EntryDeletedDefinition: () => EntryDeletedDefinition,
|
|
43
|
+
EntryDeletedEventName: () => EntryDeletedEventName,
|
|
44
|
+
EntryPayloadSchema: () => EntryPayloadSchema,
|
|
45
|
+
EntryPublishedDefinition: () => EntryPublishedDefinition,
|
|
46
|
+
EntryPublishedEventName: () => EntryPublishedEventName,
|
|
47
|
+
EntryReleaseChangedDefinition: () => EntryReleaseChangedDefinition,
|
|
48
|
+
EntryReleaseChangedEventName: () => EntryReleaseChangedEventName,
|
|
49
|
+
EntryReleaseDeletedDefinition: () => EntryReleaseDeletedDefinition,
|
|
50
|
+
EntryReleaseDeletedEventName: () => EntryReleaseDeletedEventName,
|
|
51
|
+
EntryReleasePublishedDefinition: () => EntryReleasePublishedDefinition,
|
|
52
|
+
EntryReleasePublishedEventName: () => EntryReleasePublishedEventName,
|
|
53
|
+
EntryTriggerPayloadSchema: () => EntryTriggerPayloadSchema,
|
|
30
54
|
ManifestPublishedDefinition: () => ManifestPublishedDefinition,
|
|
31
55
|
ManifestPublishedEventName: () => ManifestPublishedEventName,
|
|
32
56
|
ProjectMapDeleteDefinition: () => ProjectMapDeleteDefinition,
|
|
@@ -45,6 +69,17 @@ __export(src_exports, {
|
|
|
45
69
|
RedirectInsertedEventName: () => RedirectInsertedEventName,
|
|
46
70
|
RedirectUpdateDefinition: () => RedirectUpdateDefinition,
|
|
47
71
|
RedirectUpdatedEventName: () => RedirectUpdatedEventName,
|
|
72
|
+
ReleaseChangedDefinition: () => ReleaseChangedDefinition,
|
|
73
|
+
ReleaseChangedEventName: () => ReleaseChangedEventName,
|
|
74
|
+
ReleaseCompositionPayloadSchema: () => ReleaseCompositionPayloadSchema,
|
|
75
|
+
ReleaseDeletedDefinition: () => ReleaseDeletedDefinition,
|
|
76
|
+
ReleaseDeletedEventName: () => ReleaseDeletedEventName,
|
|
77
|
+
ReleaseEntryPayloadSchema: () => ReleaseEntryPayloadSchema,
|
|
78
|
+
ReleaseLaunchStartedDefinition: () => ReleaseLaunchStartedDefinition,
|
|
79
|
+
ReleaseLaunchStartedEventName: () => ReleaseLaunchStartedEventName,
|
|
80
|
+
ReleaseLaunchedDefinition: () => ReleaseLaunchedDefinition,
|
|
81
|
+
ReleaseLaunchedEventName: () => ReleaseLaunchedEventName,
|
|
82
|
+
ReleasePayloadSchema: () => ReleasePayloadSchema,
|
|
48
83
|
definition: () => definition,
|
|
49
84
|
isDefinition: () => isDefinition
|
|
50
85
|
});
|
|
@@ -52,16 +87,40 @@ module.exports = __toCommonJS(src_exports);
|
|
|
52
87
|
|
|
53
88
|
// src/composition/common.ts
|
|
54
89
|
var import_zod = require("zod");
|
|
55
|
-
var
|
|
90
|
+
var CompositionCorePayloadSchema = import_zod.z.object({
|
|
56
91
|
id: import_zod.z.string(),
|
|
57
92
|
slug: import_zod.z.string().optional(),
|
|
58
|
-
state: import_zod.z.number(),
|
|
59
93
|
name: import_zod.z.string(),
|
|
94
|
+
type: import_zod.z.string(),
|
|
60
95
|
project: import_zod.z.object({
|
|
61
96
|
id: import_zod.z.string(),
|
|
62
97
|
url: import_zod.z.string()
|
|
63
|
-
})
|
|
64
|
-
|
|
98
|
+
})
|
|
99
|
+
});
|
|
100
|
+
var CompositionTriggerPayloadSchema = import_zod.z.object({
|
|
101
|
+
trigger: import_zod.z.object({
|
|
102
|
+
type: import_zod.z.enum(["release"]),
|
|
103
|
+
id: import_zod.z.string()
|
|
104
|
+
}).optional()
|
|
105
|
+
});
|
|
106
|
+
var CompositionDeletePayloadSchema = CompositionCorePayloadSchema.and(
|
|
107
|
+
import_zod.z.object({
|
|
108
|
+
state: import_zod.z.number().optional()
|
|
109
|
+
})
|
|
110
|
+
);
|
|
111
|
+
var CompositionPayloadSchema = CompositionCorePayloadSchema.and(
|
|
112
|
+
import_zod.z.object({
|
|
113
|
+
state: import_zod.z.number(),
|
|
114
|
+
edit_url: import_zod.z.string(),
|
|
115
|
+
api_url: import_zod.z.string(),
|
|
116
|
+
edge_url: import_zod.z.string()
|
|
117
|
+
})
|
|
118
|
+
);
|
|
119
|
+
var ReleaseCompositionPayloadSchema = import_zod.z.object({
|
|
120
|
+
release: import_zod.z.object({
|
|
121
|
+
id: import_zod.z.string(),
|
|
122
|
+
url: import_zod.z.string()
|
|
123
|
+
})
|
|
65
124
|
});
|
|
66
125
|
|
|
67
126
|
// src/definition.ts
|
|
@@ -82,48 +141,50 @@ var CompositionChangedDefinition = definition(
|
|
|
82
141
|
event: "composition.changed",
|
|
83
142
|
name: "Composition Changed",
|
|
84
143
|
description: "Triggers when a composition has been changed.",
|
|
85
|
-
schema: CompositionPayloadSchema
|
|
144
|
+
schema: CompositionPayloadSchema.and(CompositionTriggerPayloadSchema)
|
|
86
145
|
},
|
|
87
146
|
{
|
|
88
147
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
89
148
|
name: "About Us",
|
|
90
149
|
slug: "/about-us",
|
|
150
|
+
type: "page",
|
|
91
151
|
project: {
|
|
92
152
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
93
153
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
94
154
|
},
|
|
95
155
|
state: 64,
|
|
96
|
-
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474
|
|
156
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
157
|
+
api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
|
|
158
|
+
edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
|
|
159
|
+
trigger: {
|
|
160
|
+
type: "release",
|
|
161
|
+
id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
|
|
162
|
+
}
|
|
97
163
|
}
|
|
98
164
|
);
|
|
99
165
|
var CompositionChangedEventName = CompositionChangedDefinition["event"];
|
|
100
166
|
|
|
101
167
|
// src/composition/composition.deleted.ts
|
|
102
|
-
var import_zod2 = require("zod");
|
|
103
168
|
var CompositionDeletedDefinition = definition(
|
|
104
169
|
{
|
|
105
170
|
event: "composition.deleted",
|
|
106
171
|
name: "Composition Deleted",
|
|
107
172
|
description: "Triggers when a composition has been deleted.",
|
|
108
|
-
schema:
|
|
109
|
-
id: import_zod2.z.string(),
|
|
110
|
-
state: import_zod2.z.number().optional(),
|
|
111
|
-
name: import_zod2.z.string(),
|
|
112
|
-
slug: import_zod2.z.string().optional(),
|
|
113
|
-
project: import_zod2.z.object({
|
|
114
|
-
id: import_zod2.z.string(),
|
|
115
|
-
url: import_zod2.z.string()
|
|
116
|
-
})
|
|
117
|
-
})
|
|
173
|
+
schema: CompositionDeletePayloadSchema.and(CompositionTriggerPayloadSchema)
|
|
118
174
|
},
|
|
119
175
|
{
|
|
120
176
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
121
177
|
state: 64,
|
|
122
178
|
name: "About Us",
|
|
179
|
+
type: "page",
|
|
123
180
|
slug: "/about-us",
|
|
124
181
|
project: {
|
|
125
182
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
126
183
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
184
|
+
},
|
|
185
|
+
trigger: {
|
|
186
|
+
type: "release",
|
|
187
|
+
id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
|
|
127
188
|
}
|
|
128
189
|
}
|
|
129
190
|
);
|
|
@@ -135,22 +196,319 @@ var CompositionPublishedDefinition = definition(
|
|
|
135
196
|
event: "composition.published",
|
|
136
197
|
name: "Composition Published",
|
|
137
198
|
description: "Triggers when a composition has been published.",
|
|
138
|
-
schema: CompositionPayloadSchema
|
|
199
|
+
schema: CompositionPayloadSchema.and(CompositionTriggerPayloadSchema)
|
|
139
200
|
},
|
|
140
201
|
{
|
|
141
202
|
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
142
203
|
name: "About Us",
|
|
143
204
|
slug: "/about-us",
|
|
205
|
+
type: "page",
|
|
144
206
|
project: {
|
|
145
207
|
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
146
208
|
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
147
209
|
},
|
|
148
210
|
state: 64,
|
|
149
|
-
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474
|
|
211
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/edit/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
212
|
+
api_url: `https://uniform.app/api/v1/canvas?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
|
|
213
|
+
edge_url: `https://uniform.global/api/v1/compositions?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&compositionId=0b9d2118-f2d0-4fe6-9d46-7c661abaf474&state=64`,
|
|
214
|
+
trigger: {
|
|
215
|
+
type: "release",
|
|
216
|
+
id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
|
|
217
|
+
}
|
|
150
218
|
}
|
|
151
219
|
);
|
|
152
220
|
var CompositionPublishedEventName = CompositionPublishedDefinition["event"];
|
|
153
221
|
|
|
222
|
+
// src/composition/composition.release.changed.ts
|
|
223
|
+
var CompositionReleaseChangedDefinition = definition(
|
|
224
|
+
{
|
|
225
|
+
event: "composition.release.changed",
|
|
226
|
+
name: "Composition Changed on Release",
|
|
227
|
+
description: "Triggers when a composition has been changed or copied to a pre-launch release.",
|
|
228
|
+
schema: CompositionPayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
release: {
|
|
232
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
233
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
234
|
+
},
|
|
235
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
236
|
+
name: "About Us",
|
|
237
|
+
slug: "/about-us",
|
|
238
|
+
type: "page",
|
|
239
|
+
project: {
|
|
240
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
241
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
242
|
+
},
|
|
243
|
+
state: 64,
|
|
244
|
+
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`,
|
|
245
|
+
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`,
|
|
246
|
+
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`
|
|
247
|
+
}
|
|
248
|
+
);
|
|
249
|
+
var CompositionReleaseChangedEventName = CompositionReleaseChangedDefinition["event"];
|
|
250
|
+
|
|
251
|
+
// src/composition/composition.release.deleted.ts
|
|
252
|
+
var CompositionReleaseDeletedDefinition = definition(
|
|
253
|
+
{
|
|
254
|
+
event: "composition.release.deleted",
|
|
255
|
+
name: "Composition Deleted on Release",
|
|
256
|
+
description: "Triggers when a composition is deleted that is attached to a pre-launch release.",
|
|
257
|
+
schema: CompositionDeletePayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
release: {
|
|
261
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
262
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
263
|
+
},
|
|
264
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
265
|
+
state: 64,
|
|
266
|
+
name: "About Us",
|
|
267
|
+
type: "page",
|
|
268
|
+
slug: "/about-us",
|
|
269
|
+
project: {
|
|
270
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
271
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
);
|
|
275
|
+
var CompositionReleaseDeletedEventName = CompositionReleaseDeletedDefinition["event"];
|
|
276
|
+
|
|
277
|
+
// src/composition/composition.release.published.ts
|
|
278
|
+
var CompositionReleasePublishedDefinition = definition(
|
|
279
|
+
{
|
|
280
|
+
event: "composition.release.published",
|
|
281
|
+
name: "Composition Published on Release",
|
|
282
|
+
description: "Triggers when a composition has been published that is attached to an pre-launch release.",
|
|
283
|
+
schema: CompositionPayloadSchema.and(ReleaseCompositionPayloadSchema)
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
release: {
|
|
287
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
288
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
289
|
+
},
|
|
290
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
291
|
+
name: "About Us",
|
|
292
|
+
slug: "/about-us",
|
|
293
|
+
type: "page",
|
|
294
|
+
project: {
|
|
295
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
296
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
297
|
+
},
|
|
298
|
+
state: 64,
|
|
299
|
+
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`,
|
|
300
|
+
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`,
|
|
301
|
+
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`
|
|
302
|
+
}
|
|
303
|
+
);
|
|
304
|
+
var CompositionReleasePublishedEventName = CompositionReleasePublishedDefinition["event"];
|
|
305
|
+
|
|
306
|
+
// src/entry/common.ts
|
|
307
|
+
var import_zod2 = require("zod");
|
|
308
|
+
var EntryCorePayloadSchema = import_zod2.z.object({
|
|
309
|
+
id: import_zod2.z.string(),
|
|
310
|
+
slug: import_zod2.z.string().optional(),
|
|
311
|
+
name: import_zod2.z.string(),
|
|
312
|
+
type: import_zod2.z.string(),
|
|
313
|
+
project: import_zod2.z.object({
|
|
314
|
+
id: import_zod2.z.string(),
|
|
315
|
+
url: import_zod2.z.string()
|
|
316
|
+
})
|
|
317
|
+
});
|
|
318
|
+
var EntryTriggerPayloadSchema = import_zod2.z.object({
|
|
319
|
+
trigger: import_zod2.z.object({
|
|
320
|
+
type: import_zod2.z.enum(["release"]),
|
|
321
|
+
id: import_zod2.z.string()
|
|
322
|
+
}).optional()
|
|
323
|
+
});
|
|
324
|
+
var EntryDeletePayloadSchema = EntryCorePayloadSchema.and(
|
|
325
|
+
import_zod2.z.object({
|
|
326
|
+
state: import_zod2.z.number().optional()
|
|
327
|
+
})
|
|
328
|
+
);
|
|
329
|
+
var EntryPayloadSchema = EntryCorePayloadSchema.and(
|
|
330
|
+
import_zod2.z.object({
|
|
331
|
+
state: import_zod2.z.number(),
|
|
332
|
+
edit_url: import_zod2.z.string(),
|
|
333
|
+
api_url: import_zod2.z.string(),
|
|
334
|
+
edge_url: import_zod2.z.string()
|
|
335
|
+
})
|
|
336
|
+
);
|
|
337
|
+
var ReleaseEntryPayloadSchema = import_zod2.z.object({
|
|
338
|
+
release: import_zod2.z.object({
|
|
339
|
+
id: import_zod2.z.string(),
|
|
340
|
+
url: import_zod2.z.string()
|
|
341
|
+
})
|
|
342
|
+
});
|
|
343
|
+
|
|
344
|
+
// src/entry/entry.changed.ts
|
|
345
|
+
var EntryChangedDefinition = definition(
|
|
346
|
+
{
|
|
347
|
+
event: "entry.changed",
|
|
348
|
+
name: "Entry Changed",
|
|
349
|
+
description: "Triggers when an entry has been changed.",
|
|
350
|
+
schema: EntryPayloadSchema.and(EntryTriggerPayloadSchema)
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
354
|
+
name: "About Us",
|
|
355
|
+
slug: "/about-us",
|
|
356
|
+
type: "page",
|
|
357
|
+
project: {
|
|
358
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
359
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
360
|
+
},
|
|
361
|
+
state: 64,
|
|
362
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
|
|
363
|
+
api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
|
|
364
|
+
edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
|
|
365
|
+
trigger: {
|
|
366
|
+
type: "release",
|
|
367
|
+
id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
);
|
|
371
|
+
var EntryChangedEventName = EntryChangedDefinition["event"];
|
|
372
|
+
|
|
373
|
+
// src/entry/entry.deleted.ts
|
|
374
|
+
var EntryDeletedDefinition = definition(
|
|
375
|
+
{
|
|
376
|
+
event: "entry.deleted",
|
|
377
|
+
name: "Entry Deleted",
|
|
378
|
+
description: "Triggers when an entry has been deleted.",
|
|
379
|
+
schema: EntryDeletePayloadSchema.and(EntryTriggerPayloadSchema)
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
383
|
+
name: "About Us",
|
|
384
|
+
type: "page",
|
|
385
|
+
slug: "/about-us",
|
|
386
|
+
project: {
|
|
387
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
388
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
389
|
+
},
|
|
390
|
+
state: 64,
|
|
391
|
+
trigger: {
|
|
392
|
+
type: "release",
|
|
393
|
+
id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
);
|
|
397
|
+
var EntryDeletedEventName = EntryDeletedDefinition["event"];
|
|
398
|
+
|
|
399
|
+
// src/entry/entry.published.ts
|
|
400
|
+
var EntryPublishedDefinition = definition(
|
|
401
|
+
{
|
|
402
|
+
event: "entry.published",
|
|
403
|
+
name: "Entry Published",
|
|
404
|
+
description: "Triggers when an entry has been published.",
|
|
405
|
+
schema: EntryPayloadSchema.and(EntryTriggerPayloadSchema)
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
409
|
+
name: "About Us",
|
|
410
|
+
slug: "/about-us",
|
|
411
|
+
type: "page",
|
|
412
|
+
project: {
|
|
413
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
414
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
415
|
+
},
|
|
416
|
+
state: 64,
|
|
417
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/dashboards/canvas/entries/e5c95c60-314b-4700-9035-6f9c2a4ff800`,
|
|
418
|
+
api_url: `https://uniform.app/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
|
|
419
|
+
edge_url: `https://uniform.global/api/v1/entries?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&entryIDs=e5c95c60-314b-4700-9035-6f9c2a4ff800&state=64`,
|
|
420
|
+
trigger: {
|
|
421
|
+
type: "release",
|
|
422
|
+
id: "a7bce3da-9727-4ca8-b95b-57f731445c3f"
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
);
|
|
426
|
+
var EntryPublishedEventName = EntryPublishedDefinition["event"];
|
|
427
|
+
|
|
428
|
+
// src/entry/entry.release.changed.ts
|
|
429
|
+
var EntryReleaseChangedDefinition = definition(
|
|
430
|
+
{
|
|
431
|
+
event: "entry.release.changed",
|
|
432
|
+
name: "Entry Changed on Release",
|
|
433
|
+
description: "Triggers when an entry has been changed that is attached to a pre-launch release.",
|
|
434
|
+
schema: EntryPayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
release: {
|
|
438
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
439
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
440
|
+
},
|
|
441
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
442
|
+
name: "About Us",
|
|
443
|
+
slug: "/about-us",
|
|
444
|
+
type: "page",
|
|
445
|
+
project: {
|
|
446
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
447
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
448
|
+
},
|
|
449
|
+
state: 64,
|
|
450
|
+
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`,
|
|
451
|
+
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`,
|
|
452
|
+
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`
|
|
453
|
+
}
|
|
454
|
+
);
|
|
455
|
+
var EntryReleaseChangedEventName = EntryReleaseChangedDefinition["event"];
|
|
456
|
+
|
|
457
|
+
// src/entry/entry.release.deleted.ts
|
|
458
|
+
var EntryReleaseDeletedDefinition = definition(
|
|
459
|
+
{
|
|
460
|
+
event: "entry.release.deleted",
|
|
461
|
+
name: "Entry Deleted on Release",
|
|
462
|
+
description: "Triggers when an entry has been deleted that is attached to a pre-launch release.",
|
|
463
|
+
schema: EntryDeletePayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
release: {
|
|
467
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
468
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
469
|
+
},
|
|
470
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
471
|
+
name: "About Us",
|
|
472
|
+
type: "page",
|
|
473
|
+
slug: "/about-us",
|
|
474
|
+
project: {
|
|
475
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
476
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
477
|
+
},
|
|
478
|
+
state: 64
|
|
479
|
+
}
|
|
480
|
+
);
|
|
481
|
+
var EntryReleaseDeletedEventName = EntryReleaseDeletedDefinition["event"];
|
|
482
|
+
|
|
483
|
+
// src/entry/entry.release.published.ts
|
|
484
|
+
var EntryReleasePublishedDefinition = definition(
|
|
485
|
+
{
|
|
486
|
+
event: "entry.release.published",
|
|
487
|
+
name: "Entry Published on Release",
|
|
488
|
+
description: "Triggers when an entry has been published that is attached to a pre-launch release.",
|
|
489
|
+
schema: EntryPayloadSchema.and(ReleaseEntryPayloadSchema)
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
release: {
|
|
493
|
+
id: "48293345-f2d0-1125-afda-7c661abad432",
|
|
494
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/48293345-f2d0-1125-afda-7c661abad432`
|
|
495
|
+
},
|
|
496
|
+
id: "e5c95c60-314b-4700-9035-6f9c2a4ff800",
|
|
497
|
+
name: "About Us",
|
|
498
|
+
slug: "/about-us",
|
|
499
|
+
type: "page",
|
|
500
|
+
project: {
|
|
501
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
502
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
503
|
+
},
|
|
504
|
+
state: 64,
|
|
505
|
+
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`,
|
|
506
|
+
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`,
|
|
507
|
+
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`
|
|
508
|
+
}
|
|
509
|
+
);
|
|
510
|
+
var EntryReleasePublishedEventName = EntryReleasePublishedDefinition["event"];
|
|
511
|
+
|
|
154
512
|
// src/manifest/manifest.published.ts
|
|
155
513
|
var import_zod3 = require("zod");
|
|
156
514
|
var ManifestPublishedDefinition = definition(
|
|
@@ -369,15 +727,173 @@ var RedirectUpdateDefinition = definition(
|
|
|
369
727
|
}
|
|
370
728
|
);
|
|
371
729
|
var RedirectUpdatedEventName = RedirectUpdateDefinition["event"];
|
|
730
|
+
|
|
731
|
+
// src/release/common.ts
|
|
732
|
+
var import_zod12 = require("zod");
|
|
733
|
+
var ReleasePayloadSchema = import_zod12.z.object({
|
|
734
|
+
id: import_zod12.z.string(),
|
|
735
|
+
state: import_zod12.z.enum(["open", "locked", "queued", "launching", "launched", "deleting"]),
|
|
736
|
+
name: import_zod12.z.string(),
|
|
737
|
+
project: import_zod12.z.object({
|
|
738
|
+
id: import_zod12.z.string(),
|
|
739
|
+
url: import_zod12.z.string()
|
|
740
|
+
}),
|
|
741
|
+
autoLaunchSchedule: import_zod12.z.number().optional(),
|
|
742
|
+
autoLaunchScheduleTimeZone: import_zod12.z.string().optional(),
|
|
743
|
+
edit_url: import_zod12.z.string(),
|
|
744
|
+
api_url: import_zod12.z.string()
|
|
745
|
+
});
|
|
746
|
+
|
|
747
|
+
// src/release/release.changed.ts
|
|
748
|
+
var ReleaseChangedDefinition = definition(
|
|
749
|
+
{
|
|
750
|
+
event: "release.changed",
|
|
751
|
+
name: "Release Changed",
|
|
752
|
+
description: "Triggers when a release definition has been changed.",
|
|
753
|
+
schema: ReleasePayloadSchema
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
757
|
+
name: "Sample Release",
|
|
758
|
+
project: {
|
|
759
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
760
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
761
|
+
},
|
|
762
|
+
state: "open",
|
|
763
|
+
autoLaunchSchedule: 12312412312,
|
|
764
|
+
autoLaunchScheduleTimeZone: "America/New_York",
|
|
765
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
766
|
+
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
767
|
+
}
|
|
768
|
+
);
|
|
769
|
+
var ReleaseChangedEventName = ReleaseChangedDefinition["event"];
|
|
770
|
+
|
|
771
|
+
// src/release/release.deleted.ts
|
|
772
|
+
var ReleaseDeletedDefinition = definition(
|
|
773
|
+
{
|
|
774
|
+
event: "release.deleted",
|
|
775
|
+
name: "Release Deleted",
|
|
776
|
+
description: "Triggers when a release, along with any contents, has been deleted.",
|
|
777
|
+
schema: ReleasePayloadSchema.omit({ api_url: true, edit_url: true })
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
781
|
+
name: "Sample Release",
|
|
782
|
+
project: {
|
|
783
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
784
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
785
|
+
},
|
|
786
|
+
state: "open",
|
|
787
|
+
autoLaunchSchedule: 1212412312,
|
|
788
|
+
autoLaunchScheduleTimeZone: "America/New_York"
|
|
789
|
+
}
|
|
790
|
+
);
|
|
791
|
+
var ReleaseDeletedEventName = ReleaseDeletedDefinition["event"];
|
|
792
|
+
|
|
793
|
+
// src/release/release.launch_started.ts
|
|
794
|
+
var ReleaseLaunchStartedDefinition = definition(
|
|
795
|
+
{
|
|
796
|
+
event: "release.launch_started",
|
|
797
|
+
name: "Release Launch Started",
|
|
798
|
+
description: "Triggers when a release starts launching.",
|
|
799
|
+
schema: ReleasePayloadSchema
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
803
|
+
name: "Sample Release",
|
|
804
|
+
project: {
|
|
805
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
806
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
807
|
+
},
|
|
808
|
+
state: "open",
|
|
809
|
+
autoLaunchSchedule: 12312412312,
|
|
810
|
+
autoLaunchScheduleTimeZone: "America/New_York",
|
|
811
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
812
|
+
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
813
|
+
}
|
|
814
|
+
);
|
|
815
|
+
var ReleaseLaunchStartedEventName = ReleaseLaunchStartedDefinition["event"];
|
|
816
|
+
|
|
817
|
+
// src/release/release.launched.ts
|
|
818
|
+
var ReleaseLaunchedDefinition = definition(
|
|
819
|
+
{
|
|
820
|
+
event: "release.launched",
|
|
821
|
+
name: "Release Launched",
|
|
822
|
+
description: "Triggers when a release completes launching.",
|
|
823
|
+
schema: ReleasePayloadSchema
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
827
|
+
name: "Sample Release",
|
|
828
|
+
project: {
|
|
829
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
830
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
831
|
+
},
|
|
832
|
+
state: "open",
|
|
833
|
+
autoLaunchSchedule: 12312412312,
|
|
834
|
+
autoLaunchScheduleTimeZone: "America/New_York",
|
|
835
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
836
|
+
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
837
|
+
}
|
|
838
|
+
);
|
|
839
|
+
var ReleaseLaunchedEventName = ReleaseLaunchedDefinition["event"];
|
|
840
|
+
|
|
841
|
+
// src/release/release.launchstarted.ts
|
|
842
|
+
var ArchivedReleaseLaunchStartedDefinition = definition(
|
|
843
|
+
{
|
|
844
|
+
event: "release.launchstarted",
|
|
845
|
+
name: "Release Launch Started",
|
|
846
|
+
description: "Triggers when a release starts launching.",
|
|
847
|
+
schema: ReleasePayloadSchema,
|
|
848
|
+
archived: true
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
id: "0b9d2118-f2d0-4fe6-9d46-7c661abaf474",
|
|
852
|
+
name: "Sample Release",
|
|
853
|
+
project: {
|
|
854
|
+
id: "644ede73-d6aa-4159-bf98-14ad7fb4cb66",
|
|
855
|
+
url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66`
|
|
856
|
+
},
|
|
857
|
+
state: "open",
|
|
858
|
+
autoLaunchSchedule: 12312412312,
|
|
859
|
+
autoLaunchScheduleTimeZone: "America/New_York",
|
|
860
|
+
edit_url: `https://uniform.app/projects/644ede73-d6aa-4159-bf98-14ad7fb4cb66/releases/0b9d2118-f2d0-4fe6-9d46-7c661abaf474`,
|
|
861
|
+
api_url: `https://uniform.app/api/v1/releases?projectId=644ede73-d6aa-4159-bf98-14ad7fb4cb66&releaseIDs=0b9d2118-f2d0-4fe6-9d46-7c661abaf474`
|
|
862
|
+
}
|
|
863
|
+
);
|
|
372
864
|
// Annotate the CommonJS export names for ESM import in node:
|
|
373
865
|
0 && (module.exports = {
|
|
866
|
+
ArchivedReleaseLaunchStartedDefinition,
|
|
374
867
|
CompositionChangedDefinition,
|
|
375
868
|
CompositionChangedEventName,
|
|
869
|
+
CompositionDeletePayloadSchema,
|
|
376
870
|
CompositionDeletedDefinition,
|
|
377
871
|
CompositionDeletedEventName,
|
|
378
872
|
CompositionPayloadSchema,
|
|
379
873
|
CompositionPublishedDefinition,
|
|
380
874
|
CompositionPublishedEventName,
|
|
875
|
+
CompositionReleaseChangedDefinition,
|
|
876
|
+
CompositionReleaseChangedEventName,
|
|
877
|
+
CompositionReleaseDeletedDefinition,
|
|
878
|
+
CompositionReleaseDeletedEventName,
|
|
879
|
+
CompositionReleasePublishedDefinition,
|
|
880
|
+
CompositionReleasePublishedEventName,
|
|
881
|
+
CompositionTriggerPayloadSchema,
|
|
882
|
+
EntryChangedDefinition,
|
|
883
|
+
EntryChangedEventName,
|
|
884
|
+
EntryDeletePayloadSchema,
|
|
885
|
+
EntryDeletedDefinition,
|
|
886
|
+
EntryDeletedEventName,
|
|
887
|
+
EntryPayloadSchema,
|
|
888
|
+
EntryPublishedDefinition,
|
|
889
|
+
EntryPublishedEventName,
|
|
890
|
+
EntryReleaseChangedDefinition,
|
|
891
|
+
EntryReleaseChangedEventName,
|
|
892
|
+
EntryReleaseDeletedDefinition,
|
|
893
|
+
EntryReleaseDeletedEventName,
|
|
894
|
+
EntryReleasePublishedDefinition,
|
|
895
|
+
EntryReleasePublishedEventName,
|
|
896
|
+
EntryTriggerPayloadSchema,
|
|
381
897
|
ManifestPublishedDefinition,
|
|
382
898
|
ManifestPublishedEventName,
|
|
383
899
|
ProjectMapDeleteDefinition,
|
|
@@ -396,6 +912,17 @@ var RedirectUpdatedEventName = RedirectUpdateDefinition["event"];
|
|
|
396
912
|
RedirectInsertedEventName,
|
|
397
913
|
RedirectUpdateDefinition,
|
|
398
914
|
RedirectUpdatedEventName,
|
|
915
|
+
ReleaseChangedDefinition,
|
|
916
|
+
ReleaseChangedEventName,
|
|
917
|
+
ReleaseCompositionPayloadSchema,
|
|
918
|
+
ReleaseDeletedDefinition,
|
|
919
|
+
ReleaseDeletedEventName,
|
|
920
|
+
ReleaseEntryPayloadSchema,
|
|
921
|
+
ReleaseLaunchStartedDefinition,
|
|
922
|
+
ReleaseLaunchStartedEventName,
|
|
923
|
+
ReleaseLaunchedDefinition,
|
|
924
|
+
ReleaseLaunchedEventName,
|
|
925
|
+
ReleasePayloadSchema,
|
|
399
926
|
definition,
|
|
400
927
|
isDefinition
|
|
401
928
|
});
|