@elyx-code/project-logic-tree 0.0.6679 → 0.0.6681
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 +242 -242
- package/dist/index.d.ts +361 -29
- package/dist/index.js +55237 -52582
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ import { TableFactor } from 'sql-parser-cst';
|
|
|
50
50
|
import { TablesampleExpr } from 'sql-parser-cst';
|
|
51
51
|
import { UnpivotExpr } from 'sql-parser-cst';
|
|
52
52
|
import { WhereClause } from 'sql-parser-cst';
|
|
53
|
+
import { YieldOptions } from '@elyx-code/common-ts-utils';
|
|
53
54
|
import * as z from 'zod';
|
|
54
55
|
import { z as z_2 } from 'zod';
|
|
55
56
|
|
|
@@ -169,7 +170,11 @@ export declare class ActionDescriptorState extends UserManagedVersionedState imp
|
|
|
169
170
|
validate(): {
|
|
170
171
|
success: boolean;
|
|
171
172
|
};
|
|
173
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
174
|
+
success: boolean;
|
|
175
|
+
}>;
|
|
172
176
|
getErrors(): EntityError[];
|
|
177
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
173
178
|
getShallowErrors(): EntityError[];
|
|
174
179
|
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | PrimitiveEntityState | BuiltInBaseEntityState | DataTypeState | null, newId?: string | null, subscribe?: boolean): ActionDescriptorState;
|
|
175
180
|
addInput(argument: ValueDescriptorState, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
@@ -186,6 +191,7 @@ export declare type ActionDescriptorTypesUnion = IActionDescriptor | IActionDesc
|
|
|
186
191
|
|
|
187
192
|
declare namespace actionDescriptorValidation {
|
|
188
193
|
export {
|
|
194
|
+
validateAsync_8 as validateAsync,
|
|
189
195
|
validate_8 as validate
|
|
190
196
|
}
|
|
191
197
|
}
|
|
@@ -599,7 +605,11 @@ export declare class ArgumentDeclarationState extends UserManagedVersionedState
|
|
|
599
605
|
validate(): {
|
|
600
606
|
success: boolean;
|
|
601
607
|
};
|
|
608
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
609
|
+
success: boolean;
|
|
610
|
+
}>;
|
|
602
611
|
getErrors(): EntityError[];
|
|
612
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
603
613
|
getShallowErrors(): EntityError[];
|
|
604
614
|
getDefaultValue(): LiteralValueState | null;
|
|
605
615
|
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
@@ -614,6 +624,7 @@ export declare type ArgumentDeclarationTypesUnion = IArgumentDeclaration | IArgu
|
|
|
614
624
|
|
|
615
625
|
declare namespace argumentDeclarationValidation {
|
|
616
626
|
export {
|
|
627
|
+
validateAsync_7 as validateAsync,
|
|
617
628
|
validate_7 as validate
|
|
618
629
|
}
|
|
619
630
|
}
|
|
@@ -864,7 +875,11 @@ export declare class BreakStatementState extends UserManagedVersionedState imple
|
|
|
864
875
|
validate(): {
|
|
865
876
|
success: boolean;
|
|
866
877
|
};
|
|
878
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
879
|
+
success: boolean;
|
|
880
|
+
}>;
|
|
867
881
|
getErrors(): EntityError[];
|
|
882
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
868
883
|
getShallowErrors(): EntityError[];
|
|
869
884
|
getDefaultValue(): LiteralValueState | null;
|
|
870
885
|
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): BreakStatementState;
|
|
@@ -880,6 +895,7 @@ export declare type BreakStatementTypesUnion = IBreakStatement | IBreakStatement
|
|
|
880
895
|
|
|
881
896
|
declare namespace breakStatementValidation {
|
|
882
897
|
export {
|
|
898
|
+
validateAsync_15 as validateAsync,
|
|
883
899
|
validate_15 as validate
|
|
884
900
|
}
|
|
885
901
|
}
|
|
@@ -9229,7 +9245,11 @@ export declare class BuiltInBaseEntityState extends VersionedState implements Ba
|
|
|
9229
9245
|
validate(): {
|
|
9230
9246
|
success: boolean;
|
|
9231
9247
|
};
|
|
9248
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
9249
|
+
success: boolean;
|
|
9250
|
+
}>;
|
|
9232
9251
|
getErrors(): EntityError[];
|
|
9252
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
9233
9253
|
getShallowErrors(): EntityError[];
|
|
9234
9254
|
implement(newEntityName: string, changeSet?: ChangeSet | null, newId?: string): DefinitionEntityState;
|
|
9235
9255
|
getAllPropertiesImplements(): PropertyState[];
|
|
@@ -9501,22 +9521,27 @@ export declare class ChangeSet extends Events {
|
|
|
9501
9521
|
get affectedIds(): EntityId[];
|
|
9502
9522
|
event(payload: IChangeSetEventCreationPayload): void;
|
|
9503
9523
|
discardOrphans(): void;
|
|
9524
|
+
discardOrphansAsync(options?: YieldOptions): Promise<void>;
|
|
9504
9525
|
captureAllChangesInVersionInstances(): void;
|
|
9526
|
+
captureAllChangesInVersionInstancesAsync(options?: YieldOptions): Promise<void>;
|
|
9505
9527
|
attemptAutocloseAsync(knownAutoCloseActionName: string, closingEntityId: EntityId): Promise<ChangeSet>;
|
|
9506
9528
|
closeAsync(options?: {
|
|
9507
9529
|
awaitBeforeClose?: boolean;
|
|
9508
9530
|
awaitExternalPersist?: boolean;
|
|
9509
9531
|
persistType?: 'sequential' | 'parallel';
|
|
9510
|
-
}): Promise<ChangeSet>;
|
|
9532
|
+
} & YieldOptions): Promise<ChangeSet>;
|
|
9511
9533
|
attemptAutoclose(knownAutoCloseActionName: string, closingEntityId: EntityId): ChangeSet;
|
|
9512
9534
|
recursiveCaptureUpstreamVersions(): void;
|
|
9535
|
+
recursiveCaptureUpstreamVersionsAsync(options?: YieldOptions): Promise<void>;
|
|
9513
9536
|
sanitize(): void;
|
|
9537
|
+
sanitizeAsync(options?: YieldOptions): Promise<void>;
|
|
9514
9538
|
syncDependents(): ChangeSet;
|
|
9515
|
-
|
|
9539
|
+
syncDependentsAsync(options?: YieldOptions): Promise<ChangeSet>;
|
|
9540
|
+
beforeCloseAsync(options?: YieldOptions): Promise<void>;
|
|
9516
9541
|
beforeClose(): void;
|
|
9517
9542
|
teardown(): void;
|
|
9518
9543
|
emitProjectSideEffects(): ChangeSet;
|
|
9519
|
-
emitAsyncProjectSideEffects(): Promise<ChangeSet>;
|
|
9544
|
+
emitAsyncProjectSideEffects(options?: YieldOptions): Promise<ChangeSet>;
|
|
9520
9545
|
close(options?: {
|
|
9521
9546
|
persistType?: 'sequential' | 'parallel';
|
|
9522
9547
|
}): ChangeSet;
|
|
@@ -9990,7 +10015,11 @@ export declare class ConditionState extends UserManagedVersionedState implements
|
|
|
9990
10015
|
validate(): {
|
|
9991
10016
|
success: boolean;
|
|
9992
10017
|
};
|
|
10018
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
10019
|
+
success: boolean;
|
|
10020
|
+
}>;
|
|
9993
10021
|
getErrors(): EntityError[];
|
|
10022
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
9994
10023
|
getShallowErrors(): EntityError[];
|
|
9995
10024
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | ConditionState | null, newId?: string | null, subscribe?: boolean): ConditionState;
|
|
9996
10025
|
addToAndGroup(child: ConditionState, changeSet?: ChangeSet | null): ConditionState;
|
|
@@ -10008,6 +10037,7 @@ export declare type ConditionTypesUnion = ICondition | IConditionTransfer | ICon
|
|
|
10008
10037
|
|
|
10009
10038
|
declare namespace conditionValidation {
|
|
10010
10039
|
export {
|
|
10040
|
+
validateAsync_12 as validateAsync,
|
|
10011
10041
|
validate_12 as validate
|
|
10012
10042
|
}
|
|
10013
10043
|
}
|
|
@@ -10143,7 +10173,11 @@ export declare class ContinueStatementState extends UserManagedVersionedState im
|
|
|
10143
10173
|
validate(): {
|
|
10144
10174
|
success: boolean;
|
|
10145
10175
|
};
|
|
10176
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
10177
|
+
success: boolean;
|
|
10178
|
+
}>;
|
|
10146
10179
|
getErrors(): EntityError[];
|
|
10180
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
10147
10181
|
getShallowErrors(): EntityError[];
|
|
10148
10182
|
getDefaultValue(): LiteralValueState | null;
|
|
10149
10183
|
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
@@ -10159,6 +10193,7 @@ export declare type ContinueStatementTypesUnion = IContinueStatement | IContinue
|
|
|
10159
10193
|
|
|
10160
10194
|
declare namespace continueStatementValidation {
|
|
10161
10195
|
export {
|
|
10196
|
+
validateAsync_14 as validateAsync,
|
|
10162
10197
|
validate_14 as validate
|
|
10163
10198
|
}
|
|
10164
10199
|
}
|
|
@@ -10728,7 +10763,11 @@ export declare class DataTypeState extends UserManagedVersionedState implements
|
|
|
10728
10763
|
validate(): {
|
|
10729
10764
|
success: boolean;
|
|
10730
10765
|
};
|
|
10766
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
10767
|
+
success: boolean;
|
|
10768
|
+
}>;
|
|
10731
10769
|
getErrors(): EntityError[];
|
|
10770
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
10732
10771
|
getShallowErrors(): EntityError[];
|
|
10733
10772
|
clone(changeSet?: ChangeSet | null, parent?: DataTypeParentEntityState | null, newId?: string | null, subscribe?: boolean): DataTypeState;
|
|
10734
10773
|
merge(sourceEntity: DataTypeState | null, changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
@@ -10791,6 +10830,7 @@ export declare type DataTypeTypesUnion = IDataTypeTransfer | IDataTypeShallowTra
|
|
|
10791
10830
|
|
|
10792
10831
|
declare namespace dataTypeValidation {
|
|
10793
10832
|
export {
|
|
10833
|
+
validateAsync_3 as validateAsync,
|
|
10794
10834
|
validate_3 as validate
|
|
10795
10835
|
}
|
|
10796
10836
|
}
|
|
@@ -11690,7 +11730,11 @@ export declare class DefinitionEntityState extends UserManagedVersionedState imp
|
|
|
11690
11730
|
validate(): {
|
|
11691
11731
|
success: boolean;
|
|
11692
11732
|
};
|
|
11733
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
11734
|
+
success: boolean;
|
|
11735
|
+
}>;
|
|
11693
11736
|
getErrors(): EntityError[];
|
|
11737
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
11694
11738
|
getShallowErrors(): EntityError[];
|
|
11695
11739
|
clone(changeSet?: ChangeSet | null, parent?: ProjectState | DataTypeState | null, newId?: string | null, subscribe?: boolean): DefinitionEntityState;
|
|
11696
11740
|
getFunctionDeclaration(id: EntityId): FunctionDeclarationState | undefined;
|
|
@@ -11716,6 +11760,7 @@ export declare type DefinitionEntityTypesUnion = IDefinitionEntity | IDefinition
|
|
|
11716
11760
|
|
|
11717
11761
|
declare namespace definitionEntityValidation {
|
|
11718
11762
|
export {
|
|
11763
|
+
validateAsync_2 as validateAsync,
|
|
11719
11764
|
validate_2 as validate,
|
|
11720
11765
|
getBasePropertiesNotImplemented,
|
|
11721
11766
|
getBaseMethodsNotImplemented,
|
|
@@ -11966,7 +12011,7 @@ export declare type ElementTransfer = IProjectTransfer | IInstalledProjectTransf
|
|
|
11966
12011
|
|
|
11967
12012
|
export declare type ElementTypesUnion = ProjectTypesUnion | InstalledProjectTypesUnion | DefinitionEntityTypesUnion | GlobalEventTypesUnion | FunctionDeclarationTypesUnion | FunctionCallTypesUnion | PropertyTypesUnion | VariableDeclarationTypesUnion | VariableInstanceTypesUnion | OperationTypesUnion | ConditionTypesUnion | ArgumentDeclarationTypesUnion | InputMapTypesUnion | OutputMapTypesUnion | DataTypeTypesUnion | ReturnStatementTypesUnion | BreakStatementTypesUnion | ContinueStatementTypesUnion | LoopTypesUnion | ActionDescriptorTypesUnion | SearchTypesUnion | PrimitiveEntityTypesUnion | LiteralValueTypesUnion | ValueDescriptorTypesUnion | BuiltInBaseEntityTypesUnion | InternalCallTypesUnion;
|
|
11968
12013
|
|
|
11969
|
-
export declare function emitAsyncProjectSideEffects(changeSet: ChangeSet): Promise<ChangeSet>;
|
|
12014
|
+
export declare function emitAsyncProjectSideEffects(changeSet: ChangeSet, options?: YieldOptions): Promise<ChangeSet>;
|
|
11970
12015
|
|
|
11971
12016
|
export declare function emitProjectSideEffects(changeSet: ChangeSet): ChangeSet;
|
|
11972
12017
|
|
|
@@ -13767,6 +13812,8 @@ export declare function filterOutDependentCallers(callers: CallerEntityState[]):
|
|
|
13767
13812
|
|
|
13768
13813
|
export declare function filterOutDuplicateEntities(entities: (EntityState | Element_2 | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget)[]): (Element_2 | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget | EntityState)[];
|
|
13769
13814
|
|
|
13815
|
+
export declare function filterOutDuplicateEntitiesAsync(entities: (EntityState | Element_2 | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget)[], options?: YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer | ElementGenerationTarget | EntityState)[]>;
|
|
13816
|
+
|
|
13770
13817
|
export declare function filterOutDuplicateErrors(errors: (EntityGenerationError | EntityError)[]): EntityGenerationError[] | EntityError[];
|
|
13771
13818
|
|
|
13772
13819
|
export declare function findEntityFromKeys(keys: string[], project: ProjectState): DefinitionEntityState | null;
|
|
@@ -13791,10 +13838,18 @@ export declare function flattenActionDescriptor(entity: IActionDescriptor | IAct
|
|
|
13791
13838
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13792
13839
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13793
13840
|
|
|
13841
|
+
export declare function flattenActionDescriptorAsync(entity: IActionDescriptor | IActionDescriptorTransfer | IActionDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13842
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13843
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13844
|
+
|
|
13794
13845
|
export declare function flattenArgumentDeclaration(entity: IArgumentDeclaration | IArgumentDeclarationTransfer | IArgumentDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13795
13846
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13796
13847
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13797
13848
|
|
|
13849
|
+
export declare function flattenArgumentDeclarationAsync(entity: IArgumentDeclaration | IArgumentDeclarationTransfer | IArgumentDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13850
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13851
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13852
|
+
|
|
13798
13853
|
declare function flattenBinaryExprComparisonsToWhereStatements(whereExpr: BinaryExpr, parent: WhereStatement, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, debug?: boolean): {
|
|
13799
13854
|
ands: WhereStatement[];
|
|
13800
13855
|
ors: WhereStatement[];
|
|
@@ -13804,10 +13859,18 @@ export declare function flattenBreakStatement(entity: IBreakStatement | IBreakSt
|
|
|
13804
13859
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13805
13860
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13806
13861
|
|
|
13862
|
+
export declare function flattenBreakStatementAsync(entity: IBreakStatement | IBreakStatementTransfer | IBreakStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13863
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13864
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13865
|
+
|
|
13807
13866
|
export declare function flattenBuiltInBaseEntity(entity: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IBuiltInBaseEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13808
13867
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13809
13868
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13810
13869
|
|
|
13870
|
+
export declare function flattenBuiltInBaseEntityAsync(entity: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IBuiltInBaseEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13871
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13872
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13873
|
+
|
|
13811
13874
|
/**
|
|
13812
13875
|
* Returns a flat list of caller entities that are ancestors in the call chain of the given entity
|
|
13813
13876
|
* Recursively checks until we have found the 'until' entity, as an ancestor or reached the root project entity
|
|
@@ -13835,18 +13898,34 @@ export declare function flattenCondition(entity: ICondition | IConditionTransfer
|
|
|
13835
13898
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13836
13899
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13837
13900
|
|
|
13901
|
+
export declare function flattenConditionAsync(entity: ICondition | IConditionTransfer | IConditionShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13902
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13903
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13904
|
+
|
|
13838
13905
|
export declare function flattenContinueStatement(entity: IContinueStatement | IContinueStatementTransfer | IContinueStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13839
13906
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13840
13907
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13841
13908
|
|
|
13909
|
+
export declare function flattenContinueStatementAsync(entity: IContinueStatement | IContinueStatementTransfer | IContinueStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13910
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13911
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13912
|
+
|
|
13842
13913
|
export declare function flattenDataType(entity: IDataType | IDataTypeTransfer | IDataTypeShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13843
13914
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13844
13915
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13845
13916
|
|
|
13917
|
+
export declare function flattenDataTypeAsync(entity: IDataType | IDataTypeTransfer | IDataTypeShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13918
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13919
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13920
|
+
|
|
13846
13921
|
export declare function flattenDefinitionEntity(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13847
13922
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13848
13923
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13849
13924
|
|
|
13925
|
+
export declare function flattenDefinitionEntityAsync(entity: IDefinitionEntity | IDefinitionEntityTransfer | IDefinitionEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13926
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13927
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13928
|
+
|
|
13850
13929
|
export declare function flattenDefinitionEntityExtensionAndImplementationTypes(entity: DefinitionEntityState): (BaseEntityNames | EntityType.DefinitionEntity)[];
|
|
13851
13930
|
|
|
13852
13931
|
export declare function flattenDefinitionEntityExtensions(entity: DefinitionEntityState | BuiltInBaseEntityState): (BuiltInBaseEntityState | DefinitionEntityState)[];
|
|
@@ -13868,6 +13947,17 @@ export declare function flattenDefinitionEntityImplementionTypes(entity: Definit
|
|
|
13868
13947
|
*/
|
|
13869
13948
|
export declare function flattenDerivedCanvasEntities(entity: CanvasEntityState, seenEntities?: Set<EntityId>): CanvasEntityState[];
|
|
13870
13949
|
|
|
13950
|
+
/**
|
|
13951
|
+
* Given an entity from the canvas, it returns a flat list of entities
|
|
13952
|
+
* representing the chain of entities on the right of the given one, that are related to it
|
|
13953
|
+
* Including relations of its relations, recursively
|
|
13954
|
+
*
|
|
13955
|
+
* @param entity The entity to flatten
|
|
13956
|
+
* @param seenEntities A set of already seen entities to avoid infinite loops
|
|
13957
|
+
* @returns {CanvasEntityState[]} A flat list of derived canvas entities
|
|
13958
|
+
*/
|
|
13959
|
+
export declare function flattenDerivedCanvasEntitiesAsync(entity: CanvasEntityState, seenEntities?: Set<EntityId>, options?: YieldOptions): Promise<CanvasEntityState[]>;
|
|
13960
|
+
|
|
13871
13961
|
export declare function flattenDetachedBranch(entity: CanvasEntityState): CanvasEntityState[];
|
|
13872
13962
|
|
|
13873
13963
|
export declare function flattenElementCalls(element: CallerEntityState): CallableEntityState[];
|
|
@@ -13881,37 +13971,62 @@ export declare function flattenElementCallsWithCallType(element: CallerEntitySta
|
|
|
13881
13971
|
|
|
13882
13972
|
export declare function flattenEntity(entity: Element_2 | ElementTransfer | ElementShallowTransfer | Reference, seenEntities?: Set<EntityId>, options?: {
|
|
13883
13973
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13974
|
+
diggestedBuiltInBaseEntitiesIds?: Set<EntityId>;
|
|
13884
13975
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13885
13976
|
|
|
13886
13977
|
export declare function flattenEntityAsync(entity: Element_2 | ElementTransfer | ElementShallowTransfer | Reference, seenEntities?: Set<EntityId>, options?: {
|
|
13887
13978
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13888
|
-
|
|
13889
|
-
}): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13979
|
+
diggestedBuiltInBaseEntitiesIds?: Set<EntityId>;
|
|
13980
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13890
13981
|
|
|
13891
13982
|
export declare function flattenFunctionCall(entity: IFunctionCall | IFunctionCallTransfer | IFunctionCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13892
13983
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13893
13984
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13894
13985
|
|
|
13986
|
+
export declare function flattenFunctionCallAsync(entity: IFunctionCall | IFunctionCallTransfer | IFunctionCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13987
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13988
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13989
|
+
|
|
13895
13990
|
export declare function flattenFunctionDeclaration(entity: IFunctionDeclaration | IFunctionDeclarationTransfer | IFunctionDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13896
13991
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13897
13992
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13898
13993
|
|
|
13994
|
+
export declare function flattenFunctionDeclarationAsync(entity: IFunctionDeclaration | IFunctionDeclarationTransfer | IFunctionDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13995
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
13996
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
13997
|
+
|
|
13899
13998
|
export declare function flattenGlobalEvent(entity: IGlobalEvent | IGlobalEventTransfer | IGlobalEventShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13900
13999
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13901
14000
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13902
14001
|
|
|
14002
|
+
export declare function flattenGlobalEventAsync(entity: IGlobalEvent | IGlobalEventTransfer | IGlobalEventShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14003
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14004
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14005
|
+
|
|
13903
14006
|
export declare function flattenInputMap(entity: IInputMap | IInputMapTransfer | IInputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13904
14007
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13905
14008
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13906
14009
|
|
|
14010
|
+
export declare function flattenInputMapAsync(entity: IInputMap | IInputMapTransfer | IInputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14011
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14012
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14013
|
+
|
|
13907
14014
|
export declare function flattenInstalledProject(entity: IInstalledProject | IInstalledProjectTransfer | IInstalledProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13908
14015
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13909
14016
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13910
14017
|
|
|
14018
|
+
export declare function flattenInstalledProjectAsync(entity: IInstalledProject | IInstalledProjectTransfer | IInstalledProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14019
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14020
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14021
|
+
|
|
13911
14022
|
export declare function flattenInternalCall(entity: IInternalCall | IInternalCallTransfer | IInternalCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13912
14023
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13913
14024
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13914
14025
|
|
|
14026
|
+
export declare function flattenInternalCallAsync(entity: IInternalCall | IInternalCallTransfer | IInternalCallShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14027
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14028
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14029
|
+
|
|
13915
14030
|
declare function flattenJoinExprIntoAggregationStatementsSync(joinExpr: JoinExpr, parentQuery: SelectStmt, scopeColumns: ColumnRef[], state: SearchStatementState, project: ProjectState, helpers?: {
|
|
13916
14031
|
onDescribeTable?: (tableName: string) => ITable | null;
|
|
13917
14032
|
}, debug?: boolean): {
|
|
@@ -13928,34 +14043,62 @@ export declare function flattenLiteralValue(entity: ILiteralValue | ILiteralValu
|
|
|
13928
14043
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13929
14044
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13930
14045
|
|
|
14046
|
+
export declare function flattenLiteralValueAsync(entity: ILiteralValue | ILiteralValueTransfer | ILiteralValueShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14047
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14048
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14049
|
+
|
|
13931
14050
|
export declare function flattenLoop(entity: ILoop | ILoopTransfer | ILoopShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13932
14051
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13933
14052
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13934
14053
|
|
|
14054
|
+
export declare function flattenLoopAsync(entity: ILoop | ILoopTransfer | ILoopShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14055
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14056
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14057
|
+
|
|
13935
14058
|
export declare function flattenOneLevel(list: unknown): any[];
|
|
13936
14059
|
|
|
13937
14060
|
export declare function flattenOperation(entity: IOperation | IOperationTransfer | IOperationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13938
14061
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13939
14062
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13940
14063
|
|
|
14064
|
+
export declare function flattenOperationAsync(entity: IOperation | IOperationTransfer | IOperationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14065
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14066
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14067
|
+
|
|
13941
14068
|
export declare function flattenOutputMap(entity: IOutputMap | IOutputMapTransfer | IOutputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13942
14069
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13943
14070
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13944
14071
|
|
|
14072
|
+
export declare function flattenOutputMapAsync(entity: IOutputMap | IOutputMapTransfer | IOutputMapShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14073
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14074
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14075
|
+
|
|
13945
14076
|
export declare function flattenPrimitiveEntity(entity: IPrimitiveEntity | IPrimitiveEntityTransfer | IPrimitiveEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13946
14077
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13947
14078
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13948
14079
|
|
|
14080
|
+
export declare function flattenPrimitiveEntityAsync(entity: IPrimitiveEntity | IPrimitiveEntityTransfer | IPrimitiveEntityShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14081
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14082
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14083
|
+
|
|
13949
14084
|
export declare function flattenProject(entity: IProject | IProjectTransfer | IProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13950
14085
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13951
14086
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13952
14087
|
|
|
14088
|
+
export declare function flattenProjectAsync(entity: IProject | IProjectTransfer | IProjectShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14089
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14090
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14091
|
+
|
|
13953
14092
|
export declare function flattenProjectElements(project: ProjectState): EntityState[];
|
|
13954
14093
|
|
|
13955
14094
|
export declare function flattenProperty(entity: IProperty | IPropertyTransfer | IPropertyShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13956
14095
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13957
14096
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13958
14097
|
|
|
14098
|
+
export declare function flattenPropertyAsync(entity: IProperty | IPropertyTransfer | IPropertyShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14099
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14100
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14101
|
+
|
|
13959
14102
|
export declare function flattenRelatedCallableElementsOnTheRight(entity: CanvasEntityState | ProjectState | InternalCallState, respectCollapse?: boolean): CallableEntityState[];
|
|
13960
14103
|
|
|
13961
14104
|
export declare function flattenRelatedCanvasElementsOnTheLeft(entity: CanvasEntityState): CanvasEntityState[];
|
|
@@ -13966,22 +14109,42 @@ export declare function flattenReturnStatement(entity: IReturnStatement | IRetur
|
|
|
13966
14109
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13967
14110
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13968
14111
|
|
|
14112
|
+
export declare function flattenReturnStatementAsync(entity: IReturnStatement | IReturnStatementTransfer | IReturnStatementShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14113
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14114
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14115
|
+
|
|
13969
14116
|
export declare function flattenSearch(entity: ISearch | ISearchTransfer | ISearchShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13970
14117
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13971
14118
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13972
14119
|
|
|
14120
|
+
export declare function flattenSearchAsync(entity: ISearch | ISearchTransfer | ISearchShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14121
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14122
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14123
|
+
|
|
13973
14124
|
export declare function flattenValueDescriptor(entity: IValueDescriptor | IValueDescriptorTransfer | IValueDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13974
14125
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13975
14126
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13976
14127
|
|
|
14128
|
+
export declare function flattenValueDescriptorAsync(entity: IValueDescriptor | IValueDescriptorTransfer | IValueDescriptorShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14129
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14130
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14131
|
+
|
|
13977
14132
|
export declare function flattenVariableDeclaration(entity: IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13978
14133
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13979
14134
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13980
14135
|
|
|
14136
|
+
export declare function flattenVariableDeclarationAsync(entity: IVariableDeclaration | IVariableDeclarationTransfer | IVariableDeclarationShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14137
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14138
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14139
|
+
|
|
13981
14140
|
export declare function flattenVariableInstance(entity: IVariableInstance | IVariableInstanceTransfer | IVariableInstanceShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
13982
14141
|
ignoreBuiltInBaseEntities?: boolean;
|
|
13983
14142
|
}): (Element_2 | ElementTransfer | ElementShallowTransfer)[];
|
|
13984
14143
|
|
|
14144
|
+
export declare function flattenVariableInstanceAsync(entity: IVariableInstance | IVariableInstanceTransfer | IVariableInstanceShallowTransfer, seenEntities?: Set<EntityId>, options?: {
|
|
14145
|
+
ignoreBuiltInBaseEntities?: boolean;
|
|
14146
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | ElementShallowTransfer)[]>;
|
|
14147
|
+
|
|
13985
14148
|
export declare function flattenVariableReads(variable: VariableState, seenVariables?: Set<string>): VariableState[];
|
|
13986
14149
|
|
|
13987
14150
|
export declare function flattenVariables(element: CanvasEntityState, seenVariables?: Set<string>): VariableState[];
|
|
@@ -14015,7 +14178,7 @@ export declare const formatDateOperation: IActionDescriptorTransfer;
|
|
|
14015
14178
|
|
|
14016
14179
|
export declare const formatDateResponseDT: IDataTypeTransfer;
|
|
14017
14180
|
|
|
14018
|
-
export declare function freezeDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, seenEntities?: Set<string
|
|
14181
|
+
export declare function freezeDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, seenEntities?: Set<string>): void;
|
|
14019
14182
|
|
|
14020
14183
|
/** Converts bytes into string using the given encoding. */
|
|
14021
14184
|
export declare function fromBytes(bytes: Bytes, encoding?: AnyEncoding): string;
|
|
@@ -14217,7 +14380,11 @@ export declare class FunctionCallState extends UserManagedVersionedState impleme
|
|
|
14217
14380
|
validate(): {
|
|
14218
14381
|
success: boolean;
|
|
14219
14382
|
};
|
|
14383
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
14384
|
+
success: boolean;
|
|
14385
|
+
}>;
|
|
14220
14386
|
getErrors(): EntityError[];
|
|
14387
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
14221
14388
|
getShallowErrors(): EntityError[];
|
|
14222
14389
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): FunctionCallState;
|
|
14223
14390
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
@@ -14235,6 +14402,7 @@ export declare type FunctionCallTypesUnion = IFunctionCall | IFunctionCallTransf
|
|
|
14235
14402
|
|
|
14236
14403
|
declare namespace functionCallValidation {
|
|
14237
14404
|
export {
|
|
14405
|
+
validateAsync_11 as validateAsync,
|
|
14238
14406
|
validate_11 as validate
|
|
14239
14407
|
}
|
|
14240
14408
|
}
|
|
@@ -14369,7 +14537,11 @@ export declare class FunctionDeclarationState extends UserManagedVersionedState
|
|
|
14369
14537
|
validate(): {
|
|
14370
14538
|
success: boolean;
|
|
14371
14539
|
};
|
|
14540
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
14541
|
+
success: boolean;
|
|
14542
|
+
}>;
|
|
14372
14543
|
getErrors(): EntityError[];
|
|
14544
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
14373
14545
|
getShallowErrors(): EntityError[];
|
|
14374
14546
|
clone(changeSet?: ChangeSet | null, parent?: InstalledProjectState | ProjectState | DefinitionEntityState | LoopState | null, newId?: string | null, subscribe?: boolean, cloneBody?: boolean): FunctionDeclarationState;
|
|
14375
14547
|
getVariableInstances(): VariableInstanceState[];
|
|
@@ -14393,6 +14565,7 @@ export declare type FunctionDeclarationTypesUnion = IFunctionDeclaration | IFunc
|
|
|
14393
14565
|
|
|
14394
14566
|
declare namespace functionDeclarationValidation {
|
|
14395
14567
|
export {
|
|
14568
|
+
validateAsync_9 as validateAsync,
|
|
14396
14569
|
validate_9 as validate,
|
|
14397
14570
|
validateFunctionDeclarationName_2 as validateFunctionDeclarationName
|
|
14398
14571
|
}
|
|
@@ -14615,7 +14788,9 @@ export declare function getAllActionDescriptorsForLoops(project: ProjectState):
|
|
|
14615
14788
|
|
|
14616
14789
|
export declare function getAllActionDescriptorsForOperations(project: ProjectState): string;
|
|
14617
14790
|
|
|
14618
|
-
export declare function getAllBuiltInEntityIds(): EntityId
|
|
14791
|
+
export declare function getAllBuiltInEntityIds(): Set<EntityId>;
|
|
14792
|
+
|
|
14793
|
+
export declare function getAllBuiltInEntityIdsAsync(options?: YieldOptions): Promise<Set<EntityId>>;
|
|
14619
14794
|
|
|
14620
14795
|
export declare function getAllGloballyDeclaredFunctionDeclarationsExplanation(project: ProjectState): string;
|
|
14621
14796
|
|
|
@@ -18385,7 +18560,13 @@ declare function getRawLimitFromLimitClause(limitClause: LimitClause | null): nu
|
|
|
18385
18560
|
|
|
18386
18561
|
declare function getRawOffetFromLimitClause(limitClause: LimitClause | null): number;
|
|
18387
18562
|
|
|
18388
|
-
export declare function getRecordOrderForTraversal(entities: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer
|
|
18563
|
+
export declare function getRecordOrderForTraversal(entities: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>, options: {
|
|
18564
|
+
allBuiltInEntityIds?: Set<EntityId>;
|
|
18565
|
+
}): EntityId[];
|
|
18566
|
+
|
|
18567
|
+
export declare function getRecordOrderForTraversalAsync(entities: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>, options: {
|
|
18568
|
+
allBuiltInEntityIds?: Set<EntityId>;
|
|
18569
|
+
} & YieldOptions): Promise<EntityId[]>;
|
|
18389
18570
|
|
|
18390
18571
|
export declare function getRecusriveParentsIds(entity: Element_2 | ElementTransfer | ElementShallowTransfer | EntityState, allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer | EntityState>): EntityId[];
|
|
18391
18572
|
|
|
@@ -18417,7 +18598,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
18417
18598
|
*/
|
|
18418
18599
|
export declare function getReferencedIds(entity: ElementTransfer | Element_2 | ElementShallowTransfer | EntityState, allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>, options?: {
|
|
18419
18600
|
ignoreBuiltInBaseEntities?: boolean;
|
|
18420
|
-
allBuiltInEntityIds?: EntityId
|
|
18601
|
+
allBuiltInEntityIds?: Set<EntityId>;
|
|
18421
18602
|
entityMaps?: Map<string, string>;
|
|
18422
18603
|
}): {
|
|
18423
18604
|
upstream: Record<EntityId, EntityVersion>;
|
|
@@ -18432,8 +18613,24 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
18432
18613
|
|
|
18433
18614
|
export declare function getRelatedCanvasElementsOnTheLeftFromTransfer(entity: DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer, allKnownEntities: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>): (DraggableElement | DraggableElementTransfer | DraggableElementShallowTransfer)[];
|
|
18434
18615
|
|
|
18616
|
+
/**
|
|
18617
|
+
* Get all the entities that are related to the given entity on the right
|
|
18618
|
+
* This includes:
|
|
18619
|
+
* - entities called by the given entity
|
|
18620
|
+
* - entities that read from the given entity,
|
|
18621
|
+
* both variables and other canvas entities that are the parent of the value reading entity
|
|
18622
|
+
*/
|
|
18435
18623
|
export declare function getRelatedCanvasElementsOnTheRight(entity: CanvasEntityState | ProjectState | InternalCallState, respectCollapse?: boolean): CanvasEntityState[];
|
|
18436
18624
|
|
|
18625
|
+
/**
|
|
18626
|
+
* (ASYNC) Get all the entities that are related to the given entity on the right
|
|
18627
|
+
* This includes:
|
|
18628
|
+
* - entities called by the given entity
|
|
18629
|
+
* - entities that read from the given entity,
|
|
18630
|
+
* both variables and other canvas entities that are the parent of the value reading entity
|
|
18631
|
+
*/
|
|
18632
|
+
export declare function getRelatedCanvasElementsOnTheRightAsync(entity: CanvasEntityState | ProjectState | InternalCallState, respectCollapse?: boolean, options?: YieldOptions): Promise<CanvasEntityState[]>;
|
|
18633
|
+
|
|
18437
18634
|
export declare function getRelationalDBInstanceNameFromEntityId(entityId: string): string;
|
|
18438
18635
|
|
|
18439
18636
|
export declare function getRootEntryPointScopeOwner(entity: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): EntityWithLogicScopeState | null;
|
|
@@ -19081,7 +19278,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
19081
19278
|
validate(): {
|
|
19082
19279
|
success: boolean;
|
|
19083
19280
|
};
|
|
19281
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
19282
|
+
success: boolean;
|
|
19283
|
+
}>;
|
|
19084
19284
|
getErrors(): EntityError[];
|
|
19285
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
19085
19286
|
getShallowErrors(): EntityError[];
|
|
19086
19287
|
clone(changeSet?: ChangeSet | null, parent?: InstalledProjectState | ProjectState | null, newId?: string | null, subscribe?: boolean, cloneBody?: boolean): GlobalEventState;
|
|
19087
19288
|
getVariableInstances(): VariableInstanceState[];
|
|
@@ -19095,6 +19296,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
19095
19296
|
|
|
19096
19297
|
declare namespace globalEventValidation {
|
|
19097
19298
|
export {
|
|
19299
|
+
validateAsync_16 as validateAsync,
|
|
19098
19300
|
validate_16 as validate
|
|
19099
19301
|
}
|
|
19100
19302
|
}
|
|
@@ -21294,11 +21496,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21294
21496
|
|
|
21295
21497
|
export declare function initBaseProjectEntity(data: IProjectTransfer, options?: {
|
|
21296
21498
|
shallowErrors?: boolean;
|
|
21499
|
+
allBuiltInIds?: Set<EntityId>;
|
|
21297
21500
|
}, parentContext?: IProjectInstanceParentContext): ProjectState;
|
|
21298
21501
|
|
|
21299
21502
|
export declare function initBaseProjectEntityAsync(data: IProjectTransfer, options?: {
|
|
21300
21503
|
shallowErrors?: boolean;
|
|
21301
21504
|
yieldEvery?: number;
|
|
21505
|
+
allBuiltInIds?: Set<EntityId>;
|
|
21302
21506
|
}, parentContext?: IProjectInstanceParentContext): Promise<ProjectState>;
|
|
21303
21507
|
|
|
21304
21508
|
export declare function initProject(data: IProjectTransfer, { enrich, shallowErrors, }?: {
|
|
@@ -21445,7 +21649,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21445
21649
|
validate(): {
|
|
21446
21650
|
success: boolean;
|
|
21447
21651
|
};
|
|
21652
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
21653
|
+
success: boolean;
|
|
21654
|
+
}>;
|
|
21448
21655
|
getErrors(): EntityError[];
|
|
21656
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
21449
21657
|
getShallowErrors(): EntityError[];
|
|
21450
21658
|
getDefaultValue(): LiteralValueState | null;
|
|
21451
21659
|
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): InputMapState;
|
|
@@ -21458,6 +21666,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21458
21666
|
|
|
21459
21667
|
declare namespace inputMapValidation {
|
|
21460
21668
|
export {
|
|
21669
|
+
validateAsync_17 as validateAsync,
|
|
21461
21670
|
validate_17 as validate
|
|
21462
21671
|
}
|
|
21463
21672
|
}
|
|
@@ -21573,7 +21782,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21573
21782
|
validate(): {
|
|
21574
21783
|
success: boolean;
|
|
21575
21784
|
};
|
|
21785
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
21786
|
+
success: boolean;
|
|
21787
|
+
}>;
|
|
21576
21788
|
getErrors(): EntityError[];
|
|
21789
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
21577
21790
|
getShallowErrors(): EntityError[];
|
|
21578
21791
|
clone(changeSet?: ChangeSet | null, parent?: ProjectState | null, newId?: string | null, subscribe?: boolean): InstalledProjectState;
|
|
21579
21792
|
}
|
|
@@ -21582,6 +21795,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21582
21795
|
|
|
21583
21796
|
declare namespace installedProjectValidation {
|
|
21584
21797
|
export {
|
|
21798
|
+
validateAsync_18 as validateAsync,
|
|
21585
21799
|
validate_18 as validate
|
|
21586
21800
|
}
|
|
21587
21801
|
}
|
|
@@ -21716,7 +21930,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21716
21930
|
validate(): {
|
|
21717
21931
|
success: boolean;
|
|
21718
21932
|
};
|
|
21933
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
21934
|
+
success: boolean;
|
|
21935
|
+
}>;
|
|
21719
21936
|
getErrors(): EntityError[];
|
|
21937
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
21720
21938
|
getShallowErrors(): EntityError[];
|
|
21721
21939
|
clone(changeSet?: ChangeSet | null, parent?: VariableState | null, newId?: string | null, subscribe?: boolean): InternalCallState;
|
|
21722
21940
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
@@ -21734,6 +21952,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21734
21952
|
|
|
21735
21953
|
declare namespace internalCallValidation {
|
|
21736
21954
|
export {
|
|
21955
|
+
validateAsync_19 as validateAsync,
|
|
21737
21956
|
validate_19 as validate,
|
|
21738
21957
|
validateParentRelation
|
|
21739
21958
|
}
|
|
@@ -23986,6 +24205,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
23986
24205
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
23987
24206
|
setParent(parent: DataTypeState | InputMapState | PropertyState | ArgumentDeclarationState | ReturnStatementState | BreakStatementState | ContinueStatementState | VariableDeclarationState | VariableInstanceState | ValueDescriptorState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23988
24207
|
setStandaloneParent(parent: EntityWithValueState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
24208
|
+
addValueAsTypeToList(entity: ValueAsTypeState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
24209
|
+
removeValueAsTypeFromList(entity: ValueAsTypeState, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23989
24210
|
setValueAsTypeSingle(valueAsTypeSingle: ValueAsTypeState | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23990
24211
|
setValueAsTypeList(valueAsTypeList: ValueAsTypeState[] | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
23991
24212
|
setValueAsType(valueAsTypeSingle: ValueAsTypeState | ValueAsTypeState[] | null, changeSet?: ChangeSet | null): LiteralValueState;
|
|
@@ -24018,7 +24239,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24018
24239
|
validate(): {
|
|
24019
24240
|
success: boolean;
|
|
24020
24241
|
};
|
|
24242
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
24243
|
+
success: boolean;
|
|
24244
|
+
}>;
|
|
24021
24245
|
getErrors(): EntityError[];
|
|
24246
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
24022
24247
|
getShallowErrors(): EntityError[];
|
|
24023
24248
|
clone(changeSet?: ChangeSet | null, parent?: DataTypeState | InputMapState | PropertyState | ArgumentDeclarationState | ReturnStatementState | BreakStatementState | ContinueStatementState | VariableDeclarationState | VariableInstanceState | ValueDescriptorState | null, newId?: string | null, subscribe?: boolean): LiteralValueState;
|
|
24024
24249
|
merge(sourceEntity: LiteralValueState, changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
@@ -24030,6 +24255,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24030
24255
|
|
|
24031
24256
|
declare namespace literalValueValidation {
|
|
24032
24257
|
export {
|
|
24258
|
+
validateAsync_23 as validateAsync,
|
|
24033
24259
|
validate_23 as validate
|
|
24034
24260
|
}
|
|
24035
24261
|
}
|
|
@@ -24182,7 +24408,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24182
24408
|
validate(): {
|
|
24183
24409
|
success: boolean;
|
|
24184
24410
|
};
|
|
24411
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
24412
|
+
success: boolean;
|
|
24413
|
+
}>;
|
|
24185
24414
|
getErrors(): EntityError[];
|
|
24415
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
24186
24416
|
getShallowErrors(): EntityError[];
|
|
24187
24417
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): LoopState;
|
|
24188
24418
|
getVariableInstances(): VariableInstanceState[];
|
|
@@ -24235,6 +24465,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24235
24465
|
|
|
24236
24466
|
declare namespace loopValidation {
|
|
24237
24467
|
export {
|
|
24468
|
+
validateAsync_21 as validateAsync,
|
|
24238
24469
|
validate_21 as validate,
|
|
24239
24470
|
validateListLoop
|
|
24240
24471
|
}
|
|
@@ -24471,7 +24702,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24471
24702
|
|
|
24472
24703
|
export declare const mockClientProject: IProjectTransfer;
|
|
24473
24704
|
|
|
24474
|
-
export declare function modifyEditableAndDeletableDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, newValue: boolean, seenEntities?: Set<string
|
|
24705
|
+
export declare function modifyEditableAndDeletableDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, newValue: boolean, seenEntities?: Set<string>): void;
|
|
24475
24706
|
|
|
24476
24707
|
export declare const NESTED_PROPERTY_HEIGHT = 26;
|
|
24477
24708
|
|
|
@@ -28437,7 +28668,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28437
28668
|
validate(): {
|
|
28438
28669
|
success: boolean;
|
|
28439
28670
|
};
|
|
28671
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
28672
|
+
success: boolean;
|
|
28673
|
+
}>;
|
|
28440
28674
|
getErrors(): EntityError[];
|
|
28675
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
28441
28676
|
getShallowErrors(): EntityError[];
|
|
28442
28677
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): OperationState;
|
|
28443
28678
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
@@ -28457,6 +28692,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28457
28692
|
|
|
28458
28693
|
declare namespace operationValidation {
|
|
28459
28694
|
export {
|
|
28695
|
+
validateAsync_10 as validateAsync,
|
|
28460
28696
|
validate_10 as validate
|
|
28461
28697
|
}
|
|
28462
28698
|
}
|
|
@@ -28472,7 +28708,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28472
28708
|
|
|
28473
28709
|
export declare const orConditionResultVoidDataTypeParentRef: IActionDescriptorReference;
|
|
28474
28710
|
|
|
28475
|
-
export declare function orderEntitiesForTraversal(entities: (Element_2 | ElementTransfer | EntityState | ElementShallowTransfer)[]
|
|
28711
|
+
export declare function orderEntitiesForTraversal(entities: (Element_2 | ElementTransfer | EntityState | ElementShallowTransfer)[], options: {
|
|
28712
|
+
allBuiltInEntityIds?: Set<EntityId>;
|
|
28713
|
+
}): (Element_2 | ElementTransfer | EntityState | ElementShallowTransfer)[];
|
|
28714
|
+
|
|
28715
|
+
export declare function orderEntitiesForTraversalAsync(entities: (Element_2 | ElementTransfer | EntityState | ElementShallowTransfer)[], options: {
|
|
28716
|
+
allBuiltInEntityIds?: Set<EntityId>;
|
|
28717
|
+
} & YieldOptions): Promise<(Element_2 | ElementTransfer | EntityState | ElementShallowTransfer)[]>;
|
|
28476
28718
|
|
|
28477
28719
|
export declare const outEncDefault: ILiteralValueTransfer;
|
|
28478
28720
|
|
|
@@ -28597,7 +28839,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28597
28839
|
validate(): {
|
|
28598
28840
|
success: boolean;
|
|
28599
28841
|
};
|
|
28842
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
28843
|
+
success: boolean;
|
|
28844
|
+
}>;
|
|
28600
28845
|
getErrors(): EntityError[];
|
|
28846
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
28601
28847
|
getShallowErrors(): EntityError[];
|
|
28602
28848
|
clone(changeSet?: ChangeSet | null, parent?: PassThroughCallableEntityWithOutputsState | null, newId?: string | null, subscribe?: boolean): OutputMapState;
|
|
28603
28849
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
@@ -28607,6 +28853,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28607
28853
|
|
|
28608
28854
|
declare namespace outputMapValidation {
|
|
28609
28855
|
export {
|
|
28856
|
+
validateAsync,
|
|
28610
28857
|
validate
|
|
28611
28858
|
}
|
|
28612
28859
|
}
|
|
@@ -28779,7 +29026,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28779
29026
|
|
|
28780
29027
|
export declare function percentageChange(oldRaw: unknown, newRaw: unknown): number;
|
|
28781
29028
|
|
|
28782
|
-
export declare type PersistChangeSetEntityActionPayload = IRecordChangeSet<UserManagedElementShallowTransfer, UserManagedElementShallowTransfer> & {
|
|
29029
|
+
export declare type PersistChangeSetEntityActionPayload = IRecordChangeSet<UserManagedElementShallowTransfer | null, UserManagedElementShallowTransfer> & {
|
|
28783
29030
|
isNewBranchHead: boolean;
|
|
28784
29031
|
branch: string;
|
|
28785
29032
|
};
|
|
@@ -28952,7 +29199,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
28952
29199
|
validate(): {
|
|
28953
29200
|
success: boolean;
|
|
28954
29201
|
};
|
|
29202
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
29203
|
+
success: boolean;
|
|
29204
|
+
}>;
|
|
28955
29205
|
getErrors(): EntityError[];
|
|
29206
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
28956
29207
|
getShallowErrors(): EntityError[];
|
|
28957
29208
|
getAllInteractiveMethods(): ActionDescriptorState[];
|
|
28958
29209
|
}
|
|
@@ -29041,6 +29292,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29041
29292
|
activeVersion: boolean;
|
|
29042
29293
|
initialized: boolean;
|
|
29043
29294
|
startedInitialization: boolean;
|
|
29295
|
+
diggestedBuiltInBaseEntitiesIds: Set<EntityId>;
|
|
29044
29296
|
onPersistChangeSetSequentiallyCallback: ((changeSet: ChangeSet) => Promise<{
|
|
29045
29297
|
success: boolean;
|
|
29046
29298
|
}>) | null;
|
|
@@ -29187,8 +29439,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29187
29439
|
validate(): {
|
|
29188
29440
|
success: boolean;
|
|
29189
29441
|
};
|
|
29442
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
29443
|
+
success: boolean;
|
|
29444
|
+
}>;
|
|
29190
29445
|
validateChildren(): void;
|
|
29446
|
+
validateChildrenAsync(options?: YieldOptions): Promise<void>;
|
|
29191
29447
|
getErrors(): EntityError[];
|
|
29448
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
29192
29449
|
getShallowErrors(): EntityError[];
|
|
29193
29450
|
clone(): ProjectState;
|
|
29194
29451
|
getDefinitionEntity(id: EntityId): DefinitionEntityState | null;
|
|
@@ -29408,7 +29665,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29408
29665
|
validate(): {
|
|
29409
29666
|
success: boolean;
|
|
29410
29667
|
};
|
|
29668
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
29669
|
+
success: boolean;
|
|
29670
|
+
}>;
|
|
29411
29671
|
getErrors(): EntityError[];
|
|
29672
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
29412
29673
|
getShallowErrors(): EntityError[];
|
|
29413
29674
|
implement(parent: DefinitionEntityState, changeSet?: ChangeSet | null, newId?: string | null): PropertyState;
|
|
29414
29675
|
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | null, newId?: string | null, subscribe?: boolean): PropertyState;
|
|
@@ -29427,6 +29688,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29427
29688
|
|
|
29428
29689
|
declare namespace propertyValidation {
|
|
29429
29690
|
export {
|
|
29691
|
+
validateAsync_4 as validateAsync,
|
|
29430
29692
|
validate_4 as validate,
|
|
29431
29693
|
validateImplementation,
|
|
29432
29694
|
validatePropertyEntityName
|
|
@@ -30144,7 +30406,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30144
30406
|
validate(): {
|
|
30145
30407
|
success: boolean;
|
|
30146
30408
|
};
|
|
30409
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
30410
|
+
success: boolean;
|
|
30411
|
+
}>;
|
|
30147
30412
|
getErrors(): EntityError[];
|
|
30413
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
30148
30414
|
getShallowErrors(): EntityError[];
|
|
30149
30415
|
getDefaultValue(): LiteralValueState | null;
|
|
30150
30416
|
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
@@ -30159,6 +30425,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30159
30425
|
|
|
30160
30426
|
declare namespace returnStatementValidation {
|
|
30161
30427
|
export {
|
|
30428
|
+
validateAsync_13 as validateAsync,
|
|
30162
30429
|
validate_13 as validate
|
|
30163
30430
|
}
|
|
30164
30431
|
}
|
|
@@ -30379,7 +30646,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30379
30646
|
validate(): {
|
|
30380
30647
|
success: boolean;
|
|
30381
30648
|
};
|
|
30649
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
30650
|
+
success: boolean;
|
|
30651
|
+
}>;
|
|
30382
30652
|
getErrors(): EntityError[];
|
|
30653
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
30383
30654
|
getShallowErrors(): EntityError[];
|
|
30384
30655
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): SearchState;
|
|
30385
30656
|
syncInputMaps(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
@@ -30548,6 +30819,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30548
30819
|
|
|
30549
30820
|
declare namespace searchValidation {
|
|
30550
30821
|
export {
|
|
30822
|
+
validateAsync_20 as validateAsync,
|
|
30551
30823
|
validate_20 as validate
|
|
30552
30824
|
}
|
|
30553
30825
|
}
|
|
@@ -31364,7 +31636,9 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31364
31636
|
SetDataTypeEntityValue = "set-data-type-entity-value",
|
|
31365
31637
|
MergeDataTypes = "merge-data-types",
|
|
31366
31638
|
SetDataTypeForeignKeyRef = "set-data-type-foreign-key-ref",
|
|
31367
|
-
SetErrorEntity = "set-error-entity"
|
|
31639
|
+
SetErrorEntity = "set-error-entity",
|
|
31640
|
+
AddValueAsTypeToList = "add-value-as-type-to-list",
|
|
31641
|
+
RemoveValueAsTypeFromList = "remove-value-as-type-from-list"
|
|
31368
31642
|
}
|
|
31369
31643
|
|
|
31370
31644
|
export declare enum StateMutationErrorCode {
|
|
@@ -32385,41 +32659,38 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
32385
32659
|
export declare class Traverser {
|
|
32386
32660
|
order: EntityId[];
|
|
32387
32661
|
flatRecord: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>;
|
|
32388
|
-
allBuiltInEntityIds:
|
|
32662
|
+
allBuiltInEntityIds: Set<EntityId>;
|
|
32389
32663
|
private onGoingVisits;
|
|
32664
|
+
cachedReferences: Record<EntityId, {
|
|
32665
|
+
upstream: Record<EntityId, true>;
|
|
32666
|
+
downstream: Record<EntityId, true>;
|
|
32667
|
+
}>;
|
|
32390
32668
|
constructor(root?: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, options?: {
|
|
32391
32669
|
asyncInitial?: boolean;
|
|
32392
|
-
yieldEvery?: number;
|
|
32393
32670
|
onOrdered?: () => void;
|
|
32394
|
-
|
|
32671
|
+
allBuiltInEntityIds?: Set<EntityId>;
|
|
32672
|
+
} & YieldOptions);
|
|
32395
32673
|
flatten(entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer): void;
|
|
32396
|
-
flattenAsync(entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, options?:
|
|
32397
|
-
yieldEvery?: number;
|
|
32398
|
-
}): Promise<void>;
|
|
32674
|
+
flattenAsync(entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, options?: YieldOptions): Promise<void>;
|
|
32399
32675
|
private moveEntityAfterDependencies;
|
|
32400
32676
|
orderEntities(): void;
|
|
32401
|
-
orderEntitiesAsync(options?:
|
|
32402
|
-
yieldEvery?: number;
|
|
32403
|
-
recursiveIndex?: number;
|
|
32404
|
-
}): Promise<void>;
|
|
32677
|
+
orderEntitiesAsync(options?: YieldOptions): Promise<void>;
|
|
32405
32678
|
getUpstreamOngoingDependenciesVisits(entityId: EntityId, taskId: string): Record<EntityId, Promise<any>>;
|
|
32406
32679
|
getDownstreamOngoingDependenciesVisits(entityId: EntityId, taskId: string): Record<EntityId, Promise<any>>;
|
|
32407
32680
|
settlePromises(promises: Record<EntityId, Promise<any>>, taskId: string): Promise<void>;
|
|
32408
32681
|
visit(callback: (entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, knownEntitiesRecord: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>) => any): Traverser;
|
|
32409
32682
|
reverseVisit(callback: (entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, knownEntitiesRecord: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>) => any): Traverser;
|
|
32410
32683
|
visitAsync(callback: (entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, knownEntitiesRecord: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>) => any, options?: {
|
|
32411
|
-
yieldEvery?: number;
|
|
32412
32684
|
parallelise?: boolean;
|
|
32413
|
-
}): Promise<Traverser>;
|
|
32685
|
+
} & YieldOptions): Promise<Traverser>;
|
|
32414
32686
|
reverseVisitAsync(callback: (entity: Element_2 | ElementTransfer | EntityState | ElementShallowTransfer, knownEntitiesRecord: Record<EntityId, Element_2 | ElementTransfer | EntityState | ElementShallowTransfer>) => any, options?: {
|
|
32415
|
-
yieldEvery?: number;
|
|
32416
32687
|
parallelise?: boolean;
|
|
32417
|
-
}): Promise<Traverser>;
|
|
32688
|
+
} & YieldOptions): Promise<Traverser>;
|
|
32418
32689
|
}
|
|
32419
32690
|
|
|
32420
32691
|
declare type TypedArray = Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | BigUint64Array | BigInt64Array | Float32Array | Float64Array;
|
|
32421
32692
|
|
|
32422
|
-
export declare function unfreezeDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, seenEntities?: Set<string
|
|
32693
|
+
export declare function unfreezeDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, seenEntities?: Set<string>): void;
|
|
32423
32694
|
|
|
32424
32695
|
export declare function uniqueList(list: unknown): any[];
|
|
32425
32696
|
|
|
@@ -32715,6 +32986,52 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
32715
32986
|
|
|
32716
32987
|
export declare function validateArgumentDeclarationName(entity: ArgumentDeclarationState | IArgumentDeclarationGenerationTarget | IArgumentDeclarationShallowTransfer | IArgumentDeclarationTransfer, project: ProjectState): EntityGenerationError[];
|
|
32717
32988
|
|
|
32989
|
+
declare function validateAsync(self: OutputMapState, options?: YieldOptions): Promise<EntityError[]>;
|
|
32990
|
+
|
|
32991
|
+
declare function validateAsync_10(self: OperationState, options?: YieldOptions): Promise<EntityError[]>;
|
|
32992
|
+
|
|
32993
|
+
declare function validateAsync_11(self: FunctionCallState, options?: YieldOptions): Promise<EntityError[]>;
|
|
32994
|
+
|
|
32995
|
+
declare function validateAsync_12(self: ConditionState, options?: YieldOptions): Promise<EntityError[]>;
|
|
32996
|
+
|
|
32997
|
+
declare function validateAsync_13(self: ReturnStatementState, options?: YieldOptions): Promise<EntityError[]>;
|
|
32998
|
+
|
|
32999
|
+
declare function validateAsync_14(self: ContinueStatementState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33000
|
+
|
|
33001
|
+
declare function validateAsync_15(self: BreakStatementState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33002
|
+
|
|
33003
|
+
declare function validateAsync_16(self: GlobalEventState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33004
|
+
|
|
33005
|
+
declare function validateAsync_17(self: InputMapState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33006
|
+
|
|
33007
|
+
declare function validateAsync_18(self: InstalledProjectState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33008
|
+
|
|
33009
|
+
declare function validateAsync_19(self: InternalCallState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33010
|
+
|
|
33011
|
+
declare function validateAsync_2(self: DefinitionEntityState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33012
|
+
|
|
33013
|
+
declare function validateAsync_20(self: SearchState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33014
|
+
|
|
33015
|
+
declare function validateAsync_21(self: LoopState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33016
|
+
|
|
33017
|
+
declare function validateAsync_22(self: ValueDescriptorState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33018
|
+
|
|
33019
|
+
declare function validateAsync_23(self: LiteralValueState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33020
|
+
|
|
33021
|
+
declare function validateAsync_3(self: DataTypeState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33022
|
+
|
|
33023
|
+
declare function validateAsync_4(self: PropertyState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33024
|
+
|
|
33025
|
+
declare function validateAsync_5(self: VariableDeclarationState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33026
|
+
|
|
33027
|
+
declare function validateAsync_6(self: VariableInstanceState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33028
|
+
|
|
33029
|
+
declare function validateAsync_7(self: ArgumentDeclarationState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33030
|
+
|
|
33031
|
+
declare function validateAsync_8(self: ActionDescriptorState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33032
|
+
|
|
33033
|
+
declare function validateAsync_9(self: FunctionDeclarationState, options?: YieldOptions): Promise<EntityError[]>;
|
|
33034
|
+
|
|
32718
33035
|
export declare function validateCallableEntityShouldCallReturnStatement(self: CallableEntityState): EntityError[];
|
|
32719
33036
|
|
|
32720
33037
|
export declare function validateCalledByErrorIdInAction(calledByErrorId: EntityId, project: ProjectState, propertyName?: string): EntityGenerationError[];
|
|
@@ -33422,7 +33739,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33422
33739
|
validate(): {
|
|
33423
33740
|
success: boolean;
|
|
33424
33741
|
};
|
|
33742
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
33743
|
+
success: boolean;
|
|
33744
|
+
}>;
|
|
33425
33745
|
getErrors(): EntityError[];
|
|
33746
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
33426
33747
|
getShallowErrors(): EntityError[];
|
|
33427
33748
|
clone(changeSet?: ChangeSet | null, parent?: ActionDescriptorState | SearchState | null, newId?: string | null, subscribe?: boolean): ValueDescriptorState;
|
|
33428
33749
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
@@ -33438,6 +33759,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33438
33759
|
|
|
33439
33760
|
declare namespace valueDescriptorValidation {
|
|
33440
33761
|
export {
|
|
33762
|
+
validateAsync_22 as validateAsync,
|
|
33441
33763
|
validate_22 as validate
|
|
33442
33764
|
}
|
|
33443
33765
|
}
|
|
@@ -33659,7 +33981,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33659
33981
|
validate(): {
|
|
33660
33982
|
success: boolean;
|
|
33661
33983
|
};
|
|
33984
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
33985
|
+
success: boolean;
|
|
33986
|
+
}>;
|
|
33662
33987
|
getErrors(): EntityError[];
|
|
33988
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
33663
33989
|
getShallowErrors(): EntityError[];
|
|
33664
33990
|
getDefaultValue(): LiteralValueState | null;
|
|
33665
33991
|
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
@@ -33685,6 +34011,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33685
34011
|
|
|
33686
34012
|
declare namespace variableDeclarationValidation {
|
|
33687
34013
|
export {
|
|
34014
|
+
validateAsync_5 as validateAsync,
|
|
33688
34015
|
validate_5 as validate,
|
|
33689
34016
|
validateVariableDeclarationName_2 as validateVariableDeclarationName,
|
|
33690
34017
|
validateGlobalVariableDeclaration
|
|
@@ -33861,7 +34188,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33861
34188
|
validate(): {
|
|
33862
34189
|
success: boolean;
|
|
33863
34190
|
};
|
|
34191
|
+
validateAsync(options?: YieldOptions): Promise<{
|
|
34192
|
+
success: boolean;
|
|
34193
|
+
}>;
|
|
33864
34194
|
getErrors(): EntityError[];
|
|
34195
|
+
getErrorsAsync(options?: YieldOptions): Promise<EntityError[]>;
|
|
33865
34196
|
getShallowErrors(): EntityError[];
|
|
33866
34197
|
getDefaultValue(): LiteralValueState | null;
|
|
33867
34198
|
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
@@ -33885,6 +34216,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33885
34216
|
|
|
33886
34217
|
declare namespace variableInstanceValidation {
|
|
33887
34218
|
export {
|
|
34219
|
+
validateAsync_6 as validateAsync,
|
|
33888
34220
|
validate_6 as validate
|
|
33889
34221
|
}
|
|
33890
34222
|
}
|