@elyx-code/project-logic-tree 0.0.6290 → 0.0.6299
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 +67 -43
- package/dist/index.js +15721 -15519
- package/dist/index.umd.cjs +204 -204
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { ZodError } from 'zod';
|
|
|
23
23
|
|
|
24
24
|
export declare type ActionDescriptorPayloadUnion = ActionDescriptorState | ActionDescriptorTypesUnion;
|
|
25
25
|
|
|
26
|
-
export declare class ActionDescriptorState extends VersionedState implements IActionDescriptor, UserManagedEntityStateTemplate, BaseState,
|
|
26
|
+
export declare class ActionDescriptorState extends VersionedState implements IActionDescriptor, UserManagedEntityStateTemplate, BaseState, ChildEntityBaseClass {
|
|
27
27
|
initialData: IActionDescriptorTransfer | IActionDescriptor;
|
|
28
28
|
readonly id: EntityId;
|
|
29
29
|
name: string;
|
|
@@ -279,7 +279,7 @@ export declare enum ArgumentDeclarationDependencyField {
|
|
|
279
279
|
|
|
280
280
|
export declare type ArgumentDeclarationPayloadUnion = ArgumentDeclarationState | ArgumentDeclarationTypesUnion;
|
|
281
281
|
|
|
282
|
-
export declare class ArgumentDeclarationState extends VersionedState implements IArgumentDeclaration, UserManagedEntityStateTemplate, ValueWritingEntityClass, BaseState,
|
|
282
|
+
export declare class ArgumentDeclarationState extends VersionedState implements IArgumentDeclaration, UserManagedEntityStateTemplate, ValueWritingEntityClass, BaseState, ChildEntityBaseClass, EntityWithValueClass {
|
|
283
283
|
initialData: IArgumentDeclaration | IArgumentDeclarationTransfer;
|
|
284
284
|
readonly id: EntityId;
|
|
285
285
|
name: string;
|
|
@@ -391,7 +391,7 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
391
391
|
getErrors(): EntityError[];
|
|
392
392
|
getShallowErrors(): EntityError[];
|
|
393
393
|
getDefaultValue(): LiteralValueState | null;
|
|
394
|
-
setDefaultValue(
|
|
394
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
395
395
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | null, newId?: string | null, subscribe?: boolean): ArgumentDeclarationState;
|
|
396
396
|
getDataType(_changeSet?: ChangeSet | null): DataTypeState | null;
|
|
397
397
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
@@ -452,7 +452,7 @@ export declare enum BreakStatementDependencyField {
|
|
|
452
452
|
|
|
453
453
|
export declare type BreakStatementPayloadUnion = BreakStatementState | BreakStatementTypesUnion;
|
|
454
454
|
|
|
455
|
-
export declare class BreakStatementState extends VersionedState implements IBreakStatement, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass,
|
|
455
|
+
export declare class BreakStatementState extends VersionedState implements IBreakStatement, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass {
|
|
456
456
|
initialData: IBreakStatement | IBreakStatementTransfer;
|
|
457
457
|
readonly id: EntityId;
|
|
458
458
|
x: number;
|
|
@@ -1328,14 +1328,32 @@ export declare function checkIsNestedScope(parent: EntityWithLogicScopeState | P
|
|
|
1328
1328
|
|
|
1329
1329
|
export declare function checkScopeCompatibility(entityA: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, entityB: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): ScopeCompatibility;
|
|
1330
1330
|
|
|
1331
|
-
export declare
|
|
1331
|
+
export declare type ChildElement = IInstalledProject | IDefinitionEntity | IGlobalEvent | IFunctionDeclaration | IFunctionCall | IProperty | IVariableDeclaration | IVariableInstance | IOperation | ICondition | IArgumentDeclaration | IInputMap | IReturnDeclaration | IOutputMap | IDataType | IReturnStatement | IBreakStatement | IContinueStatement | ILoop | IActionDescriptor | ISearch | ILiteralValue | IValueDescriptor | IInternalCall;
|
|
1332
|
+
|
|
1333
|
+
export declare type ChildElement_meta = IInstalledProject_meta | IDefinitionEntity_meta | IGlobalEvent_meta | IFunctionDeclaration_meta | IFunctionCall_meta | IProperty_meta | IVariableDeclaration_meta | IVariableInstance_meta | IOperation_meta | ICondition_meta | IArgumentDeclaration_meta | IInputMap_meta | IReturnDeclaration_meta | IOutputMap_meta | IDataType_meta | IReturnStatement_meta | IBreakStatement_meta | IContinueStatement_meta | ILoop_meta | IActionDescriptor_meta | ISearch_meta | ILiteralValue_meta | IValueDescriptor_meta | IInternalCall_meta;
|
|
1334
|
+
|
|
1335
|
+
export declare type ChildElementGenerationTarget = IInstalledProjectGenerationTarget | IDefinitionEntityGenerationTarget | IGlobalEventGenerationTarget | IFunctionDeclarationGenerationTarget | IFunctionCallGenerationTarget | IPropertyGenerationTarget | IVariableDeclarationGenerationTarget | IVariableInstanceGenerationTarget | IOperationGenerationTarget | IConditionGenerationTarget | IArgumentDeclarationGenerationTarget | IInputMapGenerationTarget | IReturnDeclarationGenerationTarget | IOutputMapGenerationTarget | IDataTypeGenerationTarget | IReturnStatementGenerationTarget | IBreakStatementGenerationTarget | IContinueStatementGenerationTarget | ILoopGenerationTarget | IActionDescriptorGenerationTarget | ISearchGenerationTarget | ILiteralValueGenerationTarget | IValueDescriptorGenerationTarget | IInternalCallGenerationTarget;
|
|
1336
|
+
|
|
1337
|
+
export declare type ChildElementShallowTransfer = IInstalledProjectShallowTransfer | IDefinitionEntityShallowTransfer | IGlobalEventShallowTransfer | IFunctionDeclarationShallowTransfer | IFunctionCallShallowTransfer | IPropertyShallowTransfer | IVariableDeclarationShallowTransfer | IVariableInstanceShallowTransfer | IOperationShallowTransfer | IConditionShallowTransfer | IArgumentDeclarationShallowTransfer | IInputMapShallowTransfer | IReturnDeclarationShallowTransfer | IOutputMapShallowTransfer | IDataTypeShallowTransfer | IReturnStatementShallowTransfer | IBreakStatementShallowTransfer | IContinueStatementShallowTransfer | ILoopShallowTransfer | IActionDescriptorShallowTransfer | ISearchShallowTransfer | ILiteralValueShallowTransfer | IValueDescriptorShallowTransfer | IInternalCallShallowTransfer;
|
|
1338
|
+
|
|
1339
|
+
export declare type ChildElementTransfer = IInstalledProjectTransfer | IDefinitionEntityTransfer | IGlobalEventTransfer | IFunctionDeclarationTransfer | IFunctionCallTransfer | IPropertyTransfer | IVariableDeclarationTransfer | IVariableInstanceTransfer | IOperationTransfer | IConditionTransfer | IArgumentDeclarationTransfer | IInputMapTransfer | IReturnDeclarationTransfer | IOutputMapTransfer | IDataTypeTransfer | IReturnStatementTransfer | IBreakStatementTransfer | IContinueStatementTransfer | ILoopTransfer | IActionDescriptorTransfer | ISearchTransfer | ILiteralValueTransfer | IValueDescriptorTransfer | IInternalCallTransfer;
|
|
1340
|
+
|
|
1341
|
+
export declare type ChildElementTypesUnion = InstalledProjectTypesUnion | DefinitionEntityTypesUnion | GlobalEventTypesUnion | FunctionDeclarationTypesUnion | FunctionCallTypesUnion | PropertyTypesUnion | VariableDeclarationTypesUnion | VariableInstanceTypesUnion | OperationTypesUnion | ConditionTypesUnion | ArgumentDeclarationTypesUnion | InputMapTypesUnion | ReturnDeclarationTypesUnion | OutputMapTypesUnion | DataTypeTypesUnion | ReturnStatementTypesUnion | BreakStatementTypesUnion | ContinueStatementTypesUnion | LoopTypesUnion | ActionDescriptorTypesUnion | SearchTypesUnion | LiteralValueTypesUnion | ValueDescriptorTypesUnion | InternalCallTypesUnion;
|
|
1342
|
+
|
|
1343
|
+
export declare abstract class ChildEntityBaseClass {
|
|
1332
1344
|
abstract parent: EntityState | null;
|
|
1333
1345
|
abstract startedInitialization: boolean;
|
|
1334
1346
|
abstract initialized: boolean;
|
|
1335
|
-
abstract setParent(parent: EntityState):
|
|
1336
|
-
abstract initChildren(changeSet: ChangeSet | null):
|
|
1347
|
+
abstract setParent(parent: EntityState): ChildEntityBaseClass;
|
|
1348
|
+
abstract initChildren(changeSet: ChangeSet | null): ChildEntityBaseClass;
|
|
1337
1349
|
}
|
|
1338
1350
|
|
|
1351
|
+
export declare type ChildEntityState = InstalledProjectState | DefinitionEntityState | GlobalEventState | FunctionDeclarationState | FunctionCallState | PropertyState | VariableDeclarationState | VariableInstanceState | OperationState | ConditionState | ArgumentDeclarationState | InputMapState | ReturnDeclarationState | OutputMapState | DataTypeState | ReturnStatementState | BreakStatementState | ContinueStatementState | LoopState | ActionDescriptorState | SearchState | LiteralValueState | ValueDescriptorState | InternalCallState;
|
|
1352
|
+
|
|
1353
|
+
export declare type ChildReference = IFunctionDeclarationReference | IInstalledProjectReference | IDataTypeReference | IVariableDeclarationReference | IVariableInstanceReference | IOperationReference | IDefinitionEntityReference | IGlobalEventReference | IFunctionDeclarationReference | IFunctionDeclarationReference | IPropertyReference | IFunctionCallReference | IArgumentDeclarationReference | IInputMapReference | IOutputMapReference | IReturnDeclarationReference | IConditionReference | IReturnStatementReference | IBreakStatementReference | IContinueStatementReference | ILoopReference | IActionDescriptorReference | ISearchReference | ILiteralValueReference | IValueDescriptorReference | IInternalCallReference;
|
|
1354
|
+
|
|
1355
|
+
export declare const CHILDREN_TYPES: EntityType[];
|
|
1356
|
+
|
|
1339
1357
|
export declare function cloneProject(project: ProjectState, { enrich, }?: {
|
|
1340
1358
|
enrich: boolean;
|
|
1341
1359
|
}): ProjectState;
|
|
@@ -1392,7 +1410,7 @@ export declare const CONDITIONS: {
|
|
|
1392
1410
|
[key: string]: IActionDescriptorTransfer;
|
|
1393
1411
|
};
|
|
1394
1412
|
|
|
1395
|
-
export declare class ConditionState extends VersionedState implements ICondition, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass,
|
|
1413
|
+
export declare class ConditionState extends VersionedState implements ICondition, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass, PassThroughCallableEntityClass {
|
|
1396
1414
|
initialData: ICondition | IConditionTransfer;
|
|
1397
1415
|
readonly id: EntityId;
|
|
1398
1416
|
x: number;
|
|
@@ -1530,7 +1548,7 @@ export declare enum ContinueStatementDependencyField {
|
|
|
1530
1548
|
|
|
1531
1549
|
export declare type ContinueStatementPayloadUnion = ContinueStatementState | ContinueStatementTypesUnion;
|
|
1532
1550
|
|
|
1533
|
-
export declare class ContinueStatementState extends VersionedState implements IContinueStatement, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass,
|
|
1551
|
+
export declare class ContinueStatementState extends VersionedState implements IContinueStatement, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass {
|
|
1534
1552
|
initialData: IContinueStatement | IContinueStatementTransfer;
|
|
1535
1553
|
readonly id: EntityId;
|
|
1536
1554
|
x: number;
|
|
@@ -1849,7 +1867,7 @@ export declare enum DataTypeParentChildRelation {
|
|
|
1849
1867
|
|
|
1850
1868
|
export declare type DataTypePayloadUnion = DataTypeState | DataTypeTypesUnion;
|
|
1851
1869
|
|
|
1852
|
-
export declare class DataTypeState extends VersionedState implements IDataType, UserManagedEntityStateTemplate, BaseState,
|
|
1870
|
+
export declare class DataTypeState extends VersionedState implements IDataType, UserManagedEntityStateTemplate, BaseState, ChildEntityBaseClass {
|
|
1853
1871
|
initialData: IDataType | IDataTypeTransfer;
|
|
1854
1872
|
readonly id: EntityId;
|
|
1855
1873
|
isList: boolean | null;
|
|
@@ -1916,8 +1934,8 @@ export declare class DataTypeState extends VersionedState implements IDataType,
|
|
|
1916
1934
|
field: string;
|
|
1917
1935
|
}[]): UserManagedEntityState;
|
|
1918
1936
|
syncDependents(changeSet?: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
1919
|
-
onDetachedDependencyRemoved(dependency: UserManagedEntityState, field: string,
|
|
1920
|
-
onDetachedDependencyRestored(_dependency: UserManagedEntityState, field: string,
|
|
1937
|
+
onDetachedDependencyRemoved(dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
1938
|
+
onDetachedDependencyRestored(_dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
1921
1939
|
unsubscribeFromDependencies(): UserManagedEntityState;
|
|
1922
1940
|
subscribeToDependencies(): UserManagedEntityState;
|
|
1923
1941
|
increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
|
|
@@ -1965,7 +1983,7 @@ export declare class DataTypeState extends VersionedState implements IDataType,
|
|
|
1965
1983
|
merge(sourceEntity: DataTypeState, changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
1966
1984
|
addToAndGroup(child: DataTypeState): DataTypeState;
|
|
1967
1985
|
addToOrGroup(child: DataTypeState): DataTypeState;
|
|
1968
|
-
setEntity(entity: DefinitionEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | LiteralValueState | null): DataTypeState;
|
|
1986
|
+
setEntity(entity: DefinitionEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | LiteralValueState | null, changeSet?: ChangeSet | null): DataTypeState;
|
|
1969
1987
|
isObject(): boolean;
|
|
1970
1988
|
canBeObject(): boolean;
|
|
1971
1989
|
hasStrictObjectStructure(): boolean;
|
|
@@ -2078,7 +2096,7 @@ export declare enum DefinitionEntityDependencyField {
|
|
|
2078
2096
|
|
|
2079
2097
|
export declare type DefinitionEntityPayloadUnion = DefinitionEntityState | DefinitionEntityTypesUnion;
|
|
2080
2098
|
|
|
2081
|
-
export declare class DefinitionEntityState extends VersionedState implements BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, IDefinitionEntity,
|
|
2099
|
+
export declare class DefinitionEntityState extends VersionedState implements BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, IDefinitionEntity, ChildEntityBaseClass {
|
|
2082
2100
|
initialData: IDefinitionEntity | IDefinitionEntityTransfer;
|
|
2083
2101
|
readonly id: EntityId;
|
|
2084
2102
|
name: string;
|
|
@@ -3095,7 +3113,7 @@ export declare enum FunctionCallDependencyField {
|
|
|
3095
3113
|
|
|
3096
3114
|
export declare type FunctionCallPayloadUnion = FunctionCallState | FunctionCallTypesUnion;
|
|
3097
3115
|
|
|
3098
|
-
export declare class FunctionCallState extends VersionedState implements IFunctionCall, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass,
|
|
3116
|
+
export declare class FunctionCallState extends VersionedState implements IFunctionCall, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass, PassThroughCallableEntityClass {
|
|
3099
3117
|
initialData: IFunctionCall | IFunctionCallTransfer;
|
|
3100
3118
|
readonly id: EntityId;
|
|
3101
3119
|
x: number;
|
|
@@ -3241,7 +3259,7 @@ export declare enum FunctionDeclarationDependencyField {
|
|
|
3241
3259
|
|
|
3242
3260
|
export declare type FunctionDeclarationPayloadUnion = FunctionDeclarationState | FunctionDeclarationTypesUnion;
|
|
3243
3261
|
|
|
3244
|
-
export declare class FunctionDeclarationState extends VersionedState implements IFunctionDeclaration, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState,
|
|
3262
|
+
export declare class FunctionDeclarationState extends VersionedState implements IFunctionDeclaration, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, ChildEntityBaseClass, EntityWithLogicScopeClass, EntryPointEntityClass {
|
|
3245
3263
|
initialData: IFunctionDeclarationTransfer | IFunctionDeclaration;
|
|
3246
3264
|
readonly id: EntityId;
|
|
3247
3265
|
name: string;
|
|
@@ -6924,12 +6942,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
6924
6942
|
export declare function getReferencedIds(entity: ElementTransfer | Element_2 | ElementShallowTransfer | EntityState, allKnownEntities?: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>, options?: {
|
|
6925
6943
|
ignoreBuiltInBaseEntities?: boolean;
|
|
6926
6944
|
allBuiltInEntityIds?: EntityId[];
|
|
6945
|
+
entityMaps?: Map<string, string>;
|
|
6927
6946
|
}): {
|
|
6928
|
-
upstream: Record<EntityId,
|
|
6929
|
-
downstream: Record<EntityId,
|
|
6947
|
+
upstream: Record<EntityId, EntityVersion>;
|
|
6948
|
+
downstream: Record<EntityId, EntityVersion>;
|
|
6930
6949
|
};
|
|
6931
6950
|
|
|
6932
|
-
export declare function getReferenceEntityId(reference: string | IGenericReference | EntityState | Element_2 | ElementShallowTransfer | ElementTransfer | ElementGenerationTarget): string | null;
|
|
6951
|
+
export declare function getReferenceEntityId(reference: string | IGenericReference | EntityState | Element_2 | ElementShallowTransfer | ElementTransfer | ElementGenerationTarget | null): string | null;
|
|
6933
6952
|
|
|
6934
6953
|
export declare function getRelatedCanvasElementsOnTheLeft(entity: CanvasEntityState): CanvasEntityState[];
|
|
6935
6954
|
|
|
@@ -7346,7 +7365,7 @@ export declare enum GlobalEventNames {
|
|
|
7346
7365
|
|
|
7347
7366
|
export declare type GlobalEventPayloadUnion = GlobalEventState | GlobalEventTypesUnion;
|
|
7348
7367
|
|
|
7349
|
-
export declare class GlobalEventState extends VersionedState implements IGlobalEvent, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState,
|
|
7368
|
+
export declare class GlobalEventState extends VersionedState implements IGlobalEvent, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, ChildEntityBaseClass, EntityWithLogicScopeClass, EntryPointEntityClass {
|
|
7350
7369
|
initialData: IGlobalEvent | IGlobalEventTransfer;
|
|
7351
7370
|
readonly id: EntityId;
|
|
7352
7371
|
name: GlobalEventNames;
|
|
@@ -8826,7 +8845,7 @@ export declare enum InputMapDependencyField {
|
|
|
8826
8845
|
|
|
8827
8846
|
export declare type InputMapPayloadUnion = InputMapState | InputMapTypesUnion;
|
|
8828
8847
|
|
|
8829
|
-
export declare class InputMapState extends VersionedState implements IInputMap, ValueReadingEntityClass, UserManagedEntityStateTemplate, BaseState,
|
|
8848
|
+
export declare class InputMapState extends VersionedState implements IInputMap, ValueReadingEntityClass, UserManagedEntityStateTemplate, BaseState, ChildEntityBaseClass, EntityWithValueClass {
|
|
8830
8849
|
initialData: IInputMap | IInputMapTransfer;
|
|
8831
8850
|
readonly id: EntityId;
|
|
8832
8851
|
index: number;
|
|
@@ -8938,7 +8957,7 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
8938
8957
|
getErrors(): EntityError[];
|
|
8939
8958
|
getShallowErrors(): EntityError[];
|
|
8940
8959
|
getDefaultValue(): LiteralValueState | null;
|
|
8941
|
-
setDefaultValue(value: LiteralValueState): InputMapState;
|
|
8960
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): InputMapState;
|
|
8942
8961
|
clone(changeSet?: ChangeSet | null, parent?: PassThroughCallableEntityState | null, newId?: string | null, subscribe?: boolean): InputMapState;
|
|
8943
8962
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
8944
8963
|
}
|
|
@@ -8954,7 +8973,7 @@ export { inputMapValidation }
|
|
|
8954
8973
|
|
|
8955
8974
|
export declare type InstalledProjectPayloadUnion = InstalledProjectState | InstalledProjectTypesUnion;
|
|
8956
8975
|
|
|
8957
|
-
export declare class InstalledProjectState extends VersionedState implements IInstalledProject, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState,
|
|
8976
|
+
export declare class InstalledProjectState extends VersionedState implements IInstalledProject, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, ChildEntityBaseClass {
|
|
8958
8977
|
initialData: IInstalledProject | IInstalledProjectTransfer;
|
|
8959
8978
|
readonly id: EntityId;
|
|
8960
8979
|
readonly name: string;
|
|
@@ -9075,7 +9094,7 @@ export declare enum InternalCallDependencyField {
|
|
|
9075
9094
|
|
|
9076
9095
|
export declare type InternalCallPayloadUnion = InternalCallState | InternalCallTypesUnion;
|
|
9077
9096
|
|
|
9078
|
-
export declare class InternalCallState extends VersionedState implements IInternalCall, UserManagedEntityStateTemplate, BaseState, CallableEntityClass,
|
|
9097
|
+
export declare class InternalCallState extends VersionedState implements IInternalCall, UserManagedEntityStateTemplate, BaseState, CallableEntityClass, ChildEntityBaseClass, PassThroughCallableEntityClass {
|
|
9079
9098
|
initialData: IInternalCall | IInternalCallTransfer;
|
|
9080
9099
|
readonly id: EntityId;
|
|
9081
9100
|
index: number;
|
|
@@ -10351,7 +10370,7 @@ export declare enum LiteralValueDependencyField {
|
|
|
10351
10370
|
|
|
10352
10371
|
export declare type LiteralValuePayloadUnion = LiteralValueState | LiteralValueTypesUnion;
|
|
10353
10372
|
|
|
10354
|
-
export declare class LiteralValueState extends VersionedState implements BaseState, UserManagedEntityStateTemplate,
|
|
10373
|
+
export declare class LiteralValueState extends VersionedState implements BaseState, UserManagedEntityStateTemplate, ChildEntityBaseClass, ILiteralValue {
|
|
10355
10374
|
initialData: ILiteralValue | ILiteralValueTransfer;
|
|
10356
10375
|
readonly type: EntityType.LiteralValue;
|
|
10357
10376
|
id: EntityId;
|
|
@@ -10476,7 +10495,7 @@ export declare enum LoopDependencyField {
|
|
|
10476
10495
|
|
|
10477
10496
|
export declare type LoopPayloadUnion = LoopState | LoopTypesUnion;
|
|
10478
10497
|
|
|
10479
|
-
export declare class LoopState extends VersionedState implements ILoop, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass,
|
|
10498
|
+
export declare class LoopState extends VersionedState implements ILoop, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass, EntityWithLogicScopeClass, PassThroughCallableEntityClass {
|
|
10480
10499
|
initialData: ILoop | ILoopTransfer;
|
|
10481
10500
|
readonly id: EntityId;
|
|
10482
10501
|
x: number;
|
|
@@ -10689,6 +10708,8 @@ export declare const manualFlowLoopBodyActionDescriptorAnyDynamicReturnParentRef
|
|
|
10689
10708
|
|
|
10690
10709
|
export declare function mapActionDescriptorToTypeItRepresents(entity: EntityState): EntityType;
|
|
10691
10710
|
|
|
10711
|
+
export declare function mapRecord(record: Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer> | undefined, entityIdMaps: Map<EntityId, EntityId>): Record<EntityId, Element_2 | ElementTransfer | ElementShallowTransfer>;
|
|
10712
|
+
|
|
10692
10713
|
export declare function mergeEntityErrorsList(oldErrors: EntityError[], newErrors: EntityError[]): EntityError[];
|
|
10693
10714
|
|
|
10694
10715
|
export declare function mergeListOfEntities(oldErrors: EntityState[], newErrors: EntityState[]): EntityState[];
|
|
@@ -10913,7 +10934,7 @@ export declare enum OperationDependencyField {
|
|
|
10913
10934
|
|
|
10914
10935
|
export declare type OperationPayloadUnion = OperationState | OperationTypesUnion;
|
|
10915
10936
|
|
|
10916
|
-
export declare class OperationState extends VersionedState implements IOperation, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass,
|
|
10937
|
+
export declare class OperationState extends VersionedState implements IOperation, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass, PassThroughCallableEntityClass {
|
|
10917
10938
|
initialData: IOperation | IOperationTransfer;
|
|
10918
10939
|
readonly id: EntityId;
|
|
10919
10940
|
x: number;
|
|
@@ -11069,7 +11090,7 @@ export declare enum OutputMapParentChildRelation {
|
|
|
11069
11090
|
|
|
11070
11091
|
export declare type OutputMapPayloadUnion = OutputMapState | OutputMapTypesUnion;
|
|
11071
11092
|
|
|
11072
|
-
export declare class OutputMapState extends VersionedState implements IOutputMap, UserManagedEntityStateTemplate, ValueWritingEntityClass, BaseState,
|
|
11093
|
+
export declare class OutputMapState extends VersionedState implements IOutputMap, UserManagedEntityStateTemplate, ValueWritingEntityClass, BaseState, ChildEntityBaseClass, EntityWithValueClass {
|
|
11073
11094
|
initialData: IOutputMap | IOutputMapTransfer;
|
|
11074
11095
|
readonly id: EntityId;
|
|
11075
11096
|
index: number;
|
|
@@ -11180,7 +11201,7 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
|
|
|
11180
11201
|
getErrors(): EntityError[];
|
|
11181
11202
|
getShallowErrors(): EntityError[];
|
|
11182
11203
|
getDefaultValue(): LiteralValueState | null;
|
|
11183
|
-
setDefaultValue(
|
|
11204
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): OutputMapState;
|
|
11184
11205
|
clone(changeSet?: ChangeSet | null, parent?: PassThroughCallableEntityWithOutputsState | null, newId?: string | null, subscribe?: boolean): OutputMapState;
|
|
11185
11206
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
11186
11207
|
}
|
|
@@ -11688,7 +11709,7 @@ export declare enum PropertyDependencyField {
|
|
|
11688
11709
|
|
|
11689
11710
|
export declare type PropertyPayloadUnion = PropertyState | PropertyTypesUnion;
|
|
11690
11711
|
|
|
11691
|
-
export declare class PropertyState extends VersionedState implements IProperty, UserManagedEntityStateTemplate, BaseState,
|
|
11712
|
+
export declare class PropertyState extends VersionedState implements IProperty, UserManagedEntityStateTemplate, BaseState, ChildEntityBaseClass, EntityWithValueClass {
|
|
11692
11713
|
initialData: IProperty | IPropertyTransfer;
|
|
11693
11714
|
readonly id: EntityId;
|
|
11694
11715
|
name: string;
|
|
@@ -11804,13 +11825,14 @@ export declare class PropertyState extends VersionedState implements IProperty,
|
|
|
11804
11825
|
};
|
|
11805
11826
|
getErrors(): EntityError[];
|
|
11806
11827
|
getShallowErrors(): EntityError[];
|
|
11828
|
+
implement(parent: DefinitionEntityState, changeSet?: ChangeSet | null, newId?: string | null): PropertyState;
|
|
11807
11829
|
clone(changeSet?: ChangeSet | null, parent?: DefinitionEntityState | null, newId?: string | null, subscribe?: boolean): PropertyState;
|
|
11808
11830
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): PropertyState;
|
|
11809
11831
|
removeDataType(): PropertyState;
|
|
11810
11832
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
11811
11833
|
getDefaultValue(): LiteralValueState | null;
|
|
11812
|
-
setDefaultValue(value: LiteralValueState): PropertyState;
|
|
11813
|
-
|
|
11834
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): PropertyState;
|
|
11835
|
+
syncWithImplementation(changeSet?: ChangeSet | null): IChangeSet<PropertyState>;
|
|
11814
11836
|
}
|
|
11815
11837
|
|
|
11816
11838
|
export declare function propertyToZodSchema(property: IProperty): z.ZodType<any>;
|
|
@@ -11943,7 +11965,7 @@ export declare enum ReturnDeclarationDependencyField {
|
|
|
11943
11965
|
|
|
11944
11966
|
export declare type ReturnDeclarationPayloadUnion = ReturnDeclarationState | ReturnDeclarationTypesUnion;
|
|
11945
11967
|
|
|
11946
|
-
export declare class ReturnDeclarationState extends VersionedState implements IReturnDeclaration, UserManagedEntityStateTemplate, ValueReadingEntityClass, BaseState,
|
|
11968
|
+
export declare class ReturnDeclarationState extends VersionedState implements IReturnDeclaration, UserManagedEntityStateTemplate, ValueReadingEntityClass, BaseState, ChildEntityBaseClass, EntityWithValueClass {
|
|
11947
11969
|
initialData: IReturnDeclaration | IReturnDeclarationTransfer;
|
|
11948
11970
|
readonly id: EntityId;
|
|
11949
11971
|
name: string;
|
|
@@ -12057,7 +12079,7 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
12057
12079
|
getErrors(): EntityError[];
|
|
12058
12080
|
getShallowErrors(): EntityError[];
|
|
12059
12081
|
getDefaultValue(): LiteralValueState | null;
|
|
12060
|
-
setDefaultValue(
|
|
12082
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
12061
12083
|
clone(changeSet?: ChangeSet | null, parent?: ReturnStatementState | BreakStatementState | ContinueStatementState | null, newId?: string | null, subscribe?: boolean): ReturnDeclarationState;
|
|
12062
12084
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
12063
12085
|
removeDataType(): ReturnDeclarationState;
|
|
@@ -12082,7 +12104,7 @@ export declare enum ReturnStatementDependencyField {
|
|
|
12082
12104
|
|
|
12083
12105
|
export declare type ReturnStatementPayloadUnion = ReturnStatementState | ReturnStatementTypesUnion;
|
|
12084
12106
|
|
|
12085
|
-
export declare class ReturnStatementState extends VersionedState implements IReturnStatement, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass,
|
|
12107
|
+
export declare class ReturnStatementState extends VersionedState implements IReturnStatement, UserManagedEntityStateTemplate, BaseState, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass {
|
|
12086
12108
|
initialData: IReturnStatement | IReturnStatementTransfer;
|
|
12087
12109
|
readonly id: EntityId;
|
|
12088
12110
|
x: number;
|
|
@@ -12206,6 +12228,8 @@ declare namespace returnStatementValidation {
|
|
|
12206
12228
|
}
|
|
12207
12229
|
export { returnStatementValidation }
|
|
12208
12230
|
|
|
12231
|
+
declare function sanitizeQuery(query: string): string;
|
|
12232
|
+
|
|
12209
12233
|
declare function sanitizeSQLIdentifierText(text: string): string;
|
|
12210
12234
|
|
|
12211
12235
|
export declare type ScopeCompatibility = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope | IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
|
|
@@ -12235,7 +12259,7 @@ declare enum SearchLiteralValueType {
|
|
|
12235
12259
|
|
|
12236
12260
|
export declare type SearchPayloadUnion = SearchState | SearchTypesUnion;
|
|
12237
12261
|
|
|
12238
|
-
export declare class SearchState extends VersionedState implements ISearch, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass,
|
|
12262
|
+
export declare class SearchState extends VersionedState implements ISearch, BaseState, UserManagedEntityStateTemplate, BaseCanvasDraggableState, CallableEntityClass, ChildEntityBaseClass, PassThroughCallableEntityClass {
|
|
12239
12263
|
initialData: ISearch | ISearchTransfer;
|
|
12240
12264
|
readonly id: EntityId;
|
|
12241
12265
|
name: string;
|
|
@@ -12486,6 +12510,7 @@ export { searchStatementState }
|
|
|
12486
12510
|
declare namespace searchStatementUtils {
|
|
12487
12511
|
export {
|
|
12488
12512
|
sanitizeSQLIdentifierText,
|
|
12513
|
+
sanitizeQuery,
|
|
12489
12514
|
fromNameToTableDescription,
|
|
12490
12515
|
loadProjectDatasources,
|
|
12491
12516
|
getSelectStatementFromProgram,
|
|
@@ -13851,7 +13876,7 @@ export declare enum ValueDescriptorParentChildRelation {
|
|
|
13851
13876
|
|
|
13852
13877
|
export declare type ValueDescriptorPayloadUnion = ValueDescriptorState | ValueDescriptorTypesUnion;
|
|
13853
13878
|
|
|
13854
|
-
export declare class ValueDescriptorState extends VersionedState implements IValueDescriptor, UserManagedEntityStateTemplate, BaseState,
|
|
13879
|
+
export declare class ValueDescriptorState extends VersionedState implements IValueDescriptor, UserManagedEntityStateTemplate, BaseState, ChildEntityBaseClass, EntityWithValueClass {
|
|
13855
13880
|
initialData: IValueDescriptor | IValueDescriptorTransfer;
|
|
13856
13881
|
readonly id: EntityId;
|
|
13857
13882
|
name: string;
|
|
@@ -13959,7 +13984,7 @@ export declare class ValueDescriptorState extends VersionedState implements IVal
|
|
|
13959
13984
|
getDataType(changeSet?: ChangeSet | null): DataTypeState | null;
|
|
13960
13985
|
setDataType(dataType: DataTypeState | null, changeSet?: ChangeSet | null): ValueDescriptorState;
|
|
13961
13986
|
getDefaultValue(): LiteralValueState | null;
|
|
13962
|
-
setDefaultValue(
|
|
13987
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): ValueDescriptorState;
|
|
13963
13988
|
removeDataType(): ValueDescriptorState;
|
|
13964
13989
|
implementAsReturnDeclaration(changeSet: (ChangeSet | null) | undefined, newParent: ReturnStatementState | BreakStatementState | ContinueStatementState, newId?: string): ReturnDeclarationState;
|
|
13965
13990
|
implementAsArgumentDeclaration(changeSet: (ChangeSet | null) | undefined, newParent: EntryPointEntityState, newId?: string): ArgumentDeclarationState;
|
|
@@ -13983,7 +14008,6 @@ export declare abstract class ValueReadingEntityClass {
|
|
|
13983
14008
|
abstract setValueWriter(writer: ValueWritingEntityState, changeSet: ChangeSet | null): ValueReadingEntityState;
|
|
13984
14009
|
abstract removeValueWriter(changeSet: ChangeSet | null): ValueReadingEntityState;
|
|
13985
14010
|
static initReadsValue(entity: ValueReadingEntityState): ValueWritingEntityState | null;
|
|
13986
|
-
static hydrateReadsValue(entity: ValueReadingEntityState): ValueWritingEntityState | null;
|
|
13987
14011
|
}
|
|
13988
14012
|
|
|
13989
14013
|
export declare type ValueReadingEntityGenerationTarget = IVariableDeclarationGenerationTarget | IVariableInstanceGenerationTarget | IInputMapGenerationTarget | IReturnDeclarationGenerationTarget;
|
|
@@ -14034,7 +14058,7 @@ export declare enum VariableDeclarationDependencyField {
|
|
|
14034
14058
|
|
|
14035
14059
|
export declare type VariableDeclarationPayloadUnion = VariableDeclarationTypesUnion | VariableDeclarationState;
|
|
14036
14060
|
|
|
14037
|
-
export declare class VariableDeclarationState extends VersionedState implements IVariableDeclaration, BaseState, UserManagedEntityStateTemplate, ValueWritingEntityClass, ValueReadingEntityClass, BaseCanvasDraggableState,
|
|
14061
|
+
export declare class VariableDeclarationState extends VersionedState implements IVariableDeclaration, BaseState, UserManagedEntityStateTemplate, ValueWritingEntityClass, ValueReadingEntityClass, BaseCanvasDraggableState, ChildEntityBaseClass, EntityWithValueClass, PassThroughCallableEntityClass, CallableEntityClass {
|
|
14038
14062
|
initialData: IVariableDeclaration | IVariableDeclarationTransfer;
|
|
14039
14063
|
readonly id: EntityId;
|
|
14040
14064
|
name: string;
|
|
@@ -14176,7 +14200,7 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
14176
14200
|
getErrors(): EntityError[];
|
|
14177
14201
|
getShallowErrors(): EntityError[];
|
|
14178
14202
|
getDefaultValue(): LiteralValueState | null;
|
|
14179
|
-
setDefaultValue(
|
|
14203
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
14180
14204
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableDeclarationState;
|
|
14181
14205
|
addInternalCall(internalCall: InternalCallState): VariableDeclarationState;
|
|
14182
14206
|
createInstance(parent?: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null, overrides?: Partial<IVariableInstanceTransfer>): VariableInstanceState;
|
|
@@ -14233,7 +14257,7 @@ export declare enum VariableInstanceDependencyField {
|
|
|
14233
14257
|
|
|
14234
14258
|
export declare type VariableInstancePayloadUnion = VariableInstanceTypesUnion | VariableInstanceState;
|
|
14235
14259
|
|
|
14236
|
-
export declare class VariableInstanceState extends VersionedState implements IVariableInstance, BaseState, UserManagedEntityStateTemplate, ValueWritingEntityClass, ValueReadingEntityClass, BaseCanvasDraggableState,
|
|
14260
|
+
export declare class VariableInstanceState extends VersionedState implements IVariableInstance, BaseState, UserManagedEntityStateTemplate, ValueWritingEntityClass, ValueReadingEntityClass, BaseCanvasDraggableState, ChildEntityBaseClass, EntityWithValueClass, PassThroughCallableEntityClass, CallableEntityClass {
|
|
14237
14261
|
initialData: IVariableInstance | IVariableInstanceTransfer;
|
|
14238
14262
|
readonly id: EntityId;
|
|
14239
14263
|
x: number;
|
|
@@ -14369,7 +14393,7 @@ export declare class VariableInstanceState extends VersionedState implements IVa
|
|
|
14369
14393
|
getErrors(): EntityError[];
|
|
14370
14394
|
getShallowErrors(): EntityError[];
|
|
14371
14395
|
getDefaultValue(): LiteralValueState | null;
|
|
14372
|
-
setDefaultValue(value: LiteralValueState): VariableInstanceState;
|
|
14396
|
+
setDefaultValue(value: LiteralValueState | null, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
14373
14397
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): VariableInstanceState;
|
|
14374
14398
|
addInternalCall(internalCall: InternalCallState): VariableInstanceState;
|
|
14375
14399
|
setDeclaration(declaration: VariableDeclarationState): VariableInstanceState;
|