@webiny/api-website-builder 6.4.0-beta.3 → 6.4.0-beta.4
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.
|
@@ -5,73 +5,83 @@ class WbWebhookFactoryImpl {
|
|
|
5
5
|
return [
|
|
6
6
|
{
|
|
7
7
|
app: "wb",
|
|
8
|
-
appLabel: "Website Builder
|
|
8
|
+
appLabel: "Website Builder",
|
|
9
9
|
entity: "page",
|
|
10
|
+
entityLabel: "Pages",
|
|
10
11
|
eventName: WebhookEvent.WbPageCreated,
|
|
11
|
-
label: "
|
|
12
|
+
label: "Created"
|
|
12
13
|
},
|
|
13
14
|
{
|
|
14
15
|
app: "wb",
|
|
16
|
+
appLabel: "Website Builder",
|
|
15
17
|
entity: "page",
|
|
16
|
-
|
|
18
|
+
entityLabel: "Pages",
|
|
17
19
|
eventName: WebhookEvent.WbPageUpdated,
|
|
18
|
-
label: "
|
|
20
|
+
label: "Updated"
|
|
19
21
|
},
|
|
20
22
|
{
|
|
21
23
|
app: "wb",
|
|
24
|
+
appLabel: "Website Builder",
|
|
22
25
|
entity: "page",
|
|
23
|
-
|
|
26
|
+
entityLabel: "Pages",
|
|
24
27
|
eventName: WebhookEvent.WbPagePublished,
|
|
25
|
-
label: "
|
|
28
|
+
label: "Published"
|
|
26
29
|
},
|
|
27
30
|
{
|
|
28
31
|
app: "wb",
|
|
32
|
+
appLabel: "Website Builder",
|
|
29
33
|
entity: "page",
|
|
30
|
-
|
|
34
|
+
entityLabel: "Pages",
|
|
31
35
|
eventName: WebhookEvent.WbPageUnpublished,
|
|
32
|
-
label: "
|
|
36
|
+
label: "Unpublished"
|
|
33
37
|
},
|
|
34
38
|
{
|
|
35
39
|
app: "wb",
|
|
40
|
+
appLabel: "Website Builder",
|
|
36
41
|
entity: "page",
|
|
37
|
-
|
|
42
|
+
entityLabel: "Pages",
|
|
38
43
|
eventName: WebhookEvent.WbPageDeleted,
|
|
39
|
-
label: "
|
|
44
|
+
label: "Deleted"
|
|
40
45
|
},
|
|
41
46
|
{
|
|
42
47
|
app: "wb",
|
|
48
|
+
appLabel: "Website Builder",
|
|
43
49
|
entity: "page",
|
|
44
|
-
|
|
50
|
+
entityLabel: "Pages",
|
|
45
51
|
eventName: WebhookEvent.WbPageTrashed,
|
|
46
|
-
label: "
|
|
52
|
+
label: "Trashed"
|
|
47
53
|
},
|
|
48
54
|
{
|
|
49
55
|
app: "wb",
|
|
56
|
+
appLabel: "Website Builder",
|
|
50
57
|
entity: "page",
|
|
51
|
-
|
|
58
|
+
entityLabel: "Pages",
|
|
52
59
|
eventName: WebhookEvent.WbPageRestored,
|
|
53
|
-
label: "
|
|
60
|
+
label: "Restored"
|
|
54
61
|
},
|
|
55
62
|
{
|
|
56
63
|
app: "wb",
|
|
64
|
+
appLabel: "Website Builder",
|
|
57
65
|
entity: "redirect",
|
|
58
|
-
|
|
66
|
+
entityLabel: "Redirects",
|
|
59
67
|
eventName: WebhookEvent.WbRedirectCreated,
|
|
60
|
-
label: "
|
|
68
|
+
label: "Created"
|
|
61
69
|
},
|
|
62
70
|
{
|
|
63
71
|
app: "wb",
|
|
72
|
+
appLabel: "Website Builder",
|
|
64
73
|
entity: "redirect",
|
|
65
|
-
|
|
74
|
+
entityLabel: "Redirects",
|
|
66
75
|
eventName: WebhookEvent.WbRedirectUpdated,
|
|
67
|
-
label: "
|
|
76
|
+
label: "Updated"
|
|
68
77
|
},
|
|
69
78
|
{
|
|
70
79
|
app: "wb",
|
|
80
|
+
appLabel: "Website Builder",
|
|
71
81
|
entity: "redirect",
|
|
72
|
-
|
|
82
|
+
entityLabel: "Redirects",
|
|
73
83
|
eventName: WebhookEvent.WbRedirectDeleted,
|
|
74
|
-
label: "
|
|
84
|
+
label: "Deleted"
|
|
75
85
|
}
|
|
76
86
|
];
|
|
77
87
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features/webhooks/WbWebhookEventProvider.js","sources":["../../../src/features/webhooks/WbWebhookEventProvider.ts"],"sourcesContent":["import { WebhookFactory as WebhookFactoryAbstraction } from \"@webiny/api-core/features/webhooks/index.js\";\nimport { WebhookEvent } from \"~/features/webhooks/constants.js\";\n\nclass WbWebhookFactoryImpl implements WebhookFactoryAbstraction.Interface {\n public async execute(): Promise<WebhookFactoryAbstraction.Definition[]> {\n return [\n {\n app: \"wb\",\n appLabel: \"Website Builder
|
|
1
|
+
{"version":3,"file":"features/webhooks/WbWebhookEventProvider.js","sources":["../../../src/features/webhooks/WbWebhookEventProvider.ts"],"sourcesContent":["import { WebhookFactory as WebhookFactoryAbstraction } from \"@webiny/api-core/features/webhooks/index.js\";\nimport { WebhookEvent } from \"~/features/webhooks/constants.js\";\n\nclass WbWebhookFactoryImpl implements WebhookFactoryAbstraction.Interface {\n public async execute(): Promise<WebhookFactoryAbstraction.Definition[]> {\n return [\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"page\",\n entityLabel: \"Pages\",\n eventName: WebhookEvent.WbPageCreated,\n label: \"Created\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"page\",\n entityLabel: \"Pages\",\n eventName: WebhookEvent.WbPageUpdated,\n label: \"Updated\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"page\",\n entityLabel: \"Pages\",\n eventName: WebhookEvent.WbPagePublished,\n label: \"Published\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"page\",\n entityLabel: \"Pages\",\n eventName: WebhookEvent.WbPageUnpublished,\n label: \"Unpublished\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"page\",\n entityLabel: \"Pages\",\n eventName: WebhookEvent.WbPageDeleted,\n label: \"Deleted\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"page\",\n entityLabel: \"Pages\",\n eventName: WebhookEvent.WbPageTrashed,\n label: \"Trashed\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"page\",\n entityLabel: \"Pages\",\n eventName: WebhookEvent.WbPageRestored,\n label: \"Restored\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"redirect\",\n entityLabel: \"Redirects\",\n eventName: WebhookEvent.WbRedirectCreated,\n label: \"Created\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"redirect\",\n entityLabel: \"Redirects\",\n eventName: WebhookEvent.WbRedirectUpdated,\n label: \"Updated\"\n },\n {\n app: \"wb\",\n appLabel: \"Website Builder\",\n entity: \"redirect\",\n entityLabel: \"Redirects\",\n eventName: WebhookEvent.WbRedirectDeleted,\n label: \"Deleted\"\n }\n ];\n }\n}\n\nexport const WbWebhookFactory = WebhookFactoryAbstraction.createImplementation({\n implementation: WbWebhookFactoryImpl,\n dependencies: []\n});\n"],"names":["WbWebhookFactoryImpl","WebhookEvent","WbWebhookFactory","WebhookFactoryAbstraction"],"mappings":";;AAGA,MAAMA;IACF,MAAa,UAA2D;QACpE,OAAO;YACH;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWC,aAAa,aAAa;gBACrC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,aAAa;gBACrC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,eAAe;gBACvC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,iBAAiB;gBACzC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,aAAa;gBACrC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,aAAa;gBACrC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,cAAc;gBACtC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,iBAAiB;gBACzC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,iBAAiB;gBACzC,OAAO;YACX;YACA;gBACI,KAAK;gBACL,UAAU;gBACV,QAAQ;gBACR,aAAa;gBACb,WAAWA,aAAa,iBAAiB;gBACzC,OAAO;YACX;SACH;IACL;AACJ;AAEO,MAAMC,mBAAmBC,eAAAA,oBAA8C,CAAC;IAC3E,gBAAgBH;IAChB,cAAc,EAAE;AACpB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webiny/api-website-builder",
|
|
3
|
-
"version": "6.4.0-beta.
|
|
3
|
+
"version": "6.4.0-beta.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.js",
|
|
@@ -18,33 +18,34 @@
|
|
|
18
18
|
"author": "Webiny Ltd.",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"publishConfig": {
|
|
21
|
-
"access": "public"
|
|
22
|
-
"directory": "dist"
|
|
21
|
+
"access": "public"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
|
-
"@webiny/api": "6.4.0-beta.
|
|
26
|
-
"@webiny/api-core": "6.4.0-beta.
|
|
27
|
-
"@webiny/api-headless-cms": "6.4.0-beta.
|
|
28
|
-
"@webiny/feature": "6.4.0-beta.
|
|
29
|
-
"@webiny/handler": "6.4.0-beta.
|
|
30
|
-
"@webiny/handler-graphql": "6.4.0-beta.
|
|
31
|
-
"@webiny/languages": "6.4.0-beta.
|
|
32
|
-
"@webiny/tenant-manager": "6.4.0-beta.
|
|
24
|
+
"@webiny/api": "6.4.0-beta.4",
|
|
25
|
+
"@webiny/api-core": "6.4.0-beta.4",
|
|
26
|
+
"@webiny/api-headless-cms": "6.4.0-beta.4",
|
|
27
|
+
"@webiny/feature": "6.4.0-beta.4",
|
|
28
|
+
"@webiny/handler": "6.4.0-beta.4",
|
|
29
|
+
"@webiny/handler-graphql": "6.4.0-beta.4",
|
|
30
|
+
"@webiny/languages": "6.4.0-beta.4",
|
|
31
|
+
"@webiny/tenant-manager": "6.4.0-beta.4",
|
|
33
32
|
"lodash": "4.18.1"
|
|
34
33
|
},
|
|
35
34
|
"devDependencies": {
|
|
36
|
-
"@webiny/api-core-ddb": "6.4.0-beta.
|
|
37
|
-
"@webiny/api-file-manager-s3": "6.4.0-beta.
|
|
38
|
-
"@webiny/
|
|
39
|
-
"@webiny/
|
|
40
|
-
"@webiny/
|
|
41
|
-
"@webiny/
|
|
42
|
-
"@webiny/
|
|
43
|
-
"@webiny/wcp": "6.4.0-beta.
|
|
35
|
+
"@webiny/api-core-ddb": "6.4.0-beta.4",
|
|
36
|
+
"@webiny/api-file-manager-s3": "6.4.0-beta.4",
|
|
37
|
+
"@webiny/background-tasks": "6.4.0-beta.4",
|
|
38
|
+
"@webiny/build-tools": "6.4.0-beta.4",
|
|
39
|
+
"@webiny/handler-aws": "6.4.0-beta.4",
|
|
40
|
+
"@webiny/plugins": "6.4.0-beta.4",
|
|
41
|
+
"@webiny/project-utils": "6.4.0-beta.4",
|
|
42
|
+
"@webiny/wcp": "6.4.0-beta.4",
|
|
44
43
|
"graphql": "16.14.0",
|
|
45
44
|
"rimraf": "6.1.3",
|
|
46
45
|
"typescript": "6.0.3",
|
|
47
|
-
"vitest": "4.1.
|
|
46
|
+
"vitest": "4.1.7"
|
|
48
47
|
},
|
|
49
|
-
"
|
|
48
|
+
"webiny": {
|
|
49
|
+
"publishFrom": "dist"
|
|
50
|
+
}
|
|
50
51
|
}
|