@arronqzy/blueprint-dsl 1.0.10 → 1.0.11
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 +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -923,6 +923,16 @@ function executeStorageConfig(config, incomingScope, accessors) {
|
|
|
923
923
|
);
|
|
924
924
|
}
|
|
925
925
|
|
|
926
|
+
// src/app-namespace.ts
|
|
927
|
+
function normalizeAppNameSpace(value) {
|
|
928
|
+
return (value ?? "").trim();
|
|
929
|
+
}
|
|
930
|
+
function appStorageKey(base, nameSpace) {
|
|
931
|
+
const ns = normalizeAppNameSpace(nameSpace);
|
|
932
|
+
if (!ns) return base;
|
|
933
|
+
return `${base}__${ns.slice(0, 120)}`;
|
|
934
|
+
}
|
|
935
|
+
|
|
926
936
|
// src/logic-config.ts
|
|
927
937
|
var DEFAULT_LOGIC_NODE_CONFIG = {
|
|
928
938
|
sourceCode: `function update(input) {
|
|
@@ -2783,6 +2793,7 @@ exports.VIEW_NODE_TYPE = VIEW_NODE_TYPE;
|
|
|
2783
2793
|
exports.abortClockNode = abortClockNode;
|
|
2784
2794
|
exports.abortClockSession = abortClockSession;
|
|
2785
2795
|
exports.andLogicNodeDefinition = andLogicNodeDefinition;
|
|
2796
|
+
exports.appStorageKey = appStorageKey;
|
|
2786
2797
|
exports.applyFetchConfigScope = applyFetchConfigScope;
|
|
2787
2798
|
exports.applyScopeAutocompleteSelection = applyScopeAutocompleteSelection;
|
|
2788
2799
|
exports.assertNoBlueprintReferenceCycle = assertNoBlueprintReferenceCycle;
|
|
@@ -2846,6 +2857,7 @@ exports.latestTraceOutputsByNode = latestTraceOutputsByNode;
|
|
|
2846
2857
|
exports.lifecycleNodeDefinition = lifecycleNodeDefinition;
|
|
2847
2858
|
exports.looksLikeJsonText = looksLikeJsonText;
|
|
2848
2859
|
exports.nodeDefinitionRegistry = nodeDefinitionRegistry;
|
|
2860
|
+
exports.normalizeAppNameSpace = normalizeAppNameSpace;
|
|
2849
2861
|
exports.normalizeClockConfig = normalizeClockConfig;
|
|
2850
2862
|
exports.normalizeFetchRequestConfig = normalizeFetchRequestConfig;
|
|
2851
2863
|
exports.normalizeStorageConfig = normalizeStorageConfig;
|