interaqt 0.1.0
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/README.md +53 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime/ActivityCall.d.ts +68 -0
- package/dist/runtime/ActivityCall.d.ts.map +1 -0
- package/dist/runtime/ActivityCall.js +379 -0
- package/dist/runtime/ActivityCall.js.map +1 -0
- package/dist/runtime/Controller.d.ts +60 -0
- package/dist/runtime/Controller.d.ts.map +1 -0
- package/dist/runtime/Controller.js +225 -0
- package/dist/runtime/Controller.js.map +1 -0
- package/dist/runtime/InteractionCall.d.ts +102 -0
- package/dist/runtime/InteractionCall.d.ts.map +1 -0
- package/dist/runtime/InteractionCall.js +385 -0
- package/dist/runtime/InteractionCall.js.map +1 -0
- package/dist/runtime/MonoSystem.d.ts +26 -0
- package/dist/runtime/MonoSystem.d.ts.map +1 -0
- package/dist/runtime/MonoSystem.js +331 -0
- package/dist/runtime/MonoSystem.js.map +1 -0
- package/dist/runtime/Mysql.d.ts +35 -0
- package/dist/runtime/Mysql.d.ts.map +1 -0
- package/dist/runtime/Mysql.js +171 -0
- package/dist/runtime/Mysql.js.map +1 -0
- package/dist/runtime/PostgreSQL.d.ts +36 -0
- package/dist/runtime/PostgreSQL.d.ts.map +1 -0
- package/dist/runtime/PostgreSQL.js +172 -0
- package/dist/runtime/PostgreSQL.js.map +1 -0
- package/dist/runtime/SQLite.d.ts +34 -0
- package/dist/runtime/SQLite.d.ts.map +1 -0
- package/dist/runtime/SQLite.js +146 -0
- package/dist/runtime/SQLite.js.map +1 -0
- package/dist/runtime/Scheduler.d.ts +81 -0
- package/dist/runtime/Scheduler.d.ts.map +1 -0
- package/dist/runtime/Scheduler.js +457 -0
- package/dist/runtime/Scheduler.js.map +1 -0
- package/dist/runtime/System.d.ts +312 -0
- package/dist/runtime/System.d.ts.map +1 -0
- package/dist/runtime/System.js +90 -0
- package/dist/runtime/System.js.map +1 -0
- package/dist/runtime/asyncInteractionContext.d.ts +3 -0
- package/dist/runtime/asyncInteractionContext.d.ts.map +1 -0
- package/dist/runtime/asyncInteractionContext.js +3 -0
- package/dist/runtime/asyncInteractionContext.js.map +1 -0
- package/dist/runtime/boolExpression.d.ts +23 -0
- package/dist/runtime/boolExpression.d.ts.map +1 -0
- package/dist/runtime/boolExpression.js +43 -0
- package/dist/runtime/boolExpression.js.map +1 -0
- package/dist/runtime/computedDataHandles/Any.d.ts +52 -0
- package/dist/runtime/computedDataHandles/Any.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/Any.js +152 -0
- package/dist/runtime/computedDataHandles/Any.js.map +1 -0
- package/dist/runtime/computedDataHandles/Computation.d.ts +108 -0
- package/dist/runtime/computedDataHandles/Computation.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/Computation.js +49 -0
- package/dist/runtime/computedDataHandles/Computation.js.map +1 -0
- package/dist/runtime/computedDataHandles/ComputedDataHandle.d.ts +42 -0
- package/dist/runtime/computedDataHandles/ComputedDataHandle.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/ComputedDataHandle.js +4 -0
- package/dist/runtime/computedDataHandles/ComputedDataHandle.js.map +1 -0
- package/dist/runtime/computedDataHandles/Count.d.ts +45 -0
- package/dist/runtime/computedDataHandles/Count.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/Count.js +85 -0
- package/dist/runtime/computedDataHandles/Count.js.map +1 -0
- package/dist/runtime/computedDataHandles/Every.d.ts +56 -0
- package/dist/runtime/computedDataHandles/Every.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/Every.js +178 -0
- package/dist/runtime/computedDataHandles/Every.js.map +1 -0
- package/dist/runtime/computedDataHandles/StateMachine.d.ts +74 -0
- package/dist/runtime/computedDataHandles/StateMachine.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/StateMachine.js +180 -0
- package/dist/runtime/computedDataHandles/StateMachine.js.map +1 -0
- package/dist/runtime/computedDataHandles/Transform.d.ts +26 -0
- package/dist/runtime/computedDataHandles/Transform.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/Transform.js +106 -0
- package/dist/runtime/computedDataHandles/Transform.js.map +1 -0
- package/dist/runtime/computedDataHandles/TransitionFinder.d.ts +57 -0
- package/dist/runtime/computedDataHandles/TransitionFinder.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/TransitionFinder.js +40 -0
- package/dist/runtime/computedDataHandles/TransitionFinder.js.map +1 -0
- package/dist/runtime/computedDataHandles/WeightedSummation.d.ts +57 -0
- package/dist/runtime/computedDataHandles/WeightedSummation.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/WeightedSummation.js +146 -0
- package/dist/runtime/computedDataHandles/WeightedSummation.js.map +1 -0
- package/dist/runtime/computedDataHandles/index.d.ts +7 -0
- package/dist/runtime/computedDataHandles/index.d.ts.map +1 -0
- package/dist/runtime/computedDataHandles/index.js +7 -0
- package/dist/runtime/computedDataHandles/index.js.map +1 -0
- package/dist/runtime/index.d.ts +15 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +15 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/server.d.ts +35 -0
- package/dist/runtime/server.d.ts.map +1 -0
- package/dist/runtime/server.js +171 -0
- package/dist/runtime/server.js.map +1 -0
- package/dist/runtime/types/boolExpression.d.ts +22 -0
- package/dist/runtime/types/boolExpression.d.ts.map +1 -0
- package/dist/runtime/types/boolExpression.js +6 -0
- package/dist/runtime/types/boolExpression.js.map +1 -0
- package/dist/runtime/util.d.ts +10 -0
- package/dist/runtime/util.d.ts.map +1 -0
- package/dist/runtime/util.js +39 -0
- package/dist/runtime/util.js.map +1 -0
- package/dist/shared/BoolExp.d.ts +97 -0
- package/dist/shared/BoolExp.d.ts.map +1 -0
- package/dist/shared/BoolExp.js +252 -0
- package/dist/shared/BoolExp.js.map +1 -0
- package/dist/shared/activity/Activity.d.ts +465 -0
- package/dist/shared/activity/Activity.d.ts.map +1 -0
- package/dist/shared/activity/Activity.js +264 -0
- package/dist/shared/activity/Activity.js.map +1 -0
- package/dist/shared/activity/Condition.d.ts +75 -0
- package/dist/shared/activity/Condition.d.ts.map +1 -0
- package/dist/shared/activity/Condition.js +51 -0
- package/dist/shared/activity/Condition.js.map +1 -0
- package/dist/shared/activity/Data.d.ts +115 -0
- package/dist/shared/activity/Data.d.ts.map +1 -0
- package/dist/shared/activity/Data.js +89 -0
- package/dist/shared/activity/Data.js.map +1 -0
- package/dist/shared/attributive.d.ts +93 -0
- package/dist/shared/attributive.d.ts.map +1 -0
- package/dist/shared/attributive.js +59 -0
- package/dist/shared/attributive.js.map +1 -0
- package/dist/shared/computed.d.ts +607 -0
- package/dist/shared/computed.d.ts.map +1 -0
- package/dist/shared/computed.js +202 -0
- package/dist/shared/computed.js.map +1 -0
- package/dist/shared/createClass.d.ts +102 -0
- package/dist/shared/createClass.d.ts.map +1 -0
- package/dist/shared/createClass.js +276 -0
- package/dist/shared/createClass.js.map +1 -0
- package/dist/shared/dictionary/Dictionary.d.ts +40 -0
- package/dist/shared/dictionary/Dictionary.d.ts.map +1 -0
- package/dist/shared/dictionary/Dictionary.js +51 -0
- package/dist/shared/dictionary/Dictionary.js.map +1 -0
- package/dist/shared/entity/Entity.d.ts +149 -0
- package/dist/shared/entity/Entity.d.ts.map +1 -0
- package/dist/shared/entity/Entity.js +226 -0
- package/dist/shared/entity/Entity.js.map +1 -0
- package/dist/shared/index.d.ts +11 -0
- package/dist/shared/index.d.ts.map +1 -0
- package/dist/shared/index.js +11 -0
- package/dist/shared/index.js.map +1 -0
- package/dist/shared/user/User.d.ts +21 -0
- package/dist/shared/user/User.d.ts.map +1 -0
- package/dist/shared/user/User.js +11 -0
- package/dist/shared/user/User.js.map +1 -0
- package/dist/shared/utils.d.ts +11 -0
- package/dist/shared/utils.d.ts.map +1 -0
- package/dist/shared/utils.js +19 -0
- package/dist/shared/utils.js.map +1 -0
- package/dist/storage/erstorage/AttributeInfo.d.ts +40 -0
- package/dist/storage/erstorage/AttributeInfo.d.ts.map +1 -0
- package/dist/storage/erstorage/AttributeInfo.js +147 -0
- package/dist/storage/erstorage/AttributeInfo.js.map +1 -0
- package/dist/storage/erstorage/AttributeQuery.d.ts +33 -0
- package/dist/storage/erstorage/AttributeQuery.d.ts.map +1 -0
- package/dist/storage/erstorage/AttributeQuery.js +190 -0
- package/dist/storage/erstorage/AttributeQuery.js.map +1 -0
- package/dist/storage/erstorage/EntityQueryHandle.d.ts +29 -0
- package/dist/storage/erstorage/EntityQueryHandle.d.ts.map +1 -0
- package/dist/storage/erstorage/EntityQueryHandle.js +78 -0
- package/dist/storage/erstorage/EntityQueryHandle.js.map +1 -0
- package/dist/storage/erstorage/EntityToTableMap.d.ts +85 -0
- package/dist/storage/erstorage/EntityToTableMap.d.ts.map +1 -0
- package/dist/storage/erstorage/EntityToTableMap.js +262 -0
- package/dist/storage/erstorage/EntityToTableMap.js.map +1 -0
- package/dist/storage/erstorage/LinkInfo.d.ts +35 -0
- package/dist/storage/erstorage/LinkInfo.d.ts.map +1 -0
- package/dist/storage/erstorage/LinkInfo.js +89 -0
- package/dist/storage/erstorage/LinkInfo.js.map +1 -0
- package/dist/storage/erstorage/MatchExp.d.ts +37 -0
- package/dist/storage/erstorage/MatchExp.d.ts.map +1 -0
- package/dist/storage/erstorage/MatchExp.js +211 -0
- package/dist/storage/erstorage/MatchExp.js.map +1 -0
- package/dist/storage/erstorage/Modifier.d.ts +23 -0
- package/dist/storage/erstorage/Modifier.d.ts.map +1 -0
- package/dist/storage/erstorage/Modifier.js +24 -0
- package/dist/storage/erstorage/Modifier.js.map +1 -0
- package/dist/storage/erstorage/NewRecordData.d.ts +42 -0
- package/dist/storage/erstorage/NewRecordData.d.ts.map +1 -0
- package/dist/storage/erstorage/NewRecordData.js +178 -0
- package/dist/storage/erstorage/NewRecordData.js.map +1 -0
- package/dist/storage/erstorage/RecordInfo.d.ts +26 -0
- package/dist/storage/erstorage/RecordInfo.d.ts.map +1 -0
- package/dist/storage/erstorage/RecordInfo.js +111 -0
- package/dist/storage/erstorage/RecordInfo.js.map +1 -0
- package/dist/storage/erstorage/RecordQuery.d.ts +73 -0
- package/dist/storage/erstorage/RecordQuery.d.ts.map +1 -0
- package/dist/storage/erstorage/RecordQuery.js +158 -0
- package/dist/storage/erstorage/RecordQuery.js.map +1 -0
- package/dist/storage/erstorage/RecordQueryAgent.d.ts +84 -0
- package/dist/storage/erstorage/RecordQueryAgent.d.ts.map +1 -0
- package/dist/storage/erstorage/RecordQueryAgent.js +1130 -0
- package/dist/storage/erstorage/RecordQueryAgent.js.map +1 -0
- package/dist/storage/erstorage/Setup.d.ts +49 -0
- package/dist/storage/erstorage/Setup.d.ts.map +1 -0
- package/dist/storage/erstorage/Setup.js +400 -0
- package/dist/storage/erstorage/Setup.js.map +1 -0
- package/dist/storage/erstorage/util.d.ts +6 -0
- package/dist/storage/erstorage/util.d.ts.map +1 -0
- package/dist/storage/erstorage/util.js +25 -0
- package/dist/storage/erstorage/util.js.map +1 -0
- package/dist/storage/index.d.ts +13 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +13 -0
- package/dist/storage/index.js.map +1 -0
- package/dist/storage/utils.d.ts +10 -0
- package/dist/storage/utils.d.ts.map +1 -0
- package/dist/storage/utils.js +48 -0
- package/dist/storage/utils.js.map +1 -0
- package/package.json +59 -0
|
@@ -0,0 +1,465 @@
|
|
|
1
|
+
import { Klass, KlassInstance, KlassInstancePrimitiveProps } from "../createClass.js";
|
|
2
|
+
import { Entity, Relation } from "../entity/Entity.js";
|
|
3
|
+
import { Attributive, Attributives } from "../attributive.js";
|
|
4
|
+
import { Condition, Conditions } from './Condition.js';
|
|
5
|
+
import { Computation, DataAttributive, DataAttributives, Query } from "./Data.js";
|
|
6
|
+
export declare const Action: Klass<{
|
|
7
|
+
name: {
|
|
8
|
+
type: "string";
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>;
|
|
12
|
+
export declare const GetAction: import("../createClass.js").KlassInstanceOfPublic<{
|
|
13
|
+
name: {
|
|
14
|
+
type: "string";
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>;
|
|
18
|
+
export declare const PayloadItem: Klass<{
|
|
19
|
+
name: {
|
|
20
|
+
type: "string";
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
attributives: {
|
|
24
|
+
type: (Klass<{
|
|
25
|
+
stringContent: {
|
|
26
|
+
type: "string";
|
|
27
|
+
};
|
|
28
|
+
content: {
|
|
29
|
+
type: "function";
|
|
30
|
+
required: true;
|
|
31
|
+
collection: false;
|
|
32
|
+
};
|
|
33
|
+
name: {
|
|
34
|
+
type: "string";
|
|
35
|
+
};
|
|
36
|
+
isRef: {
|
|
37
|
+
type: "boolean";
|
|
38
|
+
};
|
|
39
|
+
}> | Klass<{
|
|
40
|
+
content: {
|
|
41
|
+
type: (Klass<import("../BoolExp.js").BoolAtomPublic> | Klass<{
|
|
42
|
+
type: {
|
|
43
|
+
type: "string";
|
|
44
|
+
required: true;
|
|
45
|
+
collection: false;
|
|
46
|
+
defaultValue: () => string;
|
|
47
|
+
};
|
|
48
|
+
operator: {
|
|
49
|
+
type: "string";
|
|
50
|
+
required: true;
|
|
51
|
+
collection: false;
|
|
52
|
+
options: string[];
|
|
53
|
+
defaultValue: () => string;
|
|
54
|
+
};
|
|
55
|
+
left: {
|
|
56
|
+
instanceType: (KlassInstance<Klass<import("../BoolExp.js").BoolAtomPublic>> | import("../BoolExp.js").UnwrappedBoolExpressionInstanceType<any>);
|
|
57
|
+
required: true;
|
|
58
|
+
collection: false;
|
|
59
|
+
};
|
|
60
|
+
right: {
|
|
61
|
+
instanceType: (KlassInstance<Klass<import("../BoolExp.js").BoolAtomPublic>> | import("../BoolExp.js").UnwrappedBoolExpressionInstanceType<any>);
|
|
62
|
+
required: false;
|
|
63
|
+
collection: false;
|
|
64
|
+
};
|
|
65
|
+
}>)[];
|
|
66
|
+
collection: false;
|
|
67
|
+
required: false;
|
|
68
|
+
};
|
|
69
|
+
}>)[];
|
|
70
|
+
collection: false;
|
|
71
|
+
};
|
|
72
|
+
base: {
|
|
73
|
+
type: Klass<{
|
|
74
|
+
name: {
|
|
75
|
+
type: "string";
|
|
76
|
+
required: true;
|
|
77
|
+
constraints: {
|
|
78
|
+
nameFormat: (arg: {
|
|
79
|
+
name: string;
|
|
80
|
+
}) => boolean;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
properties: {
|
|
84
|
+
type: Klass<{
|
|
85
|
+
name: {
|
|
86
|
+
type: "string";
|
|
87
|
+
required: true;
|
|
88
|
+
constraints: {
|
|
89
|
+
format: (arg: {
|
|
90
|
+
name: string;
|
|
91
|
+
}) => boolean;
|
|
92
|
+
length: (arg: {
|
|
93
|
+
name: string;
|
|
94
|
+
}) => boolean;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
type: {
|
|
98
|
+
type: "string";
|
|
99
|
+
required: true;
|
|
100
|
+
options: () => string[];
|
|
101
|
+
};
|
|
102
|
+
collection: {
|
|
103
|
+
type: "boolean";
|
|
104
|
+
required: false;
|
|
105
|
+
};
|
|
106
|
+
defaultValue: {
|
|
107
|
+
type: "function";
|
|
108
|
+
required: false;
|
|
109
|
+
};
|
|
110
|
+
computed: {
|
|
111
|
+
type: "function";
|
|
112
|
+
required: false;
|
|
113
|
+
};
|
|
114
|
+
computedData: {
|
|
115
|
+
type: Klass<any>[];
|
|
116
|
+
collection: false;
|
|
117
|
+
required: false;
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
collection: true;
|
|
121
|
+
required: true;
|
|
122
|
+
constraints: {
|
|
123
|
+
eachNameUnique: (arg: {
|
|
124
|
+
properties: any[];
|
|
125
|
+
}) => boolean;
|
|
126
|
+
};
|
|
127
|
+
defaultValue: () => any[];
|
|
128
|
+
};
|
|
129
|
+
computedData: {
|
|
130
|
+
type: Klass<any>[];
|
|
131
|
+
collection: false;
|
|
132
|
+
required: false;
|
|
133
|
+
};
|
|
134
|
+
}>;
|
|
135
|
+
required: true;
|
|
136
|
+
collection: false;
|
|
137
|
+
};
|
|
138
|
+
isRef: {
|
|
139
|
+
type: "boolean";
|
|
140
|
+
collection: false;
|
|
141
|
+
defaultValue: () => boolean;
|
|
142
|
+
};
|
|
143
|
+
required: {
|
|
144
|
+
type: "boolean";
|
|
145
|
+
collection: false;
|
|
146
|
+
defaultValue: () => boolean;
|
|
147
|
+
};
|
|
148
|
+
isCollection: {
|
|
149
|
+
type: "boolean";
|
|
150
|
+
collection: false;
|
|
151
|
+
defaultValue: () => boolean;
|
|
152
|
+
};
|
|
153
|
+
itemRef: {
|
|
154
|
+
collection: false;
|
|
155
|
+
required: false;
|
|
156
|
+
type: (typeof Attributive | typeof Entity)[];
|
|
157
|
+
};
|
|
158
|
+
}>;
|
|
159
|
+
export declare const Payload: Klass<{
|
|
160
|
+
items: {
|
|
161
|
+
type: Klass<{
|
|
162
|
+
name: {
|
|
163
|
+
type: "string";
|
|
164
|
+
required: true;
|
|
165
|
+
};
|
|
166
|
+
attributives: {
|
|
167
|
+
type: (Klass<{
|
|
168
|
+
stringContent: {
|
|
169
|
+
type: "string";
|
|
170
|
+
};
|
|
171
|
+
content: {
|
|
172
|
+
type: "function";
|
|
173
|
+
required: true;
|
|
174
|
+
collection: false;
|
|
175
|
+
};
|
|
176
|
+
name: {
|
|
177
|
+
type: "string";
|
|
178
|
+
};
|
|
179
|
+
isRef: {
|
|
180
|
+
type: "boolean";
|
|
181
|
+
};
|
|
182
|
+
}> | Klass<{
|
|
183
|
+
content: {
|
|
184
|
+
type: (Klass<import("../BoolExp.js").BoolAtomPublic> | Klass<{
|
|
185
|
+
type: {
|
|
186
|
+
type: "string";
|
|
187
|
+
required: true;
|
|
188
|
+
collection: false;
|
|
189
|
+
defaultValue: () => string;
|
|
190
|
+
};
|
|
191
|
+
operator: {
|
|
192
|
+
type: "string";
|
|
193
|
+
required: true;
|
|
194
|
+
collection: false;
|
|
195
|
+
options: string[];
|
|
196
|
+
defaultValue: () => string;
|
|
197
|
+
};
|
|
198
|
+
left: {
|
|
199
|
+
instanceType: (KlassInstance<Klass<import("../BoolExp.js").BoolAtomPublic>> | import("../BoolExp.js").UnwrappedBoolExpressionInstanceType<any>);
|
|
200
|
+
required: true;
|
|
201
|
+
collection: false;
|
|
202
|
+
};
|
|
203
|
+
right: {
|
|
204
|
+
instanceType: (KlassInstance<Klass<import("../BoolExp.js").BoolAtomPublic>> | import("../BoolExp.js").UnwrappedBoolExpressionInstanceType<any>);
|
|
205
|
+
required: false;
|
|
206
|
+
collection: false;
|
|
207
|
+
};
|
|
208
|
+
}>)[];
|
|
209
|
+
collection: false;
|
|
210
|
+
required: false;
|
|
211
|
+
};
|
|
212
|
+
}>)[];
|
|
213
|
+
collection: false;
|
|
214
|
+
};
|
|
215
|
+
base: {
|
|
216
|
+
type: Klass<{
|
|
217
|
+
name: {
|
|
218
|
+
type: "string";
|
|
219
|
+
required: true;
|
|
220
|
+
constraints: {
|
|
221
|
+
nameFormat: (arg: {
|
|
222
|
+
name: string;
|
|
223
|
+
}) => boolean;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
properties: {
|
|
227
|
+
type: Klass<{
|
|
228
|
+
name: {
|
|
229
|
+
type: "string";
|
|
230
|
+
required: true;
|
|
231
|
+
constraints: {
|
|
232
|
+
format: (arg: {
|
|
233
|
+
name: string;
|
|
234
|
+
}) => boolean;
|
|
235
|
+
length: (arg: {
|
|
236
|
+
name: string;
|
|
237
|
+
}) => boolean;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
type: {
|
|
241
|
+
type: "string";
|
|
242
|
+
required: true;
|
|
243
|
+
options: () => string[];
|
|
244
|
+
};
|
|
245
|
+
collection: {
|
|
246
|
+
type: "boolean";
|
|
247
|
+
required: false;
|
|
248
|
+
};
|
|
249
|
+
defaultValue: {
|
|
250
|
+
type: "function";
|
|
251
|
+
required: false;
|
|
252
|
+
};
|
|
253
|
+
computed: {
|
|
254
|
+
type: "function";
|
|
255
|
+
required: false;
|
|
256
|
+
};
|
|
257
|
+
computedData: {
|
|
258
|
+
type: Klass<any>[];
|
|
259
|
+
collection: false;
|
|
260
|
+
required: false;
|
|
261
|
+
};
|
|
262
|
+
}>;
|
|
263
|
+
collection: true;
|
|
264
|
+
required: true;
|
|
265
|
+
constraints: {
|
|
266
|
+
eachNameUnique: (arg: {
|
|
267
|
+
properties: any[];
|
|
268
|
+
}) => boolean;
|
|
269
|
+
};
|
|
270
|
+
defaultValue: () => any[];
|
|
271
|
+
};
|
|
272
|
+
computedData: {
|
|
273
|
+
type: Klass<any>[];
|
|
274
|
+
collection: false;
|
|
275
|
+
required: false;
|
|
276
|
+
};
|
|
277
|
+
}>;
|
|
278
|
+
required: true;
|
|
279
|
+
collection: false;
|
|
280
|
+
};
|
|
281
|
+
isRef: {
|
|
282
|
+
type: "boolean";
|
|
283
|
+
collection: false;
|
|
284
|
+
defaultValue: () => boolean;
|
|
285
|
+
};
|
|
286
|
+
required: {
|
|
287
|
+
type: "boolean";
|
|
288
|
+
collection: false;
|
|
289
|
+
defaultValue: () => boolean;
|
|
290
|
+
};
|
|
291
|
+
isCollection: {
|
|
292
|
+
type: "boolean";
|
|
293
|
+
collection: false;
|
|
294
|
+
defaultValue: () => boolean;
|
|
295
|
+
};
|
|
296
|
+
itemRef: {
|
|
297
|
+
collection: false;
|
|
298
|
+
required: false;
|
|
299
|
+
type: (typeof Attributive | typeof Entity)[];
|
|
300
|
+
};
|
|
301
|
+
}>;
|
|
302
|
+
collection: true;
|
|
303
|
+
required: true;
|
|
304
|
+
defaultValue: () => never[];
|
|
305
|
+
};
|
|
306
|
+
}>;
|
|
307
|
+
export declare const SideEffect: Klass<{
|
|
308
|
+
name: {
|
|
309
|
+
type: "string";
|
|
310
|
+
required: true;
|
|
311
|
+
collection: false;
|
|
312
|
+
};
|
|
313
|
+
handle: {
|
|
314
|
+
type: "function";
|
|
315
|
+
required: true;
|
|
316
|
+
collection: false;
|
|
317
|
+
};
|
|
318
|
+
}>;
|
|
319
|
+
export type InteractionPublicType = {
|
|
320
|
+
name: {
|
|
321
|
+
type: 'string';
|
|
322
|
+
collection: false;
|
|
323
|
+
required: true;
|
|
324
|
+
};
|
|
325
|
+
conditions: {
|
|
326
|
+
required: false;
|
|
327
|
+
collection: false;
|
|
328
|
+
type: (typeof Conditions | typeof Condition)[];
|
|
329
|
+
};
|
|
330
|
+
userAttributives: {
|
|
331
|
+
required: false;
|
|
332
|
+
collection: false;
|
|
333
|
+
type: (typeof Attributives | typeof Attributive)[];
|
|
334
|
+
};
|
|
335
|
+
userRef: {
|
|
336
|
+
type: typeof Attributive;
|
|
337
|
+
collection: false;
|
|
338
|
+
};
|
|
339
|
+
action: {
|
|
340
|
+
type: typeof Action;
|
|
341
|
+
collection: false;
|
|
342
|
+
required: true;
|
|
343
|
+
};
|
|
344
|
+
payload: {
|
|
345
|
+
type: typeof Payload;
|
|
346
|
+
collection: false;
|
|
347
|
+
};
|
|
348
|
+
sideEffects: {
|
|
349
|
+
type: typeof SideEffect;
|
|
350
|
+
collection: true;
|
|
351
|
+
defaultValue: (...args: any[]) => KlassInstance<typeof SideEffect>[];
|
|
352
|
+
};
|
|
353
|
+
dataAttributives: {
|
|
354
|
+
required: false;
|
|
355
|
+
collection: false;
|
|
356
|
+
type: (typeof DataAttributive | typeof DataAttributives)[];
|
|
357
|
+
};
|
|
358
|
+
data: {
|
|
359
|
+
type: (typeof Entity | typeof Relation | typeof Computation)[];
|
|
360
|
+
required: false;
|
|
361
|
+
collection: false;
|
|
362
|
+
};
|
|
363
|
+
query: {
|
|
364
|
+
type: typeof Query;
|
|
365
|
+
collection: false;
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
export declare const Interaction: Klass<InteractionPublicType>;
|
|
369
|
+
export type GatewayPublicType = {
|
|
370
|
+
name: {
|
|
371
|
+
type: 'string';
|
|
372
|
+
required: true;
|
|
373
|
+
};
|
|
374
|
+
};
|
|
375
|
+
export declare const Gateway: Klass<GatewayPublicType>;
|
|
376
|
+
export type EventPublicType = {
|
|
377
|
+
name: {
|
|
378
|
+
type: 'string';
|
|
379
|
+
required: true;
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
export declare const Event: Klass<EventPublicType>;
|
|
383
|
+
type ActivityPublicType = {
|
|
384
|
+
name: {
|
|
385
|
+
type: 'string';
|
|
386
|
+
collection: false;
|
|
387
|
+
required: true;
|
|
388
|
+
};
|
|
389
|
+
interactions: {
|
|
390
|
+
type: Klass<InteractionPublicType>;
|
|
391
|
+
collection: true;
|
|
392
|
+
defaultValue: (...args: any[]) => KlassInstance<Klass<InteractionPublicType>>[];
|
|
393
|
+
};
|
|
394
|
+
transfers: {
|
|
395
|
+
type: Klass<TransferPublicType>;
|
|
396
|
+
collection: true;
|
|
397
|
+
defaultValue: (...args: any[]) => KlassInstance<Klass<TransferPublicType>>[];
|
|
398
|
+
};
|
|
399
|
+
groups: {
|
|
400
|
+
type: Klass<ActivityGroupPublicType>;
|
|
401
|
+
collection: true;
|
|
402
|
+
defaultValue: (...args: any[]) => KlassInstance<Klass<ActivityGroupPublicType>>[];
|
|
403
|
+
};
|
|
404
|
+
gateways: {
|
|
405
|
+
type: Klass<GatewayPublicType>;
|
|
406
|
+
collection: true;
|
|
407
|
+
defaultValue: (...args: any[]) => KlassInstance<Klass<GatewayPublicType>>[];
|
|
408
|
+
};
|
|
409
|
+
events: {
|
|
410
|
+
type: Klass<EventPublicType>;
|
|
411
|
+
collection: true;
|
|
412
|
+
defaultValue: (...args: any[]) => KlassInstance<Klass<EventPublicType>>[];
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
type UnwrappedActivityInstanceType = {
|
|
416
|
+
name: string;
|
|
417
|
+
interactions: KlassInstance<Klass<InteractionPublicType>>[];
|
|
418
|
+
transfers: KlassInstance<Klass<TransferPublicType>>[];
|
|
419
|
+
groups: KlassInstance<Klass<ActivityGroupPublicType>>[];
|
|
420
|
+
gateways: KlassInstance<Klass<GatewayPublicType>>[];
|
|
421
|
+
events: KlassInstance<Klass<EventPublicType>>[];
|
|
422
|
+
} & KlassInstancePrimitiveProps;
|
|
423
|
+
export type ActivityGroupPublicType = {
|
|
424
|
+
type: {
|
|
425
|
+
type: 'string';
|
|
426
|
+
required: true;
|
|
427
|
+
collection: false;
|
|
428
|
+
};
|
|
429
|
+
activities: {
|
|
430
|
+
instanceType: UnwrappedActivityInstanceType;
|
|
431
|
+
required: false;
|
|
432
|
+
collection: true;
|
|
433
|
+
defaultValue: (...args: any[]) => UnwrappedActivityInstanceType[];
|
|
434
|
+
};
|
|
435
|
+
};
|
|
436
|
+
export type TransferPublicType = {
|
|
437
|
+
name: {
|
|
438
|
+
type: 'string';
|
|
439
|
+
required: true;
|
|
440
|
+
collection: false;
|
|
441
|
+
};
|
|
442
|
+
source: {
|
|
443
|
+
type: (Klass<InteractionPublicType> | Klass<ActivityGroupPublicType> | Klass<GatewayPublicType>)[];
|
|
444
|
+
required: true;
|
|
445
|
+
collection: false;
|
|
446
|
+
};
|
|
447
|
+
target: {
|
|
448
|
+
type: (Klass<InteractionPublicType> | Klass<ActivityGroupPublicType> | Klass<GatewayPublicType>)[];
|
|
449
|
+
required: true;
|
|
450
|
+
collection: false;
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
export declare const Activity: Klass<ActivityPublicType>;
|
|
454
|
+
export declare const ActivityGroup: Klass<ActivityGroupPublicType>;
|
|
455
|
+
export declare const Transfer: Klass<TransferPublicType>;
|
|
456
|
+
export type ActivityInstanceType = KlassInstance<typeof Activity>;
|
|
457
|
+
export type ActivityGroupInstanceType = KlassInstance<Klass<ActivityGroupPublicType>>;
|
|
458
|
+
export type InteractionInstanceType = KlassInstance<typeof Interaction>;
|
|
459
|
+
export type GatewayInstanceType = KlassInstance<typeof Gateway>;
|
|
460
|
+
export type TransferInstanceType = KlassInstance<typeof Transfer>;
|
|
461
|
+
export declare function forEachInteraction(activity: ActivityInstanceType, handle: (i: InteractionInstanceType, g?: ActivityGroupInstanceType) => any, parenGroup?: ActivityGroupInstanceType): void;
|
|
462
|
+
export declare function getInteractions(activity: ActivityInstanceType): InteractionInstanceType[];
|
|
463
|
+
export declare function findRootActivity(interaction: InteractionInstanceType): ActivityInstanceType | null;
|
|
464
|
+
export {};
|
|
465
|
+
//# sourceMappingURL=Activity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Activity.d.ts","sourceRoot":"","sources":["../../../src/shared/activity/Activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,EAAE,aAAa,EAAE,2BAA2B,EAAC,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAC,MAAM,EAAE,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,WAAW,EAAE,YAAY,EAAG,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,gBAAgB,CAAA;AACpD,OAAO,EAAC,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAAE,KAAK,EAAC,MAAM,WAAW,CAAC;AAKhF,eAAO,MAAM,MAAM;;;;;EAQjB,CAAA;AAIF,eAAO,MAAM,SAAS;;;;;EAA6B,CAAA;AAGnD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuCmB,CAAC,OAAO,WAAW,GAAG,OAAO,MAAM,CAAC,EAAE;;EAG/E,CAAA;AAIF,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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