@elyx-code/project-logic-tree 0.0.6457 → 0.0.6459

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 CHANGED
@@ -181,7 +181,7 @@ export declare class ActionInputMapState extends InputMapState implements IActio
181
181
  }
182
182
 
183
183
  export declare class ActionOutputMapState extends OutputMapState implements IActionOutputMap {
184
- declaration: ReturnDeclarationState | ValueDescriptorState;
184
+ declaration: ReturnDeclarationState | ValueDescriptorState | null;
185
185
  parent: PassThroughCallableEntityWithOutputsState;
186
186
  errors: EntityError[];
187
187
  constructor(initialActionOutputMapData: IActionOutputMap | IActionOutputMapTransfer, parentProjectState: ProjectState);
@@ -1536,7 +1536,7 @@ export declare class BuiltInBaseEntityState extends VersionedState implements Ba
1536
1536
  readonly properties: PropertyState[];
1537
1537
  readonly methods: FunctionDeclarationState[];
1538
1538
  readonly abstractMethods: ActionDescriptorState[];
1539
- readonly extends: (BuiltInBaseEntityState | PrimitiveEntityState)[];
1539
+ readonly extends: BuiltInBaseEntityState | PrimitiveEntityState | null;
1540
1540
  readonly interactive: boolean;
1541
1541
  errors: EntityError[];
1542
1542
  project: ProjectState;
@@ -2956,7 +2956,7 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
2956
2956
  properties: PropertyState[];
2957
2957
  methods: FunctionDeclarationState[];
2958
2958
  abstractMethods: ActionDescriptorState[];
2959
- extends: (DefinitionEntityState | BuiltInBaseEntityState)[];
2959
+ extends: DefinitionEntityState | BuiltInBaseEntityState | null;
2960
2960
  implements: (DefinitionEntityState | BuiltInBaseEntityState)[];
2961
2961
  project: ProjectState;
2962
2962
  errors: EntityError[];
@@ -3023,8 +3023,8 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
3023
3023
  field: string;
3024
3024
  }[]): UserManagedEntityState;
3025
3025
  syncDependents(changeSet?: ChangeSet | null): IChangeSet<UserManagedEntityState>;
