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,37 @@
|
|
|
1
|
+
import { FrameworkError, ErrorCategory } from './FrameworkError.js';
|
|
2
|
+
export { FrameworkError, ErrorSeverity, ErrorCategory } from './FrameworkError.js';
|
|
3
|
+
export { InteractionExecutionError } from './InteractionErrors.js';
|
|
4
|
+
export { ActivityError, ActivityStateError } from './ActivityErrors.js';
|
|
5
|
+
export { ComputationError, ComputationStateError, ComputationDataDepError } from './ComputationErrors.js';
|
|
6
|
+
export { SchedulerError } from './SystemErrors.js';
|
|
7
|
+
export { ConditionError } from './ConditionErrors.js';
|
|
8
|
+
/**
|
|
9
|
+
* Error utility functions
|
|
10
|
+
*/
|
|
11
|
+
export declare class ErrorUtils {
|
|
12
|
+
/**
|
|
13
|
+
* Wrap a native error with a FrameworkError
|
|
14
|
+
*/
|
|
15
|
+
static wrapError(error: Error, ErrorClass: new (...args: any[]) => FrameworkError, context?: Record<string, any>): FrameworkError;
|
|
16
|
+
/**
|
|
17
|
+
* Check if error is of specific type or category
|
|
18
|
+
*/
|
|
19
|
+
static isErrorType(error: any, errorType: string): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Check if error is of specific category
|
|
22
|
+
*/
|
|
23
|
+
static isErrorCategory(error: any, category: ErrorCategory): boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Extract root cause from error chain
|
|
26
|
+
*/
|
|
27
|
+
static getRootCause(error: Error): Error;
|
|
28
|
+
/**
|
|
29
|
+
* Format error for logging
|
|
30
|
+
*/
|
|
31
|
+
static formatForLogging(error: Error): Record<string, any>;
|
|
32
|
+
/**
|
|
33
|
+
* Create error summary for client response
|
|
34
|
+
*/
|
|
35
|
+
static createErrorSummary(error: Error): Record<string, any>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/runtime/errors/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAClF,OAAO,EAAE,cAAc,EAAiB,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAGlF,OAAO,EACH,yBAAyB,EAC5B,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EACH,aAAa,EACb,kBAAkB,EACrB,MAAM,qBAAqB,CAAA;AAG5B,OAAO,EACH,gBAAgB,EAChB,qBAAqB,EACrB,uBAAuB,EAC1B,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EACH,cAAc,EACjB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACH,cAAc,EACjB,MAAM,sBAAsB,CAAA;AAE7B;;GAEG;AACH,qBAAa,UAAU;IACnB;;OAEG;IACH,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,cAAc,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,cAAc;IAWjI;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO;IAI1D;;OAEG;IACH,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,GAAG,EAAE,QAAQ,EAAE,aAAa,GAAG,OAAO;IAIpE;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK;IAOxC;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAe1D;;OAEG;IACH,MAAM,CAAC,kBAAkB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAmB/D"}
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
export * from '@shared';
|
|
2
|
-
export * from '@storage';
|
|
3
1
|
export * from './Controller.js';
|
|
4
2
|
export * from './MonoSystem.js';
|
|
5
3
|
export * from './System.js';
|
|
6
4
|
export * from './SQLite.js';
|
|
7
5
|
export * from './PostgreSQL.js';
|
|
6
|
+
export * from './PGLite.js';
|
|
8
7
|
export * from './Mysql.js';
|
|
9
|
-
export * from './server.js';
|
|
10
8
|
export * from './asyncInteractionContext.js';
|
|
11
|
-
export
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './ActivityCall.js';
|
|
14
|
-
export * from './InteractionCall.js';
|
|
9
|
+
export { assert, filterMap, mapObject, everyAsync, someAsync, everyWithErrorAsync } from './util.js';
|
|
10
|
+
export * from './computations/index.js';
|
|
11
|
+
export * from './activity/ActivityCall.js';
|
|
12
|
+
export * from './activity/InteractionCall.js';
|
|
13
|
+
export * from './activity/ActivityManager.js';
|
|
14
|
+
export * from './computations/MathResolver.js';
|
|
15
|
+
export * from './errors/ComputationErrors.js';
|
|
16
|
+
export { ConditionError } from './errors/ConditionErrors.js';
|
|
15
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/runtime/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,8BAA8B,CAAA;AAE5C,OAAO,EACL,MAAM,EACN,SAAS,EACT,SAAS,EACT,UAAU,EACV,SAAS,EACT,mBAAmB,EACpB,MAAM,WAAW,CAAA;AAClB,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,+BAA+B,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
export interface ActionInstance extends IInstance {
|
|
3
|
+
name: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ActionCreateArgs {
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class Action implements ActionInstance {
|
|
9
|
+
uuid: string;
|
|
10
|
+
_type: string;
|
|
11
|
+
_options?: {
|
|
12
|
+
uuid?: string;
|
|
13
|
+
};
|
|
14
|
+
name: string;
|
|
15
|
+
constructor(args: ActionCreateArgs, options?: {
|
|
16
|
+
uuid?: string;
|
|
17
|
+
});
|
|
18
|
+
static isKlass: true;
|
|
19
|
+
static displayName: string;
|
|
20
|
+
static instances: ActionInstance[];
|
|
21
|
+
static public: {
|
|
22
|
+
name: {
|
|
23
|
+
type: "string";
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
static create(args: ActionCreateArgs, options?: {
|
|
28
|
+
uuid?: string;
|
|
29
|
+
}): ActionInstance;
|
|
30
|
+
static stringify(instance: ActionInstance): string;
|
|
31
|
+
static clone(instance: ActionInstance, deep: boolean): ActionInstance;
|
|
32
|
+
static is(obj: unknown): obj is ActionInstance;
|
|
33
|
+
static check(data: unknown): boolean;
|
|
34
|
+
static parse(json: string): ActionInstance;
|
|
35
|
+
}
|
|
36
|
+
export type { Action as ActionKlass };
|
|
37
|
+
export declare const GetAction: ActionInstance;
|
|
38
|
+
//# sourceMappingURL=Action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action.d.ts","sourceRoot":"","sources":["../../src/shared/Action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAG1E,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;CACd;AAGD,qBAAa,MAAO,YAAW,cAAc;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAY;IACjB,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;gBAER,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAO/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;;;;;MAKX;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;IAYlD,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,cAAc,EAAE,IAAI,EAAE,OAAO,GAAG,cAAc;IAMnE,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,cAAc;IAI9C,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc;CAI3C;AAGD,YAAY,EAAE,MAAM,IAAI,WAAW,EAAE,CAAC;AAGtC,eAAO,MAAM,SAAS,gBAAiC,CAAC"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { InteractionInstance } from './Interaction.js';
|
|
3
|
+
import { GatewayInstance } from './Gateway.js';
|
|
4
|
+
import { EventInstance } from './Event.js';
|
|
5
|
+
export interface ActivityInstance extends IInstance {
|
|
6
|
+
name: string;
|
|
7
|
+
interactions: InteractionInstance[];
|
|
8
|
+
gateways: GatewayInstance[];
|
|
9
|
+
transfers: TransferInstance[];
|
|
10
|
+
groups: ActivityGroupInstance[];
|
|
11
|
+
events: EventInstance[];
|
|
12
|
+
}
|
|
13
|
+
export interface ActivityGroupInstance extends IInstance {
|
|
14
|
+
type: string;
|
|
15
|
+
activities?: ActivityInstance[];
|
|
16
|
+
}
|
|
17
|
+
export interface TransferInstance extends IInstance {
|
|
18
|
+
name: string;
|
|
19
|
+
source: InteractionInstance | ActivityGroupInstance | GatewayInstance;
|
|
20
|
+
target: InteractionInstance | ActivityGroupInstance | GatewayInstance;
|
|
21
|
+
}
|
|
22
|
+
export interface ActivityCreateArgs {
|
|
23
|
+
name: string;
|
|
24
|
+
interactions?: InteractionInstance[];
|
|
25
|
+
gateways?: GatewayInstance[];
|
|
26
|
+
transfers?: TransferInstance[];
|
|
27
|
+
groups?: ActivityGroupInstance[];
|
|
28
|
+
events?: EventInstance[];
|
|
29
|
+
}
|
|
30
|
+
export interface ActivityGroupCreateArgs {
|
|
31
|
+
type: string;
|
|
32
|
+
activities?: ActivityInstance[];
|
|
33
|
+
}
|
|
34
|
+
export interface TransferCreateArgs {
|
|
35
|
+
name: string;
|
|
36
|
+
source: InteractionInstance | ActivityGroupInstance | GatewayInstance;
|
|
37
|
+
target: InteractionInstance | ActivityGroupInstance | GatewayInstance;
|
|
38
|
+
}
|
|
39
|
+
export declare class Activity implements ActivityInstance {
|
|
40
|
+
uuid: string;
|
|
41
|
+
_type: string;
|
|
42
|
+
_options?: {
|
|
43
|
+
uuid?: string;
|
|
44
|
+
};
|
|
45
|
+
name: string;
|
|
46
|
+
interactions: InteractionInstance[];
|
|
47
|
+
gateways: GatewayInstance[];
|
|
48
|
+
transfers: TransferInstance[];
|
|
49
|
+
groups: ActivityGroupInstance[];
|
|
50
|
+
events: EventInstance[];
|
|
51
|
+
constructor(args: ActivityCreateArgs, options?: {
|
|
52
|
+
uuid?: string;
|
|
53
|
+
});
|
|
54
|
+
static isKlass: true;
|
|
55
|
+
static displayName: string;
|
|
56
|
+
static instances: ActivityInstance[];
|
|
57
|
+
static public: {
|
|
58
|
+
name: {
|
|
59
|
+
type: "string";
|
|
60
|
+
collection: false;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
interactions: {
|
|
64
|
+
type: "Interaction";
|
|
65
|
+
collection: true;
|
|
66
|
+
defaultValue: () => never[];
|
|
67
|
+
};
|
|
68
|
+
gateways: {
|
|
69
|
+
type: "Gateway";
|
|
70
|
+
collection: true;
|
|
71
|
+
defaultValue: () => never[];
|
|
72
|
+
};
|
|
73
|
+
transfers: {
|
|
74
|
+
type: "Transfer";
|
|
75
|
+
collection: true;
|
|
76
|
+
defaultValue: () => never[];
|
|
77
|
+
};
|
|
78
|
+
groups: {
|
|
79
|
+
type: "ActivityGroup";
|
|
80
|
+
collection: true;
|
|
81
|
+
defaultValue: () => never[];
|
|
82
|
+
};
|
|
83
|
+
events: {
|
|
84
|
+
type: "Event";
|
|
85
|
+
collection: true;
|
|
86
|
+
defaultValue: () => never[];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
static create(args: ActivityCreateArgs, options?: {
|
|
90
|
+
uuid?: string;
|
|
91
|
+
}): ActivityInstance;
|
|
92
|
+
static stringify(instance: ActivityInstance): string;
|
|
93
|
+
static clone(instance: ActivityInstance, deep: boolean): ActivityInstance;
|
|
94
|
+
static is(obj: unknown): obj is ActivityInstance;
|
|
95
|
+
static check(data: unknown): boolean;
|
|
96
|
+
static parse(json: string): ActivityInstance;
|
|
97
|
+
}
|
|
98
|
+
export declare class ActivityGroup implements ActivityGroupInstance {
|
|
99
|
+
uuid: string;
|
|
100
|
+
_type: string;
|
|
101
|
+
_options?: {
|
|
102
|
+
uuid?: string;
|
|
103
|
+
};
|
|
104
|
+
type: string;
|
|
105
|
+
activities?: ActivityInstance[];
|
|
106
|
+
constructor(args: ActivityGroupCreateArgs, options?: {
|
|
107
|
+
uuid?: string;
|
|
108
|
+
});
|
|
109
|
+
static isKlass: true;
|
|
110
|
+
static displayName: string;
|
|
111
|
+
static instances: ActivityGroupInstance[];
|
|
112
|
+
static public: {
|
|
113
|
+
type: {
|
|
114
|
+
type: "string";
|
|
115
|
+
required: true;
|
|
116
|
+
collection: false;
|
|
117
|
+
};
|
|
118
|
+
activities: {
|
|
119
|
+
instanceType: ActivityInstance;
|
|
120
|
+
collection: true;
|
|
121
|
+
required: false;
|
|
122
|
+
defaultValue: () => never[];
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
static create(args: ActivityGroupCreateArgs, options?: {
|
|
126
|
+
uuid?: string;
|
|
127
|
+
}): ActivityGroupInstance;
|
|
128
|
+
static stringify(instance: ActivityGroupInstance): string;
|
|
129
|
+
static clone(instance: ActivityGroupInstance, deep: boolean): ActivityGroupInstance;
|
|
130
|
+
static is(obj: unknown): obj is ActivityGroupInstance;
|
|
131
|
+
static check(data: unknown): boolean;
|
|
132
|
+
static parse(json: string): ActivityGroupInstance;
|
|
133
|
+
}
|
|
134
|
+
export declare class Transfer implements TransferInstance {
|
|
135
|
+
uuid: string;
|
|
136
|
+
_type: string;
|
|
137
|
+
_options?: {
|
|
138
|
+
uuid?: string;
|
|
139
|
+
};
|
|
140
|
+
name: string;
|
|
141
|
+
source: InteractionInstance | ActivityGroupInstance | GatewayInstance;
|
|
142
|
+
target: InteractionInstance | ActivityGroupInstance | GatewayInstance;
|
|
143
|
+
constructor(args: TransferCreateArgs, options?: {
|
|
144
|
+
uuid?: string;
|
|
145
|
+
});
|
|
146
|
+
static isKlass: true;
|
|
147
|
+
static displayName: string;
|
|
148
|
+
static instances: TransferInstance[];
|
|
149
|
+
static public: {
|
|
150
|
+
name: {
|
|
151
|
+
type: "string";
|
|
152
|
+
required: true;
|
|
153
|
+
collection: false;
|
|
154
|
+
};
|
|
155
|
+
source: {
|
|
156
|
+
type: readonly ["Interaction", "ActivityGroup", "Gateway"];
|
|
157
|
+
required: true;
|
|
158
|
+
collection: false;
|
|
159
|
+
};
|
|
160
|
+
target: {
|
|
161
|
+
type: readonly ["Interaction", "ActivityGroup", "Gateway"];
|
|
162
|
+
required: true;
|
|
163
|
+
collection: false;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
static create(args: TransferCreateArgs, options?: {
|
|
167
|
+
uuid?: string;
|
|
168
|
+
}): TransferInstance;
|
|
169
|
+
static stringify(instance: TransferInstance): string;
|
|
170
|
+
static clone(instance: TransferInstance, deep: boolean): TransferInstance;
|
|
171
|
+
static is(obj: unknown): obj is TransferInstance;
|
|
172
|
+
static check(data: unknown): boolean;
|
|
173
|
+
static parse(json: string): TransferInstance;
|
|
174
|
+
}
|
|
175
|
+
export declare function forEachInteraction(activity: ActivityInstance, handle: (i: InteractionInstance, g?: ActivityGroupInstance) => void, parentGroup?: ActivityGroupInstance): void;
|
|
176
|
+
export declare function getInteractions(activity: ActivityInstance): InteractionInstance[];
|
|
177
|
+
export declare function findRootActivity(interaction: InteractionInstance): ActivityInstance | null;
|
|
178
|
+
//# sourceMappingURL=Activity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Activity.d.ts","sourceRoot":"","sources":["../../src/shared/Activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAE1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAG3C,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,SAAS,EAAE,gBAAgB,EAAE,CAAC;IAC9B,MAAM,EAAE,qBAAqB,EAAE,CAAC;IAChC,MAAM,EAAE,aAAa,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,IAAI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AAM,CAAC,SAAS,CAAC,QAAQ,EAAE,gBAAgB,GAAG,MAAM;IAcpD,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,gBAAgB,EAAE,IAAI,EAAE,OAAO,GAAG,gBAAgB;IAQzE,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,gBAAgB;IAI9C,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,gBAAgB;CAI7C;AAGD,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,CAAC,CAAC,EAAE,mBAAmB,EAAE,CAAC,CAAC,EAAE,qBAAqB,KAAK,IAAI,EACnE,WAAW,CAAC,EAAE,qBAAqB,QAMpC;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,gBAAgB,GAAG,mBAAmB,EAAE,CAIjF;AAED,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,mBAAmB,GAAG,gBAAgB,GAAG,IAAI,CAG1F"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { AttributeQueryData, DataDependencies, EntityInstance, RelationInstance } from './types.js';
|
|
3
|
+
export interface AnyInstance extends IInstance {
|
|
4
|
+
record?: EntityInstance | RelationInstance;
|
|
5
|
+
property?: string;
|
|
6
|
+
direction?: string;
|
|
7
|
+
callback: Function;
|
|
8
|
+
attributeQuery?: AttributeQueryData;
|
|
9
|
+
dataDeps?: DataDependencies;
|
|
10
|
+
}
|
|
11
|
+
export interface AnyCreateArgs {
|
|
12
|
+
record?: EntityInstance | RelationInstance;
|
|
13
|
+
property?: string;
|
|
14
|
+
direction?: string;
|
|
15
|
+
callback: Function;
|
|
16
|
+
attributeQuery?: AttributeQueryData;
|
|
17
|
+
dataDeps?: DataDependencies;
|
|
18
|
+
}
|
|
19
|
+
export declare class Any implements AnyInstance {
|
|
20
|
+
uuid: string;
|
|
21
|
+
_type: string;
|
|
22
|
+
_options?: {
|
|
23
|
+
uuid?: string;
|
|
24
|
+
};
|
|
25
|
+
record?: EntityInstance | RelationInstance;
|
|
26
|
+
property?: string;
|
|
27
|
+
direction?: string;
|
|
28
|
+
callback: Function;
|
|
29
|
+
attributeQuery?: AttributeQueryData;
|
|
30
|
+
dataDeps?: DataDependencies;
|
|
31
|
+
constructor(args: AnyCreateArgs, options?: {
|
|
32
|
+
uuid?: string;
|
|
33
|
+
});
|
|
34
|
+
static isKlass: true;
|
|
35
|
+
static displayName: string;
|
|
36
|
+
static instances: AnyInstance[];
|
|
37
|
+
static public: {
|
|
38
|
+
record: {
|
|
39
|
+
type: readonly ["Entity", "Relation"];
|
|
40
|
+
collection: false;
|
|
41
|
+
required: false;
|
|
42
|
+
};
|
|
43
|
+
property: {
|
|
44
|
+
type: "string";
|
|
45
|
+
collection: false;
|
|
46
|
+
required: false;
|
|
47
|
+
};
|
|
48
|
+
direction: {
|
|
49
|
+
type: "string";
|
|
50
|
+
collection: false;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
callback: {
|
|
54
|
+
type: "function";
|
|
55
|
+
collection: false;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
attributeQuery: {
|
|
59
|
+
instanceType: {
|
|
60
|
+
[key: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
collection: false;
|
|
63
|
+
required: false;
|
|
64
|
+
};
|
|
65
|
+
dataDeps: {
|
|
66
|
+
instanceType: {
|
|
67
|
+
[key: string]: unknown;
|
|
68
|
+
};
|
|
69
|
+
collection: false;
|
|
70
|
+
required: false;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
static create(args: AnyCreateArgs, options?: {
|
|
74
|
+
uuid?: string;
|
|
75
|
+
}): AnyInstance;
|
|
76
|
+
static stringify(instance: AnyInstance): string;
|
|
77
|
+
static clone(instance: AnyInstance, deep: boolean): AnyInstance;
|
|
78
|
+
static is(obj: unknown): obj is AnyInstance;
|
|
79
|
+
static check(data: unknown): boolean;
|
|
80
|
+
static parse(json: string): AnyInstance;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=Any.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Any.d.ts","sourceRoot":"","sources":["../../src/shared/Any.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAGzG,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,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;CAC7B;AAED,MAAM,WAAW,aAAa;IAC5B,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;CAC7B;AAED,qBAAa,GAAI,YAAW,WAAW;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,SAAS;IACd,QAAQ,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC7B,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;gBAEvB,IAAI,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAY5D,MAAM,CAAC,OAAO,EAAG,IAAI,CAAU;IAC/B,MAAM,CAAC,WAAW,SAAS;IAC3B,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,CAAM;IAErC,MAAM,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;0BAsBsB;gBAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;aAAC;;;;;0BAKxB;gBAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;aAAC;;;;MAIzD;IAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,WAAW;IAa5E,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,WAAW,GAAG,MAAM;IAmB/C,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,GAAG,WAAW;IAW7D,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,WAAW;IAI3C,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW;CAWxC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { BoolAtomDataInstance, BoolExpressionDataInstance, BoolExp } from './BoolExp.js';
|
|
3
|
+
export interface AttributiveInstance extends IInstance {
|
|
4
|
+
stringContent?: string;
|
|
5
|
+
content: Function;
|
|
6
|
+
name?: string;
|
|
7
|
+
isRef?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface AttributiveCreateArgs {
|
|
10
|
+
stringContent?: string;
|
|
11
|
+
content: Function;
|
|
12
|
+
name?: string;
|
|
13
|
+
isRef?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare class Attributive implements AttributiveInstance {
|
|
16
|
+
uuid: string;
|
|
17
|
+
_type: string;
|
|
18
|
+
_options?: {
|
|
19
|
+
uuid?: string;
|
|
20
|
+
};
|
|
21
|
+
stringContent?: string;
|
|
22
|
+
content: Function;
|
|
23
|
+
name?: string;
|
|
24
|
+
isRef?: boolean;
|
|
25
|
+
constructor(args: AttributiveCreateArgs, options?: {
|
|
26
|
+
uuid?: string;
|
|
27
|
+
});
|
|
28
|
+
static isKlass: true;
|
|
29
|
+
static displayName: string;
|
|
30
|
+
static instances: AttributiveInstance[];
|
|
31
|
+
static public: {
|
|
32
|
+
stringContent: {
|
|
33
|
+
type: "string";
|
|
34
|
+
};
|
|
35
|
+
content: {
|
|
36
|
+
type: "function";
|
|
37
|
+
required: true;
|
|
38
|
+
collection: false;
|
|
39
|
+
};
|
|
40
|
+
name: {
|
|
41
|
+
type: "string";
|
|
42
|
+
};
|
|
43
|
+
isRef: {
|
|
44
|
+
type: "boolean";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
static create(args: AttributiveCreateArgs, options?: {
|
|
48
|
+
uuid?: string;
|
|
49
|
+
}): AttributiveInstance;
|
|
50
|
+
static stringify(instance: AttributiveInstance): string;
|
|
51
|
+
static clone(instance: AttributiveInstance, deep: boolean): AttributiveInstance;
|
|
52
|
+
static is(obj: unknown): obj is AttributiveInstance;
|
|
53
|
+
static check(data: unknown): boolean;
|
|
54
|
+
static parse(json: string): AttributiveInstance;
|
|
55
|
+
}
|
|
56
|
+
export interface AttributivesInstance extends IInstance {
|
|
57
|
+
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
58
|
+
}
|
|
59
|
+
export interface AttributivesCreateArgs {
|
|
60
|
+
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
61
|
+
}
|
|
62
|
+
export declare class Attributives implements AttributivesInstance {
|
|
63
|
+
uuid: string;
|
|
64
|
+
_type: string;
|
|
65
|
+
_options?: {
|
|
66
|
+
uuid?: string;
|
|
67
|
+
};
|
|
68
|
+
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
69
|
+
constructor(args: AttributivesCreateArgs, options?: {
|
|
70
|
+
uuid?: string;
|
|
71
|
+
});
|
|
72
|
+
static isKlass: true;
|
|
73
|
+
static displayName: string;
|
|
74
|
+
static instances: AttributivesInstance[];
|
|
75
|
+
static public: {
|
|
76
|
+
content: {
|
|
77
|
+
type: readonly ["BoolExpressionData", "BoolAtomData"];
|
|
78
|
+
collection: false;
|
|
79
|
+
required: false;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
static create(args: AttributivesCreateArgs, options?: {
|
|
83
|
+
uuid?: string;
|
|
84
|
+
}): AttributivesInstance;
|
|
85
|
+
static stringify(instance: AttributivesInstance): string;
|
|
86
|
+
static clone(instance: AttributivesInstance, deep: boolean): AttributivesInstance;
|
|
87
|
+
static is(obj: unknown): obj is AttributivesInstance;
|
|
88
|
+
static check(data: unknown): boolean;
|
|
89
|
+
static parse(json: string): AttributivesInstance;
|
|
90
|
+
}
|
|
91
|
+
export declare function boolExpToAttributives(obj: BoolExp<AttributiveInstance>): AttributivesInstance;
|
|
92
|
+
//# sourceMappingURL=Attributive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Attributive.d.ts","sourceRoot":"","sources":["../../src/shared/Attributive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAE1E,OAAO,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC;AAGhF,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,aAAa,CAAC,EAAE,MAAM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AM,GAAG,oBAAoB;CAIjD;AAGD,OAAO,EAAE,OAAO,EAAgE,MAAM,cAAc,CAAC;AAqBrG,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,CAAC,mBAAmB,CAAC,wBAItE"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { IInstance } from './interfaces.js';
|
|
2
|
+
import { EntityInstance, RelationInstance, AttributeQueryData } from './types.js';
|
|
3
|
+
export interface AverageInstance extends IInstance {
|
|
4
|
+
record?: EntityInstance | RelationInstance;
|
|
5
|
+
property?: string;
|
|
6
|
+
direction?: string;
|
|
7
|
+
attributeQuery: AttributeQueryData;
|
|
8
|
+
}
|
|
9
|
+
export interface AverageCreateArgs {
|
|
10
|
+
record?: EntityInstance | RelationInstance;
|
|
11
|
+
property?: string;
|
|
12
|
+
direction?: string;
|
|
13
|
+
attributeQuery: AttributeQueryData;
|
|
14
|
+
}
|
|
15
|
+
export declare class Average implements AverageInstance {
|
|
16
|
+
uuid: string;
|
|
17
|
+
_type: string;
|
|
18
|
+
_options?: {
|
|
19
|
+
uuid?: string;
|
|
20
|
+
};
|
|
21
|
+
record?: EntityInstance | RelationInstance;
|
|
22
|
+
property?: string;
|
|
23
|
+
direction?: string;
|
|
24
|
+
attributeQuery: AttributeQueryData;
|
|
25
|
+
constructor(args: AverageCreateArgs, options?: {
|
|
26
|
+
uuid?: string;
|
|
27
|
+
});
|
|
28
|
+
static isKlass: true;
|
|
29
|
+
static displayName: string;
|
|
30
|
+
static instances: AverageInstance[];
|
|
31
|
+
static public: {
|
|
32
|
+
record: {
|
|
33
|
+
type: readonly ["Entity", "Relation"];
|
|
34
|
+
collection: false;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
direction: {
|
|
38
|
+
type: "string";
|
|
39
|
+
collection: false;
|
|
40
|
+
required: false;
|
|
41
|
+
};
|
|
42
|
+
attributeQuery: {
|
|
43
|
+
instanceType: {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
};
|
|
46
|
+
collection: false;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
static create(args: AverageCreateArgs, options?: {
|
|
51
|
+
uuid?: string;
|
|
52
|
+
}): AverageInstance;
|
|
53
|
+
static stringify(instance: AverageInstance): string;
|
|
54
|
+
static clone(instance: AverageInstance, deep: boolean): AverageInstance;
|
|
55
|
+
static is(obj: unknown): obj is AverageInstance;
|
|
56
|
+
static check(data: unknown): boolean;
|
|
57
|
+
static parse(json: string): AverageInstance;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=Average.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Average.d.ts","sourceRoot":"","sources":["../../src/shared/Average.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAgC,MAAM,iBAAiB,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEvF,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,MAAM,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,kBAAkB,CAAC;CACpC;AAED,MAAM,WAAW,iBAAiB;IAChC,MAAM,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,kBAAkB,CAAC;CACpC;AAED,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,MAAM,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC3C,QAAQ,C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