@elyx-code/project-logic-tree 0.0.6835 → 0.0.6837

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
@@ -9574,7 +9574,11 @@ export declare enum BaseValueDescriptorIds {
9574
9574
  CalledByErrorMustBePassThroughCallable = "called-by-error-must-be-pass-through-callable",
9575
9575
  CalledByErrorCannotBeConnectedToEntitiesCalledByOwnSuccessBranch = "called-by-error-cannot-be-connected-to-entities-called-by-own-success-branch",
9576
9576
  CalledBySuccessCannotBeConnectedToEntitiesCalledByOwnErrorBranch = "called-by-success-cannot-be-connected-to-entities-called-by-own-error-branch",
9577
- RedundantCall = "redundant-call"
9577
+ RedundantCall = "redundant-call",
9578
+ WouldMakeAnEarlierNodeBeCalledBeforeItsDeclaration = "would-make-an-earlier-node-be-called-before-its-declaration",
9579
+ CannotBeCalledBeforeDeclaration = "cannot-be-called-before-declaration",
9580
+ CannotBeCalledInParallelBranchToDeclaration = "cannot-be-called-in-parallel-branch-to-declaration",
9581
+ CannotBeHigherScopeThanDeclaration = "cannot-be-higher-scope-than-declaration"
9578
9582
  }
9579
9583
 
9580
9584
  export declare type CanvasEntityDisabledReason = CanvasEntityConnectionDisabledReason | CanvasEntityTestingDisabledReason | CanvasEntityOtherDisabledReason | StateMutationErrorCode;
@@ -12604,7 +12608,8 @@ export declare enum BaseValueDescriptorIds {
12604
12608
  InvalidParentUpdate = "invalid-parent-update",
12605
12609
  NonInteractiveEntityReferenced = "non-interactive-entity-referenced",
12606
12610
  InvalidParentRelationType = "invalid-parent-relation-type",
12607
- CannotImplementExternalIntegrationConnectionDirectly = "cannot-implement-external-integration-connection-directly"
12611
+ CannotImplementExternalIntegrationConnectionDirectly = "cannot-implement-external-integration-connection-directly",
12612
+ IncompatibleReaderAndWriter = "incompatible-reader-and-writer"
12608
12613
  }
12609
12614
 
12610
12615
  export declare type EntityId = string;
@@ -12656,7 +12661,10 @@ export declare enum BaseValueDescriptorIds {
12656
12661
  ValueReadingOverridesConstantProperty = "value-reading-overrides-constant-property",
12657
12662
  DefaultValueOverridesConstantProperty = "default-value-overrides-constant-property",
12658
12663
  ValueReadingOverridesConstantVariable = "value-reading-overrides-constant-variable",
12659
- DefaultValueOverridesConstantVariable = "default-value-overrides-constant-variable"
12664
+ DefaultValueOverridesConstantVariable = "default-value-overrides-constant-variable",
12665
+ CalledBeforeDeclaration = "called-before-declaration",
12666
+ CalledInParallelBranchToDeclaration = "called-in-parallel-branch-to-declaration",
12667
+ HigherScopeThanDeclaration = "higher-scope-than-declaration"
12660
12668
  }
12661
12669
 
12662
12670
  export declare type EntityPayloadUnion = BuiltInBaseEntityPayloadUnion | ProjectPayloadUnion | InstalledProjectPayloadUnion | DefinitionEntityPayloadUnion | FunctionDeclarationPayloadUnion | GlobalEventPayloadUnion | VariableDeclarationPayloadUnion | VariableInstancePayloadUnion | InputMapPayloadUnion | OutputMapPayloadUnion | ConditionPayloadUnion | OperationPayloadUnion | FunctionCallPayloadUnion | ArgumentDeclarationPayloadUnion | PrimitiveEntityPayloadUnion | DataTypePayloadUnion | PropertyPayloadUnion | ActionDescriptorPayloadUnion | ReturnStatementPayloadUnion | ContinueStatementPayloadUnion | BreakStatementPayloadUnion | LoopPayloadUnion | SearchPayloadUnion | ValueDescriptorPayloadUnion | InternalCallPayloadUnion | LiteralValuePayloadUnion;
