@luminocity/lemonate-gateway 8.2.28 → 8.2.29

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 CHANGED
@@ -785,12 +785,14 @@ declare class Block extends Snapshotable {
785
785
  isSelected: boolean;
786
786
  isExpanded: boolean;
787
787
  scripts: Script[];
788
+ subNodeId: string | undefined;
788
789
  inputs: any[];
789
790
  outputs: any[];
790
791
  posX: number;
791
792
  posY: number;
792
793
  constructor(id?: string | Snapshot | undefined, parent?: Block | undefined, type?: string | undefined, name?: string | undefined, displayName?: string | undefined, item?: PreparedItem | undefined);
793
794
  getId(): string;
795
+ setSubNodeId(id: string | undefined): void;
794
796
  getPositionInParent(): number;
795
797
  refreshFieldDependencies(): void;
796
798
  resetFieldValues(withChildren?: boolean): void;
@@ -4218,7 +4220,7 @@ declare class ItemRepo {
4218
4220
  copyScripts(oldBlock: Block, newBlock: Block, deferInitCall?: boolean): Script[];
4219
4221
  updateScriptFieldReferences(oldBlock: Block, newBlock: Block): void;
4220
4222
  updateScriptFieldReferencesFromMap(nodeFieldMap: Map<string, string>, block: Block): void;
4221
- createNewBlock(templateEntry: TemplateEntry, parent: Block, ownerItem: PreparedItem): Promise<Block>;
4223
+ createNewBlock(templateEntry: TemplateEntry, parent: Block, ownerItem: PreparedItem, subNodeId?: string): Promise<Block>;
4222
4224
  addBlockToParent(block: Block, parent: Block, item: PreparedItem): Block;
4223
4225
  createNewListEntry(templateEntry: TemplateEntry, field: Field, ownerItem: PreparedItem): Promise<any>;
4224
4226
  createNewGraphNode(templateEntry: TemplateEntry, graph: Field, x: number, y: number, ownerItem: PreparedItem): Promise<Block>;