@uniformdev/webhooks 20.50.2-alpha.167 → 20.50.2-alpha.180
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 +28 -692
- package/dist/index.d.ts +28 -692
- package/dist/index.esm.js +0 -45
- package/dist/index.js +0 -47
- package/dist/index.mjs +0 -45
- package/package.json +2 -3
package/dist/index.esm.js
CHANGED
|
@@ -109,10 +109,6 @@ var CompositionCorePayloadSchema = z3.object({
|
|
|
109
109
|
id: z3.string(),
|
|
110
110
|
url: z3.string()
|
|
111
111
|
}),
|
|
112
|
-
/**
|
|
113
|
-
* The composition's modified time (ISO 8601) after this change. Only present for change/publish events.
|
|
114
|
-
*/
|
|
115
|
-
timestamp: z3.string().optional(),
|
|
116
112
|
initiator: webhookInitiatorSchema
|
|
117
113
|
});
|
|
118
114
|
var CompositionTriggerPayloadSchema = z3.object({
|
|
@@ -395,10 +391,6 @@ var EntryCorePayloadSchema = z4.object({
|
|
|
395
391
|
id: z4.string(),
|
|
396
392
|
url: z4.string()
|
|
397
393
|
}),
|
|
398
|
-
/**
|
|
399
|
-
* The entry's server-of-record modified time (ISO 8601) after this change. Only present for change/publish events.
|
|
400
|
-
*/
|
|
401
|
-
timestamp: z4.string().optional(),
|
|
402
394
|
initiator: webhookInitiatorSchema
|
|
403
395
|
});
|
|
404
396
|
var EntryTriggerPayloadSchema = z4.object({
|
|
@@ -1195,41 +1187,6 @@ var WorkflowTransitionDefinition = definition(
|
|
|
1195
1187
|
}
|
|
1196
1188
|
);
|
|
1197
1189
|
var WorkflowTransitionEventName = WorkflowTransitionDefinition["event"];
|
|
1198
|
-
|
|
1199
|
-
// src/catalog.ts
|
|
1200
|
-
var webhookEventCatalog = {
|
|
1201
|
-
"asset.deleted": AssetDeletedDefinition,
|
|
1202
|
-
"asset.published": AssetPublishedDefinition,
|
|
1203
|
-
"composition.changed": CompositionChangedDefinition,
|
|
1204
|
-
"composition.deleted": CompositionDeletedDefinition,
|
|
1205
|
-
"composition.published": CompositionPublishedDefinition,
|
|
1206
|
-
"composition.release.changed": CompositionReleaseChangedDefinition,
|
|
1207
|
-
"composition.release.deleted": CompositionReleaseDeletedDefinition,
|
|
1208
|
-
"composition.release.published": CompositionReleasePublishedDefinition,
|
|
1209
|
-
"composition.release.restored": CompositionReleaseRestoredDefinition,
|
|
1210
|
-
"entry.changed": EntryChangedDefinition,
|
|
1211
|
-
"entry.deleted": EntryDeletedDefinition,
|
|
1212
|
-
"entry.published": EntryPublishedDefinition,
|
|
1213
|
-
"entry.release.changed": EntryReleaseChangedDefinition,
|
|
1214
|
-
"entry.release.deleted": EntryReleaseDeletedDefinition,
|
|
1215
|
-
"entry.release.published": EntryReleasePublishedDefinition,
|
|
1216
|
-
"entry.release.restored": EntryReleaseRestoredDefinition,
|
|
1217
|
-
"manifest.published": ManifestPublishedDefinition,
|
|
1218
|
-
"projectmap.delete": ProjectMapDeleteDefinition,
|
|
1219
|
-
"projectmap.node.delete": ProjectMapNodeDeleteDefinition,
|
|
1220
|
-
"projectmap.node.insert": ProjectMapNodeInsertDefinition,
|
|
1221
|
-
"projectmap.node.update": ProjectMapNodeUpdateDefinition,
|
|
1222
|
-
"projectmap.update": ProjectMapUpdateDefinition,
|
|
1223
|
-
"redirect.delete": RedirectDeleteDefinition,
|
|
1224
|
-
"redirect.insert": RedirectInsertDefinition,
|
|
1225
|
-
"redirect.update": RedirectUpdateDefinition,
|
|
1226
|
-
"release.changed": ReleaseChangedDefinition,
|
|
1227
|
-
"release.deleted": ReleaseDeletedDefinition,
|
|
1228
|
-
"release.launch_started": ReleaseLaunchStartedDefinition,
|
|
1229
|
-
"release.launched": ReleaseLaunchedDefinition,
|
|
1230
|
-
"workflow.transition": WorkflowTransitionDefinition
|
|
1231
|
-
};
|
|
1232
|
-
var webhookEventNames = Object.keys(webhookEventCatalog);
|
|
1233
1190
|
export {
|
|
1234
1191
|
ArchivedReleaseLaunchStartedDefinition,
|
|
1235
1192
|
AssetDeletePayloadSchema,
|
|
@@ -1310,7 +1267,5 @@ export {
|
|
|
1310
1267
|
WorkflowTransitionPayloadSchema,
|
|
1311
1268
|
definition,
|
|
1312
1269
|
isDefinition,
|
|
1313
|
-
webhookEventCatalog,
|
|
1314
|
-
webhookEventNames,
|
|
1315
1270
|
webhookInitiatorSchema
|
|
1316
1271
|
};
|
package/dist/index.js
CHANGED
|
@@ -109,8 +109,6 @@ __export(index_exports, {
|
|
|
109
109
|
WorkflowTransitionPayloadSchema: () => WorkflowTransitionPayloadSchema,
|
|
110
110
|
definition: () => definition,
|
|
111
111
|
isDefinition: () => isDefinition,
|
|
112
|
-
webhookEventCatalog: () => webhookEventCatalog,
|
|
113
|
-
webhookEventNames: () => webhookEventNames,
|
|
114
112
|
webhookInitiatorSchema: () => webhookInitiatorSchema
|
|
115
113
|
});
|
|
116
114
|
module.exports = __toCommonJS(index_exports);
|
|
@@ -226,10 +224,6 @@ var CompositionCorePayloadSchema = z3.object({
|
|
|
226
224
|
id: z3.string(),
|
|
227
225
|
url: z3.string()
|
|
228
226
|
}),
|
|
229
|
-
/**
|
|
230
|
-
* The composition's modified time (ISO 8601) after this change. Only present for change/publish events.
|
|
231
|
-
*/
|
|
232
|
-
timestamp: z3.string().optional(),
|
|
233
227
|
initiator: webhookInitiatorSchema
|
|
234
228
|
});
|
|
235
229
|
var CompositionTriggerPayloadSchema = z3.object({
|
|
@@ -512,10 +506,6 @@ var EntryCorePayloadSchema = z4.object({
|
|
|
512
506
|
id: z4.string(),
|
|
513
507
|
url: z4.string()
|
|
514
508
|
}),
|
|
515
|
-
/**
|
|
516
|
-
* The entry's server-of-record modified time (ISO 8601) after this change. Only present for change/publish events.
|
|
517
|
-
*/
|
|
518
|
-
timestamp: z4.string().optional(),
|
|
519
509
|
initiator: webhookInitiatorSchema
|
|
520
510
|
});
|
|
521
511
|
var EntryTriggerPayloadSchema = z4.object({
|
|
@@ -1312,41 +1302,6 @@ var WorkflowTransitionDefinition = definition(
|
|
|
1312
1302
|
}
|
|
1313
1303
|
);
|
|
1314
1304
|
var WorkflowTransitionEventName = WorkflowTransitionDefinition["event"];
|
|
1315
|
-
|
|
1316
|
-
// src/catalog.ts
|
|
1317
|
-
var webhookEventCatalog = {
|
|
1318
|
-
"asset.deleted": AssetDeletedDefinition,
|
|
1319
|
-
"asset.published": AssetPublishedDefinition,
|
|
1320
|
-
"composition.changed": CompositionChangedDefinition,
|
|
1321
|
-
"composition.deleted": CompositionDeletedDefinition,
|
|
1322
|
-
"composition.published": CompositionPublishedDefinition,
|
|
1323
|
-
"composition.release.changed": CompositionReleaseChangedDefinition,
|
|
1324
|
-
"composition.release.deleted": CompositionReleaseDeletedDefinition,
|
|
1325
|
-
"composition.release.published": CompositionReleasePublishedDefinition,
|
|
1326
|
-
"composition.release.restored": CompositionReleaseRestoredDefinition,
|
|
1327
|
-
"entry.changed": EntryChangedDefinition,
|
|
1328
|
-
"entry.deleted": EntryDeletedDefinition,
|
|
1329
|
-
"entry.published": EntryPublishedDefinition,
|
|
1330
|
-
"entry.release.changed": EntryReleaseChangedDefinition,
|
|
1331
|
-
"entry.release.deleted": EntryReleaseDeletedDefinition,
|
|
1332
|
-
"entry.release.published": EntryReleasePublishedDefinition,
|
|
1333
|
-
"entry.release.restored": EntryReleaseRestoredDefinition,
|
|
1334
|
-
"manifest.published": ManifestPublishedDefinition,
|
|
1335
|
-
"projectmap.delete": ProjectMapDeleteDefinition,
|
|
1336
|
-
"projectmap.node.delete": ProjectMapNodeDeleteDefinition,
|
|
1337
|
-
"projectmap.node.insert": ProjectMapNodeInsertDefinition,
|
|
1338
|
-
"projectmap.node.update": ProjectMapNodeUpdateDefinition,
|
|
1339
|
-
"projectmap.update": ProjectMapUpdateDefinition,
|
|
1340
|
-
"redirect.delete": RedirectDeleteDefinition,
|
|
1341
|
-
"redirect.insert": RedirectInsertDefinition,
|
|
1342
|
-
"redirect.update": RedirectUpdateDefinition,
|
|
1343
|
-
"release.changed": ReleaseChangedDefinition,
|
|
1344
|
-
"release.deleted": ReleaseDeletedDefinition,
|
|
1345
|
-
"release.launch_started": ReleaseLaunchStartedDefinition,
|
|
1346
|
-
"release.launched": ReleaseLaunchedDefinition,
|
|
1347
|
-
"workflow.transition": WorkflowTransitionDefinition
|
|
1348
|
-
};
|
|
1349
|
-
var webhookEventNames = Object.keys(webhookEventCatalog);
|
|
1350
1305
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1351
1306
|
0 && (module.exports = {
|
|
1352
1307
|
ArchivedReleaseLaunchStartedDefinition,
|
|
@@ -1428,7 +1383,5 @@ var webhookEventNames = Object.keys(webhookEventCatalog);
|
|
|
1428
1383
|
WorkflowTransitionPayloadSchema,
|
|
1429
1384
|
definition,
|
|
1430
1385
|
isDefinition,
|
|
1431
|
-
webhookEventCatalog,
|
|
1432
|
-
webhookEventNames,
|
|
1433
1386
|
webhookInitiatorSchema
|
|
1434
1387
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -109,10 +109,6 @@ var CompositionCorePayloadSchema = z3.object({
|
|
|
109
109
|
id: z3.string(),
|
|
110
110
|
url: z3.string()
|
|
111
111
|
}),
|
|
112
|
-
/**
|
|
113
|
-
* The composition's modified time (ISO 8601) after this change. Only present for change/publish events.
|
|
114
|
-
*/
|
|
115
|
-
timestamp: z3.string().optional(),
|
|
116
112
|
initiator: webhookInitiatorSchema
|
|
117
113
|
});
|
|
118
114
|
var CompositionTriggerPayloadSchema = z3.object({
|
|
@@ -395,10 +391,6 @@ var EntryCorePayloadSchema = z4.object({
|
|
|
395
391
|
id: z4.string(),
|
|
396
392
|
url: z4.string()
|
|
397
393
|
}),
|
|
398
|
-
/**
|
|
399
|
-
* The entry's server-of-record modified time (ISO 8601) after this change. Only present for change/publish events.
|
|
400
|
-
*/
|
|
401
|
-
timestamp: z4.string().optional(),
|
|
402
394
|
initiator: webhookInitiatorSchema
|
|
403
395
|
});
|
|
404
396
|
var EntryTriggerPayloadSchema = z4.object({
|
|
@@ -1195,41 +1187,6 @@ var WorkflowTransitionDefinition = definition(
|
|
|
1195
1187
|
}
|
|
1196
1188
|
);
|
|
1197
1189
|
var WorkflowTransitionEventName = WorkflowTransitionDefinition["event"];
|
|
1198
|
-
|
|
1199
|
-
// src/catalog.ts
|
|
1200
|
-
var webhookEventCatalog = {
|
|
1201
|
-
"asset.deleted": AssetDeletedDefinition,
|
|
1202
|
-
"asset.published": AssetPublishedDefinition,
|
|
1203
|
-
"composition.changed": CompositionChangedDefinition,
|
|
1204
|
-
"composition.deleted": CompositionDeletedDefinition,
|
|
1205
|
-
"composition.published": CompositionPublishedDefinition,
|
|
1206
|
-
"composition.release.changed": CompositionReleaseChangedDefinition,
|
|
1207
|
-
"composition.release.deleted": CompositionReleaseDeletedDefinition,
|
|
1208
|
-
"composition.release.published": CompositionReleasePublishedDefinition,
|
|
1209
|
-
"composition.release.restored": CompositionReleaseRestoredDefinition,
|
|
1210
|
-
"entry.changed": EntryChangedDefinition,
|
|
1211
|
-
"entry.deleted": EntryDeletedDefinition,
|
|
1212
|
-
"entry.published": EntryPublishedDefinition,
|
|
1213
|
-
"entry.release.changed": EntryReleaseChangedDefinition,
|
|
1214
|
-
"entry.release.deleted": EntryReleaseDeletedDefinition,
|
|
1215
|
-
"entry.release.published": EntryReleasePublishedDefinition,
|
|
1216
|
-
"entry.release.restored": EntryReleaseRestoredDefinition,
|
|
1217
|
-
"manifest.published": ManifestPublishedDefinition,
|
|
1218
|
-
"projectmap.delete": ProjectMapDeleteDefinition,
|
|
1219
|
-
"projectmap.node.delete": ProjectMapNodeDeleteDefinition,
|
|
1220
|
-
"projectmap.node.insert": ProjectMapNodeInsertDefinition,
|
|
1221
|
-
"projectmap.node.update": ProjectMapNodeUpdateDefinition,
|
|
1222
|
-
"projectmap.update": ProjectMapUpdateDefinition,
|
|
1223
|
-
"redirect.delete": RedirectDeleteDefinition,
|
|
1224
|
-
"redirect.insert": RedirectInsertDefinition,
|
|
1225
|
-
"redirect.update": RedirectUpdateDefinition,
|
|
1226
|
-
"release.changed": ReleaseChangedDefinition,
|
|
1227
|
-
"release.deleted": ReleaseDeletedDefinition,
|
|
1228
|
-
"release.launch_started": ReleaseLaunchStartedDefinition,
|
|
1229
|
-
"release.launched": ReleaseLaunchedDefinition,
|
|
1230
|
-
"workflow.transition": WorkflowTransitionDefinition
|
|
1231
|
-
};
|
|
1232
|
-
var webhookEventNames = Object.keys(webhookEventCatalog);
|
|
1233
1190
|
export {
|
|
1234
1191
|
ArchivedReleaseLaunchStartedDefinition,
|
|
1235
1192
|
AssetDeletePayloadSchema,
|
|
@@ -1310,7 +1267,5 @@ export {
|
|
|
1310
1267
|
WorkflowTransitionPayloadSchema,
|
|
1311
1268
|
definition,
|
|
1312
1269
|
isDefinition,
|
|
1313
|
-
webhookEventCatalog,
|
|
1314
|
-
webhookEventNames,
|
|
1315
1270
|
webhookInitiatorSchema
|
|
1316
1271
|
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/webhooks",
|
|
3
|
-
"version": "20.50.2-alpha.
|
|
3
|
+
"version": "20.50.2-alpha.180+0be2307590",
|
|
4
4
|
"description": "Uniform Webhooks",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.esm.js",
|
|
8
8
|
"exports": {
|
|
9
|
-
"source": "./src/index.ts",
|
|
10
9
|
"import": {
|
|
11
10
|
"types": "./dist/index.d.mts",
|
|
12
11
|
"node": "./dist/index.mjs",
|
|
@@ -39,5 +38,5 @@
|
|
|
39
38
|
"publishConfig": {
|
|
40
39
|
"access": "public"
|
|
41
40
|
},
|
|
42
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "0be23075901a6fd0acd8166a2bea65fbd5589789"
|
|
43
42
|
}
|