@elyx-code/project-logic-tree 0.0.6090 → 0.0.6091

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.
@@ -1,9 +1,9 @@
1
- import { IActionInputMapTransfer, IArgumentDeclarationReference, IArgumentDeclarationTransfer, IDataTypeTransfer, ISearchReference } from '../../../../..';
1
+ import { IActionInputMapTransfer, IArgumentDeclarationReference, IDataTypeTransfer, ISearchReference, IValueDescriptorTransfer } from '../../../../..';
2
2
 
3
3
  export declare const searchPersonByIdInputDeclarationDatatypeParentRef: IArgumentDeclarationReference;
4
4
  export declare const searchPersonByIdInputDeclarationDatatype: IDataTypeTransfer;
5
5
  export declare const searchPersonByIdInputDeclarationParentRef: ISearchReference;
6
- export declare const searchPersonByIdInputDeclaration: IArgumentDeclarationTransfer;
6
+ export declare const searchPersonByIdInputDeclaration: IValueDescriptorTransfer;
7
7
  export declare const searchPersonByIdInputMapParentRef: ISearchReference;
8
8
  export declare const searchPersonByIdInputMapReadsValueRef: IArgumentDeclarationReference;
9
9
  export declare const searchPersonByIdInputMap: IActionInputMapTransfer;
@@ -1,5 +1,5 @@
1
1
  import { ISelectQuery } from '@elyx-code/definitions';
2
- import { CallableEntity, CallableEntityTransfer, EntityWithLogicScope, EntityWithLogicScopeReference, IProject, IProjectReference, IActionOutputMap, IActionOutputMapTransfer, IActionInputMap, EntityType, ICalledEntity, ICalledEntityTransfer, IChildEntity, IChildEntityTransfer, IGenericBase, IArgumentDeclaration, IArgumentDeclarationTransfer, IValueDescriptor, IActionInputMapTransfer, IValueDescriptorTransfer, IBaseCanvasDraggable, ICalledEntityShallowTransfer, IChildEntityShallowTransfer, IArgumentDeclarationReference, IInputMapReference, IOutputMapReference, CallableEntityReference, IValueDescriptorReference, IChildEntityGenerationTarget, ICalledEntityGenerationTarget, EntityId, EntryPointEntityReference, EntryPointEntityTransfer, EntryPointEntity, PassThroughCallableEntityReference, PassThroughCallableEntityTransfer, PassThroughCallableEntity } from '.';
2
+ import { CallableEntity, CallableEntityTransfer, EntityWithLogicScope, EntityWithLogicScopeReference, IProject, IProjectReference, IActionOutputMap, IActionOutputMapTransfer, IActionInputMap, EntityType, ICalledEntity, ICalledEntityTransfer, IChildEntity, IChildEntityTransfer, IGenericBase, IValueDescriptor, IActionInputMapTransfer, IValueDescriptorTransfer, IBaseCanvasDraggable, ICalledEntityShallowTransfer, IChildEntityShallowTransfer, IValueDescriptorReference, IInputMapReference, IOutputMapReference, CallableEntityReference, IChildEntityGenerationTarget, ICalledEntityGenerationTarget, EntityId, EntryPointEntityReference, EntryPointEntityTransfer, EntryPointEntity, PassThroughCallableEntityReference, PassThroughCallableEntityTransfer, PassThroughCallableEntity } from '.';
3
3
 
