@elyx-code/project-logic-tree 0.0.6089 → 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.
- package/dist/definitions/mock/default-mock/functions/replace-back-account-in-company/search-person-by-id/person-id-input.d.ts +2 -2
- package/dist/definitions/types/search.d.ts +4 -4
- package/dist/index.js +11 -18
- package/dist/index.umd.cjs +2 -2
- package/dist/tree/state/argument-declaration/argument-declaration.d.ts +3 -4
- package/dist/tree/state/search/search.d.ts +3 -4
- package/dist/tree/state/value-descriptor/value-descriptor.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { IActionInputMapTransfer, IArgumentDeclarationReference,
|
|
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:
|
|
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,
|
|
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: (
|
|
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:
|
|
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:
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
17771
|
-
|
|
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 ? (
|
|
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),
|
|
@@ -38326,6 +38316,9 @@ ${cn(
|
|
|
38326
38316
|
var e;
|
|
38327
38317
|
return ((e = this.dataType) == null ? void 0 : e.defaultValue) || null;
|
|
38328
38318
|
}
|
|
38319
|
+
removeDataType() {
|
|
38320
|
+
return this.dataType = null, this;
|
|
38321
|
+
}
|
|
38329
38322
|
};
|
|
38330
38323
|
c(Ae, "MUTABLE_BASE_PROPERTIES", ["name", "description", "required"]), c(Ae, "INMUTABLE_BASE_PROPERTIES", [
|
|
38331
38324
|
"id",
|