@elyx-code/project-logic-tree 0.0.6121 → 0.0.6123
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/index.d.ts +1 -0
- package/dist/definitions/built-in-base-entities/operations/index.d.ts +1 -1
- package/dist/definitions/logic/definition-entity-to-zod-schema.d.ts +4 -0
- package/dist/definitions/logic/index.d.ts +1 -1
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/alt-relational-database/properties.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/animal.d.ts +4 -4
- package/dist/definitions/mock/default-mock/entities/back-account/account-owner-event.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/back-account/change-owner-of-account.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/back-account/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/back-account/properties.d.ts +3 -3
- package/dist/definitions/mock/default-mock/entities/base-table/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/base-table/properties.d.ts +5 -5
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/currency/properties.d.ts +6 -6
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/bpi/properties.d.ts +4 -4
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/bitcoin-api-response/properties.d.ts +5 -5
- package/dist/definitions/mock/default-mock/entities/company/change-owner-of-company.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/company/company-changed-event/index.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/company/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/company/properties.d.ts +6 -6
- package/dist/definitions/mock/default-mock/entities/cron-job/entity.d.ts +4 -4
- package/dist/definitions/mock/default-mock/entities/default-relational-database/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/default-relational-database/properties.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/employee.d.ts +6 -6
- package/dist/definitions/mock/default-mock/entities/get-all-bank-accounts-endpoint/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/entity.d.ts +2 -2
- package/dist/definitions/mock/default-mock/entities/get-company-by-id-endpoint/properties.d.ts +3 -3
- package/dist/definitions/mock/default-mock/entities/person.d.ts +4 -4
- package/dist/definitions/mock/default-mock/entities/plant.d.ts +4 -4
- package/dist/definitions/mock/default-mock/entities/product.d.ts +5 -5
- package/dist/definitions/mock/default-mock/entities/user.d.ts +4 -4
- package/dist/definitions/types/action-descriptor.d.ts +4 -4
- package/dist/definitions/types/base-entity.d.ts +7 -7
- package/dist/definitions/types/base.d.ts +11 -5
- package/dist/definitions/types/data-type.d.ts +5 -7
- package/dist/definitions/types/definition-entity.d.ts +31 -0
- package/dist/definitions/types/function.d.ts +9 -4
- package/dist/definitions/types/generic-reference.d.ts +2 -2
- package/dist/definitions/types/index.d.ts +19 -19
- package/dist/definitions/types/primitives.d.ts +4 -4
- package/dist/definitions/types/project.d.ts +4 -4
- package/dist/definitions/types/property.d.ts +7 -4
- package/dist/definitions/types/return.d.ts +4 -0
- package/dist/index.js +14011 -14157
- package/dist/index.umd.cjs +220 -220
- package/dist/tree/built-in/operations/{custom-entity → definition-entity}/validate-data.d.ts +2 -2
- package/dist/tree/state/action-descriptor/action-descriptor.d.ts +4 -4
- package/dist/tree/state/action-descriptor/validation/validation-schema.d.ts +10 -10
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +1 -0
- package/dist/tree/state/built-in-base-entity/built-in-base-entity.d.ts +2 -2
- package/dist/tree/state/data-type/data-type.d.ts +4 -6
- package/dist/tree/state/data-type/validation/validation-schema.d.ts +186 -186
- package/dist/tree/state/definition-entity/definition-entity.d.ts +146 -0
- package/dist/tree/state/definition-entity/index.d.ts +1 -0
- package/dist/tree/state/definition-entity/validation/logic-validation.d.ts +9 -0
- package/dist/tree/state/definition-entity/validation/references.d.ts +5 -0
- package/dist/tree/state/{custom-entity → definition-entity}/validation/validation-schema.d.ts +54 -54
- package/dist/tree/state/function-declaration/function-declaration.d.ts +4 -4
- package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +10 -10
- package/dist/tree/state/global-event/validation/validation-schema.d.ts +14 -14
- package/dist/tree/state/index.d.ts +1 -1
- package/dist/tree/state/input-map/validation/validation-schema.d.ts +504 -504
- package/dist/tree/state/literal-value/literal-value.d.ts +2 -2
- package/dist/tree/state/literal-value/validation/validation-schema.d.ts +131 -131
- package/dist/tree/state/project/project.d.ts +7 -7
- package/dist/tree/state/project/validation/validation-schema.d.ts +10 -10
- package/dist/tree/state/property/property.d.ts +5 -4
- package/dist/tree/state/property/validation/validation-schema.d.ts +10 -10
- package/dist/tree/state/return-declaration/return-declaration.d.ts +1 -0
- package/dist/tree/state/types/state.d.ts +5 -5
- package/dist/tree/state/types/validation.d.ts +12 -12
- package/dist/tree/state/validate.d.ts +2 -2
- package/dist/tree/state/variable-declaration/variable-declaration.d.ts +2 -0
- package/dist/tree/utils/data-type.d.ts +7 -7
- package/dist/tree/utils/index.d.ts +22 -22
- package/dist/tree/utils/names.d.ts +4 -4
- package/dist/tree/utils/shared-data-structure-entity.d.ts +13 -13
- package/dist/tree/utils/traverser.d.ts +10 -8
- package/package.json +1 -1
- package/dist/definitions/logic/custom-entity-to-zod-schema.d.ts +0 -4
- package/dist/definitions/types/custom-entity.d.ts +0 -31
- package/dist/tree/state/custom-entity/custom-entity.d.ts +0 -146
- package/dist/tree/state/custom-entity/index.d.ts +0 -1
- package/dist/tree/state/custom-entity/validation/logic-validation.d.ts +0 -9
- package/dist/tree/state/custom-entity/validation/references.d.ts +0 -5
- /package/dist/definitions/built-in-base-entities/operations/{custom-entity → definition-entity}/create-new.d.ts +0 -0
- /package/dist/definitions/built-in-base-entities/operations/{custom-entity → definition-entity}/index.d.ts +0 -0
- /package/dist/definitions/built-in-base-entities/operations/{custom-entity → definition-entity}/validate-data.d.ts +0 -0
- /package/dist/tree/built-in/operations/{custom-entity → definition-entity}/create-new.d.ts +0 -0
- /package/dist/tree/built-in/operations/{custom-entity → definition-entity}/index.d.ts +0 -0
- /package/dist/tree/built-in/operations/{custom-entity → definition-entity}/validate-data.test.d.ts +0 -0
- /package/dist/tree/state/{custom-entity/custom-entity.test.d.ts → definition-entity/definition-entity.test.d.ts} +0 -0
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { ElementTransfer, Element, EntityId } from '../../definitions';
|
|
2
2
|
|
|
3
|
-
export declare
|
|
4
|
-
Hirarchy = "hirarchy",
|
|
5
|
-
ReverseHirarchy = "reverse-hirarchy"
|
|
6
|
-
}
|
|
3
|
+
export declare function isPromise(obj: any): obj is Promise<any>;
|
|
7
4
|
export declare class Traverser {
|
|
8
|
-
private strategy;
|
|
9
5
|
order: EntityId[];
|
|
10
6
|
flatRecord: Record<EntityId, Element | ElementTransfer>;
|
|
11
|
-
|
|
7
|
+
private onGoingVisits;
|
|
8
|
+
constructor(root: Element | ElementTransfer);
|
|
12
9
|
private flatten;
|
|
13
10
|
private moveEntityAfterDependencies;
|
|
14
11
|
private orderEntities;
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
getUpstreamOngoingDependenciesVisits(entityId: EntityId, taskId: string): Record<EntityId, Promise<any>>;
|
|
13
|
+
getDownstreamOngoingDependenciesVisits(entityId: EntityId, taskId: string): Record<EntityId, Promise<any>>;
|
|
14
|
+
settlePromises(promises: Record<EntityId, Promise<any>>, taskId: string): Promise<void>;
|
|
15
|
+
visit(callback: (entity: Element | ElementTransfer) => any): Traverser;
|
|
16
|
+
reverseVisit(callback: (entity: Element | ElementTransfer) => any): Traverser;
|
|
17
|
+
visitAsync(callback: (entity: Element | ElementTransfer) => Promise<any>): Promise<Traverser>;
|
|
18
|
+
reverseVisitAsync(callback: (entity: Element | ElementTransfer) => Promise<any>): Promise<Traverser>;
|
|
17
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elyx-code/project-logic-tree",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6123",
|
|
4
4
|
"author": "Sergio Herrero",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { IFunctionDeclaration, IFunctionDeclarationTransfer, IProject, IProjectReference, IProperty, IBaseEntityTransfer, IBuiltInBaseEntity, EntityType, IBaseCanvasDraggable, IChildEntity, IChildEntityTransfer, IBuiltInBaseEntityTransfer, IDataType, IDataTypeReference, ICustomEntityReference, IBuiltInBaseEntityReference, IFunctionDeclarationReference, IChildEntityShallowTransfer, IBaseEntityShallowTransfer, IChildEntityGenerationTarget, IBaseEntityGenerationTarget, EntityId } from '.';
|
|
2
|
-
|
|
3
|
-
export interface ICustomEntityShallowTransfer extends IBaseCanvasDraggable, IChildEntityShallowTransfer, IBaseEntityShallowTransfer {
|
|
4
|
-
type: EntityType.CustomEntity;
|
|
5
|
-
extends: (ICustomEntityReference | IBuiltInBaseEntityReference)[];
|
|
6
|
-
implements: (ICustomEntityReference | IBuiltInBaseEntityReference)[];
|
|
7
|
-
parent: IProjectReference | IDataTypeReference;
|
|
8
|
-
methods: IFunctionDeclarationReference[];
|
|
9
|
-
}
|
|
10
|
-
export interface ICustomEntityGenerationTarget extends IChildEntityGenerationTarget, IBaseEntityGenerationTarget {
|
|
11
|
-
id: EntityId;
|
|
12
|
-
type: EntityType.CustomEntity;
|
|
13
|
-
extends: EntityId[];
|
|
14
|
-
implements: EntityId[];
|
|
15
|
-
parent?: EntityId;
|
|
16
|
-
}
|
|
17
|
-
export interface ICustomEntityTransfer extends IBaseCanvasDraggable, IChildEntityTransfer, IBaseEntityTransfer {
|
|
18
|
-
type: EntityType.CustomEntity;
|
|
19
|
-
extends: (ICustomEntity | ICustomEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer)[];
|
|
20
|
-
implements: (ICustomEntity | ICustomEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer)[];
|
|
21
|
-
parent: IProject | IProjectReference | IDataType | IDataTypeReference;
|
|
22
|
-
methods: (IFunctionDeclaration | IFunctionDeclarationTransfer)[];
|
|
23
|
-
}
|
|
24
|
-
export interface ICustomEntity extends ICustomEntityTransfer, IChildEntity {
|
|
25
|
-
parent: IProject | IDataType;
|
|
26
|
-
extends: (ICustomEntity | IBuiltInBaseEntity)[];
|
|
27
|
-
implements: (ICustomEntity | IBuiltInBaseEntity)[];
|
|
28
|
-
properties: IProperty[];
|
|
29
|
-
methods: IFunctionDeclaration[];
|
|
30
|
-
}
|
|
31
|
-
export type CustomEntityTypesUnion = ICustomEntity | ICustomEntityTransfer | ICustomEntityShallowTransfer | ICustomEntityGenerationTarget;
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
import { CustomEntityTypesUnion, ElementGenerationTarget, ElementShallowTransfer, EntityId, EntityType, EntityVersion, ICustomEntity, ICustomEntityGenerationTarget, ICustomEntityReference, ICustomEntityShallowTransfer, ICustomEntityTransfer } from '../../../definitions';
|
|
2
|
-
import { ZodError } from 'zod';
|
|
3
|
-
import { BaseCanvasDraggableState, BaseState, ChildEntityState, IEditableEntityPersistanceRepository, IEntityJSONCloneOptions, IEntityPersistanceOptions, IEntityRecursionOptions, UserManagedEntityStateFunctionality } from '../base';
|
|
4
|
-
import { PropertyState } from '../property';
|
|
5
|
-
import { FunctionDeclarationState } from '../function-declaration';
|
|
6
|
-
import { ProjectState } from '../project/project';
|
|
7
|
-
import { BuiltInBaseEntityState } from '../built-in-base-entity';
|
|
8
|
-
import { ActionDescriptorState } from '../action-descriptor';
|
|
9
|
-
import { EntityError, EntityGenerationError } from '../error';
|
|
10
|
-
import { EntityState, IChangeSet } from '../types';
|
|
11
|
-
import { DataTypeState } from '../data-type';
|
|
12
|
-
import { VariableInputMapState } from '../input-map';
|
|
13
|
-
|
|
14
|
-
export declare class CustomEntityState implements BaseState, UserManagedEntityStateFunctionality, BaseCanvasDraggableState, ICustomEntity, ChildEntityState {
|
|
15
|
-
initialData: ICustomEntity | ICustomEntityTransfer;
|
|
16
|
-
readonly id: EntityId;
|
|
17
|
-
version: EntityVersion;
|
|
18
|
-
name: string;
|
|
19
|
-
description: string | null;
|
|
20
|
-
x: number;
|
|
21
|
-
y: number;
|
|
22
|
-
static: boolean;
|
|
23
|
-
abstract: boolean;
|
|
24
|
-
readonly type: EntityType.CustomEntity;
|
|
25
|
-
properties: PropertyState[];
|
|
26
|
-
methods: FunctionDeclarationState[];
|
|
27
|
-
abstractMethods: ActionDescriptorState[];
|
|
28
|
-
extends: (CustomEntityState | BuiltInBaseEntityState)[];
|
|
29
|
-
implements: (CustomEntityState | BuiltInBaseEntityState)[];
|
|
30
|
-
project: ProjectState;
|
|
31
|
-
errors: EntityError[];
|
|
32
|
-
parent: ProjectState | DataTypeState;
|
|
33
|
-
initialized: boolean;
|
|
34
|
-
suggestedProperties: PropertyState[];
|
|
35
|
-
suggestedMethods: FunctionDeclarationState[];
|
|
36
|
-
constructor(initialEntityData: ICustomEntity | ICustomEntityTransfer, parentProjectState: ProjectState);
|
|
37
|
-
static repository: IEditableEntityPersistanceRepository;
|
|
38
|
-
static MUTABLE_BASE_PROPERTIES: string[];
|
|
39
|
-
static INMUTABLE_BASE_PROPERTIES: string[];
|
|
40
|
-
static BASE_PROPERTIES: string[];
|
|
41
|
-
static MUTABLE_META_PROPERTIES: string[];
|
|
42
|
-
static INMUTABLE_META_PROPERTIES: string[];
|
|
43
|
-
static META_PROPERTIES: string[];
|
|
44
|
-
static MUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
45
|
-
static INMUTABLE_UPSTREAM_PROPERTIES: string[];
|
|
46
|
-
static UPSTREAM_PROPERTIES: string[];
|
|
47
|
-
static MUTABLE_DOWNSTREAM_PROPERTIES: string[];
|
|
48
|
-
static INMUTABLE_DOWNSTREAM_PROPERTIES: string[];
|
|
49
|
-
static DOWNSTREAM_PROPERTIES: string[];
|
|
50
|
-
static PROPERTIES: string[];
|
|
51
|
-
static fromGenerationTarget(data: ICustomEntityGenerationTarget, parentProjectState: ProjectState): CustomEntityState;
|
|
52
|
-
static validateGenerationTarget(data: ICustomEntityGenerationTarget, project: ProjectState): {
|
|
53
|
-
errors: EntityGenerationError[];
|
|
54
|
-
modifiedData: ICustomEntityGenerationTarget;
|
|
55
|
-
};
|
|
56
|
-
get allBasePropertiesFromExtendedAndImplementedEntities(): PropertyState[];
|
|
57
|
-
get extendedPropertiesFromOriginalParents(): PropertyState[];
|
|
58
|
-
get implementedPropertiesFromOriginalParents(): PropertyState[];
|
|
59
|
-
get extendedProperties(): PropertyState[];
|
|
60
|
-
get ownDeclaredProperties(): PropertyState[];
|
|
61
|
-
validateGeneratedUpdate(data: Partial<ICustomEntityGenerationTarget>): {
|
|
62
|
-
errors: EntityGenerationError[];
|
|
63
|
-
modifiedData: Partial<ICustomEntityGenerationTarget>;
|
|
64
|
-
};
|
|
65
|
-
hydrateAncestors(): IChangeSet<CustomEntityState>;
|
|
66
|
-
afterAllChildrenInitialized(): IChangeSet<CustomEntityState>;
|
|
67
|
-
addSelfToProject(): IChangeSet<CustomEntityState>;
|
|
68
|
-
setParent(parent: ProjectState | DataTypeState): CustomEntityState;
|
|
69
|
-
addExtension(entity: CustomEntityState | BuiltInBaseEntityState): CustomEntityState;
|
|
70
|
-
removeExtension(entity: CustomEntityState | BuiltInBaseEntityState): CustomEntityState;
|
|
71
|
-
addImplementation(entity: CustomEntityState | BuiltInBaseEntityState): CustomEntityState;
|
|
72
|
-
removeImplementation(entity: CustomEntityState | BuiltInBaseEntityState): CustomEntityState;
|
|
73
|
-
removeProperty(property: PropertyState): CustomEntityState;
|
|
74
|
-
addMethod(method: FunctionDeclarationState): CustomEntityState;
|
|
75
|
-
removeMethod(method: FunctionDeclarationState): CustomEntityState;
|
|
76
|
-
addProperty(property: PropertyState): CustomEntityState;
|
|
77
|
-
addSuggestedProperty(property: PropertyState): CustomEntityState;
|
|
78
|
-
addSuggestedMethod(method: FunctionDeclarationState): CustomEntityState;
|
|
79
|
-
removeSuggestedProperty(property: PropertyState): CustomEntityState;
|
|
80
|
-
removeSuggestedMethod(method: FunctionDeclarationState): CustomEntityState;
|
|
81
|
-
addAbstractMethod(method: ActionDescriptorState): CustomEntityState;
|
|
82
|
-
removeAbstractMethod(method: ActionDescriptorState): CustomEntityState;
|
|
83
|
-
initChildren(): CustomEntityState;
|
|
84
|
-
syncImplementationProperties(): CustomEntityState;
|
|
85
|
-
addExtendedProperties(): CustomEntityState;
|
|
86
|
-
addSuggestions(): CustomEntityState;
|
|
87
|
-
subscribe(): CustomEntityState;
|
|
88
|
-
unsubscribe(): CustomEntityState;
|
|
89
|
-
sync(data: Partial<ICustomEntity | ICustomEntityTransfer>): CustomEntityState;
|
|
90
|
-
load(_?: IEntityPersistanceOptions): Promise<CustomEntityState>;
|
|
91
|
-
create(_?: IEntityPersistanceOptions): Promise<CustomEntityState>;
|
|
92
|
-
update(_?: IEntityPersistanceOptions): Promise<CustomEntityState>;
|
|
93
|
-
delete(_?: IEntityPersistanceOptions): Promise<CustomEntityState>;
|
|
94
|
-
remove({ ignoreUpstream: _, seenEntities, }?: {
|
|
95
|
-
ignoreUpstream: boolean;
|
|
96
|
-
seenEntities: Set<string>;
|
|
97
|
-
}): {
|
|
98
|
-
affected: EntityState[];
|
|
99
|
-
removed: EntityState[];
|
|
100
|
-
};
|
|
101
|
-
restore({ seenEntities }?: {
|
|
102
|
-
seenEntities: Set<string>;
|
|
103
|
-
}): {
|
|
104
|
-
affected: EntityState[];
|
|
105
|
-
self: CustomEntityState;
|
|
106
|
-
};
|
|
107
|
-
toFlat(seenEntities?: Set<EntityId>): EntityState[];
|
|
108
|
-
toFlatIds(seenEntities?: Set<EntityId>): EntityId[];
|
|
109
|
-
toJSON(seenEntities?: Set<EntityId>): ICustomEntityTransfer | ICustomEntityReference;
|
|
110
|
-
toJSONClone(options?: IEntityJSONCloneOptions): ICustomEntityTransfer | ICustomEntityReference;
|
|
111
|
-
toReference(options?: IEntityRecursionOptions): ICustomEntityReference;
|
|
112
|
-
toShallowJSON(options?: IEntityRecursionOptions): ICustomEntityShallowTransfer;
|
|
113
|
-
toFlatJSON(seenEntities?: Set<EntityId>): ElementShallowTransfer[];
|
|
114
|
-
toGenerationTarget(): ICustomEntityGenerationTarget;
|
|
115
|
-
toFlatGenerationTarget(seenEntities?: Set<EntityId>): ElementGenerationTarget[];
|
|
116
|
-
clearErrors(): CustomEntityState;
|
|
117
|
-
validate(): {
|
|
118
|
-
success: boolean;
|
|
119
|
-
error: ZodError | null;
|
|
120
|
-
data: ICustomEntityTransfer | null;
|
|
121
|
-
};
|
|
122
|
-
getErrors(): EntityError[];
|
|
123
|
-
getShallowErrors(): EntityError[];
|
|
124
|
-
clone(parent?: ProjectState | DataTypeState | null, newId?: string | null, subscribe?: boolean): CustomEntityState;
|
|
125
|
-
getFunctionDeclaration(id: EntityId): FunctionDeclarationState | undefined;
|
|
126
|
-
implement(newEntityName: string, newId?: string): {
|
|
127
|
-
errors: [];
|
|
128
|
-
implemented: CustomEntityState;
|
|
129
|
-
entitiesChanges: {
|
|
130
|
-
new: EntityState[];
|
|
131
|
-
updated: EntityState[];
|
|
132
|
-
deleted: EntityState[];
|
|
133
|
-
};
|
|
134
|
-
} | {
|
|
135
|
-
errors: [EntityGenerationError, ...EntityGenerationError[]];
|
|
136
|
-
implemented: null;
|
|
137
|
-
entitiesChanges: {
|
|
138
|
-
new: [];
|
|
139
|
-
updated: [];
|
|
140
|
-
deleted: [];
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
getAllInteractiveMethods(): FunctionDeclarationState[];
|
|
144
|
-
inferFromInputs(inputs: VariableInputMapState[]): CustomEntityState;
|
|
145
|
-
}
|
|
146
|
-
export type CustomEntityPayloadUnion = CustomEntityState | CustomEntityTypesUnion;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './custom-entity';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActionDescriptorState } from '../../action-descriptor';
|
|
2
|
-
import { EntityError } from '../../error';
|
|
3
|
-
import { CustomEntityState } from '../custom-entity';
|
|
4
|
-
import { BuiltInBaseEntityState } from '../../built-in-base-entity';
|
|
5
|
-
import { PropertyState } from '../../property';
|
|
6
|
-
|
|
7
|
-
export declare function validate(self: CustomEntityState): EntityError[];
|
|
8
|
-
export declare function getBasePropertiesNotImplemented(self: CustomEntityState, implementedEntity: CustomEntityState | BuiltInBaseEntityState): PropertyState[];
|
|
9
|
-
export declare function getBaseMethodsNotImplemented(self: CustomEntityState, implementedEntity: CustomEntityState | BuiltInBaseEntityState): ActionDescriptorState[];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ICustomEntityGenerationTarget } from '../../../../definitions';
|
|
2
|
-
import { EntityGenerationError } from '../../error';
|
|
3
|
-
import { ProjectState } from '../../project';
|
|
4
|
-
|
|
5
|
-
export declare function validateReferenceTypes(data: ICustomEntityGenerationTarget, project: ProjectState): EntityGenerationError[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/tree/built-in/operations/{custom-entity → definition-entity}/validate-data.test.d.ts
RENAMED
|
File without changes
|
|
File without changes
|