@elyx-code/project-logic-tree 0.0.6815 → 0.0.6817

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.
Files changed (4) hide show
  1. package/dist/index.cjs +178 -178
  2. package/dist/index.d.ts +113 -37
  3. package/dist/index.js +31833 -31565
  4. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -339,7 +339,7 @@ declare enum AggregationStatementType {
339
339
  Natural = "natural"
340
340
  }
341
341
 
342
- export declare const AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION = "To establish a connection of a reader and writter value during the generation process you can use the 'connect_values' generation action, like so:\n```json\n{\n\t\"connect_values\": {\n\t\t\"writerEntityId\": \"writer-entity-id\"; // Id of the entity that will give the value\n \"readerEntityId\": \"reader-entity-id\"; // Id of the entity that will receive the value\n\t}\n}\n```\nYou can use the 'disconnect_values' generation action to remove the connection between two value holding entities in the same way.";
342
+ export declare const AI_VALUE_CONNECTION_GENERATION_ACTION_EXPLANATION = "To establish a connection of a reader and writer value during the generation process you can use the 'connect_values' generation action, like so:\n```json\n{\n\t\"connect_values\": {\n\t\t\"writerEntityId\": \"writer-entity-id\"; // Id of the entity that will give the value\n \"readerEntityId\": \"reader-entity-id\"; // Id of the entity that will receive the value\n\t}\n}\n```\nYou can use the 'disconnect_values' generation action to remove the connection between two value holding entities in the same way.";
343
343
 
344
344
  export declare const airtableAuthExternalConnectionBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
345
345
 
@@ -412,6 +412,21 @@ export declare type AnyEncoding = UtfEncoding | BinEncoding;
412
412
 
413
413
  export declare function appendToList(list: unknown, value: unknown, ...values: unknown[]): any[];
414
414
 
415
+ /**
416
+ * Based what ultimately was connected ('sourceEntity', 'targetEntity' and 'connectionType'),
417
+ * and the initial compatibility result, we might need to apply some auto-fixes to make sure the connection is valid.
418
+ *
419
+ * @param {UserManagedEntityState} sourceEntity The entity from which the connection starts
420
+ * @param {UserManagedEntityState} targetEntity The entity to which the connection goes
421
+ * @param {ConnectionNodeType} connectionType The type of the connection that was made
422
+ * @param {ChangeSet} changeSet The changeset to which any potential change should be added
423
+ * @param {IConnectionCompatibilityResult} compatibilityResult The initial compatibility result before the connection was made, this will be used to determine if any auto-fix is needed, and which one
424
+ */
425
+ export declare function applyConnectionCompatibilityAutoFixes(sourceEntity: UserManagedEntityState, targetEntity: UserManagedEntityState, connectionType: ConnectionNodeType, changeSet: ChangeSet, compatibilityResult: IConnectionCompatibilityResult, options?: {
426
+ onConnection?: (sourceEntity: UserManagedEntityState, targetEntity: UserManagedEntityState, connectionType: ConnectionNodeType) => Promise<void>;
427
+ onCallRemoved?: (caller: CallerEntityState, callee: CallableEntityState, callType: 'success' | 'error' | 'entry' | 'loop-body') => Promise<void>;
428
+ }): Promise<void>;
429
+
415
430
  export declare function applyNewScope(self: CallableEntityState, changeSet: ChangeSet | null): void;
416
431
 
