@aglyn/aglyn 1.20.0 → 1.20.2

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.
@@ -25,6 +25,7 @@ import type { PluginTemplateSource } from './plugin-template-sources';
25
25
  import type { FormRecordTargetDeclaration } from './submission-record-target';
26
26
  import type { ArtifactTypeDeclaration } from './plugin-artifact-types';
27
27
  import type { ResolvedBesignerDocument } from './besigner-documents';
28
+ import type { PluginHostKeyedCollection } from './plugin-site-resources';
28
29
  import type { PluginOrgKeyedCollection } from './plugin-org-erasure';
29
30
  import type { PluginSiteCspDeclaration } from './plugin-site-csp';
30
31
  import type { AnalyticsProviderDeclaration } from '../app-utils/analytics-provider';
@@ -128,6 +129,11 @@ export declare const PLUGIN_USAGE_METERS_DECLARED: readonly ResolvedPluginUsageM
128
129
  * naming the organization, declared by the plugin that owns it (AGL-3080).
129
130
  */
130
131
  export declare const PLUGIN_ORG_KEYED_COLLECTIONS: readonly PluginOrgKeyedCollection[];
132
+ /**
133
+ * Every top-level plugin collection a site delete sweeps by the field naming
134
+ * the site, declared by the plugin that owns it (AGL-4214).
135
+ */
136
+ export declare const PLUGIN_HOST_KEYED_COLLECTIONS: readonly PluginHostKeyedCollection[];
131
137
  /**
132
138
  * The plugins whose org eraser a workspace erasure may not run without
133
139
  * (AGL-3080): each holds a record the erasure promises to destroy.
@@ -2581,6 +2581,26 @@ export const PUBLISHED_SITE_IMPACT = {
2581
2581
  "orgField": "orgId"
2582
2582
  }
2583
2583
  ];
2584
+ /**
2585
+ * Every top-level plugin collection a site delete sweeps by the field naming
2586
+ * the site, declared by the plugin that owns it (AGL-4214).
2587
+ */ export const PLUGIN_HOST_KEYED_COLLECTIONS = [
2588
+ {
2589
+ "pluginId": "commerce",
2590
+ "name": "posDisplayStates",
2591
+ "siteField": "hostId"
2592
+ },
2593
+ {
2594
+ "pluginId": "commerce",
2595
+ "name": "posDisplayPairings",
2596
+ "siteField": "hostId"
2597
+ },
2598
+ {
2599
+ "pluginId": "commerce",
2600
+ "name": "posDisplayTokens",
2601
+ "siteField": "hostId"
2602
+ }
2603
+ ];
2584
2604
  /**
2585
2605
  * The plugins whose org eraser a workspace erasure may not run without
2586
2606
  * (AGL-3080): each holds a record the erasure promises to destroy.