@elyx-code/project-logic-tree 0.0.6311 → 0.0.6313
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +107 -5
- package/dist/index.js +33876 -31995
- package/dist/index.umd.cjs +236 -235
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,7 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
93
93
|
captureVersion(): ActionDescriptorState;
|
|
94
94
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ActionDescriptorState>;
|
|
95
95
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ActionDescriptorState>>;
|
|
96
|
+
updateWithShallowTransfer(transfer: IActionDescriptorShallowTransfer, changeSet?: ChangeSet | null): ActionDescriptorState;
|
|
96
97
|
hydrateAncestors(): IChangeSet<ActionDescriptorState>;
|
|
97
98
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ActionDescriptorState>;
|
|
98
99
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ActionDescriptorState>;
|
|
@@ -107,7 +108,8 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
107
108
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ActionDescriptorState>;
|
|
108
109
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ActionDescriptorState>;
|
|
109
110
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IActionDescriptorShallowTransfer | null>;
|
|
110
|
-
|
|
111
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
112
|
+
remove({ ignoreUpstream }?: {
|
|
111
113
|
ignoreUpstream: boolean;
|
|
112
114
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
113
115
|
restore({}?: {}, changeSet?: ChangeSet | null): IChangeSet<ActionDescriptorState>;
|
|
@@ -351,6 +353,7 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
351
353
|
captureVersion(): ArgumentDeclarationState;
|
|
352
354
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ArgumentDeclarationState>;
|
|
353
355
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ArgumentDeclarationState>>;
|
|
356
|
+
updateWithShallowTransfer(transfer: IArgumentDeclarationShallowTransfer, changeSet?: ChangeSet | null): ArgumentDeclarationState;
|
|
354
357
|
hydrateAncestors(): IChangeSet<ArgumentDeclarationState>;
|
|
355
358
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ArgumentDeclarationState>;
|
|
356
359
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ArgumentDeclarationState>;
|
|
@@ -368,6 +371,7 @@ export declare class ArgumentDeclarationState extends VersionedState implements
|
|
|
368
371
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ArgumentDeclarationState>;
|
|
369
372
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ArgumentDeclarationState>;
|
|
370
373
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IArgumentDeclarationShallowTransfer | null>;
|
|
374
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
371
375
|
remove({ ignoreUpstream }?: {
|
|
372
376
|
ignoreUpstream: boolean;
|
|
373
377
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -520,6 +524,7 @@ export declare class BreakStatementState extends VersionedState implements IBrea
|
|
|
520
524
|
captureVersion(): BreakStatementState;
|
|
521
525
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<BreakStatementState>;
|
|
522
526
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<BreakStatementState>>;
|
|
527
|
+
updateWithShallowTransfer(transfer: IBreakStatementShallowTransfer, changeSet?: ChangeSet | null): BreakStatementState;
|
|
523
528
|
hydrateAncestors(): IChangeSet<BreakStatementState>;
|
|
524
529
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<BreakStatementState>;
|
|
525
530
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<BreakStatementState>;
|
|
@@ -541,6 +546,7 @@ export declare class BreakStatementState extends VersionedState implements IBrea
|
|
|
541
546
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<BreakStatementState>;
|
|
542
547
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<BreakStatementState>;
|
|
543
548
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IBreakStatementShallowTransfer | null>;
|
|
549
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
544
550
|
remove({ ignoreUpstream }?: {
|
|
545
551
|
ignoreUpstream: boolean;
|
|
546
552
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -1353,6 +1359,7 @@ export declare abstract class ChildEntityBaseClass {
|
|
|
1353
1359
|
abstract initialized: boolean;
|
|
1354
1360
|
abstract setParent(parent: EntityState): ChildEntityBaseClass;
|
|
1355
1361
|
abstract initChildren(changeSet: ChangeSet | null): ChildEntityBaseClass;
|
|
1362
|
+
abstract removeFromParent(changeSet: ChangeSet | null): IChangeSet;
|
|
1356
1363
|
}
|
|
1357
1364
|
|
|
1358
1365
|
export declare type ChildEntityState = InstalledProjectState | DefinitionEntityState | GlobalEventState | FunctionDeclarationState | FunctionCallState | PropertyState | VariableDeclarationState | VariableInstanceState | OperationState | ConditionState | ArgumentDeclarationState | InputMapState | ReturnDeclarationState | OutputMapState | DataTypeState | ReturnStatementState | BreakStatementState | ContinueStatementState | LoopState | ActionDescriptorState | SearchState | LiteralValueState | ValueDescriptorState | InternalCallState;
|
|
@@ -1361,10 +1368,14 @@ export declare type ChildReference = IFunctionDeclarationReference | IInstalledP
|
|
|
1361
1368
|
|
|
1362
1369
|
export declare const CHILDREN_TYPES: EntityType[];
|
|
1363
1370
|
|
|
1371
|
+
export declare type CloneEntityActionRequestPayload = IEntityActionRequestPayload<CloneSingleEntityActionPayload>;
|
|
1372
|
+
|
|
1364
1373
|
export declare function cloneProject(project: ProjectState, { enrich, }?: {
|
|
1365
1374
|
enrich: boolean;
|
|
1366
1375
|
}): ProjectState;
|
|
1367
1376
|
|
|
1377
|
+
export declare type CloneSingleEntityActionPayload = Pick<UserManagedElementShallowTransfer, 'id' | 'type'> & Partial<UserManagedElementShallowTransfer>;
|
|
1378
|
+
|
|
1368
1379
|
declare class ColumnRef implements ISearchNode {
|
|
1369
1380
|
owner: SearchStatementState;
|
|
1370
1381
|
source: ColumnRef | PropertyState | SearchStatementLiteralValue | null;
|
|
@@ -1486,6 +1497,7 @@ export declare class ConditionState extends VersionedState implements ICondition
|
|
|
1486
1497
|
captureVersion(): ConditionState;
|
|
1487
1498
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ConditionState>;
|
|
1488
1499
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ConditionState>>;
|
|
1500
|
+
updateWithShallowTransfer(transfer: IConditionShallowTransfer, changeSet?: ChangeSet | null): ConditionState;
|
|
1489
1501
|
hydrateAncestors(): IChangeSet<ConditionState>;
|
|
1490
1502
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
1491
1503
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
@@ -1513,6 +1525,7 @@ export declare class ConditionState extends VersionedState implements ICondition
|
|
|
1513
1525
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ConditionState>;
|
|
1514
1526
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ConditionState>;
|
|
1515
1527
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IConditionShallowTransfer | null>;
|
|
1528
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
1516
1529
|
remove({ ignoreUpstream }?: {
|
|
1517
1530
|
ignoreUpstream: boolean;
|
|
1518
1531
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -1623,6 +1636,7 @@ export declare class ContinueStatementState extends VersionedState implements IC
|
|
|
1623
1636
|
captureVersion(): ContinueStatementState;
|
|
1624
1637
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ContinueStatementState>;
|
|
1625
1638
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ContinueStatementState>>;
|
|
1639
|
+
updateWithShallowTransfer(transfer: IContinueStatementShallowTransfer, changeSet?: ChangeSet | null): ContinueStatementState;
|
|
1626
1640
|
hydrateAncestors(): IChangeSet<ContinueStatementState>;
|
|
1627
1641
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ContinueStatementState>;
|
|
1628
1642
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ContinueStatementState>;
|
|
@@ -1644,6 +1658,7 @@ export declare class ContinueStatementState extends VersionedState implements IC
|
|
|
1644
1658
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ContinueStatementState>;
|
|
1645
1659
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ContinueStatementState>;
|
|
1646
1660
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IContinueStatementShallowTransfer | null>;
|
|
1661
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
1647
1662
|
remove({ ignoreUpstream }?: {
|
|
1648
1663
|
ignoreUpstream: boolean;
|
|
1649
1664
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -1735,6 +1750,8 @@ export declare function createDefinitionEntityFromJSONObject(data: {
|
|
|
1735
1750
|
changeSet: IChangeSet<DefinitionEntityState>;
|
|
1736
1751
|
};
|
|
1737
1752
|
|
|
1753
|
+
export declare type CreateEntityActionRequestPayload = IEntityActionRequestPayload<CreateSingleEntityActionPayload>;
|
|
1754
|
+
|
|
1738
1755
|
export declare function createEntityError(error: IEntityError): {
|
|
1739
1756
|
new: boolean;
|
|
1740
1757
|
error: EntityError;
|
|
@@ -1779,6 +1796,8 @@ export declare enum CreateNewOutputIds {
|
|
|
1779
1796
|
|
|
1780
1797
|
export declare function createSemanticId(entityName: string, entityType: EntityType, project: ProjectState): string;
|
|
1781
1798
|
|
|
1799
|
+
export declare type CreateSingleEntityActionPayload = UserManagedElementShallowTransfer;
|
|
1800
|
+
|
|
1782
1801
|
export declare function createStateFromGenerationTargetType(entity: ElementGenerationTarget, parentProjectState: ProjectState): UserManagedEntityState;
|
|
1783
1802
|
|
|
1784
1803
|
export declare function createStateFromType(entity: Element_2 | ElementTransfer, parentProjectState: ProjectState): BaseState;
|
|
@@ -1949,6 +1968,7 @@ export declare class DataTypeState extends VersionedState implements IDataType,
|
|
|
1949
1968
|
captureVersion(): DataTypeState;
|
|
1950
1969
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<DataTypeState>;
|
|
1951
1970
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<DataTypeState>>;
|
|
1971
|
+
updateWithShallowTransfer(transfer: IDataTypeShallowTransfer, changeSet?: ChangeSet | null): DataTypeState;
|
|
1952
1972
|
hydrateAncestors(): IChangeSet<DataTypeState>;
|
|
1953
1973
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
1954
1974
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<DataTypeState>;
|
|
@@ -1964,6 +1984,7 @@ export declare class DataTypeState extends VersionedState implements IDataType,
|
|
|
1964
1984
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<DataTypeState>;
|
|
1965
1985
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<DataTypeState>;
|
|
1966
1986
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IDataTypeShallowTransfer | null>;
|
|
1987
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
1967
1988
|
remove({ ignoreUpstream }?: {
|
|
1968
1989
|
ignoreUpstream: boolean;
|
|
1969
1990
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -2194,6 +2215,7 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
|
|
|
2194
2215
|
captureVersion(): DefinitionEntityState;
|
|
2195
2216
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<DefinitionEntityState>;
|
|
2196
2217
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<DefinitionEntityState>>;
|
|
2218
|
+
updateWithShallowTransfer(transfer: IDefinitionEntityShallowTransfer, changeSet?: ChangeSet | null): DefinitionEntityState;
|
|
2197
2219
|
hydrateAncestors(): IChangeSet<DefinitionEntityState>;
|
|
2198
2220
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<DefinitionEntityState>;
|
|
2199
2221
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<DefinitionEntityState>;
|
|
@@ -2229,6 +2251,7 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
|
|
|
2229
2251
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<DefinitionEntityState>;
|
|
2230
2252
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<DefinitionEntityState>;
|
|
2231
2253
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IDefinitionEntityShallowTransfer | null>;
|
|
2254
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
2232
2255
|
remove({ ignoreUpstream }?: {
|
|
2233
2256
|
ignoreUpstream: boolean;
|
|
2234
2257
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -2283,6 +2306,8 @@ declare namespace definitionEntityValidation {
|
|
|
2283
2306
|
}
|
|
2284
2307
|
export { definitionEntityValidation }
|
|
2285
2308
|
|
|
2309
|
+
export declare type DeleteEntityActionRequestPayload = IEntityActionRequestPayload<DeleteSingleEntityActionPayload>;
|
|
2310
|
+
|
|
2286
2311
|
export declare const deletePersistedEntityMethod: IFunctionDeclarationTransfer;
|
|
2287
2312
|
|
|
2288
2313
|
export declare const deletePersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
|
|
@@ -2291,6 +2316,8 @@ export declare function deleteRootProject(where: {
|
|
|
2291
2316
|
id: string;
|
|
2292
2317
|
}): null;
|
|
2293
2318
|
|
|
2319
|
+
export declare type DeleteSingleEntityActionPayload = Pick<UserManagedElementShallowTransfer, 'id' | 'type'>;
|
|
2320
|
+
|
|
2294
2321
|
export declare const DRAGGABLE_CALLABLE_TYPES: EntityType[];
|
|
2295
2322
|
|
|
2296
2323
|
export declare const DRAGGABLE_CALLER_TYPES: EntityType[];
|
|
@@ -2582,6 +2609,8 @@ export declare enum EntityAction {
|
|
|
2582
2609
|
LoadVersion = "load-version"
|
|
2583
2610
|
}
|
|
2584
2611
|
|
|
2612
|
+
export declare type EntityActionPayload = CreateSingleEntityActionPayload | CloneSingleEntityActionPayload | DeleteSingleEntityActionPayload | UpdateSingleEntityActionPayload | PersistChangeSetEntityActionPayload;
|
|
2613
|
+
|
|
2585
2614
|
export declare class EntityError<TCode = SharedEntityErrorCode | EntityInstanceErrorCode> implements IEntityError<TCode> {
|
|
2586
2615
|
id: string;
|
|
2587
2616
|
message: string;
|
|
@@ -2756,6 +2785,7 @@ export declare abstract class EntityWithLogicScopeClass {
|
|
|
2756
2785
|
abstract detachedChildren: CanvasEntityState[];
|
|
2757
2786
|
abstract replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): EntityWithLogicScopeClass;
|
|
2758
2787
|
abstract subscribeDetachedChild(child: CanvasEntityState): EntityWithLogicScopeClass;
|
|
2788
|
+
abstract unsubscribeDetachedChild(child: CanvasEntityState): EntityWithLogicScopeClass;
|
|
2759
2789
|
}
|
|
2760
2790
|
|
|
2761
2791
|
export declare type EntityWithLogicScopeGenerationTarget = EntryPointEntityGenerationTarget | ILoopGenerationTarget;
|
|
@@ -3203,6 +3233,7 @@ export declare class FunctionCallState extends VersionedState implements IFuncti
|
|
|
3203
3233
|
captureVersion(): FunctionCallState;
|
|
3204
3234
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<FunctionCallState>;
|
|
3205
3235
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<FunctionCallState>>;
|
|
3236
|
+
updateWithShallowTransfer(transfer: IFunctionCallShallowTransfer, changeSet?: ChangeSet | null): FunctionCallState;
|
|
3206
3237
|
hydrateAncestors(): IChangeSet<FunctionCallState>;
|
|
3207
3238
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
3208
3239
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
@@ -3232,6 +3263,7 @@ export declare class FunctionCallState extends VersionedState implements IFuncti
|
|
|
3232
3263
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<FunctionCallState>;
|
|
3233
3264
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<FunctionCallState>;
|
|
3234
3265
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IFunctionCallShallowTransfer | null>;
|
|
3266
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
3235
3267
|
remove({ ignoreUpstream }?: {
|
|
3236
3268
|
ignoreUpstream: boolean;
|
|
3237
3269
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -3352,11 +3384,13 @@ export declare class FunctionDeclarationState extends VersionedState implements
|
|
|
3352
3384
|
captureVersion(): FunctionDeclarationState;
|
|
3353
3385
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<FunctionDeclarationState>;
|
|
3354
3386
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<FunctionDeclarationState>>;
|
|
3387
|
+
updateWithShallowTransfer(transfer: IFunctionDeclarationShallowTransfer, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
3355
3388
|
hydrateAncestors(): IChangeSet<FunctionDeclarationState>;
|
|
3356
3389
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<FunctionDeclarationState>;
|
|
3357
3390
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<FunctionDeclarationState>;
|
|
3358
3391
|
replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): FunctionDeclarationState;
|
|
3359
3392
|
subscribeDetachedChild(child: CanvasEntityState): FunctionDeclarationState;
|
|
3393
|
+
unsubscribeDetachedChild(child: CanvasEntityState): FunctionDeclarationState;
|
|
3360
3394
|
addInputDeclaration(input: ArgumentDeclarationState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
3361
3395
|
removeInputDeclaration(input: ArgumentDeclarationState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
3362
3396
|
setParent(parent: ProjectState | InstalledProjectState | DefinitionEntityState | LoopState | BuiltInBaseEntityState | PrimitiveEntityState, changeSet?: ChangeSet | null): FunctionDeclarationState;
|
|
@@ -3374,6 +3408,7 @@ export declare class FunctionDeclarationState extends VersionedState implements
|
|
|
3374
3408
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<FunctionDeclarationState>;
|
|
3375
3409
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<FunctionDeclarationState>;
|
|
3376
3410
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IFunctionDeclarationShallowTransfer | null>;
|
|
3411
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
3377
3412
|
remove({ ignoreUpstream }?: {
|
|
3378
3413
|
ignoreUpstream: boolean;
|
|
3379
3414
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -7453,11 +7488,13 @@ export declare class GlobalEventState extends VersionedState implements IGlobalE
|
|
|
7453
7488
|
captureVersion(): GlobalEventState;
|
|
7454
7489
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<GlobalEventState>;
|
|
7455
7490
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<GlobalEventState>>;
|
|
7491
|
+
updateWithShallowTransfer(transfer: IGlobalEventShallowTransfer, changeSet?: ChangeSet | null): GlobalEventState;
|
|
7456
7492
|
hydrateAncestors(): IChangeSet<GlobalEventState>;
|
|
7457
7493
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<GlobalEventState>;
|
|
7458
7494
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<GlobalEventState>;
|
|
7459
7495
|
replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): GlobalEventState;
|
|
7460
7496
|
subscribeDetachedChild(child: CanvasEntityState): GlobalEventState;
|
|
7497
|
+
unsubscribeDetachedChild(child: CanvasEntityState): GlobalEventState;
|
|
7461
7498
|
setParent(parent: ProjectState | InstalledProjectState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
7462
7499
|
setImplements(implementsEntity: ActionDescriptorState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
7463
7500
|
addCall(entity: CallableEntityState, changeSet?: ChangeSet | null): GlobalEventState;
|
|
@@ -7474,7 +7511,8 @@ export declare class GlobalEventState extends VersionedState implements IGlobalE
|
|
|
7474
7511
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<GlobalEventState>;
|
|
7475
7512
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<GlobalEventState>;
|
|
7476
7513
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IGlobalEventShallowTransfer | null>;
|
|
7477
|
-
|
|
7514
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
7515
|
+
remove({ ignoreUpstream }?: {
|
|
7478
7516
|
ignoreUpstream: boolean;
|
|
7479
7517
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
7480
7518
|
restore({}?: {}, changeSet?: ChangeSet | null): IChangeSet<GlobalEventState>;
|
|
@@ -8400,6 +8438,19 @@ export declare interface IEditableEntityPersistanceRepository extends IReadOnlyE
|
|
|
8400
8438
|
APILoadVersion<T extends Array<any> = any[]>(entityId: EntityId, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: T): Promise<ElementShallowTransfer | null>;
|
|
8401
8439
|
}
|
|
8402
8440
|
|
|
8441
|
+
export declare interface IEntityActionRequestPayload<P = EntityActionPayload> {
|
|
8442
|
+
action: EntityAction;
|
|
8443
|
+
author: string;
|
|
8444
|
+
actionId: string;
|
|
8445
|
+
timestamp: string;
|
|
8446
|
+
projectId: string;
|
|
8447
|
+
payload: P;
|
|
8448
|
+
}
|
|
8449
|
+
|
|
8450
|
+
export declare interface IEntityActionResponsePayload {
|
|
8451
|
+
data: IRecordChangeSet<UserManagedElementShallowTransfer | null, UserManagedElementShallowTransfer>;
|
|
8452
|
+
}
|
|
8453
|
+
|
|
8403
8454
|
export declare interface IEntityError<TCode = SharedEntityErrorCode | EntityInstanceErrorCode> {
|
|
8404
8455
|
id: string;
|
|
8405
8456
|
message: string;
|
|
@@ -8933,6 +8984,7 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
8933
8984
|
captureVersion(): InputMapState;
|
|
8934
8985
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InputMapState>;
|
|
8935
8986
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<InputMapState>>;
|
|
8987
|
+
updateWithShallowTransfer(transfer: IInputMapShallowTransfer, changeSet?: ChangeSet | null): InputMapState;
|
|
8936
8988
|
hydrateAncestors(): IChangeSet<InputMapState>;
|
|
8937
8989
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InputMapState>;
|
|
8938
8990
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InputMapState>;
|
|
@@ -8952,6 +9004,7 @@ export declare class InputMapState extends VersionedState implements IInputMap,
|
|
|
8952
9004
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<InputMapState>;
|
|
8953
9005
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<InputMapState>;
|
|
8954
9006
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IInputMapShallowTransfer | null>;
|
|
9007
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
8955
9008
|
remove({ ignoreUpstream }?: {
|
|
8956
9009
|
ignoreUpstream: boolean;
|
|
8957
9010
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -9058,6 +9111,7 @@ export declare class InstalledProjectState extends VersionedState implements IIn
|
|
|
9058
9111
|
captureVersion(): InstalledProjectState;
|
|
9059
9112
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InstalledProjectState>;
|
|
9060
9113
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<InstalledProjectState>>;
|
|
9114
|
+
updateWithShallowTransfer(transfer: IInstalledProjectShallowTransfer, changeSet?: ChangeSet | null): InstalledProjectState;
|
|
9061
9115
|
hydrateAncestors(): IChangeSet<InstalledProjectState>;
|
|
9062
9116
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
9063
9117
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
@@ -9072,7 +9126,8 @@ export declare class InstalledProjectState extends VersionedState implements IIn
|
|
|
9072
9126
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<InstalledProjectState>;
|
|
9073
9127
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<InstalledProjectState>;
|
|
9074
9128
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IInstalledProjectShallowTransfer | null>;
|
|
9075
|
-
|
|
9129
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
9130
|
+
remove({ ignoreUpstream }?: {
|
|
9076
9131
|
ignoreUpstream: boolean;
|
|
9077
9132
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
9078
9133
|
restore({}?: {}, changeSet?: ChangeSet | null): IChangeSet<InstalledProjectState>;
|
|
@@ -9184,6 +9239,7 @@ export declare class InternalCallState extends VersionedState implements IIntern
|
|
|
9184
9239
|
captureVersion(): InternalCallState;
|
|
9185
9240
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<InternalCallState>;
|
|
9186
9241
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<InternalCallState>>;
|
|
9242
|
+
updateWithShallowTransfer(transfer: IInternalCallShallowTransfer, changeSet?: ChangeSet | null): InternalCallState;
|
|
9187
9243
|
hydrateAncestors(): IChangeSet<InternalCallState>;
|
|
9188
9244
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
9189
9245
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
@@ -9213,6 +9269,7 @@ export declare class InternalCallState extends VersionedState implements IIntern
|
|
|
9213
9269
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<InternalCallState>;
|
|
9214
9270
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<InternalCallState>;
|
|
9215
9271
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IInternalCallShallowTransfer | null>;
|
|
9272
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
9216
9273
|
remove({ ignoreUpstream }?: {
|
|
9217
9274
|
ignoreUpstream: boolean;
|
|
9218
9275
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -10457,6 +10514,7 @@ export declare class LiteralValueState extends VersionedState implements BaseSta
|
|
|
10457
10514
|
captureVersion(): LiteralValueState;
|
|
10458
10515
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<LiteralValueState>;
|
|
10459
10516
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<LiteralValueState>>;
|
|
10517
|
+
updateWithShallowTransfer(transfer: ILiteralValueShallowTransfer, changeSet?: ChangeSet | null): LiteralValueState;
|
|
10460
10518
|
hydrateAncestors(): IChangeSet<LiteralValueState>;
|
|
10461
10519
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
10462
10520
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
@@ -10475,7 +10533,8 @@ export declare class LiteralValueState extends VersionedState implements BaseSta
|
|
|
10475
10533
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<LiteralValueState>;
|
|
10476
10534
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<LiteralValueState>;
|
|
10477
10535
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<ILiteralValueShallowTransfer | null>;
|
|
10478
|
-
|
|
10536
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
10537
|
+
remove({ ignoreUpstream }?: {
|
|
10479
10538
|
ignoreUpstream: boolean;
|
|
10480
10539
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
10481
10540
|
restore({}?: {}, changeSet?: ChangeSet | null): IChangeSet<LiteralValueState>;
|
|
@@ -10600,6 +10659,7 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
10600
10659
|
captureVersion(): LoopState;
|
|
10601
10660
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<LoopState>;
|
|
10602
10661
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<LoopState>>;
|
|
10662
|
+
updateWithShallowTransfer(transfer: ILoopShallowTransfer, changeSet?: ChangeSet | null): LoopState;
|
|
10603
10663
|
hydrateAncestors(): IChangeSet<LoopState>;
|
|
10604
10664
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
10605
10665
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
@@ -10611,6 +10671,7 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
10611
10671
|
addOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): LoopState;
|
|
10612
10672
|
removeOutput(output: ActionOutputMapState, changeSet?: ChangeSet | null): LoopState;
|
|
10613
10673
|
setBody(body: FunctionDeclarationState): LoopState;
|
|
10674
|
+
detachBody(): LoopState;
|
|
10614
10675
|
addSuccessCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
10615
10676
|
addErrorCaller(caller: PassThroughCallableEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
10616
10677
|
addEntryCaller(caller: EntryPointEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
@@ -10620,6 +10681,7 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
10620
10681
|
removeCaller(caller: CallerEntityState, changeSet?: ChangeSet | null, recalculateScope?: boolean): LoopState;
|
|
10621
10682
|
replaceDetachedChild(existingChild: CanvasEntityState, newChild: CanvasEntityState): LoopState;
|
|
10622
10683
|
subscribeDetachedChild(child: CanvasEntityState): LoopState;
|
|
10684
|
+
unsubscribeDetachedChild(child: CanvasEntityState): LoopState;
|
|
10623
10685
|
setParent(parent: EntityWithLogicScopeState | ProjectState, changeSet?: ChangeSet | null): LoopState;
|
|
10624
10686
|
setDeclaration(declaration: ActionDescriptorState): LoopState;
|
|
10625
10687
|
initChildren(changeSet?: ChangeSet | null): LoopState;
|
|
@@ -10632,6 +10694,7 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
10632
10694
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<LoopState>;
|
|
10633
10695
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<LoopState>;
|
|
10634
10696
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<ILoopShallowTransfer | null>;
|
|
10697
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
10635
10698
|
remove({ ignoreUpstream }?: {
|
|
10636
10699
|
ignoreUpstream: boolean;
|
|
10637
10700
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -11024,6 +11087,7 @@ export declare class OperationState extends VersionedState implements IOperation
|
|
|
11024
11087
|
captureVersion(): OperationState;
|
|
11025
11088
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<OperationState>;
|
|
11026
11089
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<OperationState>>;
|
|
11090
|
+
updateWithShallowTransfer(transfer: IOperationShallowTransfer, changeSet?: ChangeSet | null): OperationState;
|
|
11027
11091
|
hydrateAncestors(): IChangeSet<OperationState>;
|
|
11028
11092
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
11029
11093
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
@@ -11053,6 +11117,7 @@ export declare class OperationState extends VersionedState implements IOperation
|
|
|
11053
11117
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<OperationState>;
|
|
11054
11118
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<OperationState>;
|
|
11055
11119
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IOperationShallowTransfer | null>;
|
|
11120
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
11056
11121
|
remove({ ignoreUpstream }?: {
|
|
11057
11122
|
ignoreUpstream: boolean;
|
|
11058
11123
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -11177,6 +11242,7 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
|
|
|
11177
11242
|
captureVersion(): OutputMapState;
|
|
11178
11243
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<OutputMapState>;
|
|
11179
11244
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<OutputMapState>>;
|
|
11245
|
+
updateWithShallowTransfer(transfer: IOutputMapShallowTransfer, changeSet?: ChangeSet | null): OutputMapState;
|
|
11180
11246
|
hydrateAncestors(): IChangeSet<OutputMapState>;
|
|
11181
11247
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<OutputMapState>;
|
|
11182
11248
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<OutputMapState>;
|
|
@@ -11196,6 +11262,7 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
|
|
|
11196
11262
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<OutputMapState>;
|
|
11197
11263
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<OutputMapState>;
|
|
11198
11264
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IOutputMapShallowTransfer | null>;
|
|
11265
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
11199
11266
|
remove({ ignoreUpstream }?: {
|
|
11200
11267
|
ignoreUpstream: boolean;
|
|
11201
11268
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -11329,6 +11396,13 @@ export declare type PassThroughCallableEntityWithOutputsTransfer = DraggablePass
|
|
|
11329
11396
|
|
|
11330
11397
|
export declare type PassThroughCallableEntityWithOutputsTypesUnion = PassThroughCallableEntityWithOutputs | PassThroughCallableEntityWithOutputsTransfer | PassThroughCallableEntityWithOutputsShallowTransfer | PassThroughCallableEntityWithOutputsGenerationTarget;
|
|
11331
11398
|
|
|
11399
|
+
export declare type PersistChangeSetEntityActionPayload = IRecordChangeSet<UserManagedElementShallowTransfer, UserManagedElementShallowTransfer> & {
|
|
11400
|
+
isNewBranchHead: boolean;
|
|
11401
|
+
branch: string;
|
|
11402
|
+
};
|
|
11403
|
+
|
|
11404
|
+
export declare type PersistChangeSetEntityActionRequestPayload = IEntityActionRequestPayload<PersistChangeSetEntityActionPayload>;
|
|
11405
|
+
|
|
11332
11406
|
export declare const persistedBuiltInBaseEntity: IBuiltInBaseEntityTransfer;
|
|
11333
11407
|
|
|
11334
11408
|
export declare const persistedBuiltInBaseEntityDatabaseProperty: IPropertyTransfer;
|
|
@@ -11602,6 +11676,7 @@ export declare class ProjectState extends CombinedVersionedEvents implements IPr
|
|
|
11602
11676
|
captureVersion(): ProjectState;
|
|
11603
11677
|
recursiveCaptureUpstreamVersions(_sharedTimestamp: null | string): IChangeSet<ProjectState>;
|
|
11604
11678
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ProjectState>>;
|
|
11679
|
+
updateWithShallowTransfer(transfer: IProjectShallowTransfer, changeSet?: ChangeSet | null): ProjectState;
|
|
11605
11680
|
hydrateAncestors(): IChangeSet<ProjectState>;
|
|
11606
11681
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ProjectState>;
|
|
11607
11682
|
addSelfToProject(_changeSet: ChangeSet | null): IChangeSet<ProjectState>;
|
|
@@ -11683,8 +11758,15 @@ export declare class ProjectState extends CombinedVersionedEvents implements IPr
|
|
|
11683
11758
|
addLoop(loop: LoopState): ProjectState;
|
|
11684
11759
|
addSearch(search: SearchState): ProjectState;
|
|
11685
11760
|
removeDefinitionEntity(entity: IDefinitionEntity): DefinitionEntityState | null;
|
|
11761
|
+
removeCondition(condition: ICondition): ConditionState | null;
|
|
11762
|
+
removeOperation(operation: IOperation): OperationState | null;
|
|
11763
|
+
removeLoop(loop: ILoop): LoopState | null;
|
|
11764
|
+
removeSearch(search: ISearch): SearchState | null;
|
|
11765
|
+
removeFunctionCall(funcCall: IFunctionCall): FunctionCallState | null;
|
|
11766
|
+
removeVariableInstance(variable: IVariableInstance): VariableInstanceState | null;
|
|
11767
|
+
removeVariableDeclaration(variable: IVariableDeclaration): VariableDeclarationState | null;
|
|
11686
11768
|
removeFunctionDeclaration(func: IFunctionDeclaration): FunctionDeclarationState | null;
|
|
11687
|
-
|
|
11769
|
+
removeInstalledProject(project: IInstalledProject): InstalledProjectState | null;
|
|
11688
11770
|
removeGlobalEvent(event: IGlobalEvent): GlobalEventState | null;
|
|
11689
11771
|
removeTopLevelVariableDeclaration(variable: VariableDeclarationState): VariableDeclarationState | null;
|
|
11690
11772
|
getEntryPoints(): EntryPointEntityState[];
|
|
@@ -11703,6 +11785,7 @@ export declare class ProjectState extends CombinedVersionedEvents implements IPr
|
|
|
11703
11785
|
requestActiveValue(valueOwner: EntityWithValueState): LiteralValueState | null;
|
|
11704
11786
|
undo(): IProjectVersionTransitionConfig;
|
|
11705
11787
|
redo(): IProjectVersionTransitionConfig;
|
|
11788
|
+
applyExternalChangeSet(request: PersistChangeSetEntityActionRequestPayload): ProjectState;
|
|
11706
11789
|
}
|
|
11707
11790
|
|
|
11708
11791
|
export declare enum ProjectStateEvents {
|
|
@@ -11809,6 +11892,7 @@ export declare class PropertyState extends VersionedState implements IProperty,
|
|
|
11809
11892
|
captureVersion(): PropertyState;
|
|
11810
11893
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<PropertyState>;
|
|
11811
11894
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<PropertyState>>;
|
|
11895
|
+
updateWithShallowTransfer(transfer: IPropertyShallowTransfer, changeSet?: ChangeSet | null): PropertyState;
|
|
11812
11896
|
hydrateAncestors(): IChangeSet<PropertyState>;
|
|
11813
11897
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<PropertyState>;
|
|
11814
11898
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<PropertyState>;
|
|
@@ -11825,6 +11909,7 @@ export declare class PropertyState extends VersionedState implements IProperty,
|
|
|
11825
11909
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<PropertyState>;
|
|
11826
11910
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<PropertyState>;
|
|
11827
11911
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IPropertyShallowTransfer | null>;
|
|
11912
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
11828
11913
|
remove({ ignoreUpstream }?: {
|
|
11829
11914
|
ignoreUpstream: boolean;
|
|
11830
11915
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -12060,6 +12145,7 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
12060
12145
|
captureVersion(): ReturnDeclarationState;
|
|
12061
12146
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ReturnDeclarationState>;
|
|
12062
12147
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ReturnDeclarationState>>;
|
|
12148
|
+
updateWithShallowTransfer(transfer: IReturnDeclarationShallowTransfer, changeSet?: ChangeSet | null): ReturnDeclarationState;
|
|
12063
12149
|
hydrateAncestors(): IChangeSet<ReturnDeclarationState>;
|
|
12064
12150
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ReturnDeclarationState>;
|
|
12065
12151
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ReturnDeclarationState>;
|
|
@@ -12078,6 +12164,7 @@ export declare class ReturnDeclarationState extends VersionedState implements IR
|
|
|
12078
12164
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ReturnDeclarationState>;
|
|
12079
12165
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ReturnDeclarationState>;
|
|
12080
12166
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IReturnDeclarationShallowTransfer | null>;
|
|
12167
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
12081
12168
|
remove({ ignoreUpstream }?: {
|
|
12082
12169
|
ignoreUpstream: boolean;
|
|
12083
12170
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -12194,6 +12281,7 @@ export declare class ReturnStatementState extends VersionedState implements IRet
|
|
|
12194
12281
|
captureVersion(): ReturnStatementState;
|
|
12195
12282
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ReturnStatementState>;
|
|
12196
12283
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ReturnStatementState>>;
|
|
12284
|
+
updateWithShallowTransfer(transfer: IReturnStatementShallowTransfer, changeSet?: ChangeSet | null): ReturnStatementState;
|
|
12197
12285
|
hydrateAncestors(): IChangeSet<ReturnStatementState>;
|
|
12198
12286
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ReturnStatementState>;
|
|
12199
12287
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ReturnStatementState>;
|
|
@@ -12215,6 +12303,7 @@ export declare class ReturnStatementState extends VersionedState implements IRet
|
|
|
12215
12303
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ReturnStatementState>;
|
|
12216
12304
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ReturnStatementState>;
|
|
12217
12305
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IReturnStatementShallowTransfer | null>;
|
|
12306
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
12218
12307
|
remove({ ignoreUpstream }?: {
|
|
12219
12308
|
ignoreUpstream: boolean;
|
|
12220
12309
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -12368,6 +12457,7 @@ export declare class SearchState extends VersionedState implements ISearch, Base
|
|
|
12368
12457
|
captureVersion(): SearchState;
|
|
12369
12458
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<SearchState>;
|
|
12370
12459
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<SearchState>>;
|
|
12460
|
+
updateWithShallowTransfer(transfer: ISearchShallowTransfer, changeSet?: ChangeSet | null): SearchState;
|
|
12371
12461
|
hydrateAncestors(): IChangeSet<SearchState>;
|
|
12372
12462
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
12373
12463
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
@@ -12398,6 +12488,7 @@ export declare class SearchState extends VersionedState implements ISearch, Base
|
|
|
12398
12488
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<SearchState>;
|
|
12399
12489
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<SearchState>;
|
|
12400
12490
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<ISearchShallowTransfer | null>;
|
|
12491
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
12401
12492
|
remove({ ignoreUpstream }?: {
|
|
12402
12493
|
ignoreUpstream: boolean;
|
|
12403
12494
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -12980,8 +13071,12 @@ export declare type UntypedValue = string | number | boolean | null | Date | {
|
|
|
12980
13071
|
[key: string]: UntypedValue;
|
|
12981
13072
|
} | UntypedValue[];
|
|
12982
13073
|
|
|
13074
|
+
export declare type UpdateEntityActionRequestPayload = IEntityActionRequestPayload<UpdateSingleEntityActionPayload>;
|
|
13075
|
+
|
|
12983
13076
|
export declare function updateErrorsList(oldErrors: EntityError[], newErrors: EntityError[]): EntityError[];
|
|
12984
13077
|
|
|
13078
|
+
export declare type UpdateSingleEntityActionPayload = Partial<UserManagedElementShallowTransfer>;
|
|
13079
|
+
|
|
12985
13080
|
export declare const urlDefaultValue: ILiteralValueTransfer;
|
|
12986
13081
|
|
|
12987
13082
|
export declare const USER_MANAGED_ENTITY_TYPES: EntityType[];
|
|
@@ -13017,6 +13112,7 @@ export declare abstract class UserManagedEntityStateTemplate {
|
|
|
13017
13112
|
abstract increaseVersion(sharedTimestamp: null | string): UserManagedEntityStateTemplate;
|
|
13018
13113
|
abstract recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<UserManagedEntityState>;
|
|
13019
13114
|
abstract restoreVersion(version: EntityVersion): Promise<IChangeSet<UserManagedEntityState>>;
|
|
13115
|
+
abstract updateWithShallowTransfer(transfer: UserManagedElementShallowTransfer, changeSet: ChangeSet | null): UserManagedEntityState;
|
|
13020
13116
|
abstract hydrateAncestors(): IChangeSet<UserManagedEntityState>;
|
|
13021
13117
|
abstract addSelfToProject(changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
13022
13118
|
abstract afterAllChildrenInitialized(changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
|
|
@@ -13966,6 +14062,7 @@ export declare class ValueDescriptorState extends VersionedState implements IVal
|
|
|
13966
14062
|
captureVersion(): ValueDescriptorState;
|
|
13967
14063
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<ValueDescriptorState>;
|
|
13968
14064
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<ValueDescriptorState>>;
|
|
14065
|
+
updateWithShallowTransfer(transfer: IValueDescriptorShallowTransfer, changeSet?: ChangeSet | null): ValueDescriptorState;
|
|
13969
14066
|
hydrateAncestors(): IChangeSet<ValueDescriptorState>;
|
|
13970
14067
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<ValueDescriptorState>;
|
|
13971
14068
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<ValueDescriptorState>;
|
|
@@ -13980,6 +14077,7 @@ export declare class ValueDescriptorState extends VersionedState implements IVal
|
|
|
13980
14077
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ValueDescriptorState>;
|
|
13981
14078
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<ValueDescriptorState>;
|
|
13982
14079
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IValueDescriptorShallowTransfer | null>;
|
|
14080
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
13983
14081
|
remove({ ignoreUpstream }?: {
|
|
13984
14082
|
ignoreUpstream: boolean;
|
|
13985
14083
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -14162,6 +14260,7 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
14162
14260
|
captureVersion(): VariableDeclarationState;
|
|
14163
14261
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<VariableDeclarationState>;
|
|
14164
14262
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<VariableDeclarationState>>;
|
|
14263
|
+
updateWithShallowTransfer(transfer: IVariableDeclarationShallowTransfer, changeSet?: ChangeSet | null): VariableDeclarationState;
|
|
14165
14264
|
hydrateAncestors(): IChangeSet<VariableDeclarationState>;
|
|
14166
14265
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<VariableDeclarationState>;
|
|
14167
14266
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<VariableDeclarationState>;
|
|
@@ -14201,6 +14300,7 @@ export declare class VariableDeclarationState extends VersionedState implements
|
|
|
14201
14300
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableDeclarationState>;
|
|
14202
14301
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableDeclarationState>;
|
|
14203
14302
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IVariableDeclarationShallowTransfer | null>;
|
|
14303
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
14204
14304
|
remove({ ignoreUpstream }?: {
|
|
14205
14305
|
ignoreUpstream: boolean;
|
|
14206
14306
|
}, changeSet?: ChangeSet | null): IChangeSet;
|
|
@@ -14359,6 +14459,7 @@ export declare class VariableInstanceState extends VersionedState implements IVa
|
|
|
14359
14459
|
captureVersion(): VariableInstanceState;
|
|
14360
14460
|
recursiveCaptureUpstreamVersions(sharedTimestamp: null | string): IChangeSet<VariableInstanceState>;
|
|
14361
14461
|
restoreVersion(versionId: EntityVersion): Promise<IChangeSet<VariableInstanceState>>;
|
|
14462
|
+
updateWithShallowTransfer(transfer: IVariableInstanceShallowTransfer, changeSet?: ChangeSet | null): VariableInstanceState;
|
|
14362
14463
|
hydrateAncestors(): IChangeSet<VariableInstanceState>;
|
|
14363
14464
|
afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
14364
14465
|
addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<VariableInstanceState>;
|
|
@@ -14396,6 +14497,7 @@ export declare class VariableInstanceState extends VersionedState implements IVa
|
|
|
14396
14497
|
APIDelete(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableInstanceState>;
|
|
14397
14498
|
APIClone(_?: IEntityPersistanceOptions, ...otherArgs: any[]): Promise<VariableInstanceState>;
|
|
14398
14499
|
APILoadVersion(_: IEntityPersistanceOptions | undefined, versionIdOrBeforeEqualDate: EntityVersion | Date, ...otherArgs: any[]): Promise<IVariableInstanceShallowTransfer | null>;
|
|
14500
|
+
removeFromParent(changeSet?: ChangeSet | null): IChangeSet;
|
|
14399
14501
|
remove({ ignoreUpstream }?: {
|
|
14400
14502
|
ignoreUpstream: boolean;
|
|
14401
14503
|
}, changeSet?: ChangeSet | null): IChangeSet;
|