@elyx-code/project-logic-tree 0.0.6366 → 0.0.6369
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 +22 -4
- package/dist/index.js +15438 -15155
- package/dist/index.umd.cjs +179 -179
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export declare class ActionDescriptorState extends VersionedState implements IAc
|
|
|
46
46
|
inputs: ValueDescriptorState[];
|
|
47
47
|
outputs: ValueDescriptorState[];
|
|
48
48
|
error: ValueDescriptorState | null;
|
|
49
|
-
implementation: ((
|
|
49
|
+
implementation: ((entity: OperationState, inputs: IDynamicValue[]) => IPrimitiveExecutionResult | Promise<IPrimitiveExecutionResult>) | null;
|
|
50
50
|
parent: DefinitionEntityState | PrimitiveEntityState | BuiltInBaseEntityState | DataTypeState | null;
|
|
51
51
|
errors: EntityError[];
|
|
52
52
|
project: ProjectState;
|
|
@@ -1733,6 +1733,10 @@ export declare function checkIsRequiredValue(entity: EntityWithValueState | Prop
|
|
|
1733
1733
|
|
|
1734
1734
|
export declare function checkScopeCompatibility(entityA: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, entityB: EntityState | Element_2 | ElementTransfer | ElementGenerationTarget | ElementShallowTransfer, project: ProjectState): ScopeCompatibility;
|
|
1735
1735
|
|
|
1736
|
+
export declare function checkShouldInputOrOutputBePartOfFinalVariableObjectValue(entity: InputMapState | OutputMapState): boolean;
|
|
1737
|
+
|
|
1738
|
+
export declare function checkShouldPropertyBePartOfFinalVariableObjectValue(entity: PropertyState): boolean;
|
|
1739
|
+
|
|
1736
1740
|
export declare type ChildElement = IInstalledProject | IDefinitionEntity | IGlobalEvent | IFunctionDeclaration | IFunctionCall | IProperty | IVariableDeclaration | IVariableInstance | IOperation | ICondition | IArgumentDeclaration | IInputMap | IReturnDeclaration | IOutputMap | IDataType | IReturnStatement | IBreakStatement | IContinueStatement | ILoop | IActionDescriptor | ISearch | ILiteralValue | IValueDescriptor | IInternalCall;
|
|
1737
1741
|
|
|
1738
1742
|
export declare type ChildElement_meta = IInstalledProject_meta | IDefinitionEntity_meta | IGlobalEvent_meta | IFunctionDeclaration_meta | IFunctionCall_meta | IProperty_meta | IVariableDeclaration_meta | IVariableInstance_meta | IOperation_meta | ICondition_meta | IArgumentDeclaration_meta | IInputMap_meta | IReturnDeclaration_meta | IOutputMap_meta | IDataType_meta | IReturnStatement_meta | IBreakStatement_meta | IContinueStatement_meta | ILoop_meta | IActionDescriptor_meta | ISearch_meta | ILiteralValue_meta | IValueDescriptor_meta | IInternalCall_meta;
|
|
@@ -2686,7 +2690,8 @@ declare namespace definitionEntityValidation {
|
|
|
2686
2690
|
validateCanBecomeStatic,
|
|
2687
2691
|
validateCanBecomeAbstract,
|
|
2688
2692
|
validateCanBecomeNonStatic,
|
|
2689
|
-
validateCanBecomeNonAbstract
|
|
2693
|
+
validateCanBecomeNonAbstract,
|
|
2694
|
+
validateDefinitionEntityName_2 as validateDefinitionEntityName
|
|
2690
2695
|
}
|
|
2691
2696
|
}
|
|
2692
2697
|
export { definitionEntityValidation }
|
|
@@ -3958,7 +3963,8 @@ export declare type FunctionDeclarationTypesUnion = IFunctionDeclaration | IFunc
|
|
|
3958
3963
|
|
|
3959
3964
|
declare namespace functionDeclarationValidation {
|
|
3960
3965
|
export {
|
|
3961
|
-
validate_10 as validate
|
|
3966
|
+
validate_10 as validate,
|
|
3967
|
+
validateFunctionDeclarationName_2 as validateFunctionDeclarationName
|
|
3962
3968
|
}
|
|
3963
3969
|
}
|
|
3964
3970
|
export { functionDeclarationValidation }
|
|
@@ -7284,6 +7290,8 @@ declare function getNestedFromSubqueryFromSelectStatement(selectStatement: Selec
|
|
|
7284
7290
|
as: string;
|
|
7285
7291
|
} | null;
|
|
7286
7292
|
|
|
7293
|
+
export declare function getOnlyRelevantErrorsForPublication(project: ProjectState): EntityError[];
|
|
7294
|
+
|
|
7287
7295
|
declare function getOrderByClauseFromSelectStatement(selectStatement: SelectStmt): OrderByClause | null;
|
|
7288
7296
|
|
|
7289
7297
|
export declare function getParentCallableEntity(entity: EntityState): CallableEntityState | null;
|
|
@@ -14122,6 +14130,9 @@ export declare enum SequentialExecutionOperationOutputIds {
|
|
|
14122
14130
|
export declare enum SharedEntityErrorCode {
|
|
14123
14131
|
InvalidObjectStructure = "invalid-object-structure",
|
|
14124
14132
|
NameNotUniqueInScope = "name-not-unique-in-scope",
|
|
14133
|
+
NameAsResolvedCodeNameNotUniqueInScope = "name-as-resolved-code-name-not-unique-in-scope",
|
|
14134
|
+
NameMustStartWithLetterOrUnderscore = "name-must-start-with-letter-or-underscore",
|
|
14135
|
+
NameCanOnlyContainLettersNumbersUnderscoreAndSpaces = "name-can-only-contain-letters-numbers-underscore-and-spaces",
|
|
14125
14136
|
EmptyName = "empty-name",
|
|
14126
14137
|
MissingCaller = "missing-caller",
|
|
14127
14138
|
PropertyOverwritesOtherSiblingWithSameName = "property-overwrites-other-sibling-with-same-name",
|
|
@@ -14662,6 +14673,8 @@ export declare const validateDataOperationOutputEntityDeclarationParentRef: IAct
|
|
|
14662
14673
|
|
|
14663
14674
|
export declare function validateDefinitionEntityName(entity: DefinitionEntityState | IDefinitionEntityGenerationTarget | IDefinitionEntityShallowTransfer | IDefinitionEntityTransfer, project: ProjectState): EntityGenerationError[];
|
|
14664
14675
|
|
|
14676
|
+
declare function validateDefinitionEntityName_2(self: DefinitionEntityState): EntityError[];
|
|
14677
|
+
|
|
14665
14678
|
export declare function validateEntityValues(entity: CanvasEntityState | CallableEntityState, context: IValueResolutionContext): IDynamicValue[];
|
|
14666
14679
|
|
|
14667
14680
|
export declare function validateEntryCaller(data: ElementGenerationTarget, callerEntity: CallerEntityState): EntityGenerationError[];
|
|
@@ -14672,6 +14685,8 @@ export declare function validateFunctionCallDeclaration(functionDeclarationId: E
|
|
|
14672
14685
|
|
|
14673
14686
|
export declare function validateFunctionDeclarationName(entity: FunctionDeclarationState | IFunctionDeclarationGenerationTarget | IFunctionDeclarationShallowTransfer | IFunctionDeclarationTransfer, project: ProjectState): EntityGenerationError[];
|
|
14674
14687
|
|
|
14688
|
+
declare function validateFunctionDeclarationName_2(self: FunctionDeclarationState): EntityError[];
|
|
14689
|
+
|
|
14675
14690
|
export declare function validateGeneratedEntityParentIsNotBuiltInEntity(data: ElementGenerationTarget, project: ProjectState): EntityGenerationError[];
|
|
14676
14691
|
|
|
14677
14692
|
export declare function validateGeneration(generatedPayload: GeneratedPayload, projectState: ProjectState): {
|
|
@@ -14744,6 +14759,8 @@ export declare function validateValueWritter(data: ElementGenerationTarget, valu
|
|
|
14744
14759
|
|
|
14745
14760
|
export declare function validateVariableDeclarationName(entity: VariableDeclarationState | IVariableDeclarationGenerationTarget | IVariableDeclarationShallowTransfer | IVariableDeclarationTransfer, project: ProjectState): EntityGenerationError[];
|
|
14746
14761
|
|
|
14762
|
+
declare function validateVariableDeclarationName_2(self: VariableDeclarationState): EntityError[];
|
|
14763
|
+
|
|
14747
14764
|
export declare function validateVariableInternalCallUse(self: VariableState): EntityError[];
|
|
14748
14765
|
|
|
14749
14766
|
export declare const VALUE_READING_ENTITIES_EXPLANATION: string;
|
|
@@ -15757,7 +15774,8 @@ export declare type VariableDeclarationTypesUnion = IVariableDeclaration | IVari
|
|
|
15757
15774
|
|
|
15758
15775
|
declare namespace variableDeclarationValidation {
|
|
15759
15776
|
export {
|
|
15760
|
-
validate_5 as validate
|
|
15777
|
+
validate_5 as validate,
|
|
15778
|
+
validateVariableDeclarationName_2 as validateVariableDeclarationName
|
|
15761
15779
|
}
|
|
15762
15780
|
}
|
|
15763
15781
|
export { variableDeclarationValidation }
|