@oneclick.dev/cms-kit 0.0.7 → 0.0.8
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.cjs.js +1 -1
- package/dist/index.es.js +4 -0
- package/dist/types/lib/injections.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -77581,6 +77581,9 @@ function getCmsKitDependency(name2) {
|
|
|
77581
77581
|
}
|
|
77582
77582
|
return dep;
|
|
77583
77583
|
}
|
|
77584
|
+
function setCmsKitDependency(name2, loader) {
|
|
77585
|
+
dependencyMap[name2] = loader;
|
|
77586
|
+
}
|
|
77584
77587
|
function useIntegrationActionBuilder() {
|
|
77585
77588
|
const injected = getCmsKitDependency("useIntegrationActionBuilder");
|
|
77586
77589
|
if (!injected) {
|
|
@@ -142310,6 +142313,7 @@ for (const mod of Object.values(modules)) {
|
|
|
142310
142313
|
export {
|
|
142311
142314
|
components,
|
|
142312
142315
|
getCmsKitDependency,
|
|
142316
|
+
setCmsKitDependency,
|
|
142313
142317
|
useCms,
|
|
142314
142318
|
useIntegrationActionBuilder,
|
|
142315
142319
|
useIntegrationActions$1 as useIntegrationActions,
|
|
@@ -4,4 +4,5 @@ declare const dependencyMap: {
|
|
|
4
4
|
useIntegrationActions: () => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActions>;
|
|
5
5
|
};
|
|
6
6
|
export declare function getCmsKitDependency(name: keyof typeof dependencyMap): (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActionBuilder>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrations>) | (() => Promise<typeof import('../types/virtual-cms.d.ts').useIntegrationActions>);
|
|
7
|
+
export declare function setCmsKitDependency(name: keyof typeof dependencyMap, loader: () => Promise<any>): void;
|
|
7
8
|
export {};
|