@elyx-code/project-logic-tree 0.0.6784 → 0.0.6785
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +238 -208
- package/dist/index.d.ts +95 -35
- package/dist/index.js +51574 -49725
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -139,6 +139,7 @@ export declare class ActionDescriptorState extends UserManagedVersionedState imp
|
|
|
139
139
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ActionDescriptorState>;
|
|
140
140
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ActionDescriptorState>>;
|
|
141
141
|
updateWithShallowTransfer(transfer: IActionDescriptorShallowTransfer, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
142
|
+
updateWithGenerationTarget(transfer: Partial<IActionDescriptorGenerationTarget>, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
142
143
|
hydrateAncestors(): IChangeSet<ActionDescriptorState>;
|
|
143
144
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ActionDescriptorState>;
|
|
144
145
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ActionDescriptorState>;
|
|
@@ -585,6 +586,7 @@ export declare class ArgumentDeclarationState extends UserManagedVersionedState
|
|
|
585
586
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ArgumentDeclarationState>;
|
|
586
587
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ArgumentDeclarationState>>;
|
|
587
588
|
updateWithShallowTransfer(transfer: IArgumentDeclarationShallowTransfer, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
589
|
+
updateWithGenerationTarget(transfer: Partial<IArgumentDeclarationGenerationTarget>, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
588
590
|
hydrateAncestors(): IChangeSet<ArgumentDeclarationState>;
|
|
589
591
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ArgumentDeclarationState>;
|
|
590
592
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ArgumentDeclarationState>;
|
|
@@ -868,6 +870,7 @@ export declare class BreakStatementState extends UserManagedVersionedState imple
|
|
|
868
870
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<BreakStatementState>;
|
|
869
871
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<BreakStatementState>>;
|
|
870
872
|
updateWithShallowTransfer(transfer: IBreakStatementShallowTransfer, changeSet?: ChangeSet | null): BreakStatementState;
|
|
873
|
+
updateWithGenerationTarget(transfer: Partial<IBreakStatementGenerationTarget>, changeSet?: ChangeSet | null): BreakStatementState;
|
|
871
874
|
hydrateAncestors(): IChangeSet<BreakStatementState>;
|
|
872
875
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<BreakStatementState>;
|
|
873
876
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<BreakStatementState>;
|
|
@@ -10123,6 +10126,7 @@ export declare class ConditionState extends UserManagedVersionedState implements
|
|
|
10123
10126
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ConditionState>;
|
|
10124
10127
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ConditionState>>;
|
|
10125
10128
|
updateWithShallowTransfer(transfer: IConditionShallowTransfer, changeSet?: ChangeSet | null): ConditionState;
|
|
10129
|
+
updateWithGenerationTarget(transfer: IConditionGenerationTarget, changeSet?: ChangeSet | null): ConditionState;
|
|
10126
10130
|
hydrateAncestors(): IChangeSet<ConditionState>;
|
|
10127
10131
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
10128
10132
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
@@ -10302,6 +10306,7 @@ export declare class ContinueStatementState extends UserManagedVersionedState im
|
|
|
10302
10306
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ContinueStatementState>;
|
|
10303
10307
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ContinueStatementState>>;
|
|
10304
10308
|
updateWithShallowTransfer(transfer: IContinueStatementShallowTransfer, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
10309
|
+
updateWithGenerationTarget(transfer: Partial<IContinueStatementGenerationTarget>, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
10305
10310
|
hydrateAncestors(): IChangeSet<ContinueStatementState>;
|
|
10306
10311
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ContinueStatementState>;
|
|
10307
10312
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ContinueStatementState>;
|
|
@@ -10930,6 +10935,7 @@ export declare class DataTypeState extends UserManagedVersionedState implements
|
|
|
10930
10935
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<DataTypeState>;
|
|
10931
10936
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<DataTypeState>>;
|
|
10932
10937
|
updateWithShallowTransfer(transfer: IDataTypeShallowTransfer, changeSet?: ChangeSet | null): DataTypeState;
|
|
10938
|
+
updateWithGenerationTarget(transfer: Partial<IDataTypeGenerationTarget>, changeSet?: ChangeSet | null): DataTypeState;
|
|
10933
10939
|
hydrateAncestors(): IChangeSet<DataTypeState>;
|
|
10934
10940
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
10935
10941
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
@@ -11898,6 +11904,7 @@ export declare class DefinitionEntityState extends UserManagedVersionedState imp
|
|
|
11898
11904
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<DefinitionEntityState>;
|
|
11899
11905
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<DefinitionEntityState>>;
|
|
11900
11906
|
updateWithShallowTransfer(transfer: IDefinitionEntityShallowTransfer, changeSet?: ChangeSet | null): DefinitionEntityState;
|
|
11907
|
+
updateWithGenerationTarget(transfer: Partial<IDefinitionEntityGenerationTarget>, changeSet?: ChangeSet | null): DefinitionEntityState;
|
|
11901
11908
|
hydrateAncestors(): IChangeSet<DefinitionEntityState>;
|
|
11902
11909
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<DefinitionEntityState>;
|
|
11903
11910
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<DefinitionEntityState>;
|
|
@@ -12063,6 +12070,8 @@ export declare const downSqlRowTransformerEntityMethodVoidDataType: IDataTypeTra
|
|
|
12063
12070
|
|
|
12064
12071
|
export declare const downSqlRowTransformerEntityMethodVoidDataTypeParentRef: IDataTypeReference;
|
|
12065
12072
|
|
|
12073
|
+
export declare const DOWNSTREAM_PROPERTIES_EXPLANATION = "Some fields on an entity point to a downstream/nested entity, which means it is a child of the current entity in the tree. Downstream properties are owned and managed by the downstream entity itself, and cannot be modified directly on the upstream entity.\nFor example, a 'function-declaration' entity has a list of downstream references to its 'argument-declaration' in the property called 'inputs'. To edit the relationship, or modify any of the inputs, the input itself must be targeted directly.";
|
|
12074
|
+
|
|
12066
12075
|
export declare const DRAGGABLE_CALLABLE_TYPES: EntityType[];
|
|
12067
12076
|
|
|
12068
12077
|
export declare const DRAGGABLE_CALLER_TYPES: EntityType[];
|
|
@@ -12199,6 +12208,8 @@ export declare enum DynamicValueTypes {
|
|
|
12199
12208
|
|
|
12200
12209
|
export declare const EDITABLE_PERSISTANCE_REPOSITORY_DEFAULTS: IEditableEntityPersistanceRepository;
|
|
12201
12210
|
|
|
12211
|
+
export declare const EDITING_PROPERTIES_EXPLANATION = "Entities of any type have two types of fields: primitive meta-data fields, and relational fields that point to other entities.\nRelational fields can be upstream or downstream.\nOnly upstream fields are owned and can be edited by the entity itself.\nDownstream fields are owned and edited by the downstream entity that points to this entity.\nFor example, many entities have a 'parent' field that points to their parent entity. Once the parent is set, they show up in one of the downstream fields of the parent entity, like 'inputs' or 'body'.";
|
|
12212
|
+
|
|
12202
12213
|
export declare class EfimeralValueStore implements IValueStoreClient {
|
|
12203
12214
|
initialized: boolean;
|
|
12204
12215
|
id: string;
|
|
@@ -12443,6 +12454,22 @@ export declare enum EntityErrorSeverity {
|
|
|
12443
12454
|
Warning = "warning"
|
|
12444
12455
|
}
|
|
12445
12456
|
|
|
12457
|
+
export declare enum EntityFieldType {
|
|
12458
|
+
MUTABLE_BASE_PROPERTIES = "MUTABLE_BASE_PROPERTIES",
|
|
12459
|
+
INMUTABLE_BASE_PROPERTIES = "INMUTABLE_BASE_PROPERTIES",
|
|
12460
|
+
BASE_PROPERTIES = "BASE_PROPERTIES",
|
|
12461
|
+
MUTABLE_META_PROPERTIES = "MUTABLE_META_PROPERTIES",
|
|
12462
|
+
INMUTABLE_META_PROPERTIES = "INMUTABLE_META_PROPERTIES",
|
|
12463
|
+
META_PROPERTIES = "META_PROPERTIES",
|
|
12464
|
+
MUTABLE_UPSTREAM_PROPERTIES = "MUTABLE_UPSTREAM_PROPERTIES",
|
|
12465
|
+
INMUTABLE_UPSTREAM_PROPERTIES = "INMUTABLE_UPSTREAM_PROPERTIES",
|
|
12466
|
+
UPSTREAM_PROPERTIES = "UPSTREAM_PROPERTIES",
|
|
12467
|
+
MUTABLE_DOWNSTREAM_PROPERTIES = "MUTABLE_DOWNSTREAM_PROPERTIES",
|
|
12468
|
+
INMUTABLE_DOWNSTREAM_PROPERTIES = "INMUTABLE_DOWNSTREAM_PROPERTIES",
|
|
12469
|
+
DOWNSTREAM_PROPERTIES = "DOWNSTREAM_PROPERTIES",
|
|
12470
|
+
PROPERTIES = "PROPERTIES"
|
|
12471
|
+
}
|
|
12472
|
+
|
|
12446
12473
|
export declare class EntityGenerationError implements IEntityGenerationError {
|
|
12447
12474
|
id: string;
|
|
12448
12475
|
message: string;
|
|
@@ -14090,6 +14117,8 @@ export declare enum ExternalIntegrationRootProviders {
|
|
|
14090
14117
|
'zuora' = "zuora"
|
|
14091
14118
|
}
|
|
14092
14119
|
|
|
14120
|
+
export declare function fieldTypeToReadableString(fieldType: EntityFieldType): string;
|
|
14121
|
+
|
|
14093
14122
|
export declare const filesIntegrationBuiltInActionDescriptorTransfer: IActionDescriptorTransfer;
|
|
14094
14123
|
|
|
14095
14124
|
/**
|
|
@@ -14109,6 +14138,8 @@ export declare function filterOutDuplicateErrorsAsync(errors: (EntityGenerationE
|
|
|
14109
14138
|
|
|
14110
14139
|
export declare function findEntityFromKeys(keys: string[], project: ProjectState): DefinitionEntityState | null;
|
|
14111
14140
|
|
|
14141
|
+
export declare function findEntityTypeWithFieldName(fieldName: string): Map<EntityType, EntityFieldType>;
|
|
14142
|
+
|
|
14112
14143
|
export declare function findNextAvailableName(baseName: string, allEntitiesOfType: EntityWithNames[]): string;
|
|
14113
14144
|
|
|
14114
14145
|
export declare function findNextCombinedSingleCallerAncestor(targetA: CallableEntityState | CallerEntityState, targetB: CallableEntityState | CallerEntityState, from?: CallerEntityState): {
|
|
@@ -14613,6 +14644,8 @@ export declare function fromZodParseToEntityGenerationErrors(data: Partial<Eleme
|
|
|
14613
14644
|
type: EntityType;
|
|
14614
14645
|
}, result: SafeParseReturnType<any, any>): EntityGenerationError[];
|
|
14615
14646
|
|
|
14647
|
+
export declare const FULL_EDITING_PROPERTIES_EXPLANATION = "Entities of any type have two types of fields: primitive meta-data fields, and relational fields that point to other entities.\nRelational fields can be upstream or downstream.\nOnly upstream fields are owned and can be edited by the entity itself.\nDownstream fields are owned and edited by the downstream entity that points to this entity.\nFor example, many entities have a 'parent' field that points to their parent entity. Once the parent is set, they show up in one of the downstream fields of the parent entity, like 'inputs' or 'body'.\n\nSome meta-data properties of entities can be changed after the initial creation, like 'name', 'description', etc...\nThese are called mutable meta-properties.\n\nSome meta-data properties of entities cannot be changed after the initial creation, like 'type', 'id', etc...\nThese are called inmutable meta-properties.\n\nSome upstream relational properties of entities cannot be changed after the initial creation, like 'parent' for some entities, etc...\nThese are called inmutable upstream properties.\n\nSome fields on an entity point to a downstream/nested entity, which means it is a child of the current entity in the tree. Downstream properties are owned and managed by the downstream entity itself, and cannot be modified directly on the upstream entity.\nFor example, a 'function-declaration' entity has a list of downstream references to its 'argument-declaration' in the property called 'inputs'. To edit the relationship, or modify any of the inputs, the input itself must be targeted directly.";
|
|
14648
|
+
|
|
14616
14649
|
export declare enum FunctionCallDependencyField {
|
|
14617
14650
|
FunctionCallParentField = "function-call-parent-field",
|
|
14618
14651
|
FunctionCallDeclarationField = "function-call-declaration-field"
|
|
@@ -14702,6 +14735,7 @@ export declare class FunctionCallState extends UserManagedVersionedState impleme
|
|
|
14702
14735
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<FunctionCallState>;
|
|
14703
14736
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<FunctionCallState>>;
|
|
14704
14737
|
updateWithShallowTransfer(transfer: IFunctionCallShallowTransfer, changeSet?: ChangeSet | null): FunctionCallState;
|
|
14738
|
+
updateWithGenerationTarget(transfer: Partial<IFunctionCallGenerationTarget>, changeSet?: ChangeSet | null): FunctionCallState;
|
|
14705
14739
|
hydrateAncestors(): IChangeSet<FunctionCallState>;
|
|
14706
14740
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
14707
14741
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
@@ -14874,6 +14908,7 @@ export declare class FunctionDeclarationState extends UserManagedVersionedState
|
|
|
14874
14908
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<FunctionDeclarationState>;
|
|
14875
14909
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<FunctionDeclarationState>>;
|
|
14876
14910
|
updateWithShallowTransfer(transfer: IFunctionDeclarationShallowTransfer, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
14911
|
+
updateWithGenerationTarget(transfer: Partial<IFunctionDeclarationGenerationTarget>, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
14877
14912
|
hydrateAncestors(): IChangeSet<FunctionDeclarationState>;
|
|
14878
14913
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<FunctionDeclarationState>;
|
|
14879
14914
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<FunctionDeclarationState>;
|
|
@@ -15181,7 +15216,14 @@ export declare enum GenerationExplanationIds {
|
|
|
15181
15216
|
AllLoopActionDescriptors = "all-loop-action-descriptors-explanation",
|
|
15182
15217
|
AllGlobalEventsActionDescriptors = "all-global-events-action-descriptors-explanation",
|
|
15183
15218
|
DefinitionEntities = "definition-entities-explanation",
|
|
15184
|
-
PropertyImplementationAndExtensionAutoEnrichment = "property-implementation-and-extension-auto-enrichment-explanation"
|
|
15219
|
+
PropertyImplementationAndExtensionAutoEnrichment = "property-implementation-and-extension-auto-enrichment-explanation",
|
|
15220
|
+
ActualOwnersOfMisplacedProperties = "actual-owners-of-misplaced-properties-explanation",
|
|
15221
|
+
EditingProperties = "editing-properties-explanation",
|
|
15222
|
+
MutableMetaProperties = "mutable-meta-properties-explanation",
|
|
15223
|
+
InmutableMetaProperties = "inmutable-meta-properties-explanation",
|
|
15224
|
+
InmutableUpstreamProperties = "inmutable-upstream-properties-explanation",
|
|
15225
|
+
DownstreamProperties = "downstream-properties-explanation",
|
|
15226
|
+
FullEditingProperties = "full-editing-properties-explanation"
|
|
15185
15227
|
}
|
|
15186
15228
|
|
|
15187
15229
|
/** lodash-like get(obj, path, defaultValue) with precise "missing" detection */
|
|
@@ -19707,6 +19749,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
19707
19749
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<GlobalEventState>;
|
|
19708
19750
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<GlobalEventState>>;
|
|
19709
19751
|
updateWithShallowTransfer(transfer: IGlobalEventShallowTransfer, changeSet?: ChangeSet | null): GlobalEventState;
|
|
19752
|
+
updateWithGenerationTarget(transfer: Partial<IGlobalEventGenerationTarget>, changeSet?: ChangeSet | null): GlobalEventState;
|
|
19710
19753
|
hydrateAncestors(): IChangeSet<GlobalEventState>;
|
|
19711
19754
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<GlobalEventState>;
|
|
19712
19755
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<GlobalEventState>;
|
|
@@ -21099,8 +21142,6 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21099
21142
|
id: EntityId;
|
|
21100
21143
|
type: EntityType.Condition;
|
|
21101
21144
|
declaration: EntityId;
|
|
21102
|
-
andChildrenGroup?: EntityId[];
|
|
21103
|
-
orChildrenGroup?: EntityId[];
|
|
21104
21145
|
calledBySuccess: EntityId[];
|
|
21105
21146
|
calledByError: EntityId[];
|
|
21106
21147
|
calledByEntry: EntityId[];
|
|
@@ -21459,6 +21500,12 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21459
21500
|
cascade?: boolean;
|
|
21460
21501
|
}
|
|
21461
21502
|
|
|
21503
|
+
export declare interface IEntityPrintoutOptions {
|
|
21504
|
+
singleLine?: boolean;
|
|
21505
|
+
indentSize?: number;
|
|
21506
|
+
singleLineSpacer?: string;
|
|
21507
|
+
}
|
|
21508
|
+
|
|
21462
21509
|
export declare interface IEntityRecursionOptions {
|
|
21463
21510
|
seenEntityMaps?: Map<EntityId, EntityId>;
|
|
21464
21511
|
seenEntities?: Set<EntityId>;
|
|
@@ -21532,7 +21579,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21532
21579
|
catchesError: boolean;
|
|
21533
21580
|
}
|
|
21534
21581
|
|
|
21535
|
-
export declare interface IFunctionCallGenerationTarget extends IBaseActionCallGenerationTarget,
|
|
21582
|
+
export declare interface IFunctionCallGenerationTarget extends IBaseActionCallGenerationTarget, IChildEntityGenerationTarget, ICalledEntityGenerationTarget {
|
|
21536
21583
|
type: EntityType.FunctionCall;
|
|
21537
21584
|
declaration: EntityId;
|
|
21538
21585
|
catchesError?: boolean;
|
|
@@ -22010,6 +22057,10 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22010
22057
|
yieldEvery?: number;
|
|
22011
22058
|
}, parentContext?: IProjectInstanceParentContext): Promise<ProjectState>;
|
|
22012
22059
|
|
|
22060
|
+
export declare const INMUTABLE_META_PROPERTIES_EXPLANATION = "Some meta-data properties of entities cannot be changed after the initial creation, like 'type', 'id', etc...\nThese are called inmutable meta-properties.";
|
|
22061
|
+
|
|
22062
|
+
export declare const INMUTABLE_UPSTREAM_PROPERTIES_EXPLANATION = "Some upstream relational properties of entities cannot be changed after the initial creation, like 'parent' for some entities, etc...\nThese are called inmutable upstream properties.";
|
|
22063
|
+
|
|
22013
22064
|
export declare enum InputMapDependencyField {
|
|
22014
22065
|
Declaration = "declaration",
|
|
22015
22066
|
DataTypeEntity = "data-type-entity"
|
|
@@ -22102,6 +22153,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22102
22153
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InputMapState>;
|
|
22103
22154
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<InputMapState>>;
|
|
22104
22155
|
updateWithShallowTransfer(transfer: IInputMapShallowTransfer, changeSet?: ChangeSet | null): InputMapState;
|
|
22156
|
+
updateWithGenerationTarget(transfer: Partial<IInputMapGenerationTarget>, changeSet?: ChangeSet | null): InputMapState;
|
|
22105
22157
|
hydrateAncestors(): IChangeSet<InputMapState>;
|
|
22106
22158
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InputMapState>;
|
|
22107
22159
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InputMapState>;
|
|
@@ -22245,6 +22297,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22245
22297
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InstalledProjectState>;
|
|
22246
22298
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<InstalledProjectState>>;
|
|
22247
22299
|
updateWithShallowTransfer(transfer: IInstalledProjectShallowTransfer, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
22300
|
+
updateWithGenerationTarget(transfer: Partial<IInstalledProjectGenerationTarget>, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
22248
22301
|
hydrateAncestors(): IChangeSet<InstalledProjectState>;
|
|
22249
22302
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
22250
22303
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
@@ -22389,6 +22442,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22389
22442
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InternalCallState>;
|
|
22390
22443
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<InternalCallState>>;
|
|
22391
22444
|
updateWithShallowTransfer(transfer: IInternalCallShallowTransfer, changeSet?: ChangeSet | null): InternalCallState;
|
|
22445
|
+
updateWithGenerationTarget(transfer: Partial<IInternalCallGenerationTarget>, changeSet?: ChangeSet | null): InternalCallState;
|
|
22392
22446
|
hydrateAncestors(): IChangeSet<InternalCallState>;
|
|
22393
22447
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
22394
22448
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
@@ -22706,6 +22760,18 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
22706
22760
|
autogeneration: UUIDAutogenerationOptions | null;
|
|
22707
22761
|
}
|
|
22708
22762
|
|
|
22763
|
+
export declare interface IPrintEntityOptions {
|
|
22764
|
+
nested?: boolean;
|
|
22765
|
+
omitTopLevelType?: boolean;
|
|
22766
|
+
firstLabel?: 'name' | 'id';
|
|
22767
|
+
omitIdsFor?: EntityType[];
|
|
22768
|
+
omitTypesFor?: EntityType[];
|
|
22769
|
+
metadataIndent?: number;
|
|
22770
|
+
ownMetadataIndent?: number;
|
|
22771
|
+
omitFields?: EntityPrintingFields[];
|
|
22772
|
+
onlyFields?: EntityPrintingFields[];
|
|
22773
|
+
}
|
|
22774
|
+
|
|
22709
22775
|
export declare interface IProject extends IProjectTransfer {
|
|
22710
22776
|
projects: IInstalledProject[];
|
|
22711
22777
|
entities: IDefinitionEntity[];
|
|
@@ -24731,6 +24797,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24731
24797
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<LiteralValueState>;
|
|
24732
24798
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<LiteralValueState>>;
|
|
24733
24799
|
updateWithShallowTransfer(transfer: ILiteralValueShallowTransfer, changeSet?: ChangeSet | null): LiteralValueState;
|
|
24800
|
+
updateWithGenerationTarget(transfer: Partial<ILiteralValueGenerationTarget>, changeSet?: ChangeSet | null): LiteralValueState;
|
|
24734
24801
|
hydrateAncestors(): IChangeSet<LiteralValueState>;
|
|
24735
24802
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
24736
24803
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
@@ -24895,6 +24962,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
24895
24962
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<LoopState>;
|
|
24896
24963
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<LoopState>>;
|
|
24897
24964
|
updateWithShallowTransfer(transfer: ILoopShallowTransfer, changeSet?: ChangeSet | null): LoopState;
|
|
24965
|
+
updateWithGenerationTarget(transfer: Partial<ILoopGenerationTarget>, changeSet?: ChangeSet | null): LoopState;
|
|
24898
24966
|
hydrateAncestors(): IChangeSet<LoopState>;
|
|
24899
24967
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
24900
24968
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
@@ -25248,6 +25316,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
25248
25316
|
|
|
25249
25317
|
export declare function modifyEditableAndDeletableDownstreamEntitiesFromGiven(entity: UserManagedEntityState, changeSet: ChangeSet, newValue: boolean, seenEntities?: Set<string>): void;
|
|
25250
25318
|
|
|
25319
|
+
export declare const MUTABLE_META_PROPERTIES_EXPLANATION = "Some meta-data properties of entities can be changed after the initial creation, like 'name', 'description', etc...\nThese are called mutable meta-properties.";
|
|
25320
|
+
|
|
25251
25321
|
export declare const NESTED_PROPERTY_HEIGHT = 26;
|
|
25252
25322
|
|
|
25253
25323
|
export declare function nestedObjectKeyValueEquals(obj: unknown, path: unknown, expected: unknown): boolean;
|
|
@@ -29162,6 +29232,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29162
29232
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<OperationState>;
|
|
29163
29233
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<OperationState>>;
|
|
29164
29234
|
updateWithShallowTransfer(transfer: IOperationShallowTransfer, changeSet?: ChangeSet | null): OperationState;
|
|
29235
|
+
updateWithGenerationTarget(transfer: Partial<IOperationGenerationTarget>, changeSet?: ChangeSet | null): OperationState;
|
|
29165
29236
|
hydrateAncestors(): IChangeSet<OperationState>;
|
|
29166
29237
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
29167
29238
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
@@ -29352,6 +29423,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29352
29423
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<OutputMapState>;
|
|
29353
29424
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<OutputMapState>>;
|
|
29354
29425
|
updateWithShallowTransfer(transfer: IOutputMapShallowTransfer, changeSet?: ChangeSet | null): OutputMapState;
|
|
29426
|
+
updateWithGenerationTarget(transfer: Partial<IOutputMapGenerationTarget>, changeSet?: ChangeSet | null): OutputMapState;
|
|
29355
29427
|
hydrateAncestors(): IChangeSet<OutputMapState>;
|
|
29356
29428
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<OutputMapState>;
|
|
29357
29429
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<OutputMapState>;
|
|
@@ -29790,49 +29862,22 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29790
29862
|
Untyped = "untyped"
|
|
29791
29863
|
}
|
|
29792
29864
|
|
|
29793
|
-
export declare function printDataType(dataType: DataTypeState | null, options?: {
|
|
29794
|
-
nested?: boolean;
|
|
29795
|
-
omitTopLevelType?: boolean;
|
|
29796
|
-
firstLabel?: 'name' | 'id';
|
|
29797
|
-
omitIdsFor?: EntityType[];
|
|
29798
|
-
omitTypesFor?: EntityType[];
|
|
29799
|
-
metadataIndent?: number;
|
|
29800
|
-
ownMetadataIndent?: number;
|
|
29801
|
-
omitFields?: EntityPrintingFields[];
|
|
29802
|
-
onlyFields?: EntityPrintingFields[];
|
|
29803
|
-
}): {
|
|
29865
|
+
export declare function printDataType(dataType: DataTypeState | null, options?: IPrintEntityOptions): {
|
|
29804
29866
|
lines: {
|
|
29805
29867
|
text: string;
|
|
29806
29868
|
indentLevel: number;
|
|
29807
29869
|
}[];
|
|
29808
29870
|
};
|
|
29809
29871
|
|
|
29810
|
-
export declare function printEntity(entity: EntityState, options?: {
|
|
29811
|
-
nested?: boolean;
|
|
29812
|
-
omitTopLevelType?: boolean;
|
|
29813
|
-
firstLabel?: 'name' | 'id';
|
|
29814
|
-
omitIdsFor?: EntityType[];
|
|
29815
|
-
omitTypesFor?: EntityType[];
|
|
29816
|
-
metadataIndent?: number;
|
|
29817
|
-
ownMetadataIndent?: number;
|
|
29818
|
-
omitFields?: EntityPrintingFields[];
|
|
29819
|
-
onlyFields?: EntityPrintingFields[];
|
|
29820
|
-
}): {
|
|
29872
|
+
export declare function printEntity(entity: EntityState, options?: IPrintEntityOptions): {
|
|
29821
29873
|
lines: {
|
|
29822
29874
|
text: string;
|
|
29823
29875
|
indentLevel: number;
|
|
29824
29876
|
}[];
|
|
29825
29877
|
};
|
|
29826
29878
|
|
|
29827
|
-
export declare function printEntityList(entities: EntityState[], options?: {
|
|
29828
|
-
nested?: boolean;
|
|
29829
|
-
omitTopLevelType?: boolean;
|
|
29830
|
-
firstLabel?: 'name' | 'id';
|
|
29831
|
-
omitIdsFor?: EntityType[];
|
|
29832
|
-
omitTypesFor?: EntityType[];
|
|
29879
|
+
export declare function printEntityList(entities: EntityState[], options?: IPrintEntityOptions, printoutOptions?: IEntityPrintoutOptions & {
|
|
29833
29880
|
newLinesBetweenItems?: number;
|
|
29834
|
-
omitFields?: EntityPrintingFields[];
|
|
29835
|
-
onlyFields?: EntityPrintingFields[];
|
|
29836
29881
|
}): string;
|
|
29837
29882
|
|
|
29838
29883
|
export declare function printGenerationTarget(entity: ElementGenerationTarget, project: ProjectState): string;
|
|
@@ -29995,6 +30040,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
29995
30040
|
recursiveCaptureUpstreamVersions(_sharedTimestamp: null | string): IChangeSet<ProjectState>;
|
|
29996
30041
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ProjectState>>;
|
|
29997
30042
|
updateWithShallowTransfer(transfer: IProjectShallowTransfer, changeSet?: ChangeSet | null): ProjectState;
|
|
30043
|
+
updateWithGenerationTarget(transfer: Partial<IProjectGenerationTarget>, changeSet?: ChangeSet | null): ProjectState;
|
|
29998
30044
|
hydrateAncestors(): IChangeSet<ProjectState>;
|
|
29999
30045
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ProjectState>;
|
|
30000
30046
|
addSelfToProject(_changeSet: ChangeSet | null): IChangeSet<ProjectState>;
|
|
@@ -30283,6 +30329,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
30283
30329
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<PropertyState>;
|
|
30284
30330
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<PropertyState>>;
|
|
30285
30331
|
updateWithShallowTransfer(transfer: IPropertyShallowTransfer, changeSet?: ChangeSet | null): PropertyState;
|
|
30332
|
+
updateWithGenerationTarget(transfer: Partial<IPropertyGenerationTarget>, changeSet?: ChangeSet | null): PropertyState;
|
|
30286
30333
|
hydrateAncestors(): IChangeSet<PropertyState>;
|
|
30287
30334
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<PropertyState>;
|
|
30288
30335
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<PropertyState>;
|
|
@@ -31034,6 +31081,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31034
31081
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ReturnStatementState>;
|
|
31035
31082
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ReturnStatementState>>;
|
|
31036
31083
|
updateWithShallowTransfer(transfer: IReturnStatementShallowTransfer, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
31084
|
+
updateWithGenerationTarget(transfer: Partial<IReturnStatementGenerationTarget>, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
31037
31085
|
hydrateAncestors(): IChangeSet<ReturnStatementState>;
|
|
31038
31086
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ReturnStatementState>;
|
|
31039
31087
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ReturnStatementState>;
|
|
@@ -31279,6 +31327,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31279
31327
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<SearchState>;
|
|
31280
31328
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<SearchState>>;
|
|
31281
31329
|
updateWithShallowTransfer(transfer: ISearchShallowTransfer, changeSet?: ChangeSet | null): SearchState;
|
|
31330
|
+
updateWithGenerationTarget(transfer: Partial<ISearchGenerationTarget>, changeSet?: ChangeSet | null): SearchState;
|
|
31282
31331
|
hydrateAncestors(): IChangeSet<SearchState>;
|
|
31283
31332
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
31284
31333
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
@@ -32284,6 +32333,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
32284
32333
|
SetStandaloneParent = "set-standalone-parent",
|
|
32285
32334
|
AfterAllChildrenInitialized = "after-all-children-initialized",
|
|
32286
32335
|
UpdateWithShallowTransfer = "update-with-shallow-transfer",
|
|
32336
|
+
UpdateWithGenerationTarget = "update-with-generation-target",
|
|
32287
32337
|
RemoveFromParent = "remove-from-parent",
|
|
32288
32338
|
RemoveEntity = "remove-entity",
|
|
32289
32339
|
RestoreEntity = "restore-entity",
|
|
@@ -33573,6 +33623,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33573
33623
|
abstract recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<UserManagedEntityState>;
|
|
33574
33624
|
abstract restoreVersion(version: EntityVersion): Promise<IChangeSet<UserManagedEntityState>>;
|
|
33575
33625
|
abstract updateWithShallowTransfer(transfer: UserManagedElementShallowTransfer, changeSet: ChangeSet | null): UserManagedEntityState;
|
|
33626
|
+
abstract updateWithGenerationTarget(target: Partial<ElementGenerationTarget>, changeSet: ChangeSet | null): UserManagedEntityState;
|
|
33576
33627
|
abstract hydrateAncestors(): IChangeSet<UserManagedEntityState>;
|
|
33577
33628
|
abstract addSelfToProject(changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
33578
33629
|
abstract afterAllChildrenInitialized(changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
@@ -33860,7 +33911,13 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33860
33911
|
modifiedData: ElementGenerationTarget | null;
|
|
33861
33912
|
};
|
|
33862
33913
|
|
|
33863
|
-
export declare function validateGenerationTarget(data: ElementGenerationTarget, _: ProjectState):
|
|
33914
|
+
export declare function validateGenerationTarget(data: ElementGenerationTarget, _: ProjectState): {
|
|
33915
|
+
errors: EntityGenerationError[];
|
|
33916
|
+
explanations: {
|
|
33917
|
+
id: GenerationExplanationIds;
|
|
33918
|
+
message: string;
|
|
33919
|
+
}[];
|
|
33920
|
+
};
|
|
33864
33921
|
|
|
33865
33922
|
export declare function validateGenerationUpdate(generatedPayload: Partial<UserManagedElementGenerationTarget>, entityToUpdate: UserManagedEntityState): {
|
|
33866
33923
|
errors: EntityGenerationError[];
|
|
@@ -34486,6 +34543,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
34486
34543
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ValueDescriptorState>;
|
|
34487
34544
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ValueDescriptorState>>;
|
|
34488
34545
|
updateWithShallowTransfer(transfer: IValueDescriptorShallowTransfer, changeSet?: ChangeSet | null): ValueDescriptorState;
|
|
34546
|
+
updateWithGenerationTarget(transfer: Partial<IValueDescriptorGenerationTarget>, changeSet?: ChangeSet | null): ValueDescriptorState;
|
|
34489
34547
|
hydrateAncestors(): IChangeSet<ValueDescriptorState>;
|
|
34490
34548
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ValueDescriptorState>;
|
|
34491
34549
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ValueDescriptorState>;
|
|
@@ -34710,6 +34768,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
34710
34768
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<VariableDeclarationState>;
|
|
34711
34769
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<VariableDeclarationState>>;
|
|
34712
34770
|
updateWithShallowTransfer(transfer: IVariableDeclarationShallowTransfer, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
34771
|
+
updateWithGenerationTarget(transfer: Partial<IVariableDeclarationGenerationTarget>, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
34713
34772
|
hydrateAncestors(): IChangeSet<VariableDeclarationState>;
|
|
34714
34773
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<VariableDeclarationState>;
|
|
34715
34774
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<VariableDeclarationState>;
|
|
@@ -34927,6 +34986,7 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
34927
34986
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<VariableInstanceState>;
|
|
34928
34987
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<VariableInstanceState>>;
|
|
34929
34988
|
updateWithShallowTransfer(transfer: IVariableInstanceShallowTransfer, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
34989
|
+
updateWithGenerationTarget(transfer: Partial<IVariableInstanceGenerationTarget>, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
34930
34990
|
hydrateAncestors(): IChangeSet<VariableInstanceState>;
|
|
34931
34991
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
34932
34992
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|