@elyx-code/project-logic-tree 0.0.3 → 0.0.5
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.js +18628 -16940
- package/dist/index.umd.cjs +247 -184
- package/dist/tree/built-in/built-in-base-entities/persisted/entity.d.ts +1 -1
- package/dist/tree/built-in/operations/function-execution/parallel.d.ts +1 -1
- package/dist/tree/built-in/operations/function-execution/sequential.d.ts +1 -1
- package/dist/tree/built-in/operations/function-execution/wait.d.ts +1 -1
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +1 -1
- package/dist/tree/state/action-descriptor/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +1 -1
- package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +9 -9
- package/dist/tree/state/autogeneration.d.ts +1 -1
- package/dist/tree/state/base.d.ts +1 -1
- package/dist/tree/state/break-statement/break-statement.d.ts +1 -1
- package/dist/tree/state/break-statement/validation/validation-schema.d.ts +33 -33
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +1 -1
- package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +1 -1
- package/dist/tree/state/condition/condition.d.ts +1 -1
- package/dist/tree/state/condition/validation/validation-schema.d.ts +49 -49
- package/dist/tree/state/continue-statement/continue-statement.d.ts +1 -1
- package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +33 -33
- package/dist/tree/state/create.d.ts +1 -1
- package/dist/tree/state/custom-entity/custom-entity.d.ts +1 -1
- package/dist/tree/state/custom-entity/validation/references.d.ts +1 -1
- package/dist/tree/state/custom-entity/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/data-type/data-type.d.ts +1 -1
- package/dist/tree/state/data-type/validation/references.d.ts +1 -1
- package/dist/tree/state/data-type/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/function-call/function-call.d.ts +1 -1
- package/dist/tree/state/function-call/validation/validation-schema.d.ts +57 -57
- package/dist/tree/state/function-declaration/function-declaration.d.ts +1 -1
- package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/global-event/global-event.d.ts +1 -1
- package/dist/tree/state/global-event/validation/validation-schema.d.ts +25 -25
- package/dist/tree/state/index.d.ts +34 -29
- package/dist/tree/state/input-map/input-map.d.ts +1 -1
- package/dist/tree/state/input-map/validation/validation-schema.d.ts +65 -65
- package/dist/tree/state/installed-project/installed-project.d.ts +1 -1
- package/dist/tree/state/installed-project/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/internal-call/internal-call.d.ts +1 -1
- package/dist/tree/state/internal-call/validation/validation-schema.d.ts +57 -57
- package/dist/tree/state/loop/loop.d.ts +1 -1
- package/dist/tree/state/loop/validation/validation-schema.d.ts +49 -49
- package/dist/tree/state/operation/operation.d.ts +1 -1
- package/dist/tree/state/operation/validation/validation-schema.d.ts +57 -57
- package/dist/tree/state/output-map/output-map.d.ts +1 -1
- package/dist/tree/state/output-map/validation/validation-schema.d.ts +73 -73
- package/dist/tree/state/primitive-entity/primitive-entity.d.ts +1 -1
- package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/primitive-value/primitive-value.d.ts +1 -1
- package/dist/tree/state/primitive-value/validation/references.d.ts +1 -1
- package/dist/tree/state/primitive-value/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/project/project.d.ts +1 -1
- package/dist/tree/state/project/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/property/property.d.ts +1 -1
- package/dist/tree/state/property/validation/references.d.ts +1 -1
- package/dist/tree/state/property/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/return-declaration/return-declaration.d.ts +1 -1
- package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +17 -17
- package/dist/tree/state/return-statement/return-statement.d.ts +1 -1
- package/dist/tree/state/return-statement/validation/references.d.ts +1 -1
- package/dist/tree/state/return-statement/validation/validation-schema.d.ts +33 -33
- package/dist/tree/state/search/search.d.ts +1 -1
- package/dist/tree/state/search/validation/validation-schema.d.ts +49 -49
- package/dist/tree/state/store.d.ts +1 -1
- package/dist/tree/state/types/index.d.ts +1 -0
- package/dist/tree/state/validate.d.ts +1 -1
- package/dist/tree/state/value-descriptor/validation/validation-schema.d.ts +1 -1
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +1 -1
- package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +65 -65
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +1 -1
- package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +65 -65
- package/dist/tree/state/variable-instance/variable-instance.d.ts +1 -1
- package/dist/tree/utils/index.d.ts +2 -2
- package/dist/tree/utils/names.d.ts +1 -1
- package/dist/tree/utils/references.d.ts +1 -1
- package/dist/tree/utils/uuid.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityType } from '
|
|
1
|
+
import { EntityType } from '../../../../definitions';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
export declare function getContinueStatementTypeSchema(): z.ZodUnion<[z.ZodObject<{
|
|
@@ -370,11 +370,6 @@ export declare function getContinueStatementNestedEntitiesSchema(): z.ZodObject<
|
|
|
370
370
|
}>;
|
|
371
371
|
}, "strip", z.ZodTypeAny, {
|
|
372
372
|
calledBySuccess: ({
|
|
373
|
-
id: string;
|
|
374
|
-
type: EntityType.GenericReference;
|
|
375
|
-
entityType: EntityType.Loop;
|
|
376
|
-
entityId: string;
|
|
377
|
-
} | {
|
|
378
373
|
id: string;
|
|
379
374
|
type: EntityType.GenericReference;
|
|
380
375
|
entityType: EntityType.Operation;
|
|
@@ -409,13 +404,13 @@ export declare function getContinueStatementNestedEntitiesSchema(): z.ZodObject<
|
|
|
409
404
|
type: EntityType.GenericReference;
|
|
410
405
|
entityType: EntityType.InternalCall;
|
|
411
406
|
entityId: string;
|
|
412
|
-
}
|
|
413
|
-
calledByError: ({
|
|
407
|
+
} | {
|
|
414
408
|
id: string;
|
|
415
409
|
type: EntityType.GenericReference;
|
|
416
410
|
entityType: EntityType.Loop;
|
|
417
411
|
entityId: string;
|
|
418
|
-
}
|
|
412
|
+
})[];
|
|
413
|
+
calledByError: ({
|
|
419
414
|
id: string;
|
|
420
415
|
type: EntityType.GenericReference;
|
|
421
416
|
entityType: EntityType.Operation;
|
|
@@ -450,6 +445,11 @@ export declare function getContinueStatementNestedEntitiesSchema(): z.ZodObject<
|
|
|
450
445
|
type: EntityType.GenericReference;
|
|
451
446
|
entityType: EntityType.InternalCall;
|
|
452
447
|
entityId: string;
|
|
448
|
+
} | {
|
|
449
|
+
id: string;
|
|
450
|
+
type: EntityType.GenericReference;
|
|
451
|
+
entityType: EntityType.Loop;
|
|
452
|
+
entityId: string;
|
|
453
453
|
})[];
|
|
454
454
|
calledByEntry: ({
|
|
455
455
|
id: string;
|
|
@@ -476,11 +476,6 @@ export declare function getContinueStatementNestedEntitiesSchema(): z.ZodObject<
|
|
|
476
476
|
} | undefined;
|
|
477
477
|
}, {
|
|
478
478
|
calledBySuccess: ({
|
|
479
|
-
id: string;
|
|
480
|
-
type: EntityType.GenericReference;
|
|
481
|
-
entityType: EntityType.Loop;
|
|
482
|
-
entityId: string;
|
|
483
|
-
} | {
|
|
484
479
|
id: string;
|
|
485
480
|
type: EntityType.GenericReference;
|
|
486
481
|
entityType: EntityType.Operation;
|
|
@@ -515,13 +510,13 @@ export declare function getContinueStatementNestedEntitiesSchema(): z.ZodObject<
|
|
|
515
510
|
type: EntityType.GenericReference;
|
|
516
511
|
entityType: EntityType.InternalCall;
|
|
517
512
|
entityId: string;
|
|
518
|
-
}
|
|
519
|
-
calledByError: ({
|
|
513
|
+
} | {
|
|
520
514
|
id: string;
|
|
521
515
|
type: EntityType.GenericReference;
|
|
522
516
|
entityType: EntityType.Loop;
|
|
523
517
|
entityId: string;
|
|
524
|
-
}
|
|
518
|
+
})[];
|
|
519
|
+
calledByError: ({
|
|
525
520
|
id: string;
|
|
526
521
|
type: EntityType.GenericReference;
|
|
527
522
|
entityType: EntityType.Operation;
|
|
@@ -556,6 +551,11 @@ export declare function getContinueStatementNestedEntitiesSchema(): z.ZodObject<
|
|
|
556
551
|
type: EntityType.GenericReference;
|
|
557
552
|
entityType: EntityType.InternalCall;
|
|
558
553
|
entityId: string;
|
|
554
|
+
} | {
|
|
555
|
+
id: string;
|
|
556
|
+
type: EntityType.GenericReference;
|
|
557
|
+
entityType: EntityType.Loop;
|
|
558
|
+
entityId: string;
|
|
559
559
|
})[];
|
|
560
560
|
calledByEntry: ({
|
|
561
561
|
id: string;
|
|
@@ -896,11 +896,6 @@ export declare function getContinueStatementSchema(): z.ZodObject<z.objectUtil.e
|
|
|
896
896
|
id: string;
|
|
897
897
|
type: EntityType.ContinueStatement;
|
|
898
898
|
calledBySuccess: ({
|
|
899
|
-
id: string;
|
|
900
|
-
type: EntityType.GenericReference;
|
|
901
|
-
entityType: EntityType.Loop;
|
|
902
|
-
entityId: string;
|
|
903
|
-
} | {
|
|
904
899
|
id: string;
|
|
905
900
|
type: EntityType.GenericReference;
|
|
906
901
|
entityType: EntityType.Operation;
|
|
@@ -935,13 +930,13 @@ export declare function getContinueStatementSchema(): z.ZodObject<z.objectUtil.e
|
|
|
935
930
|
type: EntityType.GenericReference;
|
|
936
931
|
entityType: EntityType.InternalCall;
|
|
937
932
|
entityId: string;
|
|
938
|
-
}
|
|
939
|
-
calledByError: ({
|
|
933
|
+
} | {
|
|
940
934
|
id: string;
|
|
941
935
|
type: EntityType.GenericReference;
|
|
942
936
|
entityType: EntityType.Loop;
|
|
943
937
|
entityId: string;
|
|
944
|
-
}
|
|
938
|
+
})[];
|
|
939
|
+
calledByError: ({
|
|
945
940
|
id: string;
|
|
946
941
|
type: EntityType.GenericReference;
|
|
947
942
|
entityType: EntityType.Operation;
|
|
@@ -976,6 +971,11 @@ export declare function getContinueStatementSchema(): z.ZodObject<z.objectUtil.e
|
|
|
976
971
|
type: EntityType.GenericReference;
|
|
977
972
|
entityType: EntityType.InternalCall;
|
|
978
973
|
entityId: string;
|
|
974
|
+
} | {
|
|
975
|
+
id: string;
|
|
976
|
+
type: EntityType.GenericReference;
|
|
977
|
+
entityType: EntityType.Loop;
|
|
978
|
+
entityId: string;
|
|
979
979
|
})[];
|
|
980
980
|
calledByEntry: ({
|
|
981
981
|
id: string;
|
|
@@ -1007,11 +1007,6 @@ export declare function getContinueStatementSchema(): z.ZodObject<z.objectUtil.e
|
|
|
1007
1007
|
id: string;
|
|
1008
1008
|
type: EntityType.ContinueStatement;
|
|
1009
1009
|
calledBySuccess: ({
|
|
1010
|
-
id: string;
|
|
1011
|
-
type: EntityType.GenericReference;
|
|
1012
|
-
entityType: EntityType.Loop;
|
|
1013
|
-
entityId: string;
|
|
1014
|
-
} | {
|
|
1015
1010
|
id: string;
|
|
1016
1011
|
type: EntityType.GenericReference;
|
|
1017
1012
|
entityType: EntityType.Operation;
|
|
@@ -1046,13 +1041,13 @@ export declare function getContinueStatementSchema(): z.ZodObject<z.objectUtil.e
|
|
|
1046
1041
|
type: EntityType.GenericReference;
|
|
1047
1042
|
entityType: EntityType.InternalCall;
|
|
1048
1043
|
entityId: string;
|
|
1049
|
-
}
|
|
1050
|
-
calledByError: ({
|
|
1044
|
+
} | {
|
|
1051
1045
|
id: string;
|
|
1052
1046
|
type: EntityType.GenericReference;
|
|
1053
1047
|
entityType: EntityType.Loop;
|
|
1054
1048
|
entityId: string;
|
|
1055
|
-
}
|
|
1049
|
+
})[];
|
|
1050
|
+
calledByError: ({
|
|
1056
1051
|
id: string;
|
|
1057
1052
|
type: EntityType.GenericReference;
|
|
1058
1053
|
entityType: EntityType.Operation;
|
|
@@ -1087,6 +1082,11 @@ export declare function getContinueStatementSchema(): z.ZodObject<z.objectUtil.e
|
|
|
1087
1082
|
type: EntityType.GenericReference;
|
|
1088
1083
|
entityType: EntityType.InternalCall;
|
|
1089
1084
|
entityId: string;
|
|
1085
|
+
} | {
|
|
1086
|
+
id: string;
|
|
1087
|
+
type: EntityType.GenericReference;
|
|
1088
|
+
entityType: EntityType.Loop;
|
|
1089
|
+
entityId: string;
|
|
1090
1090
|
})[];
|
|
1091
1091
|
calledByEntry: ({
|
|
1092
1092
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Element, ElementTransfer, ElementGenerationTarget } from '
|
|
1
|
+
import { Element, ElementTransfer, ElementGenerationTarget } from '../../definitions';
|
|
2
2
|
import { BaseState } from './base';
|
|
3
3
|
import { ProjectState } from './project';
|
|
4
4
|
import { UserManagedEntityState } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CustomEntityTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, ICustomEntity, ICustomEntityGenerationTarget, ICustomEntityReference, ICustomEntityShallowTransfer, ICustomEntityTransfer } from '
|
|
1
|
+
import { CustomEntityTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, ICustomEntity, ICustomEntityGenerationTarget, ICustomEntityReference, ICustomEntityShallowTransfer, ICustomEntityTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, ChildEntityState, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { PropertyState } from '../property';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ICustomEntityGenerationTarget } from '
|
|
1
|
+
import { ICustomEntityGenerationTarget } from '../../../../definitions';
|
|
2
2
|
import { EntityGenerationError } from '../../error';
|
|
3
3
|
import { ProjectState } from '../../project';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId, EntityType, EntityVersion, IDataType, IDataTypeTransfer, IDataTypeReference, IDataTypeShallowTransfer, ElementShallowTransfer, IDataTypeGenerationTarget, ElementGenerationTarget, DataTypeParentChildRelation, DataTypeTypesUnion } from '
|
|
1
|
+
import { EntityId, EntityType, EntityVersion, IDataType, IDataTypeTransfer, IDataTypeReference, IDataTypeShallowTransfer, ElementShallowTransfer, IDataTypeGenerationTarget, ElementGenerationTarget, DataTypeParentChildRelation, DataTypeTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseState, ChildEntityState, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { CustomEntityState } from '../custom-entity';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityId, EntityType, EntityVersion, IFunctionCall, IFunctionCallTransfer, IFunctionCallReference, IFunctionCallShallowTransfer, ElementShallowTransfer, IFunctionCallGenerationTarget, ElementGenerationTarget, FunctionCallTypesUnion } from '
|
|
1
|
+
import { EntityId, EntityType, EntityVersion, IFunctionCall, IFunctionCallTransfer, IFunctionCallReference, IFunctionCallShallowTransfer, ElementShallowTransfer, IFunctionCallGenerationTarget, ElementGenerationTarget, FunctionCallTypesUnion } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, CallableEntityClass, ChildEntityState, PassThroughCallableEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { CallableEntityState, CallerEntityState, EntityState, EntityWithLogicScopeState, EntryPointEntityState, PassThroughCallableEntityState, ValueReadingEntityState } from '../types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EntityType } from '
|
|
1
|
+
import { EntityType } from '../../../../definitions';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
export declare function getFunctionCallTypeSchema(): z.ZodUnion<[z.ZodObject<{
|
|
@@ -789,11 +789,6 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
789
789
|
type: EntityType.FunctionDeclaration;
|
|
790
790
|
};
|
|
791
791
|
calledBySuccess: ({
|
|
792
|
-
id: string;
|
|
793
|
-
type: EntityType.GenericReference;
|
|
794
|
-
entityType: EntityType.Loop;
|
|
795
|
-
entityId: string;
|
|
796
|
-
} | {
|
|
797
792
|
id: string;
|
|
798
793
|
type: EntityType.GenericReference;
|
|
799
794
|
entityType: EntityType.Operation;
|
|
@@ -828,13 +823,13 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
828
823
|
type: EntityType.GenericReference;
|
|
829
824
|
entityType: EntityType.InternalCall;
|
|
830
825
|
entityId: string;
|
|
831
|
-
}
|
|
832
|
-
calledByError: ({
|
|
826
|
+
} | {
|
|
833
827
|
id: string;
|
|
834
828
|
type: EntityType.GenericReference;
|
|
835
829
|
entityType: EntityType.Loop;
|
|
836
830
|
entityId: string;
|
|
837
|
-
}
|
|
831
|
+
})[];
|
|
832
|
+
calledByError: ({
|
|
838
833
|
id: string;
|
|
839
834
|
type: EntityType.GenericReference;
|
|
840
835
|
entityType: EntityType.Operation;
|
|
@@ -869,6 +864,11 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
869
864
|
type: EntityType.GenericReference;
|
|
870
865
|
entityType: EntityType.InternalCall;
|
|
871
866
|
entityId: string;
|
|
867
|
+
} | {
|
|
868
|
+
id: string;
|
|
869
|
+
type: EntityType.GenericReference;
|
|
870
|
+
entityType: EntityType.Loop;
|
|
871
|
+
entityId: string;
|
|
872
872
|
})[];
|
|
873
873
|
calledByEntry: ({
|
|
874
874
|
id: string;
|
|
@@ -911,7 +911,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
911
911
|
successCalls: ({
|
|
912
912
|
id: string;
|
|
913
913
|
type: EntityType.GenericReference;
|
|
914
|
-
entityType: EntityType.
|
|
914
|
+
entityType: EntityType.ReturnStatement;
|
|
915
915
|
entityId: string;
|
|
916
916
|
} | {
|
|
917
917
|
id: string;
|
|
@@ -951,7 +951,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
951
951
|
} | {
|
|
952
952
|
id: string;
|
|
953
953
|
type: EntityType.GenericReference;
|
|
954
|
-
entityType: EntityType.
|
|
954
|
+
entityType: EntityType.Loop;
|
|
955
955
|
entityId: string;
|
|
956
956
|
} | {
|
|
957
957
|
id: string;
|
|
@@ -967,7 +967,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
967
967
|
errorCalls: ({
|
|
968
968
|
id: string;
|
|
969
969
|
type: EntityType.GenericReference;
|
|
970
|
-
entityType: EntityType.
|
|
970
|
+
entityType: EntityType.ReturnStatement;
|
|
971
971
|
entityId: string;
|
|
972
972
|
} | {
|
|
973
973
|
id: string;
|
|
@@ -1007,7 +1007,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1007
1007
|
} | {
|
|
1008
1008
|
id: string;
|
|
1009
1009
|
type: EntityType.GenericReference;
|
|
1010
|
-
entityType: EntityType.
|
|
1010
|
+
entityType: EntityType.Loop;
|
|
1011
1011
|
entityId: string;
|
|
1012
1012
|
} | {
|
|
1013
1013
|
id: string;
|
|
@@ -1021,13 +1021,13 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1021
1021
|
entityId: string;
|
|
1022
1022
|
})[];
|
|
1023
1023
|
writesValues: (Record<string, any> | {
|
|
1024
|
-
type: EntityType.InputMap;
|
|
1025
|
-
} | {
|
|
1026
1024
|
type: EntityType.ReturnDeclaration;
|
|
1027
1025
|
} | {
|
|
1028
1026
|
type: EntityType.VariableDeclaration;
|
|
1029
1027
|
} | {
|
|
1030
1028
|
type: EntityType.VariableInstance;
|
|
1029
|
+
} | {
|
|
1030
|
+
type: EntityType.InputMap;
|
|
1031
1031
|
})[];
|
|
1032
1032
|
error?: Record<string, any> | {
|
|
1033
1033
|
type: EntityType.OutputMap;
|
|
@@ -1037,11 +1037,6 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1037
1037
|
type: EntityType.FunctionDeclaration;
|
|
1038
1038
|
};
|
|
1039
1039
|
calledBySuccess: ({
|
|
1040
|
-
id: string;
|
|
1041
|
-
type: EntityType.GenericReference;
|
|
1042
|
-
entityType: EntityType.Loop;
|
|
1043
|
-
entityId: string;
|
|
1044
|
-
} | {
|
|
1045
1040
|
id: string;
|
|
1046
1041
|
type: EntityType.GenericReference;
|
|
1047
1042
|
entityType: EntityType.Operation;
|
|
@@ -1076,13 +1071,13 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1076
1071
|
type: EntityType.GenericReference;
|
|
1077
1072
|
entityType: EntityType.InternalCall;
|
|
1078
1073
|
entityId: string;
|
|
1079
|
-
}
|
|
1080
|
-
calledByError: ({
|
|
1074
|
+
} | {
|
|
1081
1075
|
id: string;
|
|
1082
1076
|
type: EntityType.GenericReference;
|
|
1083
1077
|
entityType: EntityType.Loop;
|
|
1084
1078
|
entityId: string;
|
|
1085
|
-
}
|
|
1079
|
+
})[];
|
|
1080
|
+
calledByError: ({
|
|
1086
1081
|
id: string;
|
|
1087
1082
|
type: EntityType.GenericReference;
|
|
1088
1083
|
entityType: EntityType.Operation;
|
|
@@ -1117,6 +1112,11 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1117
1112
|
type: EntityType.GenericReference;
|
|
1118
1113
|
entityType: EntityType.InternalCall;
|
|
1119
1114
|
entityId: string;
|
|
1115
|
+
} | {
|
|
1116
|
+
id: string;
|
|
1117
|
+
type: EntityType.GenericReference;
|
|
1118
|
+
entityType: EntityType.Loop;
|
|
1119
|
+
entityId: string;
|
|
1120
1120
|
})[];
|
|
1121
1121
|
calledByEntry: ({
|
|
1122
1122
|
id: string;
|
|
@@ -1159,7 +1159,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1159
1159
|
successCalls: ({
|
|
1160
1160
|
id: string;
|
|
1161
1161
|
type: EntityType.GenericReference;
|
|
1162
|
-
entityType: EntityType.
|
|
1162
|
+
entityType: EntityType.ReturnStatement;
|
|
1163
1163
|
entityId: string;
|
|
1164
1164
|
} | {
|
|
1165
1165
|
id: string;
|
|
@@ -1199,7 +1199,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1199
1199
|
} | {
|
|
1200
1200
|
id: string;
|
|
1201
1201
|
type: EntityType.GenericReference;
|
|
1202
|
-
entityType: EntityType.
|
|
1202
|
+
entityType: EntityType.Loop;
|
|
1203
1203
|
entityId: string;
|
|
1204
1204
|
} | {
|
|
1205
1205
|
id: string;
|
|
@@ -1215,7 +1215,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1215
1215
|
errorCalls: ({
|
|
1216
1216
|
id: string;
|
|
1217
1217
|
type: EntityType.GenericReference;
|
|
1218
|
-
entityType: EntityType.
|
|
1218
|
+
entityType: EntityType.ReturnStatement;
|
|
1219
1219
|
entityId: string;
|
|
1220
1220
|
} | {
|
|
1221
1221
|
id: string;
|
|
@@ -1255,7 +1255,7 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1255
1255
|
} | {
|
|
1256
1256
|
id: string;
|
|
1257
1257
|
type: EntityType.GenericReference;
|
|
1258
|
-
entityType: EntityType.
|
|
1258
|
+
entityType: EntityType.Loop;
|
|
1259
1259
|
entityId: string;
|
|
1260
1260
|
} | {
|
|
1261
1261
|
id: string;
|
|
@@ -1269,13 +1269,13 @@ export declare function getFunctionCallNestedEntitiesSchema(): z.ZodObject<{
|
|
|
1269
1269
|
entityId: string;
|
|
1270
1270
|
})[];
|
|
1271
1271
|
writesValues: (Record<string, any> | {
|
|
1272
|
-
type: EntityType.InputMap;
|
|
1273
|
-
} | {
|
|
1274
1272
|
type: EntityType.ReturnDeclaration;
|
|
1275
1273
|
} | {
|
|
1276
1274
|
type: EntityType.VariableDeclaration;
|
|
1277
1275
|
} | {
|
|
1278
1276
|
type: EntityType.VariableInstance;
|
|
1277
|
+
} | {
|
|
1278
|
+
type: EntityType.InputMap;
|
|
1279
1279
|
})[];
|
|
1280
1280
|
error?: Record<string, any> | {
|
|
1281
1281
|
type: EntityType.OutputMap;
|
|
@@ -2015,11 +2015,6 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2015
2015
|
type: EntityType.FunctionDeclaration;
|
|
2016
2016
|
};
|
|
2017
2017
|
calledBySuccess: ({
|
|
2018
|
-
id: string;
|
|
2019
|
-
type: EntityType.GenericReference;
|
|
2020
|
-
entityType: EntityType.Loop;
|
|
2021
|
-
entityId: string;
|
|
2022
|
-
} | {
|
|
2023
2018
|
id: string;
|
|
2024
2019
|
type: EntityType.GenericReference;
|
|
2025
2020
|
entityType: EntityType.Operation;
|
|
@@ -2054,13 +2049,13 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2054
2049
|
type: EntityType.GenericReference;
|
|
2055
2050
|
entityType: EntityType.InternalCall;
|
|
2056
2051
|
entityId: string;
|
|
2057
|
-
}
|
|
2058
|
-
calledByError: ({
|
|
2052
|
+
} | {
|
|
2059
2053
|
id: string;
|
|
2060
2054
|
type: EntityType.GenericReference;
|
|
2061
2055
|
entityType: EntityType.Loop;
|
|
2062
2056
|
entityId: string;
|
|
2063
|
-
}
|
|
2057
|
+
})[];
|
|
2058
|
+
calledByError: ({
|
|
2064
2059
|
id: string;
|
|
2065
2060
|
type: EntityType.GenericReference;
|
|
2066
2061
|
entityType: EntityType.Operation;
|
|
@@ -2095,6 +2090,11 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2095
2090
|
type: EntityType.GenericReference;
|
|
2096
2091
|
entityType: EntityType.InternalCall;
|
|
2097
2092
|
entityId: string;
|
|
2093
|
+
} | {
|
|
2094
|
+
id: string;
|
|
2095
|
+
type: EntityType.GenericReference;
|
|
2096
|
+
entityType: EntityType.Loop;
|
|
2097
|
+
entityId: string;
|
|
2098
2098
|
})[];
|
|
2099
2099
|
calledByEntry: ({
|
|
2100
2100
|
id: string;
|
|
@@ -2140,7 +2140,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2140
2140
|
successCalls: ({
|
|
2141
2141
|
id: string;
|
|
2142
2142
|
type: EntityType.GenericReference;
|
|
2143
|
-
entityType: EntityType.
|
|
2143
|
+
entityType: EntityType.ReturnStatement;
|
|
2144
2144
|
entityId: string;
|
|
2145
2145
|
} | {
|
|
2146
2146
|
id: string;
|
|
@@ -2180,7 +2180,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2180
2180
|
} | {
|
|
2181
2181
|
id: string;
|
|
2182
2182
|
type: EntityType.GenericReference;
|
|
2183
|
-
entityType: EntityType.
|
|
2183
|
+
entityType: EntityType.Loop;
|
|
2184
2184
|
entityId: string;
|
|
2185
2185
|
} | {
|
|
2186
2186
|
id: string;
|
|
@@ -2196,7 +2196,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2196
2196
|
errorCalls: ({
|
|
2197
2197
|
id: string;
|
|
2198
2198
|
type: EntityType.GenericReference;
|
|
2199
|
-
entityType: EntityType.
|
|
2199
|
+
entityType: EntityType.ReturnStatement;
|
|
2200
2200
|
entityId: string;
|
|
2201
2201
|
} | {
|
|
2202
2202
|
id: string;
|
|
@@ -2236,7 +2236,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2236
2236
|
} | {
|
|
2237
2237
|
id: string;
|
|
2238
2238
|
type: EntityType.GenericReference;
|
|
2239
|
-
entityType: EntityType.
|
|
2239
|
+
entityType: EntityType.Loop;
|
|
2240
2240
|
entityId: string;
|
|
2241
2241
|
} | {
|
|
2242
2242
|
id: string;
|
|
@@ -2250,13 +2250,13 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2250
2250
|
entityId: string;
|
|
2251
2251
|
})[];
|
|
2252
2252
|
writesValues: (Record<string, any> | {
|
|
2253
|
-
type: EntityType.InputMap;
|
|
2254
|
-
} | {
|
|
2255
2253
|
type: EntityType.ReturnDeclaration;
|
|
2256
2254
|
} | {
|
|
2257
2255
|
type: EntityType.VariableDeclaration;
|
|
2258
2256
|
} | {
|
|
2259
2257
|
type: EntityType.VariableInstance;
|
|
2258
|
+
} | {
|
|
2259
|
+
type: EntityType.InputMap;
|
|
2260
2260
|
})[];
|
|
2261
2261
|
error?: Record<string, any> | {
|
|
2262
2262
|
type: EntityType.OutputMap;
|
|
@@ -2268,11 +2268,6 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2268
2268
|
type: EntityType.FunctionDeclaration;
|
|
2269
2269
|
};
|
|
2270
2270
|
calledBySuccess: ({
|
|
2271
|
-
id: string;
|
|
2272
|
-
type: EntityType.GenericReference;
|
|
2273
|
-
entityType: EntityType.Loop;
|
|
2274
|
-
entityId: string;
|
|
2275
|
-
} | {
|
|
2276
2271
|
id: string;
|
|
2277
2272
|
type: EntityType.GenericReference;
|
|
2278
2273
|
entityType: EntityType.Operation;
|
|
@@ -2307,13 +2302,13 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2307
2302
|
type: EntityType.GenericReference;
|
|
2308
2303
|
entityType: EntityType.InternalCall;
|
|
2309
2304
|
entityId: string;
|
|
2310
|
-
}
|
|
2311
|
-
calledByError: ({
|
|
2305
|
+
} | {
|
|
2312
2306
|
id: string;
|
|
2313
2307
|
type: EntityType.GenericReference;
|
|
2314
2308
|
entityType: EntityType.Loop;
|
|
2315
2309
|
entityId: string;
|
|
2316
|
-
}
|
|
2310
|
+
})[];
|
|
2311
|
+
calledByError: ({
|
|
2317
2312
|
id: string;
|
|
2318
2313
|
type: EntityType.GenericReference;
|
|
2319
2314
|
entityType: EntityType.Operation;
|
|
@@ -2348,6 +2343,11 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2348
2343
|
type: EntityType.GenericReference;
|
|
2349
2344
|
entityType: EntityType.InternalCall;
|
|
2350
2345
|
entityId: string;
|
|
2346
|
+
} | {
|
|
2347
|
+
id: string;
|
|
2348
|
+
type: EntityType.GenericReference;
|
|
2349
|
+
entityType: EntityType.Loop;
|
|
2350
|
+
entityId: string;
|
|
2351
2351
|
})[];
|
|
2352
2352
|
calledByEntry: ({
|
|
2353
2353
|
id: string;
|
|
@@ -2393,7 +2393,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2393
2393
|
successCalls: ({
|
|
2394
2394
|
id: string;
|
|
2395
2395
|
type: EntityType.GenericReference;
|
|
2396
|
-
entityType: EntityType.
|
|
2396
|
+
entityType: EntityType.ReturnStatement;
|
|
2397
2397
|
entityId: string;
|
|
2398
2398
|
} | {
|
|
2399
2399
|
id: string;
|
|
@@ -2433,7 +2433,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2433
2433
|
} | {
|
|
2434
2434
|
id: string;
|
|
2435
2435
|
type: EntityType.GenericReference;
|
|
2436
|
-
entityType: EntityType.
|
|
2436
|
+
entityType: EntityType.Loop;
|
|
2437
2437
|
entityId: string;
|
|
2438
2438
|
} | {
|
|
2439
2439
|
id: string;
|
|
@@ -2449,7 +2449,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2449
2449
|
errorCalls: ({
|
|
2450
2450
|
id: string;
|
|
2451
2451
|
type: EntityType.GenericReference;
|
|
2452
|
-
entityType: EntityType.
|
|
2452
|
+
entityType: EntityType.ReturnStatement;
|
|
2453
2453
|
entityId: string;
|
|
2454
2454
|
} | {
|
|
2455
2455
|
id: string;
|
|
@@ -2489,7 +2489,7 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2489
2489
|
} | {
|
|
2490
2490
|
id: string;
|
|
2491
2491
|
type: EntityType.GenericReference;
|
|
2492
|
-
entityType: EntityType.
|
|
2492
|
+
entityType: EntityType.Loop;
|
|
2493
2493
|
entityId: string;
|
|
2494
2494
|
} | {
|
|
2495
2495
|
id: string;
|
|
@@ -2503,13 +2503,13 @@ export declare function getFunctionCallSchema(): z.ZodObject<z.objectUtil.extend
|
|
|
2503
2503
|
entityId: string;
|
|
2504
2504
|
})[];
|
|
2505
2505
|
writesValues: (Record<string, any> | {
|
|
2506
|
-
type: EntityType.InputMap;
|
|
2507
|
-
} | {
|
|
2508
2506
|
type: EntityType.ReturnDeclaration;
|
|
2509
2507
|
} | {
|
|
2510
2508
|
type: EntityType.VariableDeclaration;
|
|
2511
2509
|
} | {
|
|
2512
2510
|
type: EntityType.VariableInstance;
|
|
2511
|
+
} | {
|
|
2512
|
+
type: EntityType.InputMap;
|
|
2513
2513
|
})[];
|
|
2514
2514
|
error?: Record<string, any> | {
|
|
2515
2515
|
type: EntityType.OutputMap;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, FunctionDeclarationTypesUnion, IFunctionCallTransfer, IFunctionDeclaration, IFunctionDeclarationGenerationTarget, IFunctionDeclarationReference, IFunctionDeclarationShallowTransfer, IFunctionDeclarationTransfer } from '
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, FunctionDeclarationTypesUnion, IFunctionCallTransfer, IFunctionDeclaration, IFunctionDeclarationGenerationTarget, IFunctionDeclarationReference, IFunctionDeclarationShallowTransfer, IFunctionDeclarationTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ArgumentDeclarationState } from '../argument-declaration';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, GlobalEventNames, GlobalEventTypesUnion, IGlobalEvent, IGlobalEventGenerationTarget, IGlobalEventReference, IGlobalEventShallowTransfer, IGlobalEventTransfer } from '
|
|
1
|
+
import { ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, GlobalEventNames, GlobalEventTypesUnion, IGlobalEvent, IGlobalEventGenerationTarget, IGlobalEventReference, IGlobalEventShallowTransfer, IGlobalEventTransfer } from '../../../definitions';
|
|
2
2
|
import { ZodError } from 'zod';
|
|
3
3
|
import { BaseCanvasDraggableState, BaseState, ChildEntityState, EntityWithLogicScopeClass, EntryPointEntityClass, UserManagedEntityStateFunctionality } from '../base';
|
|
4
4
|
import { ArgumentDeclarationState } from '../argument-declaration';
|