@elyx-code/project-logic-tree 0.0.6360 → 0.0.6362
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 +40 -6
- package/dist/index.js +33057 -33063
- package/dist/index.umd.cjs +158 -158
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1931,6 +1931,10 @@ export declare class ConditionState extends VersionedState implements ICondition
|
|
|
1931
1931
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): ConditionState;
|
|
1932
1932
|
removeUnrecognizedInputs(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
1933
1933
|
syncInputs(changeSet?: ChangeSet | null): IChangeSet<ConditionState>;
|
|
1934
|
+
getUnusedInputs(): ActionInputMapState[];
|
|
1935
|
+
getUnusedOutputs(): ActionOutputMapState[];
|
|
1936
|
+
getUsedInputs(): ActionInputMapState[];
|
|
1937
|
+
getUsedOutputs(): ActionOutputMapState[];
|
|
1934
1938
|
}
|
|
1935
1939
|
|
|
1936
1940
|
export declare type ConditionTypesUnion = ICondition | IConditionTransfer | IConditionShallowTransfer | IConditionGenerationTarget;
|
|
@@ -3136,7 +3140,8 @@ export declare enum EntityInstanceErrorCode {
|
|
|
3136
3140
|
VariableHasInputsAndInternalCall = "variable-has-inputs-and-internal-calls",
|
|
3137
3141
|
VariableHasOutputsAndInternalCall = "variable-has-outputs-and-internal-call",
|
|
3138
3142
|
VariableIsCalledAndHasInternalCall = "variable-is-called-and-has-internal-call",
|
|
3139
|
-
VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call"
|
|
3143
|
+
VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call",
|
|
3144
|
+
MissingRequiredValue = "missing-required-value"
|
|
3140
3145
|
}
|
|
3141
3146
|
|
|
3142
3147
|
export declare enum EntityOperations {
|
|
@@ -3790,6 +3795,10 @@ export declare class FunctionCallState extends VersionedState implements IFuncti
|
|
|
3790
3795
|
removeUnrecognizedOutputs(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
3791
3796
|
syncInputs(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
3792
3797
|
syncOutputs(changeSet?: ChangeSet | null): IChangeSet<FunctionCallState>;
|
|
3798
|
+
getUnusedInputs(): ActionInputMapState[];
|
|
3799
|
+
getUnusedOutputs(): ActionOutputMapState[];
|
|
3800
|
+
getUsedInputs(): ActionInputMapState[];
|
|
3801
|
+
getUsedOutputs(): ActionOutputMapState[];
|
|
3793
3802
|
}
|
|
3794
3803
|
|
|
3795
3804
|
export declare type FunctionCallTypesUnion = IFunctionCall | IFunctionCallTransfer | IFunctionCallShallowTransfer | IFunctionCallGenerationTarget;
|
|
@@ -10214,6 +10223,10 @@ export declare class InternalCallState extends VersionedState implements IIntern
|
|
|
10214
10223
|
removeUnrecognizedOutputs(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
10215
10224
|
syncInputs(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
10216
10225
|
syncOutputs(changeSet?: ChangeSet | null): IChangeSet<InternalCallState>;
|
|
10226
|
+
getUnusedInputs(): ActionInputMapState[];
|
|
10227
|
+
getUnusedOutputs(): ActionOutputMapState[];
|
|
10228
|
+
getUsedInputs(): ActionInputMapState[];
|
|
10229
|
+
getUsedOutputs(): ActionOutputMapState[];
|
|
10217
10230
|
}
|
|
10218
10231
|
|
|
10219
10232
|
export declare type InternalCallTypesUnion = IInternalCall | IInternalCallTransfer | IInternalCallReference | IInternalCallGenerationTarget;
|
|
@@ -11781,6 +11794,10 @@ export declare class LoopState extends VersionedState implements ILoop, BaseStat
|
|
|
11781
11794
|
getCurrentIterationNumberBuiltInValueDescriptor(): ValueDescriptorState;
|
|
11782
11795
|
syncBody(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
11783
11796
|
syncChildren(changeSet?: ChangeSet | null): IChangeSet<LoopState>;
|
|
11797
|
+
getUnusedInputs(): ActionInputMapState[];
|
|
11798
|
+
getUnusedOutputs(): ActionOutputMapState[];
|
|
11799
|
+
getUsedInputs(): ActionInputMapState[];
|
|
11800
|
+
getUsedOutputs(): ActionOutputMapState[];
|
|
11784
11801
|
}
|
|
11785
11802
|
|
|
11786
11803
|
export declare enum LoopTypes {
|
|
@@ -12194,6 +12211,10 @@ export declare class OperationState extends VersionedState implements IOperation
|
|
|
12194
12211
|
removeUnrecognizedOutputs(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
12195
12212
|
syncInputs(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
12196
12213
|
syncOutputs(changeSet?: ChangeSet | null): IChangeSet<OperationState>;
|
|
12214
|
+
getUnusedInputs(): ActionInputMapState[];
|
|
12215
|
+
getUnusedOutputs(): ActionOutputMapState[];
|
|
12216
|
+
getUsedInputs(): ActionInputMapState[];
|
|
12217
|
+
getUsedOutputs(): ActionOutputMapState[];
|
|
12197
12218
|
}
|
|
12198
12219
|
|
|
12199
12220
|
export declare type OperationTypes = NumberOperations | StringOperations | ListOperations | ExecutionOperations | EntityOperations | HTTPOperations | RandomnessOperations;
|
|
@@ -12419,6 +12440,10 @@ export declare abstract class PassThroughCallableEntityClass extends CallerEntit
|
|
|
12419
12440
|
abstract addErrorCall(call: CallableEntityState, changeSet: ChangeSet | null): CallerEntityClass;
|
|
12420
12441
|
abstract removeInput(input: InputMapState, changeSet: ChangeSet | null): PassThroughCallableEntityClass;
|
|
12421
12442
|
abstract addInput(input: InputMapState, changeSet: ChangeSet | null): PassThroughCallableEntityClass;
|
|
12443
|
+
abstract getUnusedInputs(): InputMapState[];
|
|
12444
|
+
abstract getUnusedOutputs(): OutputMapState[];
|
|
12445
|
+
abstract getUsedInputs(): InputMapState[];
|
|
12446
|
+
abstract getUsedOutputs(): OutputMapState[];
|
|
12422
12447
|
}
|
|
12423
12448
|
|
|
12424
12449
|
export declare type PassThroughCallableEntityGenerationTarget = PassThroughCallableEntityWithOutputsGenerationTarget | IConditionGenerationTarget;
|
|
@@ -12506,7 +12531,7 @@ export declare class PersistedEntity extends BuiltInBaseEntityState {
|
|
|
12506
12531
|
|
|
12507
12532
|
export declare enum PersistedEntityMethods {
|
|
12508
12533
|
DeletePersistedEntity = "base-delete-persisted-entity",
|
|
12509
|
-
|
|
12534
|
+
SavePersistedEntity = "base-save-persisted-entity",
|
|
12510
12535
|
AbortExecution = "base-abort-execution"
|
|
12511
12536
|
}
|
|
12512
12537
|
|
|
@@ -12669,6 +12694,7 @@ export declare class ProjectState extends VersionedState implements IProject, Us
|
|
|
12669
12694
|
onAddChangeSetCallback: ((changeSet: ChangeSet, undoableStackValueIndex: number) => void) | null;
|
|
12670
12695
|
onDiscardChangeSetCallback: ((changeSet: ChangeSet) => void) | null;
|
|
12671
12696
|
onRequestActiveValueCallback: ((valueOwner: EntityWithValueState) => LiteralValueState | null) | null;
|
|
12697
|
+
onRequestActiveDynamicValueCallback: ((valueOwner: EntityWithValueState) => IDynamicValue | null) | null;
|
|
12672
12698
|
constructor(initialData: IProject | IProjectTransfer);
|
|
12673
12699
|
private static _UUIDModule;
|
|
12674
12700
|
static get UUID(): UUIDModule;
|
|
@@ -12701,6 +12727,7 @@ export declare class ProjectState extends VersionedState implements IProject, Us
|
|
|
12701
12727
|
get emit(): Events['emit'];
|
|
12702
12728
|
closePendingChangeSets(): Promise<void>;
|
|
12703
12729
|
onRequestActiveValue(callback: (valueOwner: EntityWithValueState) => LiteralValueState | null): void;
|
|
12730
|
+
onRequestActiveDynamicValue(callback: (valueOwner: EntityWithValueState) => IDynamicValue | null): void;
|
|
12704
12731
|
onCloseChangeSet(callback: (changeSet: ChangeSet) => Promise<{
|
|
12705
12732
|
success: boolean;
|
|
12706
12733
|
}>): Promise<void>;
|
|
@@ -12840,6 +12867,7 @@ export declare class ProjectState extends VersionedState implements IProject, Us
|
|
|
12840
12867
|
attachOrphanReferences(): ProjectState;
|
|
12841
12868
|
getBuiltInPersistedEntity(): BuiltInBaseEntityState | null;
|
|
12842
12869
|
requestActiveValue(valueOwner: EntityWithValueState): LiteralValueState | null;
|
|
12870
|
+
requestActiveDynamicValue(valueOwner: EntityWithValueState): IDynamicValue | null;
|
|
12843
12871
|
undo(): IProjectVersionTransitionConfig;
|
|
12844
12872
|
redo(): IProjectVersionTransitionConfig;
|
|
12845
12873
|
applyExternalChangeSet(request: PersistChangeSetEntityActionRequestPayload): ChangeSet;
|
|
@@ -13706,6 +13734,10 @@ declare function sanitizeQuery(query: string): string;
|
|
|
13706
13734
|
|
|
13707
13735
|
declare function sanitizeSQLIdentifierText(text: string): string;
|
|
13708
13736
|
|
|
13737
|
+
export declare const savePersistedEntityMethod: IFunctionDeclarationTransfer;
|
|
13738
|
+
|
|
13739
|
+
export declare const savePersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
|
|
13740
|
+
|
|
13709
13741
|
export declare type ScopeCompatibility = ICompatibleSameBothLocalScope | ICompatibleSameBothGlobalScope | ICompatibleAInBScope | ICompatibleBInAScope | IIncompatibleParallelInProjectScope | IIncompatibleParallelInCommonParentScope | IIncompatibleAIsGlobalBIsNotScope | IIncompatibleBIsGlobalAIsNotScope;
|
|
13710
13742
|
|
|
13711
13743
|
export declare enum ScopeCompatibilityType {
|
|
@@ -13876,6 +13908,10 @@ export declare class SearchState extends VersionedState implements ISearch, Base
|
|
|
13876
13908
|
getShallowErrors(): EntityError[];
|
|
13877
13909
|
clone(changeSet?: ChangeSet | null, parent?: EntryPointEntityState | ProjectState | null, newId?: string | null, subscribe?: boolean): SearchState;
|
|
13878
13910
|
syncInputMaps(changeSet?: ChangeSet | null): IChangeSet<SearchState>;
|
|
13911
|
+
getUnusedInputs(): ActionInputMapState[];
|
|
13912
|
+
getUnusedOutputs(): ActionOutputMapState[];
|
|
13913
|
+
getUsedInputs(): ActionInputMapState[];
|
|
13914
|
+
getUsedOutputs(): ActionOutputMapState[];
|
|
13879
13915
|
}
|
|
13880
13916
|
|
|
13881
13917
|
export declare const searchStatementErrorGlobalValueDescriptor: IValueDescriptorTransfer;
|
|
@@ -14146,10 +14182,6 @@ export declare abstract class SharedStateFunctionality {
|
|
|
14146
14182
|
abstract getShallowErrors(): EntityError[];
|
|
14147
14183
|
}
|
|
14148
14184
|
|
|
14149
|
-
export declare const softDeletePersistedEntityMethod: IFunctionDeclarationTransfer;
|
|
14150
|
-
|
|
14151
|
-
export declare const softDeletePersistedEntityMethodParentRef: IBuiltInBaseEntityReference;
|
|
14152
|
-
|
|
14153
14185
|
export declare function sortCallsBasedOnExecutionDependencies(calls: DraggableCallableEntityState[]): DraggableCallableEntityState[];
|
|
14154
14186
|
|
|
14155
14187
|
export declare function sortChildrenEntitiesBasedOnExecutionDependencies(entity: CanvasEntityState): CanvasEntityState[];
|
|
@@ -14668,6 +14700,8 @@ export declare function validateLogic(logic: (CanvasEntityState | CallableEntity
|
|
|
14668
14700
|
|
|
14669
14701
|
export declare function validateLoopEntityDeclaration(loopDeclarationId: EntityId, project: ProjectState): EntityGenerationError[];
|
|
14670
14702
|
|
|
14703
|
+
export declare function validateMissingValue(self: EntityWithValueState): EntityError[];
|
|
14704
|
+
|
|
14671
14705
|
export declare function validateName(entity: ElementGenerationTarget | ElementShallowTransfer | ElementTransfer, project: ProjectState): EntityGenerationError[];
|
|
14672
14706
|
|
|
14673
14707
|
export declare function validateOperationEntityDeclaration(operationDeclarationId: EntityId, project: ProjectState): EntityGenerationError[];
|