417
432
  export declare function applyQueuedToCached(opts: {
@@ -438,11 +453,11 @@ export declare class Area {
438
453
  calculationEntryPoint: Area;
439
454
  _onlyEntities: CanvasEntityState[] | null;
440
455
  private _changeSet;
441
- constructor(entity: CanvasEntityState | ProjectState, index: number, calculationEntryPoint?: Area | null, changeSet?: ChangeSet);
456
+ constructor(entity: CanvasEntityState | ProjectState, index: number, calculationEntryPoint?: Area | null, changeSet?: ChangeSet | null);
442
457
  static autoGenerateLayout(entryPointEntity: CanvasEntityState | ProjectState, changeSet: ChangeSet | null, onlyEntities?: CanvasEntityState[]): CanvasEntityState[];
443
458
  static recursivelyAssembleChildrenAreas(renderedParents: Area[]): void;
444
- get onlyEntities(): CanvasEntityState[] | null;
445
- get changeSet(): ChangeSet | null;
459
+ get onlyEntities(): CanvasEntityState[];
460
+ get changeSet(): ChangeSet;
446
461
  set changeSet(changeSet: ChangeSet | null);
447
462
  findAreaInChildrenFromEntity(entity: CanvasEntityState): Area | null;
448
463
  findAreaFromEntity(entity: CanvasEntityState): Area | null;
@@ -939,7 +954,7 @@ export declare enum BaseValueDescriptorIds {
939
954
  getDefaultValue(): LiteralValueState | null;
940
955
  setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): BreakStatementState;
941
956
  clone(changeSet?: ChangeSet | null, parent?: LoopState | null, newId?: string | null, subscribe?: boolean): BreakStatementState;
942
- getMasterInputWithValueWritterFromAllInstances(input: TerminationInputMapState): TerminationInputMapState;
957
+ getMasterInputWithValueWriterFromAllInstances(input: TerminationInputMapState): TerminationInputMapState;
943
958
  syncInputs(changeSet?: ChangeSet | null): IChangeSet<BreakStatementState>;
944
959
  setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): BreakStatementState;
945
960
  removeDataType(changeSet?: ChangeSet | null): BreakStatementState;
@@ -9439,6 +9454,15 @@ export declare enum BaseValueDescriptorIds {
9439
9454
 
9440
9455
  export declare function calculateNewParentBasedOnCallers(self: CallableEntityState): EntityWithLogicScopeState | ProjectState;
9441
9456
 
9457
+ /**
9458
+ * Calculates how far down the top of the parent definition entity a method starts
9459
+ * Methods are function-declaration entities nested inside definition-entities
9460
+ * But their distance to the top changes based on their index among all other rendered methods as well as all properties the parent has.
9461
+ */
9462
+ export declare function calculateVerticalOffsetForMethod(method: FunctionDeclarationState): {
9463
+ offset: number;
9464
+ };
9465
+
9442
9466
  export declare const CALLABLE_ENTITIES_EXPLANATION: string;
9443
9467
 
9444
9468
  export declare const CALLABLE_TYPES: EntityType[];
@@ -9533,6 +9557,7 @@ export declare enum BaseValueDescriptorIds {
9533
9557
  CallerIsInLowerScope = "caller-is-in-lower-scope",
9534
9558
  CallIsInHigherScope = "call-is-in-higher-scope",
9535
9559
  CallIsInLowerScope = "call-is-in-lower-scope",
9560
+ CalledBySourceMustBeCallerEntity = "called-by-source-must-be-caller-entity",
9536
9561
  OtherIncompatibleScopeReason = "other-incompatible-scope-reason",
9537
9562
  SiblingInternalCallAlreadyUsedInParentVariable = "sibling-internal-call-already-used-in-parent-variable",
9538
9563
  ErrorOututMapCannotBeConnectedToParentSuccessBranchCallees = "error-output-map-cannot-be-connected-to-parent-success-branch-callees",
@@ -9545,7 +9570,8 @@ export declare enum BaseValueDescriptorIds {
9545
9570
  CannotConnectToOwnNode = "cannot-connect-to-own-node",
9546
9571
  VariableDeclarationCannotBeMovedToLowerScopeBecauseInstancesUsage = "variable-declaration-cannot-be-moved-to-lower-scope-because-instances-usage",
9547
9572
  CannotChangeScopeBecauseItIsCalledByOtherEntities = "cannot-change-scope-because-it-is-called-by-other-entities",
9548
- CannotChangeScopeBecauseItCallsOtherEntities = "cannot-change-scope-because-it-calls-other-entities"
9573
+ CannotChangeScopeBecauseItCallsOtherEntities = "cannot-change-scope-because-it-calls-other-entities",
9574
+ CalledByErrorMustBePassThroughCallable = "called-by-error-must-be-pass-through-callable"
9549
9575
  }
9550
9576
 
9551
9577
  export declare type CanvasEntityDisabledReason = CanvasEntityConnectionDisabledReason | CanvasEntityTestingDisabledReason | CanvasEntityOtherDisabledReason | StateMutationErrorCode;
@@ -9677,7 +9703,7 @@ export declare enum BaseValueDescriptorIds {
9677
9703
  /**
9678
9704
  * Checks whether two data-type entities are compatible.
9679
9705
  * Order matters. In places where one data-type is constrained and the other is not,
9680
- * the first data-type (dataTypeA) is considered the value writter (source).
9706
+ * the first data-type (dataTypeA) is considered the value writer (source).
9681
9707
  * while the second data-type (dataTypeB) is considered the value reader (target).
9682
9708
  *
9683
9709
  * @param dataTypeA
@@ -10235,7 +10261,8 @@ export declare enum BaseValueDescriptorIds {
10235
10261
  EntryPointCaller = "entry-point-caller",
10236
10262
  SuccessCaller = "success-caller",
10237
10263
  ErrorCaller = "error-caller",
10238
- CalledBy = "called-by"
10264
+ CalledBy = "called-by",
10265
+ CalledByError = "called-by-error"
10239
10266
  }
10240
10267
 
10241
10268
  /** Constant-time equality for two byte arrays (equal length required). */
@@ -10386,7 +10413,7 @@ export declare enum BaseValueDescriptorIds {
10386
10413
  getDefaultValue(): LiteralValueState | null;
10387
10414
  setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ContinueStatementState;
10388
10415
  clone(changeSet?: ChangeSet | null, parent?: LoopState | null, newId?: string | null, subscribe?: boolean): ContinueStatementState;
10389
- getMasterInputWithValueWritterFromAllInstances(input: TerminationInputMapState): TerminationInputMapState;
10416
+ getMasterInputWithValueWriterFromAllInstances(input: TerminationInputMapState): TerminationInputMapState;
10390
10417
  syncInputs(changeSet?: ChangeSet | null): IChangeSet<ContinueStatementState>;
10391
10418
  setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ContinueStatementState;
10392
10419
  removeDataType(changeSet?: ChangeSet | null): ContinueStatementState;
@@ -12513,7 +12540,7 @@ export declare enum BaseValueDescriptorIds {
12513
12540
  InvalidUUIDStringFormat = "invalid-uuid-string-format",
12514
12541
  ReferencedEntityNotFound = "referenced-entity-not-found",
12515
12542
  ReferencedValueReaderEntityNotFound = "referenced--value-reader-entity-not-found",
12516
- InvalidValueWritterReference = "invalid-value-writter-reference",
12543
+ InvalidValueWriterReference = "invalid-value-writer-reference",
12517
12544
  EntityIdNotUnique = "entity-id-not-unique",
12518
12545
  BuiltInEntityGenerated = "built-in-entity-generated",
12519
12546
  BuiltInEntityUpdated = "built-in-entity-updated",
@@ -15303,7 +15330,7 @@ export declare enum BaseValueDescriptorIds {
15303
15330
  NonInteractiveBaseEntities = "non-interactive-base-entities-explanation",
15304
15331
  ValueReadingEntities = "value-reading-entities-explanation",
15305
15332
  ValueWritingEntities = "value-writing-entities-explanation",
15306
- PropertyNotValueReaderWritter = "property-not-value-reader-writter-explanation",
15333
+ PropertyNotValueReaderWriter = "property-not-value-reader-writer-explanation",
15307
15334
  EntitiesWithValues = "entities-with-values-explanation",
15308
15335
  AIValueConnectionGenerationAction = "ai-value-connection-generation-action-explanation",
15309
15336
  ParentAutoCalculationFromCaller = "parent-auto-calculation-from-caller-explanation",
@@ -15313,9 +15340,16 @@ export declare enum BaseValueDescriptorIds {
15313
15340
  PropertyParentFieldOptions = "property-parent-field-options-explanation",
15314
15341
  MethodParentFieldOptions = "method-parent-field-options-explanation",
15315
15342
  AllAvailableValueReaderEntities = "all-available-value-reader-entities-explanation",
15316
- AllAvailableValueWritterEntities = "all-available-value-writter-entities-explanation",
15317
- AvailableValueReadersForGivenWritter = "available-value-readers-for-given-writter-explanation",
15318
- AvailableValueWrittersForGivenReader = "available-value-writters-for-given-reader-explanation",
15343
+ AllAvailableValueWriterEntities = "all-available-value-writer-entities-explanation",
15344
+ AvailableValueReadersForGivenWriter = "available-value-readers-for-given-writer-explanation",
15345
+ AvailableValueWritersForGivenReader = "available-value-writers-for-given-reader-explanation",
15346
+ AllAvailableCallableEntities = "all-available-callable-entities-explanation",
15347
+ AllAvailableEntryPointEntities = "all-available-entry-point-entities-explanation",
15348
+ AllAvailablePassThroughCallableEntities = "all-available-pass-through-callable-entities-explanation",
15349
+ AllAvailableCallerEntities = "all-available-caller-entities-explanation",
15350
+ AllAvailableTerminationEntities = "all-available-termination-entities-explanation",
15351
+ AllAvailableCallerEntitiesForGivenCallee = "all-available-caller-entities-for-given-callee-explanation",
15352
+ AllAvailableCalleeEntitiesForGivenCaller = "all-available-callee-entities-for-given-caller-explanation",
15319
15353
  AllAvailableGlobalFunctionDeclarationsForFunctionCall = "all-available-global-function-declarations-for-function-call-explanation",
15320
15354
  AllNoneInteractiveBaseEntities = "all-non-interactive-base-entities-explanation",
15321
15355
  AllOperationActionDescriptors = "all-operation-action-descriptors-explanation",
@@ -15400,6 +15434,10 @@ export declare enum BaseValueDescriptorIds {
15400
15434
 
15401
15435
  export declare function getAllValueWritingChildren(entity: CanvasEntityState | InternalCallState): ValueWritingEntityState[];
15402
15436
 
15437
+ export declare function getAllValueWritingEntities(project: ProjectState, options?: YieldOptions): Promise<ValueWritingEntityState[]>;
15438
+
15439
+ export declare function getAllValueWrittingChildren(entity: CanvasEntityState | InternalCallState): ValueWritingEntityState[];
15440
+
15403
15441
  export declare function getAllVariablesInScope(project: ProjectState, variableDeclarations: VariableDeclarationState[], targetEntity?: UserManagedEntityState): VariableDeclarationState[];
15404
15442
 
15405
15443
  export declare function getBaseBuiltInEntities(entity: DefinitionEntityState | BuiltInBaseEntityState): BuiltInBaseEntityState[];
@@ -18590,26 +18628,18 @@ export declare enum BaseValueDescriptorIds {
18590
18628
 
18591
18629
  export declare function getImplementedBuiltInEntity(entity: DefinitionEntityState): BuiltInBaseEntityState | null;
18592
18630
 
18631
+ /**
18632
+ * Returns a list of all entities that the current entity can connect to and not connect to
18633
+ *
18634
+ * @param {ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState} entity The entity for which we want to find compatible and incompatible connections
18635
+ * @param {ConnectionNodeType} connectionType The type of connection we want to create
18636
+ * @param {YieldOptions & { allowReadWriteToFixableScope?: boolean }} options Additional options for the function, including yield options and whether to allow connections to entities that could become compatible if the scope is changed
18637
+ *
18638
+ * @returns {Promise<IConnectionCompatibilityResult>} An object containing two lists: one for compatible entities and one for incompatible entities, each with the reasons for their compatibility or incompatibility
18639
+ */
18593
18640
  export declare function getIncompatibleConnectionEntitiesAsync(entity: ArgumentDeclarationState | InputMapState | OutputMapState | LoopState | CallerEntityState | VariableState | ValueDescriptorState | ExecutableEntityState, connectionType: ConnectionNodeType, options?: YieldOptions & {
18594
18641
  allowReadWriteToFixableScope?: boolean;
18595
- }): Promise<{
18596
- compatible: {
18597
- [id: string]: {
18598
- requiresCallConnectionTo: CallableEntityState | null;
18599
- requiresCallConnectionToFrom: CallerEntityState | null;
18600
- entity: EntityState;
18601
- };
18602
- };
18603
- incompatible: {
18604
- [id: string]: {
18605
- entity: EntityState;
18606
- reasons: CanvasEntityConnectionDisabledReason[];
18607
- fixable: boolean;
18608
- requiresCallConnectionTo: CallableEntityState | null;
18609
- requiresCallConnectionToFrom: CallerEntityState | null;
18610
- };
18611
- };
18612
- }>;
18642
+ }): Promise<IConnectionCompatibilityResult>;
18613
18643
 
18614
18644
  export declare function getIndexItem(list: unknown, index: unknown): any;
18615
18645
 
@@ -21258,6 +21288,12 @@ export declare enum BaseValueDescriptorIds {
21258
21288
  type: ScopeCompatibilityType.BInA;
21259
21289
  }
21260
21290
 
21291
+ export declare interface ICompatibleConnectionOption {
21292
+ requiresCallConnectionTo: CallableEntityState | null;
21293
+ requiresCallConnectionToFrom: CallerEntityState | null;
21294
+ entity: UserManagedEntityState;
21295
+ }
21296
+
21261
21297
  export declare interface ICompatibleSameBothGlobalScope extends IScopeCompatibility {
21262
21298
  compatible: true;
21263
21299
  type: ScopeCompatibilityType.SameBothGlobal;
@@ -21330,6 +21366,23 @@ export declare enum BaseValueDescriptorIds {
21330
21366
  parent: EntityWithLogicScope | EntityWithLogicScopeReference | IProject | IProjectReference | ICondition | IConditionReference;
21331
21367
  }
21332
21368
 
21369
+ export declare interface IConnectionCompatibilityResult {
21370
+ compatible: IConnectionCompatibleOptions;
21371
+ incompatible: IConnectionIncompatibleOptions;
21372
+ }
21373
+
21374
+ export declare interface IConnectionCompatibleOptions {
21375
+ [id: EntityId]: {
21376
+ requiresCallConnectionTo: CallableEntityState | null;
21377
+ requiresCallConnectionToFrom: CallerEntityState | null;
21378
+ entity: UserManagedEntityState;
21379
+ };
21380
+ }
21381
+
21382
+ export declare interface IConnectionIncompatibleOptions {
21383
+ [id: EntityId]: IIncompatibleConnectionOption;
21384
+ }
21385
+
21333
21386
  export declare interface IContinueStatement extends ITerminationStatement, IContinueStatement_meta {
21334
21387
  type: EntityType.ContinueStatement;
21335
21388
  parent: ILoop;
@@ -21879,6 +21932,15 @@ export declare enum BaseValueDescriptorIds {
21879
21932
  type: ScopeCompatibilityType.BIsGlobalAIsNot;
21880
21933
  }
21881
21934
 
21935
+ export declare interface IIncompatibleConnectionOption {
21936
+ entity: UserManagedEntityState;
21937
+ reasons: CanvasEntityConnectionDisabledReason[];
21938
+ fixable: boolean;
21939
+ requiresCallConnectionTo: CallableEntityState | null;
21940
+ requiresCallConnectionToFrom: CallerEntityState | null;
21941
+ nonAutofixableReasons: (CanvasEntityConnectionDisabledReason.VariableDeclarationCannotBeMovedToLowerScopeBecauseInstancesUsage | CanvasEntityConnectionDisabledReason.CannotChangeScopeBecauseItCallsOtherEntities | CanvasEntityConnectionDisabledReason.CannotChangeScopeBecauseItIsCalledByOtherEntities)[];
21942
+ }
21943
+
21882
21944
  export declare interface IIncompatibleParallelInCommonParentScope extends IScopeCompatibility {
21883
21945
  compatible: false;
21884
21946
  type: ScopeCompatibilityType.ParallelInCommonParent;
@@ -25479,6 +25541,18 @@ export declare enum BaseValueDescriptorIds {
25479
25541
 
25480
25542
  export declare function modifyEditableAndDeletableDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, newValue: boolean, seenEntities?: Set<string>): void;
25481
25543
 
25544
+ export declare function moveParallelCalls(entity: PassThroughCallableEntityState, changeSet: ChangeSet, options?: {
25545
+ onlyTypes?: EntityType[];
25546
+ onConnection?: (sourceEntity: UserManagedEntityState, targetEntity: UserManagedEntityState, connectionType: ConnectionNodeType) => Promise<void>;
25547
+ onCallRemoved?: (caller: CallerEntityState, callee: CallableEntityState, callType: 'success' | 'error' | 'entry' | 'loop-body') => Promise<void>;
25548
+ }): {
25549
+ errors: EntityError[];
25550
+ explanations: {
25551
+ id: GenerationExplanationIds;
25552
+ message: string;
25553
+ }[];
25554
+ };
25555
+
25482
25556
  export declare const MUTABLE_META_PROPERTIES_EXPLANATION = "Some meta-data properties of entities can be changed after the initial creation, like 'name', 'description', etc...\nThese are called mutable meta-properties.";
25483
25557
 
25484
25558
  export declare const NESTED_PROPERTY_HEIGHT = 26;
@@ -30392,7 +30466,7 @@ export declare enum BaseValueDescriptorIds {
30392
30466
 
30393
30467
  export declare const PROPERTY_IMPLEMENTATION_AND_EXTENSION_AUTO_ENRICHMENT_EXPLANATION = "When a 'property' entity is added to a 'definition-entity', the system will automatically enrich the property based on the parent definition-entity's implemented and extended entities.\nThis means that if a property is required, the parent 'definition-entity' will have auto-generated it. If a manually added property can fit into a parent, it will be auto-enriched with any required 'implementation' or 'extension' references, and the data-type will be recalculated or constrained based on said extensions and implementations.\nThis means that manually adding an 'extends' field to a new property is not necessary, and only specific, non-required 'implements' references need to be added manually if needed.";
30394
30468
 
30395
- export declare const PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION = "A property entity, is neither a value reading, or a value writting entity, but they are often confused with one.\nA 'property' can have a default value through its nested 'data-type' entity.\nThe 'property' entity only represents the data field in the declaration, and it can't write or read values.\nWhen a 'definition-entity' is instantiated as a variable, any writes or reads to its properties are done through 'input-map's and 'output-map's.";
30469
+ export declare const PROPERTY_NOT_VALUE_READER_WRITER_EXPLANATION = "A property entity, is neither a value reading, or a value writting entity, but they are often confused with one.\nA 'property' can have a default value through its nested 'data-type' entity.\nThe 'property' entity only represents the data field in the declaration, and it can't write or read values.\nWhen a 'definition-entity' is instantiated as a variable, any writes or reads to its properties are done through 'input-map's and 'output-map's.";
30396
30470
 
30397
30471
  export declare enum PropertyDependencyField {
30398
30472
  PropertyImplements = "property-implements-field",
@@ -30835,7 +30909,7 @@ export declare enum BaseValueDescriptorIds {
30835
30909
 
30836
30910
  export declare function readObjectNestedKey(obj: unknown, path: unknown, defaultValue?: unknown): unknown;
30837
30911
 
30838
- export declare function readValueFromWritter(entity: ValueReadingEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
30912
+ export declare function readValueFromWriter(entity: ValueReadingEntityState, context: IValueResolutionContext, onlyDefault?: boolean): IDynamicValue | null;
30839
30913
 
30840
30914
  export declare function rebaseStack<T = any>(undoableStackValueIndex: number, history: T[], newItem: T): number;
30841
30915
 
@@ -30924,7 +30998,9 @@ export declare enum BaseValueDescriptorIds {
30924
30998
  reasons: CanvasEntityDisabledReason[];
30925
30999
  };
30926
31000
 
30927
- export declare function removeRedundantCallers(entity: CallableEntityState, changeSet: ChangeSet | null): ChangeSet | null;
31001
+ export declare function removeRedundantCallers(entity: CallableEntityState, changeSet: ChangeSet | null, options?: {
31002
+ onCallRemoved?: (caller: CallerEntityState, callee: CallableEntityState, callType: 'success' | 'error' | 'entry' | 'loop-body') => Promise<void>;
31003
+ }): Promise<ChangeSet | null>;
30928
31004
 
30929
31005
  export declare function repeatList(list: unknown, count: unknown): any[];
30930
31006
 
@@ -34199,7 +34275,7 @@ export declare enum BaseValueDescriptorIds {
34199
34275
  modifiedData: Partial<IValueReadingEntityGenerationTarget>;
34200
34276
  };
34201
34277
 
34202
- export declare function validateValueWritter(data: ElementGenerationTarget, valueWritterEntity: ValueWritingEntityState): EntityGenerationError[];
34278
+ export declare function validateValueWriter(data: ElementGenerationTarget, valueWriterEntity: ValueWritingEntityState): EntityGenerationError[];
34203
34279
 
34204
34280
  export declare function validateVariableDeclarationName(entity: VariableDeclarationState | IVariableDeclarationGenerationTarget | IVariableDeclarationShallowTransfer | IVariableDeclarationTransfer, project: ProjectState): EntityGenerationError[];
34205
34281
 
@@ -34984,7 +35060,7 @@ export declare enum BaseValueDescriptorIds {
34984
35060
  removeValueWriter(changeSet?: ChangeSet | null): VariableDeclarationState;
34985
35061
  subscribe(): VariableDeclarationState;
34986
35062
  unsubscribe(): VariableDeclarationState;
34987
- getMasterInputWithValueWritterFromAllInstances(input: VariableInputMapState): VariableInputMapState;
35063
+ getMasterInputWithValueWriterFromAllInstances(input: VariableInputMapState): VariableInputMapState;
34988
35064
  inferDataTypeAndSyncInstancesInputsAndOutputs(changeSet?: ChangeSet | null): IChangeSet<VariableDeclarationState>;
34989
35065
  metaSync(changedData: Partial<IVariableDeclaration_meta | IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationShallowTransfer>, changeSet?: ChangeSet | null): VariableDeclarationState;
34990
35066
  APILoad(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableDeclarationState>;