4
4
  export interface ISearch_meta extends IGenericBase, IBaseCanvasDraggable {
5
5
  type: EntityType.Search;
@@ -8,7 +8,7 @@ export interface ISearch_meta extends IGenericBase, IBaseCanvasDraggable {
8
8
  }
9
9
  export interface ISearchTransfer extends ISearch_meta, IChildEntityTransfer, ICalledEntityTransfer, IBaseCanvasDraggable {
10
10
  type: EntityType.Search;
11
- inputsDeclarations: (IArgumentDeclaration | IArgumentDeclarationTransfer)[];
11
+ inputsDeclarations: (IValueDescriptor | IValueDescriptorTransfer)[];
12
12
  inputs: (IActionInputMap | IActionInputMapTransfer)[];
13
13
  outputsDeclarations: (IValueDescriptor | IValueDescriptorTransfer)[];
14
14
  outputs: (IActionOutputMap | IActionOutputMapTransfer)[];
@@ -33,7 +33,7 @@ export interface ISearchGenerationTarget extends IChildEntityGenerationTarget, I
33
33
  parent?: EntityId;
34
34
  }
35
35
  export interface ISearchShallowTransfer extends ISearch_meta, IChildEntityShallowTransfer, ICalledEntityShallowTransfer {
36
- inputsDeclarations: IArgumentDeclarationReference[];
36
+ inputsDeclarations: IValueDescriptorReference[];
37
37
  inputs: IInputMapReference[];
38
38
  outputsDeclarations: IValueDescriptorReference[];
39
39
  outputs: IOutputMapReference[];
@@ -49,7 +49,7 @@ export interface ISearchShallowTransfer extends ISearch_meta, IChildEntityShallo
49
49
  export interface ISearch extends ISearchTransfer, IChildEntity, ICalledEntity {
50
50
  successCalls: CallableEntity[];
51
51
  errorCalls: CallableEntity[];
52
- inputsDeclarations: IArgumentDeclaration[];
52
+ inputsDeclarations: IValueDescriptor[];
53
53
  inputs: IActionInputMap[];
54
54
  outputsDeclarations: IValueDescriptor[];
55
55
  outputs: IActionOutputMap[];
package/dist/index.js CHANGED
@@ -17701,16 +17701,15 @@ const kF = {
17701
17701
  entityId: oi
17702
17702
  }, Lh = {
17703
17703
  id: "search-person-by-id-input-declaration-id",
17704
- type: n.ArgumentDeclaration,
17704
+ type: n.ValueDescriptor,
17705
17705
  version: 1,
17706
17706
  dataType: null,
17707
17707
  name: "Person ID",
17708
17708
  description: "The unique identifier (ID) property of the person entity",
17709
- implements: null,
17709
+ parentRelationType: A.FixedArguments,
17710
17710
  index: 0,
17711
17711
  required: !0,
17712
- parent: kF,
17713
- writesValues: []
17712
+ parent: kF
17714
17713
  }, qF = {
17715
17714
  type: n.GenericReference,
17716
17715
  id: "search-person-by-id-input-map-parent-ref-id",
@@ -17766,18 +17765,9 @@ const kF = {
17766
17765
  description: "Searches for a person entity given the UUID",
17767
17766
  query: WF,
17768
17767
  inputsDeclarations: [Lh],
17769
- inputs: [
17770
- // Person ID (uuid primitive data type)
17771
- Gh
17772
- ],
17773
- outputsDeclarations: [
17774
- // Person entity
17775
- $h
17776
- ],
17777
- outputs: [
17778
- // Person entity
17779
- UF
17780
- ],
17768
+ inputs: [Gh],
17769
+ outputsDeclarations: [$h],
17770
+ outputs: [UF],
17781
17771
  calledByError: [],
17782
17772
  calledByEntry: [HF],
17783
17773
  calledBySuccess: [],
@@ -38115,9 +38105,9 @@ ${cn(
38115
38105
  }
38116
38106
  // Add the current entity to the project state in all the right places including other instances it is related to
38117
38107
  addSelfToProject() {
38118
- var a, s, o, l;
38108
+ var a, s, o, l, u, p;
38119
38109
  const e = [this], t = [], i = [];
38120
- return this.parentRelationType === A.FixedArguments || this.parentRelationType === A.DynamicArgument ? (s = (a = this.parent) == null ? void 0 : a.addInput) == null || s.call(a, this) : this.parentRelationType === A.FixedReturns || this.parentRelationType === A.DynamicReturn ? (l = (o = this.parent) == null ? void 0 : o.addOutput) == null || l.call(o, this) : this.parentRelationType === A.ReturnedError && this.parent && (this.parent.error = this), this.parent && ([n.Search, n.Loop].includes(this.parent.type) && this.parent.addOutputDeclaration(this), e.push(this.parent)), {
38110
+ return this.parentRelationType === A.FixedArguments || this.parentRelationType === A.DynamicArgument ? ((a = this.parent) == null ? void 0 : a.type) === n.Search ? this.parent.addInputDeclaration(this) : (o = (s = this.parent) == null ? void 0 : s.addInput) == null || o.call(s, this) : this.parentRelationType === A.FixedReturns || this.parentRelationType === A.DynamicReturn ? ((l = this.parent) == null ? void 0 : l.type) === n.Search ? this.parent.addOutputDeclaration(this) : (p = (u = this.parent) == null ? void 0 : u.addOutput) == null || p.call(u, this) : this.parentRelationType === A.ReturnedError && this.parent && (this.parent.error = this), this.parent && this.parent.type === n.Loop && (this.parent.addOutputDeclaration(this), e.push(this.parent)), {
38121
38111
  updated: T(e),
38122
38112
  added: T(t),
38123
38113
  removed: T(i),