@luminocity/lemonate-gateway 8.2.29 → 8.2.30
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.d.ts +2 -2
- package/dist/lemonate-gateway.cjs.js +2 -2
- package/dist/lemonate-gateway.cjs.js.map +1 -1
- package/dist/lemonate-gateway.esm.js +2 -2
- package/dist/lemonate-gateway.esm.js.map +1 -1
- package/dist/lemonate-gateway.umd.js +2 -2
- package/dist/lemonate-gateway.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -765,7 +765,7 @@ declare class Script extends Snapshotable {
|
|
|
765
765
|
getId(): string | undefined;
|
|
766
766
|
makeIdsUnique(map: Map<string, string>, force?: boolean): void;
|
|
767
767
|
transformNodeIds(map: Map<string, string>): void;
|
|
768
|
-
clone(cloneIdMapping?: Map<string, string>): Script;
|
|
768
|
+
clone(cloneIdMapping?: Map<string, string>, props?: Record<string, any>): Script;
|
|
769
769
|
createFieldsFromDefinition(fieldDefArray?: any[]): void;
|
|
770
770
|
clearFieldTypes(): void;
|
|
771
771
|
addField(scriptField: ScriptField): void;
|
|
@@ -4217,7 +4217,7 @@ declare class ItemRepo {
|
|
|
4217
4217
|
clear(): void;
|
|
4218
4218
|
removeBlock(block: Block, parent: any): void;
|
|
4219
4219
|
traverseBlockPairs(b1: Block, b2: Block, func: Function): void;
|
|
4220
|
-
copyScripts(oldBlock: Block, newBlock: Block, deferInitCall?: boolean): Script[];
|
|
4220
|
+
copyScripts(oldBlock: Block, newBlock: Block, deferInitCall?: boolean, props?: Record<string, any>): Script[];
|
|
4221
4221
|
updateScriptFieldReferences(oldBlock: Block, newBlock: Block): void;
|
|
4222
4222
|
updateScriptFieldReferencesFromMap(nodeFieldMap: Map<string, string>, block: Block): void;
|
|
4223
4223
|
createNewBlock(templateEntry: TemplateEntry, parent: Block, ownerItem: PreparedItem, subNodeId?: string): Promise<Block>;
|