3026
- onDetachedDependencyRemoved(dependency: UserManagedEntityState, field: string, _changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
3027
- onDetachedDependencyRestored(dependency: UserManagedEntityState, field: string, _changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
3026
+ onDetachedDependencyRemoved(dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
3027
+ onDetachedDependencyRestored(dependency: UserManagedEntityState, field: string, changeSet: ChangeSet | null): IChangeSet<UserManagedEntityState>;
3028
3028
  unsubscribeFromDependencies(): UserManagedEntityState;
3029
3029
  subscribeToDependencies(): UserManagedEntityState;
3030
3030
  increaseVersion(sharedTimestamp: null | string): UserManagedEntityState;
@@ -3036,8 +3036,7 @@ export declare class DefinitionEntityState extends VersionedState implements Bas
3036
3036
  afterAllChildrenInitialized(changeSet?: ChangeSet | null): IChangeSet<DefinitionEntityState>;
3037
3037
  addSelfToProject(changeSet?: ChangeSet | null): IChangeSet<DefinitionEntityState>;
3038
3038
  setParent(parent: ProjectState | DataTypeState, changeSet?: ChangeSet | null): DefinitionEntityState;
3039
- addExtension(entity: DefinitionEntityState | BuiltInBaseEntityState): DefinitionEntityState;
3040
- removeExtension(entity: DefinitionEntityState | BuiltInBaseEntityState): DefinitionEntityState;
3039
+ setExtension(entity: DefinitionEntityState | BuiltInBaseEntityState | null, changeSet?: ChangeSet | null): DefinitionEntityState;
3041
3040
  addImplementation(entity: DefinitionEntityState | BuiltInBaseEntityState): DefinitionEntityState;
3042
3041
  removeImplementation(entity: DefinitionEntityState | BuiltInBaseEntityState): DefinitionEntityState;
3043
3042
  removeProperty(property: PropertyState): DefinitionEntityState;
@@ -3348,7 +3347,7 @@ export declare class EndpointEntity extends BuiltInBaseEntityState {
3348
3347
  readonly properties: PropertyState[];
3349
3348
  readonly methods: FunctionDeclarationState[];
3350
3349
  readonly abstractMethods: ActionDescriptorState[];
3351
- readonly extends: (BuiltInBaseEntityState | PrimitiveEntityState)[];
3350
+ readonly extends: BuiltInBaseEntityState | PrimitiveEntityState | null;
3352
3351
  errors: EntityError[];
3353
3352
  project: ProjectState;
3354
3353
  constructor(parentProjectState: ProjectState);
@@ -9069,7 +9068,7 @@ export declare interface IActionInputMapTransfer extends IInputMapTransfer {
9069
9068
  }
9070
9069
 
9071
9070
  export declare interface IActionOutputMap extends IOutputMap {
9072
- declaration: IReturnDeclaration | IValueDescriptor;
9071
+ declaration: IReturnDeclaration | IValueDescriptor | null;
9073
9072
  parent: PassThroughCallableEntity;
9074
9073
  }
9075
9074
 
@@ -9313,7 +9312,7 @@ export declare interface IBaseCanvasDraggable extends IGenericBase {
9313
9312
  export declare interface IBaseEntity extends IBaseEntityTransfer {
9314
9313
  properties: IProperty[];
9315
9314
  methods: IFunctionDeclaration[];
9316
- extends: (IDefinitionEntity | IBuiltInBaseEntity | IPrimitiveEntity)[];
9315
+ extends: IDefinitionEntity | IBuiltInBaseEntity | IPrimitiveEntity | null;
9317
9316
  }
9318
9317
 
9319
9318
  export declare interface IBaseEntity_base {
@@ -9331,21 +9330,21 @@ export declare interface IBaseEntity_meta extends IBaseEntity_base, IGenericBase
9331
9330
 
9332
9331
  export declare interface IBaseEntityGenerationTarget extends IBaseEntity_base {
9333
9332
  type: EntityType.DefinitionEntity | EntityType.PrimitiveEntity | EntityType.BuiltInBaseEntity;
9334
- extends: EntityId[];
9333
+ extends?: EntityId;
9335
9334
  }
9336
9335
 
9337
9336
  export declare interface IBaseEntityShallowTransfer extends IBaseEntity_meta {
9338
9337
  properties: IPropertyReference[];
9339
9338
  methods: IFunctionDeclarationReference[];
9340
9339
  abstractMethods: IActionDescriptorReference[];
9341
- extends: (IDefinitionEntityReference | IBuiltInBaseEntityReference | IPrimitiveEntityReference)[];
9340
+ extends: IDefinitionEntityReference | IBuiltInBaseEntityReference | IPrimitiveEntityReference | null;
9342
9341
  }
9343
9342
 
9344
9343
  export declare interface IBaseEntityTransfer extends IBaseEntity_meta {
9345
9344
  properties: (IProperty | IPropertyTransfer)[];
9346
9345
  methods: (IFunctionDeclaration | IFunctionDeclarationTransfer)[];
9347
9346
  abstractMethods: (IActionDescriptor | IActionDescriptorTransfer)[];
9348
- extends: (IDefinitionEntity | IDefinitionEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IPrimitiveEntity | IPrimitiveEntityTransfer)[];
9347
+ extends: IDefinitionEntity | IDefinitionEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IPrimitiveEntity | IPrimitiveEntityTransfer | null;
9349
9348
  }
9350
9349
 
9351
9350
  export declare interface IBaseEvent_meta extends IBaseCanvasDraggable {
@@ -9480,7 +9479,7 @@ export declare interface IBreakStatementTransfer extends ITerminationStatementTr
9480
9479
  export declare interface IBuiltInBaseEntity extends IBuiltInBaseEntityTransfer {
9481
9480
  properties: IProperty[];
9482
9481
  methods: IFunctionDeclaration[];
9483
- extends: (IBuiltInBaseEntity | IPrimitiveEntity)[];
9482
+ extends: IBuiltInBaseEntity | IPrimitiveEntity | null;
9484
9483
  }
9485
9484
 
9486
9485
  export declare interface IBuiltInBaseEntity_base {
@@ -9500,7 +9499,7 @@ export declare interface IBuiltInBaseEntityGenerationTarget extends IBuiltInBase
9500
9499
  id: BaseEntityNames;
9501
9500
  type: EntityType.BuiltInBaseEntity;
9502
9501
  name: BaseEntityNames;
9503
- extends: EntityId[];
9502
+ extends?: EntityId;
9504
9503
  }
9505
9504
 
9506
9505
  export declare interface IBuiltInBaseEntityReference extends IGenericReference {
@@ -9512,7 +9511,7 @@ export declare interface IBuiltInBaseEntityShallowTransfer extends IBuiltInBaseE
9512
9511
  type: EntityType.BuiltInBaseEntity;
9513
9512
  name: BaseEntityNames;
9514
9513
  methods: IFunctionDeclarationReference[];
9515
- extends: (IBuiltInBaseEntityReference | IPrimitiveEntityReference)[];
9514
+ extends: IBuiltInBaseEntityReference | IPrimitiveEntityReference | null;
9516
9515
  }
9517
9516
 
9518
9517
  export declare interface IBuiltInBaseEntityTransfer extends IBuiltInBaseEntity_meta, IBaseEntityTransfer {
@@ -9520,7 +9519,7 @@ export declare interface IBuiltInBaseEntityTransfer extends IBuiltInBaseEntity_m
9520
9519
  type: EntityType.BuiltInBaseEntity;
9521
9520
  name: BaseEntityNames;
9522
9521
  methods: (IFunctionDeclaration | IFunctionDeclarationTransfer)[];
9523
- extends: (IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IPrimitiveEntity | IPrimitiveEntityTransfer)[];
9522
+ extends: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IPrimitiveEntity | IPrimitiveEntityTransfer | null;
9524
9523
  }
9525
9524
 
9526
9525
  export declare interface ICalledEntity extends ICalledEntityTransfer {
@@ -9804,7 +9803,7 @@ export declare interface IDate extends IPrimitiveEntity {
9804
9803
 
9805
9804
  export declare interface IDefinitionEntity extends IDefinitionEntityTransfer, IChildEntity {
9806
9805
  parent: IProject | IDataType;
9807
- extends: (IDefinitionEntity | IBuiltInBaseEntity)[];
9806
+ extends: IDefinitionEntity | IBuiltInBaseEntity | null;
9808
9807
  implements: (IDefinitionEntity | IBuiltInBaseEntity)[];
9809
9808
  properties: IProperty[];
9810
9809
  methods: IFunctionDeclaration[];
@@ -9819,7 +9818,7 @@ export declare interface IDefinitionEntityGenerationTarget extends IChildEntityG
9819
9818
  id: EntityId;
9820
9819
  type: EntityType.DefinitionEntity;
9821
9820
  codeName?: string | null;
9822
- extends: EntityId[];
9821
+ extends?: EntityId;
9823
9822
  implements: EntityId[];
9824
9823
  parent?: EntityId;
9825
9824
  }
@@ -9831,7 +9830,7 @@ export declare interface IDefinitionEntityReference extends IGenericReference {
9831
9830
  export declare interface IDefinitionEntityShallowTransfer extends IBaseCanvasDraggable, IChildEntityShallowTransfer, IBaseEntityShallowTransfer {
9832
9831
  type: EntityType.DefinitionEntity;
9833
9832
  codeName: string | null;
9834
- extends: (IDefinitionEntityReference | IBuiltInBaseEntityReference)[];
9833
+ extends: IDefinitionEntityReference | IBuiltInBaseEntityReference | null;
9835
9834
  implements: (IDefinitionEntityReference | IBuiltInBaseEntityReference)[];
9836
9835
  parent: IProjectReference | IDataTypeReference;
9837
9836
  methods: IFunctionDeclarationReference[];
@@ -9840,7 +9839,7 @@ export declare interface IDefinitionEntityShallowTransfer extends IBaseCanvasDra
9840
9839
  export declare interface IDefinitionEntityTransfer extends IBaseCanvasDraggable, IChildEntityTransfer, IBaseEntityTransfer {
9841
9840
  type: EntityType.DefinitionEntity;
9842
9841
  codeName: string | null;
9843
- extends: (IDefinitionEntity | IDefinitionEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer)[];
9842
+ extends: IDefinitionEntity | IDefinitionEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | null;
9844
9843
  implements: (IDefinitionEntity | IDefinitionEntityTransfer | IBuiltInBaseEntity | IBuiltInBaseEntityTransfer)[];
9845
9844
  parent: IProject | IProjectReference | IDataType | IDataTypeReference;
9846
9845
  methods: (IFunctionDeclaration | IFunctionDeclarationTransfer)[];
@@ -10920,7 +10919,7 @@ export declare interface IOperationTransfer extends IBaseActionCallTransfer, IOp
10920
10919
 
10921
10920
  export declare interface IOutputMap extends IOutputMap_meta, IChildEntity, IValueWritingEntity {
10922
10921
  defaultValue: ILiteralValue | null;
10923
- declaration: IReturnDeclaration | IValueDescriptor | IProperty;
10922
+ declaration: IReturnDeclaration | IValueDescriptor | IProperty | null;
10924
10923
  parent: PassThroughCallableEntity;
10925
10924
  }
10926
10925
 
@@ -10947,13 +10946,13 @@ export declare interface IOutputMapReference extends IGenericReference {
10947
10946
 
10948
10947
  export declare interface IOutputMapShallowTransfer extends IOutputMap_meta, IChildEntityShallowTransfer, IValueWritingEntityShallowTransfer {
10949
10948
  defaultValue: ILiteralValueReference | null;
10950
- declaration: IReturnDeclarationReference | IValueDescriptorReference | IPropertyReference;
10949
+ declaration: IReturnDeclarationReference | IValueDescriptorReference | IPropertyReference | null;
10951
10950
  parent: PassThroughCallableEntityReference;
10952
10951
  }
10953
10952
 
10954
10953
  export declare interface IOutputMapTransfer extends IOutputMap_meta, IChildEntityTransfer, IValueWritingEntityTransfer {
10955
10954
  defaultValue: ILiteralValue | ILiteralValueTransfer | null;
10956
- declaration: IReturnDeclaration | IReturnDeclarationTransfer | IValueDescriptor | IValueDescriptorTransfer | IProperty | IPropertyTransfer;
10955
+ declaration: IReturnDeclaration | IReturnDeclarationTransfer | IValueDescriptor | IValueDescriptorTransfer | IProperty | IPropertyTransfer | null;
10957
10956
  parent: PassThroughCallableEntity | PassThroughCallableEntityReference;
10958
10957
  }
10959
10958
 
@@ -10984,7 +10983,7 @@ export declare interface IPrimitiveDateValueTransfer extends ILiteralValueTransf
10984
10983
  export declare interface IPrimitiveEntity extends IPrimitiveEntityTransfer {
10985
10984
  properties: IProperty[];
10986
10985
  methods: IFunctionDeclaration[];
10987
- extends: (IBuiltInBaseEntity | IPrimitiveEntity)[];
10986
+ extends: IBuiltInBaseEntity | IPrimitiveEntity | null;
10988
10987
  }
10989
10988
 
10990
10989
  export declare interface IPrimitiveEntity_meta extends IBaseEntity_meta {
@@ -10995,7 +10994,7 @@ export declare interface IPrimitiveEntity_meta extends IBaseEntity_meta {
10995
10994
  export declare interface IPrimitiveEntityGenerationTarget extends IBaseEntityGenerationTarget {
10996
10995
  type: EntityType.PrimitiveEntity;
10997
10996
  name: PrimitiveTypes;
10998
- extends: EntityId[];
10997
+ extends?: EntityId;
10999
10998
  }
11000
10999
 
11001
11000
  export declare interface IPrimitiveEntityReference extends IGenericReference {
@@ -11006,14 +11005,14 @@ export declare interface IPrimitiveEntityShallowTransfer extends IPrimitiveEntit
11006
11005
  type: EntityType.PrimitiveEntity;
11007
11006
  name: PrimitiveTypes;
11008
11007
  methods: IFunctionDeclarationReference[];
11009
- extends: (IBuiltInBaseEntityReference | IPrimitiveEntityReference)[];
11008
+ extends: IBuiltInBaseEntityReference | IPrimitiveEntityReference | null;
11010
11009
  }
11011
11010
 
11012
11011
  export declare interface IPrimitiveEntityTransfer extends IPrimitiveEntity_meta, IBaseEntityTransfer {
11013
11012
  type: EntityType.PrimitiveEntity;
11014
11013
  name: PrimitiveTypes;
11015
11014
  methods: (IFunctionDeclaration | IFunctionDeclarationTransfer)[];
11016
- extends: (IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IPrimitiveEntity | IPrimitiveEntityTransfer)[];
11015
+ extends: IBuiltInBaseEntity | IBuiltInBaseEntityTransfer | IPrimitiveEntity | IPrimitiveEntityTransfer | null;
11017
11016
  }
11018
11017
 
11019
11018
  export declare interface IPrimitiveEnumValue extends ILiteralValue {
@@ -13299,7 +13298,7 @@ export declare class OutputMapState extends VersionedState implements IOutputMap
13299
13298
  readonly type: EntityType.OutputMap;
13300
13299
  parentRelationType?: OutputMapParentChildRelation;
13301
13300
  defaultValue: LiteralValueState | null;
13302
- declaration: ReturnDeclarationState | PropertyState | ValueDescriptorState;
13301
+ declaration: ReturnDeclarationState | PropertyState | ValueDescriptorState | null;
13303
13302
  writesValues: ValueReadingEntityState[];
13304
13303
  dataType: DataTypeState | null;
13305
13304
  project: ProjectState;
@@ -13569,7 +13568,7 @@ export declare class PersistedEntity extends BuiltInBaseEntityState {
13569
13568
  readonly properties: PropertyState[];
13570
13569
  readonly methods: FunctionDeclarationState[];
13571
13570
  readonly abstractMethods: ActionDescriptorState[];
13572
- readonly extends: (BuiltInBaseEntityState | PrimitiveEntityState)[];
13571
+ readonly extends: BuiltInBaseEntityState | PrimitiveEntityState | null;
13573
13572
  errors: EntityError[];
13574
13573
  project: ProjectState;
13575
13574
  constructor(parentProjectState: ProjectState);
@@ -13606,7 +13605,7 @@ export declare class PrimitiveEntityState extends VersionedState implements Base
13606
13605
  readonly properties: PropertyState[];
13607
13606
  readonly methods: FunctionDeclarationState[];
13608
13607
  readonly abstractMethods: ActionDescriptorState[];
13609
- readonly extends: (PrimitiveEntityState | BuiltInBaseEntityState)[];
13608
+ readonly extends: PrimitiveEntityState | BuiltInBaseEntityState | null;
13610
13609
  errors: EntityError[];
13611
13610
  project: ProjectState;
13612
13611
  constructor(initialData: IPrimitiveEntity | IPrimitiveEntityTransfer, parentProjectState: ProjectState);