@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
|
@@ -5,7 +5,12 @@
|
|
|
5
5
|
* The switchboard catalog (AGL-3080): one row per plugin and capability, each
|
|
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
|
+
*/ // The every-page part of the catalog and the site interactions' part
|
|
9
|
+
// (AGL-4220), re-exported so this file's importers are unchanged. See
|
|
10
|
+
// first-party-plugin-switchboard.generated.ts.
|
|
11
|
+
export { ANALYTICS_PROVIDERS_DECLARED, FIRST_PARTY_FUNCTION_BINDINGS, PLUGIN_EDIT_BAR_LINKS, PUBLISHED_SITE_IMPACT } from "./first-party-plugin-switchboard.generated.js";
|
|
12
|
+
export { PLUGIN_INTERACTION_RECIPES_DECLARED, PLUGIN_INTERACTION_STEPS_DECLARED } from "./first-party-plugin-interactions.generated.js";
|
|
13
|
+
export const FIRST_PARTY_PLUGINS = [
|
|
9
14
|
{
|
|
10
15
|
"id": "mui",
|
|
11
16
|
"label": "Components",
|
|
@@ -366,67 +371,6 @@
|
|
|
366
371
|
}
|
|
367
372
|
}
|
|
368
373
|
];
|
|
369
|
-
export const PUBLISHED_SITE_IMPACT = {
|
|
370
|
-
"mui": "elements",
|
|
371
|
-
"forms": "elements",
|
|
372
|
-
"ai": "console-only",
|
|
373
|
-
"theme-presets": "console-only",
|
|
374
|
-
"funnels": "console-only",
|
|
375
|
-
"accounts": "routes",
|
|
376
|
-
"bookings": "elements",
|
|
377
|
-
"commerce": "elements",
|
|
378
|
-
"marketplace": "console-only",
|
|
379
|
-
"crm": "console-only",
|
|
380
|
-
"outreach": "console-only",
|
|
381
|
-
"data": "routes",
|
|
382
|
-
"email": "elements",
|
|
383
|
-
"events-calendar": "elements",
|
|
384
|
-
"inbox": "console-only",
|
|
385
|
-
"logic": "console-only",
|
|
386
|
-
"marketing": "elements",
|
|
387
|
-
"redirects": "routes",
|
|
388
|
-
"workflows": "routes",
|
|
389
|
-
"accounting": "console-only",
|
|
390
|
-
"shipping": "console-only",
|
|
391
|
-
"tax-engines": "console-only",
|
|
392
|
-
"sales-channels": "routes",
|
|
393
|
-
"marketing-platforms": "console-only",
|
|
394
|
-
"fonts": "console-only",
|
|
395
|
-
"post-purchase": "console-only",
|
|
396
|
-
"fulfillment-networks": "console-only",
|
|
397
|
-
"marketplaces": "console-only",
|
|
398
|
-
"print-on-demand": "console-only",
|
|
399
|
-
"inventory-sync": "console-only",
|
|
400
|
-
"delivery-apps": "console-only",
|
|
401
|
-
"loyalty": "console-only",
|
|
402
|
-
"couriers": "console-only",
|
|
403
|
-
"lightbox": "elements",
|
|
404
|
-
"live-chat": "elements",
|
|
405
|
-
"review-platforms": "console-only",
|
|
406
|
-
"weglot": "elements",
|
|
407
|
-
"music": "elements",
|
|
408
|
-
"help-desks": "console-only",
|
|
409
|
-
"waivers": "elements",
|
|
410
|
-
"ad-conversions": "console-only",
|
|
411
|
-
"domains": "console-only"
|
|
412
|
-
};
|
|
413
|
-
/**
|
|
414
|
-
* The admin edit bar's quick links, in the order they are drawn — each
|
|
415
|
-
* declared by the plugin whose console page it opens (AGL-3080).
|
|
416
|
-
*/ export const PLUGIN_EDIT_BAR_LINKS = [
|
|
417
|
-
{
|
|
418
|
-
"pluginId": "inbox",
|
|
419
|
-
"order": 20,
|
|
420
|
-
"label": "Inbox",
|
|
421
|
-
"path": "/inbox"
|
|
422
|
-
},
|
|
423
|
-
{
|
|
424
|
-
"pluginId": "commerce",
|
|
425
|
-
"order": 30,
|
|
426
|
-
"label": "Orders",
|
|
427
|
-
"path": "/products/orders"
|
|
428
|
-
}
|
|
429
|
-
];
|
|
430
374
|
/**
|
|
431
375
|
* Every host subcollection a first-party plugin owns, declared by that plugin
|
|
432
376
|
* (AGL-3080). Core's readers ask this list; core names no collection.
|
|
@@ -2706,229 +2650,6 @@ export const PUBLISHED_SITE_IMPACT = {
|
|
|
2706
2650
|
"description": "Installed from the marketplace"
|
|
2707
2651
|
}
|
|
2708
2652
|
];
|
|
2709
|
-
/**
|
|
2710
|
-
* The analytics settings each provider mounts a tag for, declared by the
|
|
2711
|
-
* plugin that adapts the vendor (AGL-3080). Empty when none does, and then no
|
|
2712
|
-
* setting configures a tag.
|
|
2713
|
-
*/ export const ANALYTICS_PROVIDERS_DECLARED = [
|
|
2714
|
-
{
|
|
2715
|
-
"pluginId": "marketing",
|
|
2716
|
-
"settings": [
|
|
2717
|
-
"gaMeasurementId",
|
|
2718
|
-
"gtmContainerId"
|
|
2719
|
-
]
|
|
2720
|
-
}
|
|
2721
|
-
];
|
|
2722
|
-
/**
|
|
2723
|
-
* Every interaction step a first-party plugin offers in the interaction
|
|
2724
|
-
* builder, declared by that plugin (AGL-3080). Core names no plugin step.
|
|
2725
|
-
*/ export const PLUGIN_INTERACTION_STEPS_DECLARED = [
|
|
2726
|
-
{
|
|
2727
|
-
"pluginId": "crm",
|
|
2728
|
-
"type": "setContactStage",
|
|
2729
|
-
"label": "Set the contact’s lifecycle stage",
|
|
2730
|
-
"offered": false
|
|
2731
|
-
},
|
|
2732
|
-
{
|
|
2733
|
-
"pluginId": "crm",
|
|
2734
|
-
"type": "addContactTag",
|
|
2735
|
-
"label": "Tag the contact",
|
|
2736
|
-
"offered": false,
|
|
2737
|
-
"typedFields": [
|
|
2738
|
-
{
|
|
2739
|
-
"key": "tag",
|
|
2740
|
-
"names": "the tag"
|
|
2741
|
-
}
|
|
2742
|
-
]
|
|
2743
|
-
},
|
|
2744
|
-
{
|
|
2745
|
-
"pluginId": "crm",
|
|
2746
|
-
"type": "assignContactOwner",
|
|
2747
|
-
"label": "Assign the contact an owner",
|
|
2748
|
-
"offered": false
|
|
2749
|
-
},
|
|
2750
|
-
{
|
|
2751
|
-
"pluginId": "crm",
|
|
2752
|
-
"type": "createCrmTask",
|
|
2753
|
-
"label": "Create a CRM task",
|
|
2754
|
-
"offered": false,
|
|
2755
|
-
"typedFields": [
|
|
2756
|
-
{
|
|
2757
|
-
"key": "title",
|
|
2758
|
-
"names": "the title"
|
|
2759
|
-
}
|
|
2760
|
-
]
|
|
2761
|
-
},
|
|
2762
|
-
{
|
|
2763
|
-
"pluginId": "crm",
|
|
2764
|
-
"type": "logCrmActivity",
|
|
2765
|
-
"label": "Log a CRM activity",
|
|
2766
|
-
"offered": false,
|
|
2767
|
-
"typedFields": [
|
|
2768
|
-
{
|
|
2769
|
-
"key": "body",
|
|
2770
|
-
"names": "the text"
|
|
2771
|
-
}
|
|
2772
|
-
]
|
|
2773
|
-
},
|
|
2774
|
-
{
|
|
2775
|
-
"pluginId": "data",
|
|
2776
|
-
"type": "datasetAppend",
|
|
2777
|
-
"label": "Write to a dataset",
|
|
2778
|
-
"offered": false,
|
|
2779
|
-
"typedFields": [
|
|
2780
|
-
{
|
|
2781
|
-
"key": "datasetName",
|
|
2782
|
-
"names": "the dataset"
|
|
2783
|
-
}
|
|
2784
|
-
]
|
|
2785
|
-
},
|
|
2786
|
-
{
|
|
2787
|
-
"pluginId": "data",
|
|
2788
|
-
"type": "updateDataset",
|
|
2789
|
-
"label": "Update a dataset record",
|
|
2790
|
-
"offered": false,
|
|
2791
|
-
"typedFields": [
|
|
2792
|
-
{
|
|
2793
|
-
"key": "datasetName",
|
|
2794
|
-
"names": "the dataset"
|
|
2795
|
-
}
|
|
2796
|
-
]
|
|
2797
|
-
},
|
|
2798
|
-
{
|
|
2799
|
-
"pluginId": "marketing",
|
|
2800
|
-
"type": "showOverlay",
|
|
2801
|
-
"label": "Open an overlay",
|
|
2802
|
-
"picks": {
|
|
2803
|
-
"collection": "overlays",
|
|
2804
|
-
"limit": 50,
|
|
2805
|
-
"idField": "overlayId",
|
|
2806
|
-
"nameField": "overlayName",
|
|
2807
|
-
"label": "Overlay",
|
|
2808
|
-
"missing": "pick an overlay"
|
|
2809
|
-
}
|
|
2810
|
-
},
|
|
2811
|
-
{
|
|
2812
|
-
"pluginId": "workflows",
|
|
2813
|
-
"type": "runWorkflow",
|
|
2814
|
-
"label": "Run a workflow",
|
|
2815
|
-
"typedFields": [
|
|
2816
|
-
{
|
|
2817
|
-
"key": "workflowName",
|
|
2818
|
-
"names": "the workflow"
|
|
2819
|
-
}
|
|
2820
|
-
],
|
|
2821
|
-
"picks": {
|
|
2822
|
-
"collection": "workflows",
|
|
2823
|
-
"limit": 100,
|
|
2824
|
-
"idField": "workflowId",
|
|
2825
|
-
"nameField": "workflowName",
|
|
2826
|
-
"label": "Workflow",
|
|
2827
|
-
"missing": "pick a workflow"
|
|
2828
|
-
}
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"pluginId": "workflows",
|
|
2832
|
-
"type": "customEvent",
|
|
2833
|
-
"label": "Fire a custom event",
|
|
2834
|
-
"offered": false
|
|
2835
|
-
},
|
|
2836
|
-
{
|
|
2837
|
-
"pluginId": "workflows",
|
|
2838
|
-
"type": "webhookPost",
|
|
2839
|
-
"label": "Send a webhook (Pro)",
|
|
2840
|
-
"offered": false,
|
|
2841
|
-
"typedFields": [
|
|
2842
|
-
{
|
|
2843
|
-
"key": "webhookName",
|
|
2844
|
-
"names": "the webhook"
|
|
2845
|
-
}
|
|
2846
|
-
]
|
|
2847
|
-
},
|
|
2848
|
-
{
|
|
2849
|
-
"pluginId": "workflows",
|
|
2850
|
-
"type": "sendEmail",
|
|
2851
|
-
"label": "Send an email",
|
|
2852
|
-
"offered": false,
|
|
2853
|
-
"typedFields": [
|
|
2854
|
-
{
|
|
2855
|
-
"key": "subject",
|
|
2856
|
-
"names": "the subject"
|
|
2857
|
-
},
|
|
2858
|
-
{
|
|
2859
|
-
"key": "body",
|
|
2860
|
-
"names": "the text"
|
|
2861
|
-
}
|
|
2862
|
-
]
|
|
2863
|
-
},
|
|
2864
|
-
{
|
|
2865
|
-
"pluginId": "workflows",
|
|
2866
|
-
"type": "notifyAdmins",
|
|
2867
|
-
"label": "Notify site admins",
|
|
2868
|
-
"offered": false,
|
|
2869
|
-
"typedFields": [
|
|
2870
|
-
{
|
|
2871
|
-
"key": "title",
|
|
2872
|
-
"names": "the title"
|
|
2873
|
-
},
|
|
2874
|
-
{
|
|
2875
|
-
"key": "body",
|
|
2876
|
-
"names": "the text"
|
|
2877
|
-
}
|
|
2878
|
-
]
|
|
2879
|
-
},
|
|
2880
|
-
{
|
|
2881
|
-
"pluginId": "workflows",
|
|
2882
|
-
"type": "enrollList",
|
|
2883
|
-
"label": "Enroll in a list",
|
|
2884
|
-
"offered": false,
|
|
2885
|
-
"typedFields": [
|
|
2886
|
-
{
|
|
2887
|
-
"key": "listName",
|
|
2888
|
-
"names": "the list"
|
|
2889
|
-
}
|
|
2890
|
-
]
|
|
2891
|
-
},
|
|
2892
|
-
{
|
|
2893
|
-
"pluginId": "workflows",
|
|
2894
|
-
"type": "assignCampaign",
|
|
2895
|
-
"label": "Assign to a campaign",
|
|
2896
|
-
"offered": false,
|
|
2897
|
-
"typedFields": [
|
|
2898
|
-
{
|
|
2899
|
-
"key": "campaignName",
|
|
2900
|
-
"names": "the campaign"
|
|
2901
|
-
}
|
|
2902
|
-
]
|
|
2903
|
-
},
|
|
2904
|
-
{
|
|
2905
|
-
"pluginId": "workflows",
|
|
2906
|
-
"type": "wait",
|
|
2907
|
-
"label": "Wait",
|
|
2908
|
-
"offered": false,
|
|
2909
|
-
"holds": {
|
|
2910
|
-
"minMinutes": 1,
|
|
2911
|
-
"maxMinutes": 129600
|
|
2912
|
-
}
|
|
2913
|
-
},
|
|
2914
|
-
{
|
|
2915
|
-
"pluginId": "workflows",
|
|
2916
|
-
"type": "waitForEvent",
|
|
2917
|
-
"label": "Wait for something to happen",
|
|
2918
|
-
"offered": false,
|
|
2919
|
-
"holds": {
|
|
2920
|
-
"minMinutes": 1,
|
|
2921
|
-
"maxMinutes": 129600,
|
|
2922
|
-
"timeoutField": "_waitTimedOut"
|
|
2923
|
-
}
|
|
2924
|
-
},
|
|
2925
|
-
{
|
|
2926
|
-
"pluginId": "workflows",
|
|
2927
|
-
"type": "exitFlow",
|
|
2928
|
-
"label": "End the flow here",
|
|
2929
|
-
"offered": false
|
|
2930
|
-
}
|
|
2931
|
-
];
|
|
2932
2653
|
/**
|
|
2933
2654
|
* Every server step a first-party plugin runs for the automation engine,
|
|
2934
2655
|
* declared by that plugin (AGL-3080). Core names no plugin step.
|
|
@@ -2962,32 +2683,6 @@ export const PUBLISHED_SITE_IMPACT = {
|
|
|
2962
2683
|
"type": "updateDataset"
|
|
2963
2684
|
}
|
|
2964
2685
|
];
|
|
2965
|
-
/**
|
|
2966
|
-
* Every ready-to-edit interaction a first-party plugin offers, by the id a
|
|
2967
|
-
* stored interaction's stamp names it with, declared by that plugin
|
|
2968
|
-
* (AGL-3080). Core names no recipe.
|
|
2969
|
-
*/ export const PLUGIN_INTERACTION_RECIPES_DECLARED = [
|
|
2970
|
-
{
|
|
2971
|
-
"pluginId": "crm",
|
|
2972
|
-
"id": "welcomeNewLead"
|
|
2973
|
-
},
|
|
2974
|
-
{
|
|
2975
|
-
"pluginId": "crm",
|
|
2976
|
-
"id": "followUpWonDeal"
|
|
2977
|
-
},
|
|
2978
|
-
{
|
|
2979
|
-
"pluginId": "crm",
|
|
2980
|
-
"id": "reengageStaleLead"
|
|
2981
|
-
},
|
|
2982
|
-
{
|
|
2983
|
-
"pluginId": "crm",
|
|
2984
|
-
"id": "tagByForm"
|
|
2985
|
-
}
|
|
2986
|
-
];
|
|
2987
|
-
/**
|
|
2988
|
-
* Every first-party element that runs a site function, and the prop naming
|
|
2989
|
-
* it, declared by that element's plugin (AGL-3393). Core names no element.
|
|
2990
|
-
*/ export const FIRST_PARTY_FUNCTION_BINDINGS = {};
|
|
2991
2686
|
/**
|
|
2992
2687
|
* What each plugin's site feature needs the published page's policy to
|
|
2993
2688
|
* admit, by the value of one of its site settings (AGL-3698). Core names no
|