@elyx-code/project-logic-tree 0.0.6233 → 0.0.6234
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/definitions/types/primitives.d.ts +4 -4
- package/dist/index.js +5 -6
- package/dist/index.umd.cjs +2 -2
- package/dist/tree/state/argument-declaration/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/break-statement/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/condition/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/continue-statement/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/definition-entity/validation/validation-schema.d.ts +8 -8
- package/dist/tree/state/function-call/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/function-declaration/validation/validation-schema.d.ts +6 -6
- package/dist/tree/state/global-event/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/installed-project/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/literal-value/literal-value.d.ts +5 -2
- package/dist/tree/state/loop/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/operation/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/return-statement/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/search/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/variable-declaration/validation/validation-schema.d.ts +4 -4
- package/dist/tree/state/variable-instance/validation/validation-schema.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDataTypeReference, IProperty, IInputMap, IInputMapReference, EntityType, IChildEntity, IChildEntityTransfer, IBaseEntityTransfer, IDataType, IFunctionDeclaration, IFunctionDeclarationTransfer, IBuiltInBaseEntity, IBuiltInBaseEntityTransfer, IDefinitionEntity, IDefinitionEntityTransfer,
|
|
1
|
+
import { IDataTypeReference, IProperty, IInputMap, IInputMapReference, EntityType, IChildEntity, IChildEntityTransfer, IBaseEntityTransfer, IDataType, IFunctionDeclaration, IFunctionDeclarationTransfer, IBuiltInBaseEntity, IBuiltInBaseEntityTransfer, IDefinitionEntity, IDefinitionEntityTransfer, StringAutogenerationOptions, NumberAutogenerationOptions, BooleanAutogenerationOptions, DateAutogenerationOptions, UUIDAutogenerationOptions, ValueAutogenerationOptions, EntityId, IGenericBase, IChildEntityShallowTransfer, IDefinitionEntityReference, IFunctionDeclarationReference, IBaseEntity_meta, IBaseEntityShallowTransfer, IBuiltInBaseEntityReference, IPrimitiveEntityReference, IBaseEntityGenerationTarget, IChildEntityGenerationTarget, EntityWithValueReference, EntityWithValue, IVariableDeclaration, IArgumentDeclaration, IReturnDeclaration, IValueDescriptor, IOutputMap, IVariableDeclarationReference, IArgumentDeclarationReference, IReturnDeclarationReference, IPropertyReference, IValueDescriptorReference, IOutputMapReference, IVariableInstance, IVariableInstanceReference, IActionDescriptor, IActionDescriptorReference, IActionDescriptorTransfer, IOperation, IFunctionCall, IOperationReference, IFunctionCallReference, IOperationTransfer, IFunctionCallTransfer } from '.';
|
|
2
2
|
|
|
3
3
|
export declare enum PrimitiveTypes {
|
|
4
4
|
EntityTemplate = "entity-template",
|
|
@@ -23,9 +23,9 @@ export type UntypedObjectValue = {
|
|
|
23
23
|
export type UntypedList = UntypedValue[];
|
|
24
24
|
export type UntypedObjectList = UntypedObjectValue[];
|
|
25
25
|
export type LiteralValueType = string | number | boolean | null | Date | UntypedValue;
|
|
26
|
-
export type LiteralValueAsTypeTransfer = IDefinitionEntity | IDefinitionEntityTransfer | IFunctionDeclaration | IFunctionDeclarationTransfer | IOperation | IOperationTransfer;
|
|
27
|
-
export type LiteralValueAsTypeReference = IDefinitionEntityReference | IFunctionDeclarationReference | IOperationReference;
|
|
28
|
-
export type LiteralValueAsType = IDefinitionEntity | IFunctionDeclaration | IOperation;
|
|
26
|
+
export type LiteralValueAsTypeTransfer = IDefinitionEntity | IDefinitionEntityTransfer | IFunctionDeclaration | IFunctionDeclarationTransfer | IOperation | IOperationTransfer | IFunctionCall | IFunctionCallTransfer | IActionDescriptor | IActionDescriptorTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer;
|
|
27
|
+
export type LiteralValueAsTypeReference = IDefinitionEntityReference | IFunctionDeclarationReference | IOperationReference | IFunctionCallReference | IActionDescriptorReference | IBuiltInBaseEntityReference;
|
|
28
|
+
export type LiteralValueAsType = IDefinitionEntity | IFunctionDeclaration | IOperation | IFunctionCall | IActionDescriptor | IBuiltInBaseEntity;
|
|
29
29
|
export interface ILiteralValue_base {
|
|
30
30
|
id: EntityId;
|
|
31
31
|
type: EntityType.LiteralValue;
|
package/dist/index.js
CHANGED
|
@@ -6461,7 +6461,7 @@ const rA = {
|
|
|
6461
6461
|
orChildrenGroup: null,
|
|
6462
6462
|
isList: !1,
|
|
6463
6463
|
entity: Rt,
|
|
6464
|
-
asType: !
|
|
6464
|
+
asType: !0,
|
|
6465
6465
|
parent: e1
|
|
6466
6466
|
}, r1 = {
|
|
6467
6467
|
id: "persisted-built-in-base-entity-database-property-parent-ref-id",
|
|
@@ -56857,15 +56857,15 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
56857
56857
|
// Calls the 'subscribeDependents' method with itself as the only argument on any dependencies the current entity has
|
|
56858
56858
|
// It could be multiple
|
|
56859
56859
|
subscribeToDependencies() {
|
|
56860
|
-
return !this.valueAsTypeSingle && !this.valueAsTypeList ? this : (this.valueAsTypeList && Array.isArray(this.valueAsTypeList) ? this.valueAsTypeList.forEach(
|
|
56861
|
-
|
|
56860
|
+
return !this.valueAsTypeSingle && !this.valueAsTypeList ? this : (this.valueAsTypeList && Array.isArray(this.valueAsTypeList) ? this.valueAsTypeList.forEach((e) => {
|
|
56861
|
+
e.type !== n.BuiltInBaseEntity && e.subscribeDependents([
|
|
56862
56862
|
{
|
|
56863
56863
|
entity: this,
|
|
56864
56864
|
field: "value-as-type-list"
|
|
56865
56865
|
/* ValueAsTypeList */
|
|
56866
56866
|
}
|
|
56867
|
-
])
|
|
56868
|
-
) : this.valueAsTypeSingle && this.valueAsTypeSingle.subscribeDependents([
|
|
56867
|
+
]);
|
|
56868
|
+
}) : this.valueAsTypeSingle && this.valueAsTypeSingle.type !== n.BuiltInBaseEntity && this.valueAsTypeSingle.subscribeDependents([
|
|
56869
56869
|
{
|
|
56870
56870
|
entity: this,
|
|
56871
56871
|
field: "value-as-type-single"
|
|
@@ -57408,7 +57408,6 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
57408
57408
|
name: this.name,
|
|
57409
57409
|
autogeneration: this.autogeneration,
|
|
57410
57410
|
value: this.value,
|
|
57411
|
-
// @ts-ignore
|
|
57412
57411
|
valueAsTypeSingle: this.valueAsTypeSingle ? this.project.getBuiltIn(this.valueAsTypeSingle.id) ? this.valueAsTypeSingle.toJSON() : this.valueAsTypeSingle.toJSONClone({ ...e, newId: null }) : null,
|
|
57413
57412
|
valueAsTypeList: this.valueAsTypeSingle && Array.isArray(this.valueAsTypeSingle) ? this.valueAsTypeSingle.map(
|
|
57414
57413
|
(c) => this.project.getBuiltIn(c.id) ? c.toJSON() : c.toJSONClone({ ...e, newId: null })
|