@elyx-code/project-logic-tree 0.0.6731 → 0.0.6733
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 +193 -193
- package/dist/index.d.ts +28 -4
- package/dist/index.js +26411 -26225
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9704,6 +9704,16 @@ export declare function checkIsMethod(entity: EntityState): boolean;
|
|
|
9704
9704
|
|
|
9705
9705
|
export declare function checkIsNestedScope(parent: EntityWithLogicScopeState | ProjectState, child: EntityWithLogicScopeState | ProjectState, project: ProjectState): boolean;
|
|
9706
9706
|
|
|
9707
|
+
/**
|
|
9708
|
+
* Checks whether the given data-type allows for a null value.
|
|
9709
|
+
* This is either because the 'entity' field is the primitive null-prototype
|
|
9710
|
+
* Or because it has a literal-value, with its value set to `null`
|
|
9711
|
+
* Or because the data-type is an or-group where at least one of its children meets the above requirements
|
|
9712
|
+
*
|
|
9713
|
+
* @param dataType
|
|
9714
|
+
*/
|
|
9715
|
+
export declare function checkIsNullable(dataType: DataTypeState): boolean;
|
|
9716
|
+
|
|
9707
9717
|
export declare function checkIsRequiredValue(entity: EntityWithValueState | PropertyState | ValueDescriptorState): boolean;
|
|
9708
9718
|
|
|
9709
9719
|
export declare function checkIsRowTransformerUpToDate(newestOpenRowTransformer: DefinitionEntityState, entity: DefinitionEntityState, lastPublishedEntityVersion: DefinitionEntityState): {
|
|
@@ -12408,7 +12418,11 @@ export declare enum EntityInstanceErrorCode {
|
|
|
12408
12418
|
VariableCallsOthersAndHasInternalCall = "variable-calls-others-and-has-internal-call",
|
|
12409
12419
|
MissingRequiredValue = "missing-required-value",
|
|
12410
12420
|
LackingReturnStatementOnSomeBranches = "lacking-return-statement-on-some-branches",
|
|
12411
|
-
LastCalledEntityMustBeReturnEntity = "last-called-entity-must-be-return-entity"
|
|
12421
|
+
LastCalledEntityMustBeReturnEntity = "last-called-entity-must-be-return-entity",
|
|
12422
|
+
ValueReadingOverridesConstantProperty = "value-reading-overrides-constant-property",
|
|
12423
|
+
DefaultValueOverridesConstantProperty = "default-value-overrides-constant-property",
|
|
12424
|
+
ValueReadingOverridesConstantVariable = "value-reading-overrides-constant-variable",
|
|
12425
|
+
DefaultValueOverridesConstantVariable = "default-value-overrides-constant-variable"
|
|
12412
12426
|
}
|
|
12413
12427
|
|
|
12414
12428
|
export declare type EntityPayloadUnion = BuiltInBaseEntityPayloadUnion | ProjectPayloadUnion | InstalledProjectPayloadUnion | DefinitionEntityPayloadUnion | FunctionDeclarationPayloadUnion | GlobalEventPayloadUnion | VariableDeclarationPayloadUnion | VariableInstancePayloadUnion | InputMapPayloadUnion | OutputMapPayloadUnion | ConditionPayloadUnion | OperationPayloadUnion | FunctionCallPayloadUnion | ArgumentDeclarationPayloadUnion | PrimitiveEntityPayloadUnion | DataTypePayloadUnion | PropertyPayloadUnion | ActionDescriptorPayloadUnion | ReturnStatementPayloadUnion | ContinueStatementPayloadUnion | BreakStatementPayloadUnion | LoopPayloadUnion | SearchPayloadUnion | ValueDescriptorPayloadUnion | InternalCallPayloadUnion | LiteralValuePayloadUnion;
|
|
@@ -21861,7 +21875,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
21861
21875
|
declare namespace inputMapValidation {
|
|
21862
21876
|
export {
|
|
21863
21877
|
validateAsync_17 as validateAsync,
|
|
21864
|
-
validate_17 as validate
|
|
21878
|
+
validate_17 as validate,
|
|
21879
|
+
validateConstantValueOverride_2 as validateConstantValueOverride
|
|
21865
21880
|
}
|
|
21866
21881
|
}
|
|
21867
21882
|
export { inputMapValidation }
|
|
@@ -31879,7 +31894,11 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
31879
31894
|
GlobalVariableDeclarationCannnotCatchError = "global-variable-declaration-cannot-catch-error",
|
|
31880
31895
|
GlobalVariableDeclarationCannotReadValue = "global-variable-declaration-cannot-read-value",
|
|
31881
31896
|
GlobalVariableDeclarationCannotBeCalled = "global-variable-declaration-cannot-be-called",
|
|
31882
|
-
GlobalVariableDeclarationCannotCallFromError = "global-variable-declaration-cannot-call-from-error"
|
|
31897
|
+
GlobalVariableDeclarationCannotCallFromError = "global-variable-declaration-cannot-call-from-error",
|
|
31898
|
+
ValueReadingOverridesConstantProperty = "value-reading-overrides-constant-property",
|
|
31899
|
+
DefaultValueOverridesConstantProperty = "default-value-overrides-constant-property",
|
|
31900
|
+
ValueReadingOverridesConstantVariable = "value-reading-overrides-constant-variable",
|
|
31901
|
+
DefaultValueOverridesConstantVariable = "default-value-overrides-constant-variable"
|
|
31883
31902
|
}
|
|
31884
31903
|
|
|
31885
31904
|
export declare const STATIC_PROPERTY_HEIGHT = 49;
|
|
@@ -33288,6 +33307,10 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
33288
33307
|
|
|
33289
33308
|
export declare function validateConditionEntityDeclaration(conditionDeclarationId: EntityId, project: ProjectState): EntityGenerationError[];
|
|
33290
33309
|
|
|
33310
|
+
declare function validateConstantValueOverride(self: VariableInstanceState): EntityError[];
|
|
33311
|
+
|
|
33312
|
+
declare function validateConstantValueOverride_2(self: InputMapState): EntityError[];
|
|
33313
|
+
|
|
33291
33314
|
export declare const validateDataOperation: IActionDescriptorTransfer;
|
|
33292
33315
|
|
|
33293
33316
|
export declare const validateDataOperationDataToValidateArgument: IValueDescriptorTransfer;
|
|
@@ -34448,7 +34471,8 @@ export declare function getReferencedEntityStateOrErrors(data: ElementGeneration
|
|
|
34448
34471
|
declare namespace variableInstanceValidation {
|
|
34449
34472
|
export {
|
|
34450
34473
|
validateAsync_6 as validateAsync,
|
|
34451
|
-
validate_6 as validate
|
|
34474
|
+
validate_6 as validate,
|
|
34475
|
+
validateConstantValueOverride
|
|
34452
34476
|
}
|
|
34453
34477
|
}
|
|
34454
34478
|
export { variableInstanceValidation }
|