@elyx-code/project-logic-tree 0.0.6110 → 0.0.6112
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/definitions/built-in-base-entities/entities/endpoint.d.ts +8 -8
- package/dist/definitions/built-in-base-entities/entities/persisted/properties.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/entities/relational-database/entity.d.ts +13 -7
- package/dist/definitions/built-in-base-entities/loops/counted/loop.d.ts +3 -3
- package/dist/definitions/built-in-base-entities/operations/http-request/http-request.d.ts +7 -7
- package/dist/definitions/built-in-base-entities/operations/string/join-strings.d.ts +3 -3
- package/dist/definitions/built-in-base-entities/primitive-entities.d.ts +2 -2
- package/dist/definitions/logic/value-autogeneration/value-autogeneration.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +6 -5
- package/dist/definitions/mock/default-mock/entities/animal.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/base-table/properties.d.ts +7 -6
- package/dist/definitions/mock/default-mock/entities/company/properties.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +13 -9
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/endpoint-reached-event.d.ts +5 -5
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +3 -3
- package/dist/definitions/mock/default-mock/entities/plant.d.ts +3 -2
- package/dist/definitions/mock/default-mock/entities/product.d.ts +5 -3
- package/dist/definitions/mock/default-mock/entities/user.d.ts +4 -3
- package/dist/definitions/mock/default-mock/functions/abort-execution/long-wait-return-statement.d.ts +2 -2
- package/dist/definitions/mock/default-mock/functions/abort-execution/small-wait-return-statement.d.ts +2 -2
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/function-list-variable.d.ts +2 -2
- package/dist/definitions/mock/default-mock/functions/current-time.d.ts +2 -2
- package/dist/definitions/mock/default-mock/functions/do-math/index.d.ts +3 -3
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/person-not-found-return-error.d.ts +2 -2
- package/dist/definitions/mock/default-mock/loops/global-test-iterate-over-string/loop.d.ts +2 -2
- package/dist/definitions/mock/default-mock/variables/global-data-mapping/employee-dto/company-employee-mapped-DTO.d.ts +2 -2
- package/dist/definitions/mock/default-mock/variables/isTestEnv.d.ts +2 -2
- package/dist/definitions/mock/default-mock/variables/lastTimestamp.d.ts +2 -2
- package/dist/definitions/types/action-descriptor.d.ts +4 -1
- package/dist/definitions/types/base.d.ts +5 -2
- package/dist/definitions/types/data-type.d.ts +4 -7
- package/dist/definitions/types/generic-reference.d.ts +2 -2
- package/dist/definitions/types/index.d.ts +13 -13
- package/dist/definitions/types/input-output-map.d.ts +7 -4
- package/dist/definitions/types/primitives.d.ts +39 -43
- package/dist/definitions/types/property.d.ts +3 -1
- package/dist/definitions/types/variable.d.ts +4 -1
- package/dist/index.js +13038 -12781
- package/dist/index.umd.cjs +194 -182
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +4 -2
- package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +12 -12
- package/dist/tree/state/base.d.ts +2 -2
- package/dist/tree/state/built-in-base-entity/validation-schema.d.ts +10 -10
- package/dist/tree/state/custom-entity/validation/validation-schema.d.ts +12 -12
- package/dist/tree/state/data-type/data-type.d.ts +5 -8
- package/dist/tree/state/data-type/validation/validation-schema.d.ts +110 -110
- package/dist/tree/state/index.d.ts +1 -1
- package/dist/tree/state/input-map/input-map.d.ts +4 -4
- package/dist/tree/state/input-map/validation/validation-schema.d.ts +330 -330
- package/dist/tree/state/literal-value/index.d.ts +1 -0
- package/dist/tree/state/literal-value/literal-value.d.ts +103 -0
- package/dist/tree/state/literal-value/validation/logic-validation.d.ts +4 -0
- package/dist/tree/state/literal-value/validation/references.d.ts +5 -0
- package/dist/tree/state/{primitive-value → literal-value}/validation/validation-schema.d.ts +94 -94
- package/dist/tree/state/output-map/output-map.d.ts +4 -2
- package/dist/tree/state/primitive-entity/validation/validation-schema.d.ts +10 -10
- package/dist/tree/state/property/property.d.ts +4 -2
- package/dist/tree/state/property/validation/validation-schema.d.ts +12 -12
- package/dist/tree/state/return-declaration/return-declaration.d.ts +4 -2
- package/dist/tree/state/return-declaration/validation/validation-schema.d.ts +12 -12
- package/dist/tree/state/types/state.d.ts +4 -4
- package/dist/tree/state/value-descriptor/validation/validation-schema.d.ts +2 -2
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +4 -2
- package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +64 -64
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +5 -3
- package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +64 -64
- package/dist/tree/state/variable-instance/variable-instance.d.ts +4 -2
- package/package.json +1 -1
- package/dist/definitions/mock/default-mock/functions/company-dto/variable-mapping.d.ts +0 -0
- package/dist/definitions/mock/default-mock/functions/concurrency-and-waits/return-variables-chain.d.ts +0 -0
- package/dist/tree/state/primitive-value/index.d.ts +0 -1
- package/dist/tree/state/primitive-value/primitive-value.d.ts +0 -97
- package/dist/tree/state/primitive-value/validation/logic-validation.d.ts +0 -4
- package/dist/tree/state/primitive-value/validation/references.d.ts +0 -5
|
@@ -5,7 +5,7 @@ import { EntityState, EntryPointEntityState, IChangeSet, ValueReadingEntityState
|
|
|
5
5
|
import { DataTypeState } from '../data-type';
|
|
6
6
|
import { ProjectState } from '../project/project';
|
|
7
7
|
import { EntityError, EntityGenerationError } from '../../state/error';
|
|
8
|
-
import {
|
|
8
|
+
import { LiteralValueState } from '../literal-value';
|
|
9
9
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
10
10
|
|
|
11
11
|
export declare class ArgumentDeclarationState implements IArgumentDeclaration, UserManagedEntityStateFunctionality, ValueWritingEntityClass, BaseState, ChildEntityState, EntityWithValueClass {
|
|
@@ -17,6 +17,7 @@ export declare class ArgumentDeclarationState implements IArgumentDeclaration, U
|
|
|
17
17
|
index: number;
|
|
18
18
|
required: boolean;
|
|
19
19
|
readonly type: EntityType.ArgumentDeclaration;
|
|
20
|
+
defaultValue: LiteralValueState | null;
|
|
20
21
|
dataType: DataTypeState | null;
|
|
21
22
|
writesValues: ValueReadingEntityState[];
|
|
22
23
|
implements: ValueDescriptorState | null;
|
|
@@ -90,7 +91,8 @@ export declare class ArgumentDeclarationState implements IArgumentDeclaration, U
|
|
|
90
91
|
};
|
|
91
92
|
getErrors(): EntityError[];
|
|
92
93
|
getShallowErrors(): EntityError[];
|
|
93
|
-
getDefaultValue():
|
|
94
|
+
getDefaultValue(): LiteralValueState | null;
|
|
95
|
+
setDefaultValue(defaultValue: LiteralValueState): ArgumentDeclarationState;
|
|
94
96
|
clone(parent?: EntryPointEntityState | null, newId?: string | null, subscribe?: boolean): ArgumentDeclarationState;
|
|
95
97
|
getDataType(): DataTypeState | null;
|
|
96
98
|
setDataType(dataType: DataTypeState): ArgumentDeclarationState;
|
|
@@ -215,6 +215,9 @@ export declare function getArgumentDeclarationNestedEntitiesSchema(): z.ZodObjec
|
|
|
215
215
|
entityType: EntityType.BreakStatement;
|
|
216
216
|
entityId: string;
|
|
217
217
|
};
|
|
218
|
+
dataType: Record<string, any> | {
|
|
219
|
+
type: EntityType.DataType;
|
|
220
|
+
} | null;
|
|
218
221
|
writesValues: (Record<string, any> | {
|
|
219
222
|
type: EntityType.InputMap;
|
|
220
223
|
} | {
|
|
@@ -224,9 +227,6 @@ export declare function getArgumentDeclarationNestedEntitiesSchema(): z.ZodObjec
|
|
|
224
227
|
} | {
|
|
225
228
|
type: EntityType.VariableInstance;
|
|
226
229
|
})[];
|
|
227
|
-
dataType: Record<string, any> | {
|
|
228
|
-
type: EntityType.DataType;
|
|
229
|
-
} | null;
|
|
230
230
|
}, {
|
|
231
231
|
parent: {
|
|
232
232
|
id: string;
|
|
@@ -254,6 +254,9 @@ export declare function getArgumentDeclarationNestedEntitiesSchema(): z.ZodObjec
|
|
|
254
254
|
entityType: EntityType.BreakStatement;
|
|
255
255
|
entityId: string;
|
|
256
256
|
};
|
|
257
|
+
dataType: Record<string, any> | {
|
|
258
|
+
type: EntityType.DataType;
|
|
259
|
+
} | null;
|
|
257
260
|
writesValues: (Record<string, any> | {
|
|
258
261
|
type: EntityType.InputMap;
|
|
259
262
|
} | {
|
|
@@ -263,9 +266,6 @@ export declare function getArgumentDeclarationNestedEntitiesSchema(): z.ZodObjec
|
|
|
263
266
|
} | {
|
|
264
267
|
type: EntityType.VariableInstance;
|
|
265
268
|
})[];
|
|
266
|
-
dataType: Record<string, any> | {
|
|
267
|
-
type: EntityType.DataType;
|
|
268
|
-
} | null;
|
|
269
269
|
}>;
|
|
270
270
|
export declare function getArgumentDeclarationSchema(): z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
271
271
|
id: z.ZodString;
|
|
@@ -428,6 +428,9 @@ export declare function getArgumentDeclarationSchema(): z.ZodObject<z.objectUtil
|
|
|
428
428
|
entityId: string;
|
|
429
429
|
};
|
|
430
430
|
version: number;
|
|
431
|
+
dataType: Record<string, any> | {
|
|
432
|
+
type: EntityType.DataType;
|
|
433
|
+
} | null;
|
|
431
434
|
x: number;
|
|
432
435
|
y: number;
|
|
433
436
|
writesValues: (Record<string, any> | {
|
|
@@ -439,9 +442,6 @@ export declare function getArgumentDeclarationSchema(): z.ZodObject<z.objectUtil
|
|
|
439
442
|
} | {
|
|
440
443
|
type: EntityType.VariableInstance;
|
|
441
444
|
})[];
|
|
442
|
-
dataType: Record<string, any> | {
|
|
443
|
-
type: EntityType.DataType;
|
|
444
|
-
} | null;
|
|
445
445
|
}, {
|
|
446
446
|
id: string;
|
|
447
447
|
type: EntityType.ArgumentDeclaration;
|
|
@@ -472,6 +472,9 @@ export declare function getArgumentDeclarationSchema(): z.ZodObject<z.objectUtil
|
|
|
472
472
|
entityId: string;
|
|
473
473
|
};
|
|
474
474
|
version: number;
|
|
475
|
+
dataType: Record<string, any> | {
|
|
476
|
+
type: EntityType.DataType;
|
|
477
|
+
} | null;
|
|
475
478
|
x: number;
|
|
476
479
|
y: number;
|
|
477
480
|
writesValues: (Record<string, any> | {
|
|
@@ -483,7 +486,4 @@ export declare function getArgumentDeclarationSchema(): z.ZodObject<z.objectUtil
|
|
|
483
486
|
} | {
|
|
484
487
|
type: EntityType.VariableInstance;
|
|
485
488
|
})[];
|
|
486
|
-
dataType: Record<string, any> | {
|
|
487
|
-
type: EntityType.DataType;
|
|
488
|
-
} | null;
|
|
489
489
|
}>;
|
|
@@ -3,7 +3,7 @@ import { ZodError } from 'zod';
|
|
|
3
3
|
import { CallableEntityState, CallerEntityState, CanvasEntityState, EntityState, IChangeSet, InputMapState, ValueReadingEntityState, ValueWritingEntityState } from '.';
|
|
4
4
|
import { ProjectState } from './project/project';
|
|
5
5
|
import { EntityError } from './error';
|
|
6
|
-
import {
|
|
6
|
+
import { LiteralValueState } from './literal-value';
|
|
7
7
|
|
|
8
8
|
export declare abstract class SharedStateFunctionality {
|
|
9
9
|
initialData: Element | ElementTransfer;
|
|
@@ -91,7 +91,7 @@ export declare abstract class PassThroughCallableEntityClass extends CallerEntit
|
|
|
91
91
|
abstract addInput(input: InputMapState): PassThroughCallableEntityClass;
|
|
92
92
|
}
|
|
93
93
|
export declare abstract class EntityWithValueClass {
|
|
94
|
-
abstract getDefaultValue():
|
|
94
|
+
abstract getDefaultValue(): LiteralValueState | null;
|
|
95
95
|
}
|
|
96
96
|
export declare abstract class ValueReadingEntityClass {
|
|
97
97
|
abstract readsValue: ValueWritingEntityState | null;
|
|
@@ -39,16 +39,16 @@ export declare function getBuiltInBaseEntityBaseSchema(): z.ZodObject<{
|
|
|
39
39
|
name: BaseEntityNames.HTTP_ENDPOINT | BaseEntityNames.RELATIONAL_DATABASE | BaseEntityNames.PERSISTED_ENTITY | BaseEntityNames.CRON_JOB | BaseEntityNames.EXECUTION;
|
|
40
40
|
description: string | null;
|
|
41
41
|
version: number;
|
|
42
|
-
static: boolean;
|
|
43
42
|
abstract: boolean;
|
|
43
|
+
static: boolean;
|
|
44
44
|
}, {
|
|
45
45
|
id: string;
|
|
46
46
|
type: EntityType.BuiltInBaseEntity;
|
|
47
47
|
name: BaseEntityNames.HTTP_ENDPOINT | BaseEntityNames.RELATIONAL_DATABASE | BaseEntityNames.PERSISTED_ENTITY | BaseEntityNames.CRON_JOB | BaseEntityNames.EXECUTION;
|
|
48
48
|
description: string | null;
|
|
49
49
|
version: number;
|
|
50
|
-
static: boolean;
|
|
51
50
|
abstract: boolean;
|
|
51
|
+
static: boolean;
|
|
52
52
|
}>;
|
|
53
53
|
export declare function getBuiltInBaseEntityMetaSchema(): z.ZodObject<{
|
|
54
54
|
id: z.ZodString;
|
|
@@ -64,16 +64,16 @@ export declare function getBuiltInBaseEntityMetaSchema(): z.ZodObject<{
|
|
|
64
64
|
name: BaseEntityNames.HTTP_ENDPOINT | BaseEntityNames.RELATIONAL_DATABASE | BaseEntityNames.PERSISTED_ENTITY | BaseEntityNames.CRON_JOB | BaseEntityNames.EXECUTION;
|
|
65
65
|
description: string | null;
|
|
66
66
|
version: number;
|
|
67
|
-
static: boolean;
|
|
68
67
|
abstract: boolean;
|
|
68
|
+
static: boolean;
|
|
69
69
|
}, {
|
|
70
70
|
id: string;
|
|
71
71
|
type: EntityType.BuiltInBaseEntity;
|
|
72
72
|
name: BaseEntityNames.HTTP_ENDPOINT | BaseEntityNames.RELATIONAL_DATABASE | BaseEntityNames.PERSISTED_ENTITY | BaseEntityNames.CRON_JOB | BaseEntityNames.EXECUTION;
|
|
73
73
|
description: string | null;
|
|
74
74
|
version: number;
|
|
75
|
-
static: boolean;
|
|
76
75
|
abstract: boolean;
|
|
76
|
+
static: boolean;
|
|
77
77
|
}>;
|
|
78
78
|
export declare function getBuiltInBaseEntityGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
|
|
79
79
|
id: z.ZodString;
|
|
@@ -89,16 +89,16 @@ export declare function getBuiltInBaseEntityGenerationTargetSchema(): z.ZodObjec
|
|
|
89
89
|
name: BaseEntityNames.HTTP_ENDPOINT | BaseEntityNames.RELATIONAL_DATABASE | BaseEntityNames.PERSISTED_ENTITY | BaseEntityNames.CRON_JOB | BaseEntityNames.EXECUTION;
|
|
90
90
|
description: string | null;
|
|
91
91
|
version: number;
|
|
92
|
-
static: boolean;
|
|
93
92
|
abstract: boolean;
|
|
93
|
+
static: boolean;
|
|
94
94
|
}, {
|
|
95
95
|
id: string;
|
|
96
96
|
type: EntityType.BuiltInBaseEntity;
|
|
97
97
|
name: BaseEntityNames.HTTP_ENDPOINT | BaseEntityNames.RELATIONAL_DATABASE | BaseEntityNames.PERSISTED_ENTITY | BaseEntityNames.CRON_JOB | BaseEntityNames.EXECUTION;
|
|
98
98
|
description: string | null;
|
|
99
99
|
version: number;
|
|
100
|
-
static: boolean;
|
|
101
100
|
abstract: boolean;
|
|
101
|
+
static: boolean;
|
|
102
102
|
}>;
|
|
103
103
|
export declare function getBuiltInBaseEntityNestedEntitiesSchema(): z.ZodObject<{
|
|
104
104
|
properties: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -220,6 +220,8 @@ export declare function getBuiltInBaseEntitySchema(): z.ZodObject<z.objectUtil.e
|
|
|
220
220
|
type: EntityType.BuiltInBaseEntity;
|
|
221
221
|
})[];
|
|
222
222
|
version: number;
|
|
223
|
+
abstract: boolean;
|
|
224
|
+
static: boolean;
|
|
223
225
|
methods: (Record<string, any> | {
|
|
224
226
|
type: EntityType.FunctionDeclaration;
|
|
225
227
|
})[];
|
|
@@ -229,8 +231,6 @@ export declare function getBuiltInBaseEntitySchema(): z.ZodObject<z.objectUtil.e
|
|
|
229
231
|
abstractMethods: (Record<string, any> | {
|
|
230
232
|
type: EntityType.ActionDescriptor;
|
|
231
233
|
})[];
|
|
232
|
-
static: boolean;
|
|
233
|
-
abstract: boolean;
|
|
234
234
|
}, {
|
|
235
235
|
id: string;
|
|
236
236
|
type: EntityType.BuiltInBaseEntity;
|
|
@@ -242,6 +242,8 @@ export declare function getBuiltInBaseEntitySchema(): z.ZodObject<z.objectUtil.e
|
|
|
242
242
|
type: EntityType.BuiltInBaseEntity;
|
|
243
243
|
})[];
|
|
244
244
|
version: number;
|
|
245
|
+
abstract: boolean;
|
|
246
|
+
static: boolean;
|
|
245
247
|
methods: (Record<string, any> | {
|
|
246
248
|
type: EntityType.FunctionDeclaration;
|
|
247
249
|
})[];
|
|
@@ -251,6 +253,4 @@ export declare function getBuiltInBaseEntitySchema(): z.ZodObject<z.objectUtil.e
|
|
|
251
253
|
abstractMethods: (Record<string, any> | {
|
|
252
254
|
type: EntityType.ActionDescriptor;
|
|
253
255
|
})[];
|
|
254
|
-
static: boolean;
|
|
255
|
-
abstract: boolean;
|
|
256
256
|
}>;
|
|
@@ -36,15 +36,15 @@ export declare function getCustomEntityBaseSchema(): z.ZodObject<{
|
|
|
36
36
|
type: EntityType.CustomEntity;
|
|
37
37
|
name: string;
|
|
38
38
|
description: string | null;
|
|
39
|
-
static: boolean;
|
|
40
39
|
abstract: boolean;
|
|
40
|
+
static: boolean;
|
|
41
41
|
}, {
|
|
42
42
|
id: string;
|
|
43
43
|
type: EntityType.CustomEntity;
|
|
44
44
|
name: string;
|
|
45
45
|
description: string | null;
|
|
46
|
-
static: boolean;
|
|
47
46
|
abstract: boolean;
|
|
47
|
+
static: boolean;
|
|
48
48
|
}>;
|
|
49
49
|
export declare function getCustomEntityMetaSchema(): z.ZodObject<z.objectUtil.extendShape<{
|
|
50
50
|
id: z.ZodString;
|
|
@@ -63,20 +63,20 @@ export declare function getCustomEntityMetaSchema(): z.ZodObject<z.objectUtil.ex
|
|
|
63
63
|
name: string;
|
|
64
64
|
description: string | null;
|
|
65
65
|
version: number;
|
|
66
|
+
abstract: boolean;
|
|
67
|
+
static: boolean;
|
|
66
68
|
x: number;
|
|
67
69
|
y: number;
|
|
68
|
-
static: boolean;
|
|
69
|
-
abstract: boolean;
|
|
70
70
|
}, {
|
|
71
71
|
id: string;
|
|
72
72
|
type: EntityType.CustomEntity;
|
|
73
73
|
name: string;
|
|
74
74
|
description: string | null;
|
|
75
75
|
version: number;
|
|
76
|
+
abstract: boolean;
|
|
77
|
+
static: boolean;
|
|
76
78
|
x: number;
|
|
77
79
|
y: number;
|
|
78
|
-
static: boolean;
|
|
79
|
-
abstract: boolean;
|
|
80
80
|
}>;
|
|
81
81
|
export declare function getCustomEntityGenerationTargetSchema(): z.ZodObject<z.objectUtil.extendShape<{
|
|
82
82
|
id: z.ZodString;
|
|
@@ -90,15 +90,15 @@ export declare function getCustomEntityGenerationTargetSchema(): z.ZodObject<z.o
|
|
|
90
90
|
type: EntityType.CustomEntity;
|
|
91
91
|
name: string;
|
|
92
92
|
description: string | null;
|
|
93
|
-
static: boolean;
|
|
94
93
|
abstract: boolean;
|
|
94
|
+
static: boolean;
|
|
95
95
|
}, {
|
|
96
96
|
id: string;
|
|
97
97
|
type: EntityType.CustomEntity;
|
|
98
98
|
name: string;
|
|
99
99
|
description: string | null;
|
|
100
|
-
static: boolean;
|
|
101
100
|
abstract: boolean;
|
|
101
|
+
static: boolean;
|
|
102
102
|
}>;
|
|
103
103
|
export declare function getCustomEntityParentReferenceSchema(): z.ZodUnion<[z.ZodObject<{
|
|
104
104
|
entityType: z.ZodLiteral<EntityType.Project>;
|
|
@@ -416,6 +416,8 @@ export declare function getCustomEntitySchema(): z.ZodObject<z.objectUtil.extend
|
|
|
416
416
|
entityId: string;
|
|
417
417
|
};
|
|
418
418
|
version: number;
|
|
419
|
+
abstract: boolean;
|
|
420
|
+
static: boolean;
|
|
419
421
|
methods: (Record<string, any> | {
|
|
420
422
|
type: EntityType.FunctionDeclaration;
|
|
421
423
|
})[];
|
|
@@ -427,8 +429,6 @@ export declare function getCustomEntitySchema(): z.ZodObject<z.objectUtil.extend
|
|
|
427
429
|
abstractMethods: (Record<string, any> | {
|
|
428
430
|
type: EntityType.ActionDescriptor;
|
|
429
431
|
})[];
|
|
430
|
-
static: boolean;
|
|
431
|
-
abstract: boolean;
|
|
432
432
|
}, {
|
|
433
433
|
id: string;
|
|
434
434
|
type: EntityType.CustomEntity;
|
|
@@ -456,6 +456,8 @@ export declare function getCustomEntitySchema(): z.ZodObject<z.objectUtil.extend
|
|
|
456
456
|
entityId: string;
|
|
457
457
|
};
|
|
458
458
|
version: number;
|
|
459
|
+
abstract: boolean;
|
|
460
|
+
static: boolean;
|
|
459
461
|
methods: (Record<string, any> | {
|
|
460
462
|
type: EntityType.FunctionDeclaration;
|
|
461
463
|
})[];
|
|
@@ -467,6 +469,4 @@ export declare function getCustomEntitySchema(): z.ZodObject<z.objectUtil.extend
|
|
|
467
469
|
abstractMethods: (Record<string, any> | {
|
|
468
470
|
type: EntityType.ActionDescriptor;
|
|
469
471
|
})[];
|
|
470
|
-
static: boolean;
|
|
471
|
-
abstract: boolean;
|
|
472
472
|
}>;
|
|
@@ -12,12 +12,12 @@ import { ReturnDeclarationState } from '../return-declaration';
|
|
|
12
12
|
import { ActionDescriptorState } from '../action-descriptor';
|
|
13
13
|
import { ValueDescriptorState } from '../value-descriptor';
|
|
14
14
|
import { BuiltInBaseEntityState } from '../built-in-base-entity';
|
|
15
|
-
import {
|
|
15
|
+
import { LiteralValueState } from '../literal-value/literal-value';
|
|
16
16
|
import { EntityError, EntityGenerationError } from '../error';
|
|
17
17
|
import { InputMapState, VariableInputMapState } from '../input-map';
|
|
18
18
|
import { OutputMapState } from '../output-map';
|
|
19
19
|
|
|
20
|
-
export type DataTypeStateEntityOption = CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState |
|
|
20
|
+
export type DataTypeStateEntityOption = CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | LiteralValueState;
|
|
21
21
|
export declare class DataTypeState implements IDataType, UserManagedEntityStateFunctionality, BaseState, ChildEntityState {
|
|
22
22
|
initialData: IDataType | IDataTypeTransfer;
|
|
23
23
|
readonly id: EntityId;
|
|
@@ -31,8 +31,7 @@ export declare class DataTypeState implements IDataType, UserManagedEntityStateF
|
|
|
31
31
|
parentRelationType?: DataTypeParentChildRelation;
|
|
32
32
|
like: boolean;
|
|
33
33
|
implementationChooseOne: boolean;
|
|
34
|
-
|
|
35
|
-
entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | PrimitiveValueState | null;
|
|
34
|
+
entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | LiteralValueState | null;
|
|
36
35
|
andChildrenGroup: DataTypeState[] | null;
|
|
37
36
|
orChildrenGroup: DataTypeState[] | null;
|
|
38
37
|
project: ProjectState;
|
|
@@ -50,7 +49,7 @@ export declare class DataTypeState implements IDataType, UserManagedEntityStateF
|
|
|
50
49
|
static MUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
51
50
|
static INMUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
52
51
|
static UPSTREAM_PROPERTIES: string[];
|
|
53
|
-
static MUTABLE_DOWNSTREAM_PROPERTIES:
|
|
52
|
+
static MUTABLE_DOWNSTREAM_PROPERTIES: never[];
|
|
54
53
|
static INMUTABLE_DOWNSTREAM_PROPERTIES: string[];
|
|
55
54
|
static DOWNSTREAM_PROPERTIES: string[];
|
|
56
55
|
static PROPERTIES: string[];
|
|
@@ -109,9 +108,7 @@ export declare class DataTypeState implements IDataType, UserManagedEntityStateF
|
|
|
109
108
|
merge(sourceEntity: DataTypeState): IChangeSet<DataTypeState>;
|
|
110
109
|
addToAndGroup(child: DataTypeState): DataTypeState;
|
|
111
110
|
addToOrGroup(child: DataTypeState): DataTypeState;
|
|
112
|
-
|
|
113
|
-
setDefaultValue(value: PrimitiveValueState): DataTypeState;
|
|
114
|
-
setEntity(entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | PrimitiveValueState | null): DataTypeState;
|
|
111
|
+
setEntity(entity: CustomEntityState | PrimitiveEntityState | ActionDescriptorState | BuiltInBaseEntityState | LiteralValueState | null): DataTypeState;
|
|
115
112
|
isObject(): boolean;
|
|
116
113
|
hasStrictObjectStructure(): boolean;
|
|
117
114
|
inferFromInputs(inputs: VariableInputMapState[]): DataTypeState;
|