@@ -14294,6 +14302,11 @@ export declare enum BaseValueDescriptorIds {
14294
14302
 
14295
14303
  export declare function flattenCallers(entity: CallableEntityState): CallerEntityState[];
14296
14304
 
14305
+ export declare function flattenCallersWithCallType(entity: CallableEntityState): {
14306
+ caller: CallerEntityState;
14307
+ callType: 'success' | 'error' | 'entry' | 'loop-body';
14308
+ }[];
14309
+
14297
14310
  export declare function flattenCalls(entities: CallableEntityState[], options?: {
14298
14311
  sorting?: 'local-y-axis';
14299
14312
  }): CallableEntityState[];
@@ -22857,7 +22870,8 @@ export declare enum BaseValueDescriptorIds {
22857
22870
  export {
22858
22871
  validateAsync_19 as validateAsync,
22859
22872
  validate_19 as validate,
22860
- validateParentRelation
22873
+ validateParentRelation,
22874
+ validateCallAfterDeclaration_2 as validateCallAfterDeclaration
22861
22875
  }
22862
22876
  }
22863
22877
  export { internalCallValidation }
@@ -23506,6 +23520,8 @@ export declare enum BaseValueDescriptorIds {
23506
23520
 
23507
23521
  export declare function isUUID(uuid: string): boolean;
23508
23522
 
23523
+ export declare function isUUIDv4(uuid: unknown): uuid is string;
23524
+
23509
23525
  export declare function isValid(input: ISODateString | string): boolean;
23510
23526
 
23511
23527
  declare interface ITable {
@@ -32780,7 +32796,10 @@ export declare enum BaseValueDescriptorIds {
32780
32796
  CannotSuccessCallItself = "cannot-success-call-itself",
32781
32797
  CannotErrorCallItself = "cannot-error-call-itself",
32782
32798
  CannotEntryCallItself = "cannot-entry-call-itself",
32783
- CannotValueWriteItself = "cannot-value-write-itself"
32799
+ CannotValueWriteItself = "cannot-value-write-itself",
32800
+ CannotBeCalledBeforeDeclaration = "cannot-be-called-before-declaration",
32801
+ CannotBeCalledInParallelBranchToDeclaration = "cannot-be-called-in-parallel-branch-to-declaration",
32802
+ CannotBeHigherScopeThanDeclaration = "cannot-be-higher-scope-than-declaration"
32784
32803
  }
32785
32804
 
32786
32805
  export declare const STATIC_PROPERTY_HEIGHT = 49;
@@ -34171,6 +34190,10 @@ export declare enum BaseValueDescriptorIds {
34171
34190
 
34172
34191
  export declare function validateCallableEntityShouldCallReturnStatement(self: CallableEntityState): EntityError[];
34173
34192
 
34193
+ declare function validateCallAfterDeclaration(self: VariableInstanceState): EntityError[];
34194
+
34195
+ declare function validateCallAfterDeclaration_2(self: InternalCallState): EntityError[];
34196
+
34174
34197
  export declare function validateCalledByErrorIdInAction(calledByErrorId: EntityId, project: ProjectState, propertyName?: string): {
34175
34198
  errors: EntityGenerationError[];
34176
34199
  explanations: {
@@ -35471,7 +35494,8 @@ export declare enum BaseValueDescriptorIds {
35471
35494
  export {
35472
35495
  validateAsync_6 as validateAsync,
35473
35496
  validate_6 as validate,
35474
- validateConstantValueOverride
35497
+ validateConstantValueOverride,
35498
+ validateCallAfterDeclaration
35475
35499
  }
35476
35500
  }
35477
35501
  export { variableInstanceValidation }