@aglyn/aglyn 1.21.0 → 1.22.1
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/package.json +17 -17
- package/src/lib/app-utils/console-routes.js.map +1 -1
- package/src/lib/app-utils/docs-index.generated.js +1 -1
- package/src/lib/app-utils/docs-index.generated.js.map +1 -1
- package/src/lib/app-utils/plain-data.d.ts +20 -0
- package/src/lib/app-utils/plain-data.js +122 -0
- package/src/lib/app-utils/plain-data.js.map +1 -0
- package/src/lib/app-utils/site-interactions.js +1 -1
- package/src/lib/app-utils/site-interactions.js.map +1 -1
- package/src/lib/app-utils/visitor-consent.js +1 -1
- package/src/lib/app-utils/visitor-consent.js.map +1 -1
- package/src/lib/canvas-manager/canvas-manager.d.ts +1 -1
- package/src/lib/canvas-manager/canvas-manager.js +7 -8
- package/src/lib/canvas-manager/canvas-manager.js.map +1 -1
- package/src/lib/emit-manager/emit-manager.js.map +1 -1
- package/src/lib/foundation/constants/components.js.map +1 -1
- package/src/lib/foundation/constants/shared.js.map +1 -1
- package/src/lib/foundation/constants/symbol.js.map +1 -1
- package/src/lib/foundation/definitions/components.types.js.map +1 -1
- package/src/lib/foundation/definitions/platform.types.js.map +1 -1
- package/src/lib/plugin-manager/enabled-plugins.d.ts +12 -4
- package/src/lib/plugin-manager/enabled-plugins.js +16 -12
- package/src/lib/plugin-manager/enabled-plugins.js.map +1 -1
- package/src/lib/plugin-manager/first-party-plugin-interactions.generated.d.ts +22 -0
- package/src/lib/plugin-manager/first-party-plugin-interactions.generated.js +242 -0
- package/src/lib/plugin-manager/first-party-plugin-interactions.generated.js.map +1 -0
- package/src/lib/plugin-manager/first-party-plugin-switchboard.generated.d.ts +32 -0
- package/src/lib/plugin-manager/first-party-plugin-switchboard.generated.js +307 -0
- package/src/lib/plugin-manager/first-party-plugin-switchboard.generated.js.map +1 -0
- package/src/lib/plugin-manager/first-party-plugins.generated.d.ts +3 -33
- package/src/lib/plugin-manager/first-party-plugins.generated.js +6 -311
- package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
- package/src/lib/plugin-manager/interaction-recipes.js +1 -1
- package/src/lib/plugin-manager/interaction-recipes.js.map +1 -1
- package/src/lib/plugin-manager/plugin-manager.js.map +1 -1
- package/src/lib/types/nodes.js.map +1 -1
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED FILE — do not edit. Regenerate with:
|
|
3
|
+
* node tools/scripts/generate-plugin-manifests.mjs
|
|
4
|
+
*
|
|
5
|
+
* The part of the switchboard catalog (AGL-3080) a published page runs on
|
|
6
|
+
* (AGL-4220): each row's switches without its console copy, and the small
|
|
7
|
+
* declarations the published page reads. The full rows, copy included, are
|
|
8
|
+
* `FIRST_PARTY_PLUGINS` in first-party-plugins.generated.ts, which
|
|
9
|
+
* re-exports the rest of this file.
|
|
10
|
+
*/ /** Every catalog row without `description` or `siteOff`, in catalog order. */ export const FIRST_PARTY_PLUGIN_SWITCHES = [
|
|
11
|
+
{
|
|
12
|
+
"id": "mui",
|
|
13
|
+
"label": "Components",
|
|
14
|
+
"alwaysOn": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"id": "forms",
|
|
18
|
+
"label": "Forms",
|
|
19
|
+
"alwaysOnForWorkspace": true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "ai",
|
|
23
|
+
"label": "AI",
|
|
24
|
+
"alwaysOnForWorkspace": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "theme-presets",
|
|
28
|
+
"label": "Themes",
|
|
29
|
+
"alwaysOnForWorkspace": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "funnels",
|
|
33
|
+
"label": "Funnels",
|
|
34
|
+
"alwaysOnForWorkspace": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "accounts",
|
|
38
|
+
"label": "User Accounts",
|
|
39
|
+
"releaseFlag": "release_member_accounts",
|
|
40
|
+
"defaultOffPerSite": true,
|
|
41
|
+
"requires": [
|
|
42
|
+
"commerce"
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "bookings",
|
|
47
|
+
"label": "Bookings",
|
|
48
|
+
"releaseFlag": "release_bookings"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "commerce",
|
|
52
|
+
"label": "Commerce",
|
|
53
|
+
"releaseFlag": "release_commerce_v2"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "marketplace",
|
|
57
|
+
"label": "Marketplace",
|
|
58
|
+
"releaseFlag": "release_marketplace"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "crm",
|
|
62
|
+
"label": "CRM",
|
|
63
|
+
"releaseFlag": "release_crm"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"id": "outreach",
|
|
67
|
+
"label": "Sequences",
|
|
68
|
+
"releaseFlag": "release_outreach"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": "data",
|
|
72
|
+
"label": "Data",
|
|
73
|
+
"releaseFlag": "release_data_store"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "email",
|
|
77
|
+
"label": "Email",
|
|
78
|
+
"releaseFlag": "release_email"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "events-calendar",
|
|
82
|
+
"label": "Events Calendar",
|
|
83
|
+
"releaseFlag": "release_events"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "inbox",
|
|
87
|
+
"label": "Inbox",
|
|
88
|
+
"releaseFlag": "release_inbox"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "logic",
|
|
92
|
+
"label": "Logic",
|
|
93
|
+
"releaseFlag": "release_logic"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"id": "marketing",
|
|
97
|
+
"label": "Marketing",
|
|
98
|
+
"releaseFlag": "release_marketing"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"id": "redirects",
|
|
102
|
+
"label": "Redirects",
|
|
103
|
+
"releaseFlag": "release_redirects"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"id": "workflows",
|
|
107
|
+
"label": "Automation",
|
|
108
|
+
"releaseFlag": "release_workflows"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "accounting",
|
|
112
|
+
"label": "Accounting",
|
|
113
|
+
"releaseFlag": "release_accounting"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "shipping",
|
|
117
|
+
"label": "Shipping",
|
|
118
|
+
"alwaysOnForWorkspace": true
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "tax-engines",
|
|
122
|
+
"label": "Tax services",
|
|
123
|
+
"alwaysOnForWorkspace": true
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"id": "sales-channels",
|
|
127
|
+
"label": "Sales channels",
|
|
128
|
+
"alwaysOnForWorkspace": true
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"id": "marketing-platforms",
|
|
132
|
+
"label": "Email platforms",
|
|
133
|
+
"alwaysOnForWorkspace": true
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "fonts",
|
|
137
|
+
"label": "Fonts",
|
|
138
|
+
"alwaysOn": true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "post-purchase",
|
|
142
|
+
"label": "Tracking and protection",
|
|
143
|
+
"alwaysOnForWorkspace": true
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "fulfillment-networks",
|
|
147
|
+
"label": "Fulfillment networks",
|
|
148
|
+
"alwaysOnForWorkspace": true
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "marketplaces",
|
|
152
|
+
"label": "Marketplaces",
|
|
153
|
+
"alwaysOnForWorkspace": true
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"id": "print-on-demand",
|
|
157
|
+
"label": "Print on demand",
|
|
158
|
+
"alwaysOnForWorkspace": true
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"id": "inventory-sync",
|
|
162
|
+
"label": "Inventory sync",
|
|
163
|
+
"alwaysOnForWorkspace": true
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"id": "delivery-apps",
|
|
167
|
+
"label": "Delivery apps",
|
|
168
|
+
"alwaysOnForWorkspace": true
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"id": "loyalty",
|
|
172
|
+
"label": "Rewards",
|
|
173
|
+
"alwaysOnForWorkspace": true
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "couriers",
|
|
177
|
+
"label": "Couriers",
|
|
178
|
+
"alwaysOnForWorkspace": true
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "lightbox",
|
|
182
|
+
"label": "Lightbox",
|
|
183
|
+
"alwaysOn": true
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "live-chat",
|
|
187
|
+
"label": "Live chat",
|
|
188
|
+
"alwaysOnForWorkspace": true,
|
|
189
|
+
"defaultOffPerSite": true
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"id": "review-platforms",
|
|
193
|
+
"label": "Review platforms",
|
|
194
|
+
"alwaysOnForWorkspace": true
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "weglot",
|
|
198
|
+
"label": "Weglot translation",
|
|
199
|
+
"releaseFlag": "release_weglot",
|
|
200
|
+
"defaultOffPerSite": true
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"id": "music",
|
|
204
|
+
"label": "Music player",
|
|
205
|
+
"alwaysOnForWorkspace": true
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "help-desks",
|
|
209
|
+
"label": "Help desks",
|
|
210
|
+
"alwaysOnForWorkspace": true
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "waivers",
|
|
214
|
+
"label": "Waivers",
|
|
215
|
+
"alwaysOnForWorkspace": true
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"id": "ad-conversions",
|
|
219
|
+
"label": "Ad conversions",
|
|
220
|
+
"alwaysOnForWorkspace": true
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "domains",
|
|
224
|
+
"label": "Domains",
|
|
225
|
+
"alwaysOnForWorkspace": true
|
|
226
|
+
}
|
|
227
|
+
];
|
|
228
|
+
export const PUBLISHED_SITE_IMPACT = {
|
|
229
|
+
"mui": "elements",
|
|
230
|
+
"forms": "elements",
|
|
231
|
+
"ai": "console-only",
|
|
232
|
+
"theme-presets": "console-only",
|
|
233
|
+
"funnels": "console-only",
|
|
234
|
+
"accounts": "routes",
|
|
235
|
+
"bookings": "elements",
|
|
236
|
+
"commerce": "elements",
|
|
237
|
+
"marketplace": "console-only",
|
|
238
|
+
"crm": "console-only",
|
|
239
|
+
"outreach": "console-only",
|
|
240
|
+
"data": "routes",
|
|
241
|
+
"email": "elements",
|
|
242
|
+
"events-calendar": "elements",
|
|
243
|
+
"inbox": "console-only",
|
|
244
|
+
"logic": "console-only",
|
|
245
|
+
"marketing": "elements",
|
|
246
|
+
"redirects": "routes",
|
|
247
|
+
"workflows": "routes",
|
|
248
|
+
"accounting": "console-only",
|
|
249
|
+
"shipping": "console-only",
|
|
250
|
+
"tax-engines": "console-only",
|
|
251
|
+
"sales-channels": "routes",
|
|
252
|
+
"marketing-platforms": "console-only",
|
|
253
|
+
"fonts": "console-only",
|
|
254
|
+
"post-purchase": "console-only",
|
|
255
|
+
"fulfillment-networks": "console-only",
|
|
256
|
+
"marketplaces": "console-only",
|
|
257
|
+
"print-on-demand": "console-only",
|
|
258
|
+
"inventory-sync": "console-only",
|
|
259
|
+
"delivery-apps": "console-only",
|
|
260
|
+
"loyalty": "console-only",
|
|
261
|
+
"couriers": "console-only",
|
|
262
|
+
"lightbox": "elements",
|
|
263
|
+
"live-chat": "elements",
|
|
264
|
+
"review-platforms": "console-only",
|
|
265
|
+
"weglot": "elements",
|
|
266
|
+
"music": "elements",
|
|
267
|
+
"help-desks": "console-only",
|
|
268
|
+
"waivers": "elements",
|
|
269
|
+
"ad-conversions": "console-only",
|
|
270
|
+
"domains": "console-only"
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* The admin edit bar's quick links, in the order they are drawn — each
|
|
274
|
+
* declared by the plugin whose console page it opens (AGL-3080).
|
|
275
|
+
*/ export const PLUGIN_EDIT_BAR_LINKS = [
|
|
276
|
+
{
|
|
277
|
+
"pluginId": "inbox",
|
|
278
|
+
"order": 20,
|
|
279
|
+
"label": "Inbox",
|
|
280
|
+
"path": "/inbox"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"pluginId": "commerce",
|
|
284
|
+
"order": 30,
|
|
285
|
+
"label": "Orders",
|
|
286
|
+
"path": "/products/orders"
|
|
287
|
+
}
|
|
288
|
+
];
|
|
289
|
+
/**
|
|
290
|
+
* The analytics settings each provider mounts a tag for, declared by the
|
|
291
|
+
* plugin that adapts the vendor (AGL-3080). Empty when none does, and then no
|
|
292
|
+
* setting configures a tag.
|
|
293
|
+
*/ export const ANALYTICS_PROVIDERS_DECLARED = [
|
|
294
|
+
{
|
|
295
|
+
"pluginId": "marketing",
|
|
296
|
+
"settings": [
|
|
297
|
+
"gaMeasurementId",
|
|
298
|
+
"gtmContainerId"
|
|
299
|
+
]
|
|
300
|
+
}
|
|
301
|
+
];
|
|
302
|
+
/**
|
|
303
|
+
* Every first-party element that runs a site function, and the prop naming
|
|
304
|
+
* it, declared by that element's plugin (AGL-3393). Core names no element.
|
|
305
|
+
*/ export const FIRST_PARTY_FUNCTION_BINDINGS = {};
|
|
306
|
+
|
|
307
|
+
//# sourceMappingURL=first-party-plugin-switchboard.generated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../libs/aglyn/src/lib/plugin-manager/first-party-plugin-switchboard.generated.ts"],"sourcesContent":["/**\n * GENERATED FILE — do not edit. Regenerate with:\n * node tools/scripts/generate-plugin-manifests.mjs\n *\n * The part of the switchboard catalog (AGL-3080) a published page runs on\n * (AGL-4220): each row's switches without its console copy, and the small\n * declarations the published page reads. The full rows, copy included, are\n * `FIRST_PARTY_PLUGINS` in first-party-plugins.generated.ts, which\n * re-exports the rest of this file.\n */\n\nimport type { FirstPartyPluginSwitch, PluginEditBarLink, PublishedSiteImpact } from './enabled-plugins'\nimport type { FunctionBindings } from './plugin-contributions'\nimport type { AnalyticsProviderDeclaration } from '../app-utils/analytics-provider'\n\n/** Every catalog row without `description` or `siteOff`, in catalog order. */\nexport const FIRST_PARTY_PLUGIN_SWITCHES: readonly FirstPartyPluginSwitch[] = [\n {\n \"id\": \"mui\",\n \"label\": \"Components\",\n \"alwaysOn\": true\n },\n {\n \"id\": \"forms\",\n \"label\": \"Forms\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"ai\",\n \"label\": \"AI\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"theme-presets\",\n \"label\": \"Themes\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"funnels\",\n \"label\": \"Funnels\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"accounts\",\n \"label\": \"User Accounts\",\n \"releaseFlag\": \"release_member_accounts\",\n \"defaultOffPerSite\": true,\n \"requires\": [\n \"commerce\"\n ]\n },\n {\n \"id\": \"bookings\",\n \"label\": \"Bookings\",\n \"releaseFlag\": \"release_bookings\"\n },\n {\n \"id\": \"commerce\",\n \"label\": \"Commerce\",\n \"releaseFlag\": \"release_commerce_v2\"\n },\n {\n \"id\": \"marketplace\",\n \"label\": \"Marketplace\",\n \"releaseFlag\": \"release_marketplace\"\n },\n {\n \"id\": \"crm\",\n \"label\": \"CRM\",\n \"releaseFlag\": \"release_crm\"\n },\n {\n \"id\": \"outreach\",\n \"label\": \"Sequences\",\n \"releaseFlag\": \"release_outreach\"\n },\n {\n \"id\": \"data\",\n \"label\": \"Data\",\n \"releaseFlag\": \"release_data_store\"\n },\n {\n \"id\": \"email\",\n \"label\": \"Email\",\n \"releaseFlag\": \"release_email\"\n },\n {\n \"id\": \"events-calendar\",\n \"label\": \"Events Calendar\",\n \"releaseFlag\": \"release_events\"\n },\n {\n \"id\": \"inbox\",\n \"label\": \"Inbox\",\n \"releaseFlag\": \"release_inbox\"\n },\n {\n \"id\": \"logic\",\n \"label\": \"Logic\",\n \"releaseFlag\": \"release_logic\"\n },\n {\n \"id\": \"marketing\",\n \"label\": \"Marketing\",\n \"releaseFlag\": \"release_marketing\"\n },\n {\n \"id\": \"redirects\",\n \"label\": \"Redirects\",\n \"releaseFlag\": \"release_redirects\"\n },\n {\n \"id\": \"workflows\",\n \"label\": \"Automation\",\n \"releaseFlag\": \"release_workflows\"\n },\n {\n \"id\": \"accounting\",\n \"label\": \"Accounting\",\n \"releaseFlag\": \"release_accounting\"\n },\n {\n \"id\": \"shipping\",\n \"label\": \"Shipping\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"tax-engines\",\n \"label\": \"Tax services\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"sales-channels\",\n \"label\": \"Sales channels\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"marketing-platforms\",\n \"label\": \"Email platforms\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"fonts\",\n \"label\": \"Fonts\",\n \"alwaysOn\": true\n },\n {\n \"id\": \"post-purchase\",\n \"label\": \"Tracking and protection\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"fulfillment-networks\",\n \"label\": \"Fulfillment networks\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"marketplaces\",\n \"label\": \"Marketplaces\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"print-on-demand\",\n \"label\": \"Print on demand\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"inventory-sync\",\n \"label\": \"Inventory sync\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"delivery-apps\",\n \"label\": \"Delivery apps\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"loyalty\",\n \"label\": \"Rewards\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"couriers\",\n \"label\": \"Couriers\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"lightbox\",\n \"label\": \"Lightbox\",\n \"alwaysOn\": true\n },\n {\n \"id\": \"live-chat\",\n \"label\": \"Live chat\",\n \"alwaysOnForWorkspace\": true,\n \"defaultOffPerSite\": true\n },\n {\n \"id\": \"review-platforms\",\n \"label\": \"Review platforms\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"weglot\",\n \"label\": \"Weglot translation\",\n \"releaseFlag\": \"release_weglot\",\n \"defaultOffPerSite\": true\n },\n {\n \"id\": \"music\",\n \"label\": \"Music player\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"help-desks\",\n \"label\": \"Help desks\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"waivers\",\n \"label\": \"Waivers\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"ad-conversions\",\n \"label\": \"Ad conversions\",\n \"alwaysOnForWorkspace\": true\n },\n {\n \"id\": \"domains\",\n \"label\": \"Domains\",\n \"alwaysOnForWorkspace\": true\n },\n]\n\nexport const PUBLISHED_SITE_IMPACT: Readonly<Record<string, PublishedSiteImpact>> = {\n \"mui\": \"elements\",\n \"forms\": \"elements\",\n \"ai\": \"console-only\",\n \"theme-presets\": \"console-only\",\n \"funnels\": \"console-only\",\n \"accounts\": \"routes\",\n \"bookings\": \"elements\",\n \"commerce\": \"elements\",\n \"marketplace\": \"console-only\",\n \"crm\": \"console-only\",\n \"outreach\": \"console-only\",\n \"data\": \"routes\",\n \"email\": \"elements\",\n \"events-calendar\": \"elements\",\n \"inbox\": \"console-only\",\n \"logic\": \"console-only\",\n \"marketing\": \"elements\",\n \"redirects\": \"routes\",\n \"workflows\": \"routes\",\n \"accounting\": \"console-only\",\n \"shipping\": \"console-only\",\n \"tax-engines\": \"console-only\",\n \"sales-channels\": \"routes\",\n \"marketing-platforms\": \"console-only\",\n \"fonts\": \"console-only\",\n \"post-purchase\": \"console-only\",\n \"fulfillment-networks\": \"console-only\",\n \"marketplaces\": \"console-only\",\n \"print-on-demand\": \"console-only\",\n \"inventory-sync\": \"console-only\",\n \"delivery-apps\": \"console-only\",\n \"loyalty\": \"console-only\",\n \"couriers\": \"console-only\",\n \"lightbox\": \"elements\",\n \"live-chat\": \"elements\",\n \"review-platforms\": \"console-only\",\n \"weglot\": \"elements\",\n \"music\": \"elements\",\n \"help-desks\": \"console-only\",\n \"waivers\": \"elements\",\n \"ad-conversions\": \"console-only\",\n \"domains\": \"console-only\",\n}\n\n/**\n * The admin edit bar's quick links, in the order they are drawn — each\n * declared by the plugin whose console page it opens (AGL-3080).\n */\nexport const PLUGIN_EDIT_BAR_LINKS: readonly PluginEditBarLink[] = [\n {\n \"pluginId\": \"inbox\",\n \"order\": 20,\n \"label\": \"Inbox\",\n \"path\": \"/inbox\"\n },\n {\n \"pluginId\": \"commerce\",\n \"order\": 30,\n \"label\": \"Orders\",\n \"path\": \"/products/orders\"\n },\n]\n\n/**\n * The analytics settings each provider mounts a tag for, declared by the\n * plugin that adapts the vendor (AGL-3080). Empty when none does, and then no\n * setting configures a tag.\n */\nexport const ANALYTICS_PROVIDERS_DECLARED: readonly AnalyticsProviderDeclaration[] = [\n {\n \"pluginId\": \"marketing\",\n \"settings\": [\n \"gaMeasurementId\",\n \"gtmContainerId\"\n ]\n },\n]\n\n/**\n * Every first-party element that runs a site function, and the prop naming\n * it, declared by that element's plugin (AGL-3393). Core names no element.\n */\nexport const FIRST_PARTY_FUNCTION_BINDINGS: FunctionBindings = {}\n"],"names":["FIRST_PARTY_PLUGIN_SWITCHES","PUBLISHED_SITE_IMPACT","PLUGIN_EDIT_BAR_LINKS","ANALYTICS_PROVIDERS_DECLARED","FIRST_PARTY_FUNCTION_BINDINGS"],"mappings":"AAAA;;;;;;;;;CASC,GAMD,4EAA4E,GAC5E,OAAO,MAAMA,8BAAiE;IAC5E;QACE,MAAM;QACN,SAAS;QACT,YAAY;IACd;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;QACf,qBAAqB;QACrB,YAAY;YACV;SACD;IACH;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;IACjB;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,YAAY;IACd;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,YAAY;IACd;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;QACxB,qBAAqB;IACvB;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,eAAe;QACf,qBAAqB;IACvB;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;IACA;QACE,MAAM;QACN,SAAS;QACT,wBAAwB;IAC1B;CACD,CAAA;AAED,OAAO,MAAMC,wBAAuE;IAClF,OAAO;IACP,SAAS;IACT,MAAM;IACN,iBAAiB;IACjB,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,OAAO;IACP,YAAY;IACZ,QAAQ;IACR,SAAS;IACT,mBAAmB;IACnB,SAAS;IACT,SAAS;IACT,aAAa;IACb,aAAa;IACb,aAAa;IACb,cAAc;IACd,YAAY;IACZ,eAAe;IACf,kBAAkB;IAClB,uBAAuB;IACvB,SAAS;IACT,iBAAiB;IACjB,wBAAwB;IACxB,gBAAgB;IAChB,mBAAmB;IACnB,kBAAkB;IAClB,iBAAiB;IACjB,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,oBAAoB;IACpB,UAAU;IACV,SAAS;IACT,cAAc;IACd,WAAW;IACX,kBAAkB;IAClB,WAAW;AACb,EAAC;AAED;;;CAGC,GACD,OAAO,MAAMC,wBAAsD;IACjE;QACE,YAAY;QACZ,SAAS;QACT,SAAS;QACT,QAAQ;IACV;IACA;QACE,YAAY;QACZ,SAAS;QACT,SAAS;QACT,QAAQ;IACV;CACD,CAAA;AAED;;;;CAIC,GACD,OAAO,MAAMC,+BAAwE;IACnF;QACE,YAAY;QACZ,YAAY;YACV;YACA;SACD;IACH;CACD,CAAA;AAED;;;CAGC,GACD,OAAO,MAAMC,gCAAkD,CAAC,EAAC"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* declared by its own `catalog` block in plugins.config.json. The core holds
|
|
7
7
|
* the types and the resolvers in `enabled-plugins.ts`; it holds no row.
|
|
8
8
|
*/
|
|
9
|
-
import type { FirstPartyPlugin
|
|
9
|
+
import type { FirstPartyPlugin } from './enabled-plugins';
|
|
10
10
|
import type { ResolvedPluginHostCollection, ResolvedPluginOrgCollection } from './plugin-host-collections';
|
|
11
11
|
import type { ResolvedPluginSitemapSection } from './plugin-sitemap-sections';
|
|
12
12
|
import type { ResolvedPluginSitemapReaderDeclaration } from './plugin-sitemap-readers';
|
|
@@ -18,7 +18,6 @@ import type { ResolvedPluginRecordPage } from './plugin-record-pages';
|
|
|
18
18
|
import type { ResolvedVisitorDoor } from './plugin-visitor-doors';
|
|
19
19
|
import type { ResolvedPluginCostAxis, ResolvedPluginSpendLine, ResolvedPluginUsageBand, ResolvedPluginUsageMeter } from './plugin-usage-axes';
|
|
20
20
|
import type { ResolvedPluginPlanFeature, ResolvedPluginPlanQuota } from './plugin-plan-entitlements';
|
|
21
|
-
import type { FunctionBindings } from './plugin-contributions';
|
|
22
21
|
import type { PluginDistribution } from './plugin-distribution';
|
|
23
22
|
import type { RepeatSourceDeclaration } from './repeat-rows';
|
|
24
23
|
import type { PluginTemplateSource } from './plugin-template-sources';
|
|
@@ -28,18 +27,11 @@ import type { ResolvedBesignerDocument } from './besigner-documents';
|
|
|
28
27
|
import type { PluginHostKeyedCollection } from './plugin-site-resources';
|
|
29
28
|
import type { PluginOrgKeyedCollection } from './plugin-org-erasure';
|
|
30
29
|
import type { PluginSiteCspDeclaration } from './plugin-site-csp';
|
|
31
|
-
import type { AnalyticsProviderDeclaration } from '../app-utils/analytics-provider';
|
|
32
|
-
import type { InteractionStepDeclaration } from '../app-utils/site-interactions';
|
|
33
30
|
import type { ServerStepDeclaration } from './plugin-server-steps';
|
|
34
|
-
import type { InteractionRecipeDeclaration } from './interaction-recipes';
|
|
35
31
|
import type { NotificationCategoryDeclaration, NotificationDigestDeclaration } from '../app-utils/notifications';
|
|
32
|
+
export { ANALYTICS_PROVIDERS_DECLARED, FIRST_PARTY_FUNCTION_BINDINGS, PLUGIN_EDIT_BAR_LINKS, PUBLISHED_SITE_IMPACT, } from './first-party-plugin-switchboard.generated';
|
|
33
|
+
export { PLUGIN_INTERACTION_RECIPES_DECLARED, PLUGIN_INTERACTION_STEPS_DECLARED, } from './first-party-plugin-interactions.generated';
|
|
36
34
|
export declare const FIRST_PARTY_PLUGINS: readonly FirstPartyPlugin[];
|
|
37
|
-
export declare const PUBLISHED_SITE_IMPACT: Readonly<Record<string, PublishedSiteImpact>>;
|
|
38
|
-
/**
|
|
39
|
-
* The admin edit bar's quick links, in the order they are drawn — each
|
|
40
|
-
* declared by the plugin whose console page it opens (AGL-3080).
|
|
41
|
-
*/
|
|
42
|
-
export declare const PLUGIN_EDIT_BAR_LINKS: readonly PluginEditBarLink[];
|
|
43
35
|
/**
|
|
44
36
|
* Every host subcollection a first-party plugin owns, declared by that plugin
|
|
45
37
|
* (AGL-3080). Core's readers ask this list; core names no collection.
|
|
@@ -197,33 +189,11 @@ export declare const PLUGIN_ARTIFACT_TYPES_DECLARED: readonly ArtifactTypeDeclar
|
|
|
197
189
|
* Core names no installer.
|
|
198
190
|
*/
|
|
199
191
|
export declare const PLUGIN_TEMPLATE_SOURCES: readonly PluginTemplateSource[];
|
|
200
|
-
/**
|
|
201
|
-
* The analytics settings each provider mounts a tag for, declared by the
|
|
202
|
-
* plugin that adapts the vendor (AGL-3080). Empty when none does, and then no
|
|
203
|
-
* setting configures a tag.
|
|
204
|
-
*/
|
|
205
|
-
export declare const ANALYTICS_PROVIDERS_DECLARED: readonly AnalyticsProviderDeclaration[];
|
|
206
|
-
/**
|
|
207
|
-
* Every interaction step a first-party plugin offers in the interaction
|
|
208
|
-
* builder, declared by that plugin (AGL-3080). Core names no plugin step.
|
|
209
|
-
*/
|
|
210
|
-
export declare const PLUGIN_INTERACTION_STEPS_DECLARED: readonly InteractionStepDeclaration[];
|
|
211
192
|
/**
|
|
212
193
|
* Every server step a first-party plugin runs for the automation engine,
|
|
213
194
|
* declared by that plugin (AGL-3080). Core names no plugin step.
|
|
214
195
|
*/
|
|
215
196
|
export declare const PLUGIN_SERVER_STEPS_DECLARED: readonly ServerStepDeclaration[];
|
|
216
|
-
/**
|
|
217
|
-
* Every ready-to-edit interaction a first-party plugin offers, by the id a
|
|
218
|
-
* stored interaction's stamp names it with, declared by that plugin
|
|
219
|
-
* (AGL-3080). Core names no recipe.
|
|
220
|
-
*/
|
|
221
|
-
export declare const PLUGIN_INTERACTION_RECIPES_DECLARED: readonly InteractionRecipeDeclaration[];
|
|
222
|
-
/**
|
|
223
|
-
* Every first-party element that runs a site function, and the prop naming
|
|
224
|
-
* it, declared by that element's plugin (AGL-3393). Core names no element.
|
|
225
|
-
*/
|
|
226
|
-
export declare const FIRST_PARTY_FUNCTION_BINDINGS: FunctionBindings;
|
|
227
197
|
/**
|
|
228
198
|
* What each plugin's site feature needs the published page's policy to
|
|
229
199
|
* admit, by the value of one of its site settings (AGL-3698). Core names no
|