interaqt 0.1.0 → 0.2.1
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/agent/.claude/agents/code-generation-handler.md +598 -0
- package/agent/.claude/agents/computation-generation-handler.md +290 -0
- package/agent/.claude/agents/implement-design-handler.md +179 -0
- package/agent/.claude/agents/permission-generation-handler.md +202 -0
- package/agent/.claude/agents/requirements-analysis-handler-bak.md +530 -0
- package/agent/.claude/agents/requirements-analysis-handler.md +720 -0
- package/agent/.claude/settings.local.json +46 -0
- package/agent/CLAUDE.md +72 -0
- package/dist/index.js +10508 -4
- package/dist/index.js.map +1 -1
- package/dist/runtime/ComputationSourceMap.d.ts +117 -0
- package/dist/runtime/ComputationSourceMap.d.ts.map +1 -0
- package/dist/runtime/Controller.d.ts +37 -26
- package/dist/runtime/Controller.d.ts.map +1 -1
- package/dist/runtime/ExternalSynchronizer.d.ts +6 -0
- package/dist/runtime/ExternalSynchronizer.d.ts.map +1 -0
- package/dist/runtime/MonoSystem.d.ts +29 -17
- package/dist/runtime/MonoSystem.d.ts.map +1 -1
- package/dist/runtime/Mysql.d.ts +2 -2
- package/dist/runtime/PGLite.d.ts +35 -0
- package/dist/runtime/PGLite.d.ts.map +1 -0
- package/dist/runtime/PostgreSQL.d.ts +2 -2
- package/dist/runtime/SQLite.d.ts +3 -3
- package/dist/runtime/SQLite.d.ts.map +1 -1
- package/dist/runtime/Scheduler.d.ts +28 -61
- package/dist/runtime/Scheduler.d.ts.map +1 -1
- package/dist/runtime/System.d.ts +18 -224
- package/dist/runtime/System.d.ts.map +1 -1
- package/dist/runtime/{ActivityCall.d.ts → activity/ActivityCall.d.ts} +6 -7
- package/dist/runtime/activity/ActivityCall.d.ts.map +1 -0
- package/dist/runtime/activity/ActivityManager.d.ts +44 -0
- package/dist/runtime/activity/ActivityManager.d.ts.map +1 -0
- package/dist/runtime/{InteractionCall.d.ts → activity/InteractionCall.d.ts} +28 -41
- package/dist/runtime/activity/InteractionCall.d.ts.map +1 -0
- package/dist/runtime/computations/Any.d.ts +71 -0
- package/dist/runtime/computations/Any.d.ts.map +1 -0
- package/dist/runtime/computations/Average.d.ts +69 -0
- package/dist/runtime/computations/Average.d.ts.map +1 -0
- package/dist/runtime/computations/Computation.d.ts +138 -0
- package/dist/runtime/computations/Computation.d.ts.map +1 -0
- package/dist/runtime/computations/Count.d.ts +73 -0
- package/dist/runtime/computations/Count.d.ts.map +1 -0
- package/dist/runtime/computations/Custom.d.ts +45 -0
- package/dist/runtime/computations/Custom.d.ts.map +1 -0
- package/dist/runtime/computations/Every.d.ts +74 -0
- package/dist/runtime/computations/Every.d.ts.map +1 -0
- package/dist/runtime/computations/MathResolver.d.ts +60 -0
- package/dist/runtime/computations/MathResolver.d.ts.map +1 -0
- package/dist/runtime/computations/RealTime.d.ts +66 -0
- package/dist/runtime/computations/RealTime.d.ts.map +1 -0
- package/dist/runtime/{computedDataHandles → computations}/StateMachine.d.ts +31 -22
- package/dist/runtime/computations/StateMachine.d.ts.map +1 -0
- package/dist/runtime/computations/Summation.d.ts +66 -0
- package/dist/runtime/computations/Summation.d.ts.map +1 -0
- package/dist/runtime/computations/Transform.d.ts +29 -0
- package/dist/runtime/computations/Transform.d.ts.map +1 -0
- package/dist/runtime/computations/TransitionFinder.d.ts +11 -0
- package/dist/runtime/computations/TransitionFinder.d.ts.map +1 -0
- package/dist/runtime/computations/WeightedSummation.d.ts +71 -0
- package/dist/runtime/computations/WeightedSummation.d.ts.map +1 -0
- package/dist/runtime/computations/index.d.ts +22 -0
- package/dist/runtime/computations/index.d.ts.map +1 -0
- package/dist/runtime/errors/ActivityErrors.d.ts +40 -0
- package/dist/runtime/errors/ActivityErrors.d.ts.map +1 -0
- package/dist/runtime/errors/ComputationErrors.d.ts +61 -0
- package/dist/runtime/errors/ComputationErrors.d.ts.map +1 -0
- package/dist/runtime/errors/ConditionErrors.d.ts +33 -0
- package/dist/runtime/errors/ConditionErrors.d.ts.map +1 -0
- package/dist/runtime/errors/FrameworkError.d.ts +77 -0
- package/dist/runtime/errors/FrameworkError.d.ts.map +1 -0
- package/dist/runtime/errors/InteractionErrors.d.ts +21 -0
- package/dist/runtime/errors/InteractionErrors.d.ts.map +1 -0
- package/dist/runtime/errors/SystemErrors.d.ts +16 -0
- package/dist/runtime/errors/SystemErrors.d.ts.map +1 -0
- package/dist/runtime/errors/index.d.ts +37 -0
- package/dist/runtime/errors/index.d.ts.map +1 -0
- package/dist/runtime/index.d.ts +9 -7
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/shared/Action.d.ts +38 -0
- package/dist/shared/Action.d.ts.map +1 -0
- package/dist/shared/Activity.d.ts +178 -0
- package/dist/shared/Activity.d.ts.map +1 -0
- package/dist/shared/Any.d.ts +82 -0
- package/dist/shared/Any.d.ts.map +1 -0
- package/dist/shared/Attributive.d.ts +92 -0
- package/dist/shared/Attributive.d.ts.map +1 -0
- package/dist/shared/Average.d.ts +59 -0
- package/dist/shared/Average.d.ts.map +1 -0
- package/dist/shared/BoolExp.d.ts +139 -63
- package/dist/shared/BoolExp.d.ts.map +1 -1
- package/dist/shared/Computation.d.ts +23 -0
- package/dist/shared/Computation.d.ts.map +1 -0
- package/dist/shared/Condition.d.ts +43 -0
- package/dist/shared/Condition.d.ts.map +1 -0
- package/dist/shared/Conditions.d.ts +38 -0
- package/dist/shared/Conditions.d.ts.map +1 -0
- package/dist/shared/Count.d.ts +77 -0
- package/dist/shared/Count.d.ts.map +1 -0
- package/dist/shared/Custom.d.ts +108 -0
- package/dist/shared/Custom.d.ts.map +1 -0
- package/dist/shared/Data.d.ts +121 -0
- package/dist/shared/Data.d.ts.map +1 -0
- package/dist/shared/DataAttributives.d.ts +38 -0
- package/dist/shared/DataAttributives.d.ts.map +1 -0
- package/dist/shared/Entity.d.ts +96 -0
- package/dist/shared/Entity.d.ts.map +1 -0
- package/dist/shared/Event.d.ts +36 -0
- package/dist/shared/Event.d.ts.map +1 -0
- package/dist/shared/Every.d.ts +85 -0
- package/dist/shared/Every.d.ts.map +1 -0
- package/dist/shared/Gateway.d.ts +36 -0
- package/dist/shared/Gateway.d.ts.map +1 -0
- package/dist/shared/Interaction.d.ts +108 -0
- package/dist/shared/Interaction.d.ts.map +1 -0
- package/dist/shared/Payload.d.ts +39 -0
- package/dist/shared/Payload.d.ts.map +1 -0
- package/dist/shared/PayloadItem.d.ts +85 -0
- package/dist/shared/PayloadItem.d.ts.map +1 -0
- package/dist/shared/Property.d.ts +83 -0
- package/dist/shared/Property.d.ts.map +1 -0
- package/dist/shared/RealDictionary.d.ts +94 -0
- package/dist/shared/RealDictionary.d.ts.map +1 -0
- package/dist/shared/RealTime.d.ts +66 -0
- package/dist/shared/RealTime.d.ts.map +1 -0
- package/dist/shared/RefContainer.d.ts +89 -0
- package/dist/shared/RefContainer.d.ts.map +1 -0
- package/dist/shared/Relation.d.ts +140 -0
- package/dist/shared/Relation.d.ts.map +1 -0
- package/dist/shared/SideEffect.d.ts +45 -0
- package/dist/shared/SideEffect.d.ts.map +1 -0
- package/dist/shared/StateMachine.d.ts +55 -0
- package/dist/shared/StateMachine.d.ts.map +1 -0
- package/dist/shared/StateNode.d.ts +45 -0
- package/dist/shared/StateNode.d.ts.map +1 -0
- package/dist/shared/StateTransfer.d.ts +63 -0
- package/dist/shared/StateTransfer.d.ts.map +1 -0
- package/dist/shared/Summation.d.ts +59 -0
- package/dist/shared/Summation.d.ts.map +1 -0
- package/dist/shared/Transform.d.ts +54 -0
- package/dist/shared/Transform.d.ts.map +1 -0
- package/dist/shared/User.d.ts +10 -0
- package/dist/shared/User.d.ts.map +1 -0
- package/dist/shared/WeightedSummation.d.ts +82 -0
- package/dist/shared/WeightedSummation.d.ts.map +1 -0
- package/dist/shared/index.d.ts +35 -9
- package/dist/shared/index.d.ts.map +1 -1
- package/dist/shared/init.d.ts +3 -0
- package/dist/shared/init.d.ts.map +1 -0
- package/dist/shared/interfaces.d.ts +72 -0
- package/dist/shared/interfaces.d.ts.map +1 -0
- package/dist/shared/types.d.ts +77 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/dist/shared/utils.d.ts +16 -10
- package/dist/shared/utils.d.ts.map +1 -1
- package/dist/storage/erstorage/AttributeInfo.d.ts +8 -3
- package/dist/storage/erstorage/AttributeInfo.d.ts.map +1 -1
- package/dist/storage/erstorage/AttributeQuery.d.ts +4 -3
- package/dist/storage/erstorage/AttributeQuery.d.ts.map +1 -1
- package/dist/storage/erstorage/EntityQueryHandle.d.ts +18 -17
- package/dist/storage/erstorage/EntityQueryHandle.d.ts.map +1 -1
- package/dist/storage/erstorage/EntityToTableMap.d.ts +27 -5
- package/dist/storage/erstorage/EntityToTableMap.d.ts.map +1 -1
- package/dist/storage/erstorage/FilteredEntityManager.d.ts +70 -0
- package/dist/storage/erstorage/FilteredEntityManager.d.ts.map +1 -0
- package/dist/storage/erstorage/LinkInfo.d.ts +10 -3
- package/dist/storage/erstorage/LinkInfo.d.ts.map +1 -1
- package/dist/storage/erstorage/MatchExp.d.ts +19 -9
- package/dist/storage/erstorage/MatchExp.d.ts.map +1 -1
- package/dist/storage/erstorage/MergedItemProcessor.d.ts +25 -0
- package/dist/storage/erstorage/MergedItemProcessor.d.ts.map +1 -0
- package/dist/storage/erstorage/Modifier.d.ts +1 -1
- package/dist/storage/erstorage/NewRecordData.d.ts +16 -9
- package/dist/storage/erstorage/NewRecordData.d.ts.map +1 -1
- package/dist/storage/erstorage/RecordInfo.d.ts +11 -2
- package/dist/storage/erstorage/RecordInfo.d.ts.map +1 -1
- package/dist/storage/erstorage/RecordQuery.d.ts +9 -8
- package/dist/storage/erstorage/RecordQuery.d.ts.map +1 -1
- package/dist/storage/erstorage/RecordQueryAgent.d.ts +26 -13
- package/dist/storage/erstorage/RecordQueryAgent.d.ts.map +1 -1
- package/dist/storage/erstorage/Setup.d.ts +49 -11
- package/dist/storage/erstorage/Setup.d.ts.map +1 -1
- package/dist/storage/erstorage/util.d.ts.map +1 -1
- package/package.json +44 -20
- package/README.md +0 -53
- package/dist/runtime/ActivityCall.d.ts.map +0 -1
- package/dist/runtime/ActivityCall.js +0 -379
- package/dist/runtime/ActivityCall.js.map +0 -1
- package/dist/runtime/Controller.js +0 -225
- package/dist/runtime/Controller.js.map +0 -1
- package/dist/runtime/InteractionCall.d.ts.map +0 -1
- package/dist/runtime/InteractionCall.js +0 -385
- package/dist/runtime/InteractionCall.js.map +0 -1
- package/dist/runtime/MonoSystem.js +0 -331
- package/dist/runtime/MonoSystem.js.map +0 -1
- package/dist/runtime/Mysql.js +0 -171
- package/dist/runtime/Mysql.js.map +0 -1
- package/dist/runtime/PostgreSQL.js +0 -172
- package/dist/runtime/PostgreSQL.js.map +0 -1
- package/dist/runtime/SQLite.js +0 -146
- package/dist/runtime/SQLite.js.map +0 -1
- package/dist/runtime/Scheduler.js +0 -457
- package/dist/runtime/Scheduler.js.map +0 -1
- package/dist/runtime/System.js +0 -90
- package/dist/runtime/System.js.map +0 -1
- package/dist/runtime/asyncInteractionContext.js +0 -3
- package/dist/runtime/asyncInteractionContext.js.map +0 -1
- package/dist/runtime/boolExpression.js +0 -43
- package/dist/runtime/boolExpression.js.map +0 -1
- package/dist/runtime/computedDataHandles/Any.d.ts +0 -52
- package/dist/runtime/computedDataHandles/Any.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/Any.js +0 -152
- package/dist/runtime/computedDataHandles/Any.js.map +0 -1
- package/dist/runtime/computedDataHandles/Computation.d.ts +0 -108
- package/dist/runtime/computedDataHandles/Computation.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/Computation.js +0 -49
- package/dist/runtime/computedDataHandles/Computation.js.map +0 -1
- package/dist/runtime/computedDataHandles/ComputedDataHandle.d.ts +0 -42
- package/dist/runtime/computedDataHandles/ComputedDataHandle.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/ComputedDataHandle.js +0 -4
- package/dist/runtime/computedDataHandles/ComputedDataHandle.js.map +0 -1
- package/dist/runtime/computedDataHandles/Count.d.ts +0 -45
- package/dist/runtime/computedDataHandles/Count.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/Count.js +0 -85
- package/dist/runtime/computedDataHandles/Count.js.map +0 -1
- package/dist/runtime/computedDataHandles/Every.d.ts +0 -56
- package/dist/runtime/computedDataHandles/Every.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/Every.js +0 -178
- package/dist/runtime/computedDataHandles/Every.js.map +0 -1
- package/dist/runtime/computedDataHandles/StateMachine.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/StateMachine.js +0 -180
- package/dist/runtime/computedDataHandles/StateMachine.js.map +0 -1
- package/dist/runtime/computedDataHandles/Transform.d.ts +0 -26
- package/dist/runtime/computedDataHandles/Transform.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/Transform.js +0 -106
- package/dist/runtime/computedDataHandles/Transform.js.map +0 -1
- package/dist/runtime/computedDataHandles/TransitionFinder.d.ts +0 -57
- package/dist/runtime/computedDataHandles/TransitionFinder.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/TransitionFinder.js +0 -40
- package/dist/runtime/computedDataHandles/TransitionFinder.js.map +0 -1
- package/dist/runtime/computedDataHandles/WeightedSummation.d.ts +0 -57
- package/dist/runtime/computedDataHandles/WeightedSummation.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/WeightedSummation.js +0 -146
- package/dist/runtime/computedDataHandles/WeightedSummation.js.map +0 -1
- package/dist/runtime/computedDataHandles/index.d.ts +0 -7
- package/dist/runtime/computedDataHandles/index.d.ts.map +0 -1
- package/dist/runtime/computedDataHandles/index.js +0 -7
- package/dist/runtime/computedDataHandles/index.js.map +0 -1
- package/dist/runtime/index.js +0 -15
- package/dist/runtime/index.js.map +0 -1
- package/dist/runtime/server.d.ts +0 -35
- package/dist/runtime/server.d.ts.map +0 -1
- package/dist/runtime/server.js +0 -171
- package/dist/runtime/server.js.map +0 -1
- package/dist/runtime/types/boolExpression.js +0 -6
- package/dist/runtime/types/boolExpression.js.map +0 -1
- package/dist/runtime/util.js +0 -39
- package/dist/runtime/util.js.map +0 -1
- package/dist/shared/BoolExp.js +0 -252
- package/dist/shared/BoolExp.js.map +0 -1
- package/dist/shared/activity/Activity.d.ts +0 -465
- package/dist/shared/activity/Activity.d.ts.map +0 -1
- package/dist/shared/activity/Activity.js +0 -264
- package/dist/shared/activity/Activity.js.map +0 -1
- package/dist/shared/activity/Condition.d.ts +0 -75
- package/dist/shared/activity/Condition.d.ts.map +0 -1
- package/dist/shared/activity/Condition.js +0 -51
- package/dist/shared/activity/Condition.js.map +0 -1
- package/dist/shared/activity/Data.d.ts +0 -115
- package/dist/shared/activity/Data.d.ts.map +0 -1
- package/dist/shared/activity/Data.js +0 -89
- package/dist/shared/activity/Data.js.map +0 -1
- package/dist/shared/attributive.d.ts +0 -93
- package/dist/shared/attributive.d.ts.map +0 -1
- package/dist/shared/attributive.js +0 -59
- package/dist/shared/attributive.js.map +0 -1
- package/dist/shared/computed.d.ts +0 -607
- package/dist/shared/computed.d.ts.map +0 -1
- package/dist/shared/computed.js +0 -202
- package/dist/shared/computed.js.map +0 -1
- package/dist/shared/createClass.d.ts +0 -102
- package/dist/shared/createClass.d.ts.map +0 -1
- package/dist/shared/createClass.js +0 -276
- package/dist/shared/createClass.js.map +0 -1
- package/dist/shared/dictionary/Dictionary.d.ts +0 -40
- package/dist/shared/dictionary/Dictionary.d.ts.map +0 -1
- package/dist/shared/dictionary/Dictionary.js +0 -51
- package/dist/shared/dictionary/Dictionary.js.map +0 -1
- package/dist/shared/entity/Entity.d.ts +0 -149
- package/dist/shared/entity/Entity.d.ts.map +0 -1
- package/dist/shared/entity/Entity.js +0 -226
- package/dist/shared/entity/Entity.js.map +0 -1
- package/dist/shared/index.js +0 -11
- package/dist/shared/index.js.map +0 -1
- package/dist/shared/user/User.d.ts +0 -21
- package/dist/shared/user/User.d.ts.map +0 -1
- package/dist/shared/user/User.js +0 -11
- package/dist/shared/user/User.js.map +0 -1
- package/dist/shared/utils.js +0 -19
- package/dist/shared/utils.js.map +0 -1
- package/dist/storage/erstorage/AttributeInfo.js +0 -147
- package/dist/storage/erstorage/AttributeInfo.js.map +0 -1
- package/dist/storage/erstorage/AttributeQuery.js +0 -190
- package/dist/storage/erstorage/AttributeQuery.js.map +0 -1
- package/dist/storage/erstorage/EntityQueryHandle.js +0 -78
- package/dist/storage/erstorage/EntityQueryHandle.js.map +0 -1
- package/dist/storage/erstorage/EntityToTableMap.js +0 -262
- package/dist/storage/erstorage/EntityToTableMap.js.map +0 -1
- package/dist/storage/erstorage/LinkInfo.js +0 -89
- package/dist/storage/erstorage/LinkInfo.js.map +0 -1
- package/dist/storage/erstorage/MatchExp.js +0 -211
- package/dist/storage/erstorage/MatchExp.js.map +0 -1
- package/dist/storage/erstorage/Modifier.js +0 -24
- package/dist/storage/erstorage/Modifier.js.map +0 -1
- package/dist/storage/erstorage/NewRecordData.js +0 -178
- package/dist/storage/erstorage/NewRecordData.js.map +0 -1
- package/dist/storage/erstorage/RecordInfo.js +0 -111
- package/dist/storage/erstorage/RecordInfo.js.map +0 -1
- package/dist/storage/erstorage/RecordQuery.js +0 -158
- package/dist/storage/erstorage/RecordQuery.js.map +0 -1
- package/dist/storage/erstorage/RecordQueryAgent.js +0 -1130
- package/dist/storage/erstorage/RecordQueryAgent.js.map +0 -1
- package/dist/storage/erstorage/Setup.js +0 -400
- package/dist/storage/erstorage/Setup.js.map +0 -1
- package/dist/storage/erstorage/util.js +0 -25
- package/dist/storage/erstorage/util.js.map +0 -1
- package/dist/storage/index.js +0 -13
- package/dist/storage/index.js.map +0 -1
- package/dist/storage/utils.js +0 -48
- package/dist/storage/utils.js.map +0 -1
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
export interface DataAttributiveInstance extends IInstance {
|
|
3
|
+
content: Function;
|
|
4
|
+
name?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DataAttributiveCreateArgs {
|
|
7
|
+
content: Function;
|
|
8
|
+
name?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class DataAttributive implements DataAttributiveInstance {
|
|
11
|
+
uuid: string;
|
|
12
|
+
_type: string;
|
|
13
|
+
_options?: {
|
|
14
|
+
uuid?: string;
|
|
15
|
+
};
|
|
16
|
+
content: Function;
|
|
17
|
+
name?: string;
|
|
18
|
+
constructor(args: DataAttributiveCreateArgs, options?: {
|
|
19
|
+
uuid?: string;
|
|
20
|
+
});
|
|
21
|
+
static isKlass: true;
|
|
22
|
+
static displayName: string;
|
|
23
|
+
static instances: DataAttributiveInstance[];
|
|
24
|
+
static public: {
|
|
25
|
+
content: {
|
|
26
|
+
type: "function";
|
|
27
|
+
required: true;
|
|
28
|
+
collection: false;
|
|
29
|
+
};
|
|
30
|
+
name: {
|
|
31
|
+
type: "string";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
static create(args: DataAttributiveCreateArgs, options?: {
|
|
35
|
+
uuid?: string;
|
|
36
|
+
}): DataAttributiveInstance;
|
|
37
|
+
static stringify(instance: DataAttributiveInstance): string;
|
|
38
|
+
static clone(instance: DataAttributiveInstance, deep: boolean): DataAttributiveInstance;
|
|
39
|
+
static is(obj: unknown): obj is DataAttributiveInstance;
|
|
40
|
+
static check(data: unknown): boolean;
|
|
41
|
+
static parse(json: string): DataAttributiveInstance;
|
|
42
|
+
}
|
|
43
|
+
export interface QueryItemInstance extends IInstance {
|
|
44
|
+
name: string;
|
|
45
|
+
value: string;
|
|
46
|
+
}
|
|
47
|
+
export interface QueryItemCreateArgs {
|
|
48
|
+
name: string;
|
|
49
|
+
value: any;
|
|
50
|
+
}
|
|
51
|
+
export declare class QueryItem implements QueryItemInstance {
|
|
52
|
+
uuid: string;
|
|
53
|
+
_type: string;
|
|
54
|
+
_options?: {
|
|
55
|
+
uuid?: string;
|
|
56
|
+
};
|
|
57
|
+
name: string;
|
|
58
|
+
value: string;
|
|
59
|
+
constructor(args: QueryItemCreateArgs, options?: {
|
|
60
|
+
uuid?: string;
|
|
61
|
+
});
|
|
62
|
+
static isKlass: true;
|
|
63
|
+
static displayName: string;
|
|
64
|
+
static instances: QueryItemInstance[];
|
|
65
|
+
static public: {
|
|
66
|
+
name: {
|
|
67
|
+
type: "string";
|
|
68
|
+
required: true;
|
|
69
|
+
collection: false;
|
|
70
|
+
};
|
|
71
|
+
value: {
|
|
72
|
+
type: "string";
|
|
73
|
+
required: true;
|
|
74
|
+
collection: false;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
static create(args: QueryItemCreateArgs, options?: {
|
|
78
|
+
uuid?: string;
|
|
79
|
+
}): QueryItemInstance;
|
|
80
|
+
static stringify(instance: QueryItemInstance): string;
|
|
81
|
+
static clone(instance: QueryItemInstance, deep: boolean): QueryItemInstance;
|
|
82
|
+
static is(obj: unknown): obj is QueryItemInstance;
|
|
83
|
+
static check(data: unknown): boolean;
|
|
84
|
+
static parse(json: string): QueryItemInstance;
|
|
85
|
+
}
|
|
86
|
+
export interface QueryInstance extends IInstance {
|
|
87
|
+
items: QueryItemInstance[];
|
|
88
|
+
}
|
|
89
|
+
export interface QueryCreateArgs {
|
|
90
|
+
items: QueryItemInstance[];
|
|
91
|
+
}
|
|
92
|
+
export declare class Query implements QueryInstance {
|
|
93
|
+
uuid: string;
|
|
94
|
+
_type: string;
|
|
95
|
+
_options?: {
|
|
96
|
+
uuid?: string;
|
|
97
|
+
};
|
|
98
|
+
items: QueryItemInstance[];
|
|
99
|
+
constructor(args: QueryCreateArgs, options?: {
|
|
100
|
+
uuid?: string;
|
|
101
|
+
});
|
|
102
|
+
static isKlass: true;
|
|
103
|
+
static displayName: string;
|
|
104
|
+
static instances: QueryInstance[];
|
|
105
|
+
static public: {
|
|
106
|
+
items: {
|
|
107
|
+
type: "QueryItem";
|
|
108
|
+
required: true;
|
|
109
|
+
collection: true;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
static create(args: QueryCreateArgs, options?: {
|
|
113
|
+
uuid?: string;
|
|
114
|
+
}): QueryInstance;
|
|
115
|
+
static stringify(instance: QueryInstance): string;
|
|
116
|
+
static clone(instance: QueryInstance, deep: boolean): QueryInstance;
|
|
117
|
+
static is(obj: unknown): obj is QueryInstance;
|
|
118
|
+
static check(data: unknown): boolean;
|
|
119
|
+
static parse(json: string): QueryInstance;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=Data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Data.d.ts","sourceRoot":"","sources":["../../src/shared/Data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAI1E,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,eAAgB,YAAW,uBAAuB;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAqB;IAC1B,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;gBAET,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAQxE,MAAM,CAAC,OAAO,EAAG,IAAI,CAAU;IAC/B,MAAM,CAAC,WAAW,SAAqB;IACvC,MAAM,CAAC,SAAS,EAAE,uBAAuB,EAAE,CAAM;IAEjD,MAAM,CAAC,MAAM;;;;;;;;;MASX;IAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,uBAAuB;IAapG,MAAM,CAAC,SAAS,CAAC,Q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AAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa;CAI1C"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { BoolAtomDataInstance, BoolExpressionDataInstance } from './BoolExp.js';
|
|
3
|
+
export interface DataAttributivesInstance extends IInstance {
|
|
4
|
+
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
5
|
+
}
|
|
6
|
+
export interface DataAttributivesCreateArgs {
|
|
7
|
+
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
8
|
+
}
|
|
9
|
+
export declare class DataAttributives implements DataAttributivesInstance {
|
|
10
|
+
uuid: string;
|
|
11
|
+
_type: string;
|
|
12
|
+
_options?: {
|
|
13
|
+
uuid?: string;
|
|
14
|
+
};
|
|
15
|
+
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
16
|
+
constructor(args: DataAttributivesCreateArgs, options?: {
|
|
17
|
+
uuid?: string;
|
|
18
|
+
});
|
|
19
|
+
static isKlass: true;
|
|
20
|
+
static displayName: string;
|
|
21
|
+
static instances: DataAttributivesInstance[];
|
|
22
|
+
static public: {
|
|
23
|
+
content: {
|
|
24
|
+
type: readonly ["BoolExpressionData", "BoolAtomData"];
|
|
25
|
+
collection: false;
|
|
26
|
+
required: false;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
static create(args: DataAttributivesCreateArgs, options?: {
|
|
30
|
+
uuid?: string;
|
|
31
|
+
}): DataAttributivesInstance;
|
|
32
|
+
static stringify(instance: DataAttributivesInstance): string;
|
|
33
|
+
static clone(instance: DataAttributivesInstance, deep: boolean): DataAttributivesInstance;
|
|
34
|
+
static is(obj: unknown): obj is DataAttributivesInstance;
|
|
35
|
+
static check(data: unknown): boolean;
|
|
36
|
+
static parse(json: string): DataAttributivesInstance;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=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,OAAO,GAAG,GAAG,IAAI,wBAAwB;IAIxD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,wBAAwB;CAIrD"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { PropertyInstance } from './Property.js';
|
|
3
|
+
import { ComputationInstance } from './types.js';
|
|
4
|
+
import { RelationInstance } from './Relation.js';
|
|
5
|
+
export interface EntityInstance extends IInstance {
|
|
6
|
+
name: string;
|
|
7
|
+
properties: PropertyInstance[];
|
|
8
|
+
computation?: ComputationInstance;
|
|
9
|
+
baseEntity?: EntityInstance | RelationInstance;
|
|
10
|
+
matchExpression?: object;
|
|
11
|
+
inputEntities?: EntityInstance[];
|
|
12
|
+
}
|
|
13
|
+
export interface EntityCreateArgs {
|
|
14
|
+
name: string;
|
|
15
|
+
properties?: PropertyInstance[];
|
|
16
|
+
computation?: ComputationInstance;
|
|
17
|
+
baseEntity?: EntityInstance | RelationInstance;
|
|
18
|
+
matchExpression?: object;
|
|
19
|
+
inputEntities?: EntityInstance[];
|
|
20
|
+
}
|
|
21
|
+
export declare class Entity implements EntityInstance {
|
|
22
|
+
uuid: string;
|
|
23
|
+
_type: string;
|
|
24
|
+
_options?: {
|
|
25
|
+
uuid?: string;
|
|
26
|
+
};
|
|
27
|
+
name: string;
|
|
28
|
+
properties: PropertyInstance[];
|
|
29
|
+
computation?: ComputationInstance;
|
|
30
|
+
baseEntity?: EntityInstance | RelationInstance;
|
|
31
|
+
matchExpression?: object;
|
|
32
|
+
inputEntities?: EntityInstance[];
|
|
33
|
+
constructor(args: EntityCreateArgs, options?: {
|
|
34
|
+
uuid?: string;
|
|
35
|
+
});
|
|
36
|
+
static isKlass: true;
|
|
37
|
+
static displayName: string;
|
|
38
|
+
static instances: EntityInstance[];
|
|
39
|
+
static public: {
|
|
40
|
+
name: {
|
|
41
|
+
type: "string";
|
|
42
|
+
required: true;
|
|
43
|
+
constraints: {
|
|
44
|
+
nameFormat: ({ name }: {
|
|
45
|
+
name: string;
|
|
46
|
+
}) => boolean;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
properties: {
|
|
50
|
+
type: "Property";
|
|
51
|
+
collection: true;
|
|
52
|
+
required: true;
|
|
53
|
+
constraints: {
|
|
54
|
+
eachNameUnique: ({ properties }: {
|
|
55
|
+
properties: PropertyInstance[];
|
|
56
|
+
}) => boolean;
|
|
57
|
+
};
|
|
58
|
+
defaultValue: () => never[];
|
|
59
|
+
};
|
|
60
|
+
computation: {
|
|
61
|
+
type: readonly [];
|
|
62
|
+
collection: false;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
baseEntity: {
|
|
66
|
+
type: readonly ["Entity", "Relation"];
|
|
67
|
+
collection: false;
|
|
68
|
+
required: false;
|
|
69
|
+
};
|
|
70
|
+
matchExpression: {
|
|
71
|
+
type: "object";
|
|
72
|
+
collection: false;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
inputEntities: {
|
|
76
|
+
type: "Entity";
|
|
77
|
+
collection: true;
|
|
78
|
+
required: false;
|
|
79
|
+
constraints: {
|
|
80
|
+
mergedEntityNoProperties: ({ properties, inputEntities }: {
|
|
81
|
+
properties: PropertyInstance[];
|
|
82
|
+
inputEntities?: EntityInstance[];
|
|
83
|
+
}) => boolean;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
static create(args: EntityCreateArgs, options?: {
|
|
88
|
+
uuid?: string;
|
|
89
|
+
}): EntityInstance;
|
|
90
|
+
static stringify(instance: EntityInstance): string;
|
|
91
|
+
static clone(instance: EntityInstance, deep: boolean): EntityInstance;
|
|
92
|
+
static is(obj: unknown): obj is EntityInstance;
|
|
93
|
+
static check(data: unknown): boolean;
|
|
94
|
+
static parse(json: string): EntityInstance;
|
|
95
|
+
}
|
|
96
|
+
//# sour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E,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,cAAc,EAAE,CAAC;gBAE5B,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAY/D,MAAM,CAAC,OAAO,EAAG,IAAI,CAAU;IAC/B,MAAM,CAAC,WAAW,SAAY;IAC9B,MAAM,CAAC,SAAS,EAAE,cAAc,EAAE,CAAM;IAExC,MAAM,CAAC,MAAM;;;;;uCAKc;oBAAE,IAAI,EAAE,MAAM,CAAA;iBAAE;;;;;;;;iDAUN;oBAAC,UAAU,EAAE,gBAAgB,EAAE,CAAA;iBAAC;;;;;;;;;;;;;;;;;;;;;;;;0EA2BP;oBAAC,UAAU,EAAE,gBAAgB,EAAE,CAAC;oBAAC,aAAa,CAAC,EAAE,cAAc,EAAE,CAAA;iBAAC;;;MAS9H;IAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,cAAc;IAalF,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;IAmBlD,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,GAAG,cAAc;IAarE,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,cAAc;IAI9C,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAqBpC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc;CAI3C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
export interface EventInstance extends IInstance {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface EventCreateArgs {
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class Event implements EventInstance {
|
|
9
|
+
uuid: string;
|
|
10
|
+
_type: string;
|
|
11
|
+
_options?: {
|
|
12
|
+
uuid?: string;
|
|
13
|
+
};
|
|
14
|
+
name: string;
|
|
15
|
+
constructor(args: EventCreateArgs, options?: {
|
|
16
|
+
uuid?: string;
|
|
17
|
+
});
|
|
18
|
+
static isKlass: true;
|
|
19
|
+
static displayName: string;
|
|
20
|
+
static instances: EventInstance[];
|
|
21
|
+
static public: {
|
|
22
|
+
name: {
|
|
23
|
+
type: "string";
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
static create(args: EventCreateArgs, options?: {
|
|
28
|
+
uuid?: string;
|
|
29
|
+
}): EventInstance;
|
|
30
|
+
static stringify(instance: EventInstance): string;
|
|
31
|
+
static clone(instance: EventInstance, deep: boolean): EventInstance;
|
|
32
|
+
static is(obj: unknown): obj is EventInstance;
|
|
33
|
+
static check(data: unknown): boolean;
|
|
34
|
+
static parse(json: string): EventInstance;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=Event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Event.d.ts","sourceRoot":"","sources":["../../src/shared/Event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAG1E,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,qBAAa,KAAM,YAAW,aAAa;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAW;IAChB,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;gBAER,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAO9D,MAAM,CAAC,OAAO,EAAG,IAAI,CAAU;IAC/B,MAAM,CAAC,WAAW,SAAW;IAC7B,MAAM,CAAC,SAAS,EAAE,aAAa,EAAE,CAAM;IAEvC,MAAM,CAAC,MAAM;;;;;MAKX;IAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,eAAe,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,aAAa;IAahF,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,aAAa,GAAG,MAAM;IAYjD,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,GAAG,aAAa;IAMjE,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,aAAa;IAI7C,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa;CAI1C"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { EntityInstance, RelationInstance, AttributeQueryData, DataDependencies } from './types.js';
|
|
3
|
+
export interface EveryInstance extends IInstance {
|
|
4
|
+
record?: EntityInstance | RelationInstance;
|
|
5
|
+
property?: string;
|
|
6
|
+
direction?: string;
|
|
7
|
+
callback: Function;
|
|
8
|
+
attributeQuery?: AttributeQueryData;
|
|
9
|
+
dataDeps?: DataDependencies;
|
|
10
|
+
notEmpty?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface EveryCreateArgs {
|
|
13
|
+
record?: EntityInstance | RelationInstance;
|
|
14
|
+
property?: string;
|
|
15
|
+
direction?: string;
|
|
16
|
+
callback: Function;
|
|
17
|
+
attributeQuery?: AttributeQueryData;
|
|
18
|
+
dataDeps?: DataDependencies;
|
|
19
|
+
notEmpty?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare class Every implements EveryInstance {
|
|
22
|
+
uuid: string;
|
|
23
|
+
_type: string;
|
|
24
|
+
_options?: {
|
|
25
|
+
uuid?: string;
|
|
26
|
+
};
|
|
27
|
+
record?: EntityInstance | RelationInstance;
|
|
28
|
+
property?: string;
|
|
29
|
+
direction?: string;
|
|
30
|
+
callback: Function;
|
|
31
|
+
attributeQuery?: AttributeQueryData;
|
|
32
|
+
dataDeps?: DataDependencies;
|
|
33
|
+
notEmpty?: boolean;
|
|
34
|
+
constructor(args: EveryCreateArgs, options?: {
|
|
35
|
+
uuid?: string;
|
|
36
|
+
});
|
|
37
|
+
static isKlass: true;
|
|
38
|
+
static displayName: string;
|
|
39
|
+
static instances: EveryInstance[];
|
|
40
|
+
static public: {
|
|
41
|
+
record: {
|
|
42
|
+
type: readonly ["Entity", "Relation"];
|
|
43
|
+
collection: false;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
direction: {
|
|
47
|
+
type: "string";
|
|
48
|
+
collection: false;
|
|
49
|
+
required: false;
|
|
50
|
+
};
|
|
51
|
+
callback: {
|
|
52
|
+
type: "function";
|
|
53
|
+
collection: false;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
attributeQuery: {
|
|
57
|
+
instanceType: {
|
|
58
|
+
[key: string]: unknown;
|
|
59
|
+
};
|
|
60
|
+
collection: false;
|
|
61
|
+
required: false;
|
|
62
|
+
};
|
|
63
|
+
dataDeps: {
|
|
64
|
+
instanceType: {
|
|
65
|
+
[key: string]: unknown;
|
|
66
|
+
};
|
|
67
|
+
collection: false;
|
|
68
|
+
required: false;
|
|
69
|
+
};
|
|
70
|
+
notEmpty: {
|
|
71
|
+
type: "boolean";
|
|
72
|
+
collection: false;
|
|
73
|
+
required: false;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
static create(args: EveryCreateArgs, options?: {
|
|
77
|
+
uuid?: string;
|
|
78
|
+
}): EveryInstance;
|
|
79
|
+
static stringify(instance: EveryInstance): string;
|
|
80
|
+
static clone(instance: EveryInstance, deep: boolean): EveryInstance;
|
|
81
|
+
static is(obj: unknown): obj is EveryInstance;
|
|
82
|
+
static check(data: unknown): boolean;
|
|
83
|
+
static parse(json: string): EveryInstance;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=Every.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Every.d.ts","sourceRoot":"","sources":["../../src/shared/Every.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEzG,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,MAAM,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,CAAC,EAAE,kBAAkB,CAAC;IACpC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,KAAM,YAAW,aAAa;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAW;IAChB,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC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interface GatewayInstance extends IInstance {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface GatewayCreateArgs {
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class Gateway implements GatewayInstance {
|
|
9
|
+
uuid: string;
|
|
10
|
+
_type: string;
|
|
11
|
+
_options?: {
|
|
12
|
+
uuid?: string;
|
|
13
|
+
};
|
|
14
|
+
name: string;
|
|
15
|
+
constructor(args: GatewayCreateArgs, options?: {
|
|
16
|
+
uuid?: string;
|
|
17
|
+
});
|
|
18
|
+
static isKlass: true;
|
|
19
|
+
static displayName: string;
|
|
20
|
+
static instances: GatewayInstance[];
|
|
21
|
+
static public: {
|
|
22
|
+
name: {
|
|
23
|
+
type: "string";
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
static create(args: GatewayCreateArgs, options?: {
|
|
28
|
+
uuid?: string;
|
|
29
|
+
}): GatewayInstance;
|
|
30
|
+
static stringify(instance: GatewayInstance): string;
|
|
31
|
+
static clone(instance: GatewayInstance, deep: boolean): GatewayInstance;
|
|
32
|
+
static is(obj: unknown): obj is GatewayInstance;
|
|
33
|
+
static check(data: unknown): boolean;
|
|
34
|
+
static parse(json: string): GatewayInstance;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=Gateway.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gateway.d.ts","sourceRoot":"","sources":["../../src/shared/Gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAG1E,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,qBAAa,OAAQ,YAAW,eAAe;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAa;IAClB,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;gBAER,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAOhE,MAAM,CAAC,OAAO,EAAG,IAAI,CAAU;IAC/B,MAAM,CAAC,WAAW,SAAa;IAC/B,MAAM,CAAC,SAAS,EAAE,eAAe,EAAE,CAAM;IAEzC,MAAM,CAAC,MAAM;;;;;MAKX;IAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,eAAe;IAapF,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM;IAYnD,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,GAAG,eAAe;IAMrE,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,eAAe;IAI/C,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe;CAI5C"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { ActionInstance } from './Action.js';
|
|
3
|
+
import { ConditionInstance } from './Condition.js';
|
|
4
|
+
import { ConditionsInstance } from './Conditions.js';
|
|
5
|
+
import { AttributiveInstance, AttributivesInstance } from './Attributive.js';
|
|
6
|
+
import { PayloadInstance } from './Payload.js';
|
|
7
|
+
import { SideEffectInstance } from './SideEffect.js';
|
|
8
|
+
import { EntityInstance } from './Entity.js';
|
|
9
|
+
import { RelationInstance } from './Relation.js';
|
|
10
|
+
import { QueryInstance } from './Data.js';
|
|
11
|
+
export interface InteractionInstance extends IInstance {
|
|
12
|
+
name: string;
|
|
13
|
+
conditions?: ConditionsInstance | ConditionInstance;
|
|
14
|
+
userAttributives?: AttributivesInstance | AttributiveInstance;
|
|
15
|
+
userRef?: AttributiveInstance;
|
|
16
|
+
action: ActionInstance;
|
|
17
|
+
payload?: PayloadInstance;
|
|
18
|
+
sideEffects?: SideEffectInstance[];
|
|
19
|
+
data?: EntityInstance | RelationInstance;
|
|
20
|
+
query?: QueryInstance;
|
|
21
|
+
}
|
|
22
|
+
export interface InteractionCreateArgs {
|
|
23
|
+
name: string;
|
|
24
|
+
conditions?: ConditionsInstance | ConditionInstance;
|
|
25
|
+
userAttributives?: AttributivesInstance | AttributiveInstance;
|
|
26
|
+
userRef?: AttributiveInstance;
|
|
27
|
+
action: ActionInstance;
|
|
28
|
+
payload?: PayloadInstance;
|
|
29
|
+
sideEffects?: SideEffectInstance[];
|
|
30
|
+
data?: EntityInstance | RelationInstance;
|
|
31
|
+
query?: QueryInstance;
|
|
32
|
+
}
|
|
33
|
+
export declare class Interaction implements InteractionInstance {
|
|
34
|
+
uuid: string;
|
|
35
|
+
_type: string;
|
|
36
|
+
_options?: {
|
|
37
|
+
uuid?: string;
|
|
38
|
+
};
|
|
39
|
+
name: string;
|
|
40
|
+
conditions?: ConditionsInstance | ConditionInstance;
|
|
41
|
+
userAttributives?: AttributivesInstance | AttributiveInstance;
|
|
42
|
+
userRef?: AttributiveInstance;
|
|
43
|
+
action: ActionInstance;
|
|
44
|
+
payload?: PayloadInstance;
|
|
45
|
+
sideEffects: SideEffectInstance[];
|
|
46
|
+
data?: EntityInstance | RelationInstance;
|
|
47
|
+
query?: QueryInstance;
|
|
48
|
+
constructor(args: InteractionCreateArgs, options?: {
|
|
49
|
+
uuid?: string;
|
|
50
|
+
});
|
|
51
|
+
static isKlass: true;
|
|
52
|
+
static displayName: string;
|
|
53
|
+
static instances: InteractionInstance[];
|
|
54
|
+
static public: {
|
|
55
|
+
name: {
|
|
56
|
+
type: "string";
|
|
57
|
+
collection: false;
|
|
58
|
+
required: true;
|
|
59
|
+
};
|
|
60
|
+
conditions: {
|
|
61
|
+
type: readonly ["Conditions", "Condition"];
|
|
62
|
+
required: false;
|
|
63
|
+
collection: false;
|
|
64
|
+
};
|
|
65
|
+
userAttributives: {
|
|
66
|
+
type: readonly ["Attributives", "Attributive"];
|
|
67
|
+
required: false;
|
|
68
|
+
collection: false;
|
|
69
|
+
};
|
|
70
|
+
userRef: {
|
|
71
|
+
type: "Attributive";
|
|
72
|
+
collection: false;
|
|
73
|
+
};
|
|
74
|
+
action: {
|
|
75
|
+
type: "Action";
|
|
76
|
+
collection: false;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
payload: {
|
|
80
|
+
type: "Payload";
|
|
81
|
+
collection: false;
|
|
82
|
+
};
|
|
83
|
+
sideEffects: {
|
|
84
|
+
type: "SideEffect";
|
|
85
|
+
collection: true;
|
|
86
|
+
defaultValue: () => never[];
|
|
87
|
+
};
|
|
88
|
+
data: {
|
|
89
|
+
type: readonly ["Entity", "Relation"];
|
|
90
|
+
required: false;
|
|
91
|
+
collection: false;
|
|
92
|
+
};
|
|
93
|
+
query: {
|
|
94
|
+
type: "Query";
|
|
95
|
+
required: false;
|
|
96
|
+
collection: false;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
static create(args: InteractionCreateArgs, options?: {
|
|
100
|
+
uuid?: string;
|
|
101
|
+
}): InteractionInstance;
|
|
102
|
+
static stringify(instance: InteractionInstance): string;
|
|
103
|
+
static clone(instance: InteractionInstance, deep: boolean): InteractionInstance;
|
|
104
|
+
static is(obj: unknown): obj is InteractionInstance;
|
|
105
|
+
static check(data: unknown): boolean;
|
|
106
|
+
static parse(json: string): InteractionInstance;
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=Interaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Interaction.d.ts","sourceRoot":"","sources":["../../src/shared/Interaction.ts"],"names":[],"mapp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AO,GAAG,mBAAmB;IAiB7E,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,mBAAmB;IAInD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,mBAAmB;CAIhD"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { PayloadItemInstance } from './PayloadItem.js';
|
|
3
|
+
export interface PayloadInstance extends IInstance {
|
|
4
|
+
items: PayloadItemInstance[];
|
|
5
|
+
}
|
|
6
|
+
export interface PayloadCreateArgs {
|
|
7
|
+
items?: PayloadItemInstance[];
|
|
8
|
+
}
|
|
9
|
+
export declare class Payload implements PayloadInstance {
|
|
10
|
+
uuid: string;
|
|
11
|
+
_type: string;
|
|
12
|
+
_options?: {
|
|
13
|
+
uuid?: string;
|
|
14
|
+
};
|
|
15
|
+
items: PayloadItemInstance[];
|
|
16
|
+
constructor(args: PayloadCreateArgs, options?: {
|
|
17
|
+
uuid?: string;
|
|
18
|
+
});
|
|
19
|
+
static isKlass: true;
|
|
20
|
+
static displayName: string;
|
|
21
|
+
static instances: PayloadInstance[];
|
|
22
|
+
static public: {
|
|
23
|
+
items: {
|
|
24
|
+
type: "PayloadItem";
|
|
25
|
+
collection: true;
|
|
26
|
+
required: true;
|
|
27
|
+
defaultValue: () => never[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
static create(args: PayloadCreateArgs, options?: {
|
|
31
|
+
uuid?: string;
|
|
32
|
+
}): PayloadInstance;
|
|
33
|
+
static stringify(instance: PayloadInstance): string;
|
|
34
|
+
static clone(instance: PayloadInstance, deep: boolean): PayloadInstance;
|
|
35
|
+
static is(obj: unknown): obj is PayloadInstance;
|
|
36
|
+
static check(data: unknown): boolean;
|
|
37
|
+
static parse(json: string): PayloadInstance;
|
|
38
|
+
}
|
|
39
|
+
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