interaqt 2.0.4 → 3.0.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/README.md +1 -1
- package/agent/agentspace/knowledge/generator/api-reference.md +2 -9
- package/agent/agentspace/knowledge/generator/permission-test-implementation.md +18 -0
- package/agent/agentspace/knowledge/generator/test-implementation.md +6 -5
- package/agent/agentspace/knowledge/usage/02-define-entities-properties.md +11 -6
- package/agent/agentspace/knowledge/usage/04-reactive-computations.md +6 -1
- package/agent/agentspace/knowledge/usage/05-interactions.md +51 -60
- package/agent/agentspace/knowledge/usage/06-attributive-permissions.md +54 -7
- package/agent/agentspace/knowledge/usage/07-payload-parameters.md +95 -72
- package/agent/agentspace/knowledge/usage/11-global-dictionaries.md +13 -14
- package/agent/agentspace/knowledge/usage/13-testing.md +2 -2
- package/agent/agentspace/knowledge/usage/14-api-reference.md +24 -66
- package/agent/agentspace/knowledge/usage/16-frontend-page-design-guide.md +3 -3
- package/agent/agentspace/knowledge/usage/18-api-exports-reference.md +2 -5
- package/agent/agentspace/knowledge/usage/README.md +2 -2
- package/agent/skill/interaqt-reference.md +6 -18
- package/dist/builtins/interaction/Condition.d.ts.map +1 -1
- package/dist/builtins/interaction/Interaction.d.ts +1 -22
- package/dist/builtins/interaction/Interaction.d.ts.map +1 -1
- package/dist/builtins/interaction/PayloadItem.d.ts +5 -14
- package/dist/builtins/interaction/PayloadItem.d.ts.map +1 -1
- package/dist/builtins/interaction/activity/ActivityCall.d.ts +2 -5
- package/dist/builtins/interaction/activity/ActivityCall.d.ts.map +1 -1
- package/dist/builtins/interaction/activity/ActivityManager.d.ts.map +1 -1
- package/dist/builtins/interaction/index.d.ts +0 -2
- package/dist/builtins/interaction/index.d.ts.map +1 -1
- package/dist/core/interfaces.d.ts +0 -12
- package/dist/core/interfaces.d.ts.map +1 -1
- package/dist/drivers/Mysql.d.ts +1 -0
- package/dist/drivers/Mysql.d.ts.map +1 -1
- package/dist/drivers/PGLite.d.ts +1 -0
- package/dist/drivers/PGLite.d.ts.map +1 -1
- package/dist/drivers/PostgreSQL.d.ts +1 -0
- package/dist/drivers/PostgreSQL.d.ts.map +1 -1
- package/dist/drivers/SQLite.d.ts +1 -0
- package/dist/drivers/SQLite.d.ts.map +1 -1
- package/dist/drivers.js +15 -5
- package/dist/drivers.js.map +1 -1
- package/dist/index.js +2464 -2606
- package/dist/index.js.map +1 -1
- package/dist/runtime/Controller.d.ts +12 -0
- package/dist/runtime/Controller.d.ts.map +1 -1
- package/dist/runtime/MonoSystem.d.ts.map +1 -1
- package/dist/runtime/Scheduler.d.ts +16 -0
- package/dist/runtime/Scheduler.d.ts.map +1 -1
- package/dist/runtime/System.d.ts +1 -0
- package/dist/runtime/System.d.ts.map +1 -1
- package/dist/runtime/computations/Custom.d.ts.map +1 -1
- package/dist/runtime/computations/StateMachine.d.ts +2 -0
- package/dist/runtime/computations/StateMachine.d.ts.map +1 -1
- package/dist/runtime/computations/Transform.d.ts.map +1 -1
- package/dist/runtime/computations/TransitionFinder.d.ts.map +1 -1
- package/dist/runtime/computations/aggregationTemplate.d.ts.map +1 -1
- package/dist/runtime/errors/ConditionErrors.d.ts +2 -5
- package/dist/runtime/errors/ConditionErrors.d.ts.map +1 -1
- package/dist/runtime/migration.d.ts.map +1 -1
- package/dist/runtime/transaction.d.ts.map +1 -1
- package/dist/storage/erstorage/EntityToTableMap.d.ts.map +1 -1
- package/dist/storage/erstorage/MatchExp.d.ts.map +1 -1
- package/dist/storage/erstorage/Modifier.d.ts.map +1 -1
- package/dist/storage/erstorage/QueryExecutor.d.ts.map +1 -1
- package/dist/storage/erstorage/SchemaDialect.d.ts +1 -0
- package/dist/storage/erstorage/SchemaDialect.d.ts.map +1 -1
- package/dist/storage/erstorage/Setup.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/builtins/interaction/Attributive.d.ts +0 -91
- package/dist/builtins/interaction/Attributive.d.ts.map +0 -1
- package/dist/builtins/interaction/User.d.ts +0 -10
- package/dist/builtins/interaction/User.d.ts.map +0 -1
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { IInstance, BoolAtomDataInstance, BoolExpressionDataInstance, BoolExp } from '../../core';
|
|
2
|
-
export interface AttributiveInstance extends IInstance {
|
|
3
|
-
stringContent?: string;
|
|
4
|
-
content: Function;
|
|
5
|
-
name?: string;
|
|
6
|
-
isRef?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface AttributiveCreateArgs {
|
|
9
|
-
stringContent?: string;
|
|
10
|
-
content: Function;
|
|
11
|
-
name?: string;
|
|
12
|
-
isRef?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare class Attributive implements AttributiveInstance {
|
|
15
|
-
uuid: string;
|
|
16
|
-
_type: string;
|
|
17
|
-
_options?: {
|
|
18
|
-
uuid?: string;
|
|
19
|
-
};
|
|
20
|
-
stringContent?: string;
|
|
21
|
-
content: Function;
|
|
22
|
-
name?: string;
|
|
23
|
-
isRef?: boolean;
|
|
24
|
-
constructor(args: AttributiveCreateArgs, options?: {
|
|
25
|
-
uuid?: string;
|
|
26
|
-
});
|
|
27
|
-
static isKlass: true;
|
|
28
|
-
static displayName: string;
|
|
29
|
-
static instances: AttributiveInstance[];
|
|
30
|
-
static public: {
|
|
31
|
-
stringContent: {
|
|
32
|
-
type: "string";
|
|
33
|
-
};
|
|
34
|
-
content: {
|
|
35
|
-
type: "function";
|
|
36
|
-
required: true;
|
|
37
|
-
collection: false;
|
|
38
|
-
};
|
|
39
|
-
name: {
|
|
40
|
-
type: "string";
|
|
41
|
-
};
|
|
42
|
-
isRef: {
|
|
43
|
-
type: "boolean";
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
static create(args: AttributiveCreateArgs, options?: {
|
|
47
|
-
uuid?: string;
|
|
48
|
-
}): AttributiveInstance;
|
|
49
|
-
static stringify(instance: AttributiveInstance): string;
|
|
50
|
-
static clone(instance: AttributiveInstance, deep: boolean): AttributiveInstance;
|
|
51
|
-
static is(obj: unknown): obj is AttributiveInstance;
|
|
52
|
-
static check(data: unknown): boolean;
|
|
53
|
-
static parse(json: string): AttributiveInstance;
|
|
54
|
-
}
|
|
55
|
-
export interface AttributivesInstance extends IInstance {
|
|
56
|
-
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
57
|
-
}
|
|
58
|
-
export interface AttributivesCreateArgs {
|
|
59
|
-
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
60
|
-
}
|
|
61
|
-
export declare class Attributives implements AttributivesInstance {
|
|
62
|
-
uuid: string;
|
|
63
|
-
_type: string;
|
|
64
|
-
_options?: {
|
|
65
|
-
uuid?: string;
|
|
66
|
-
};
|
|
67
|
-
content?: BoolExpressionDataInstance | BoolAtomDataInstance;
|
|
68
|
-
constructor(args: AttributivesCreateArgs, options?: {
|
|
69
|
-
uuid?: string;
|
|
70
|
-
});
|
|
71
|
-
static isKlass: true;
|
|
72
|
-
static displayName: string;
|
|
73
|
-
static instances: AttributivesInstance[];
|
|
74
|
-
static public: {
|
|
75
|
-
content: {
|
|
76
|
-
type: readonly ["BoolExpressionData", "BoolAtomData"];
|
|
77
|
-
collection: false;
|
|
78
|
-
required: false;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
static create(args: AttributivesCreateArgs, options?: {
|
|
82
|
-
uuid?: string;
|
|
83
|
-
}): AttributivesInstance;
|
|
84
|
-
static stringify(instance: AttributivesInstance): string;
|
|
85
|
-
static clone(instance: AttributivesInstance, deep: boolean): AttributivesInstance;
|
|
86
|
-
static is(obj: unknown): obj is AttributivesInstance;
|
|
87
|
-
static check(data: unknown): boolean;
|
|
88
|
-
static parse(json: string): AttributivesInstance;
|
|
89
|
-
}
|
|
90
|
-
export declare function boolExpToAttributives(obj: BoolExp<AttributiveInstance>): AttributivesInstance;
|
|
91
|
-
//# sourceMappingURL=Attributive.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Attributive.d.ts","sourceRoot":"","sources":["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AAoB;IAOjF,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,oBAAoB;IAIlD,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO;IAItC,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,oBAAoB;CAIjD;AAGD,OAAO,EAAE,OAAO,EAAgE,MAAM,OAAO,CAAC;AAqB9F,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,CAAC,mBAAmB,CAAC,wBAItE"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { AttributiveInstance } from './Attributive.js';
|
|
2
|
-
export interface UserRoleAttributiveOptions {
|
|
3
|
-
name?: string;
|
|
4
|
-
isRef?: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface AttributiveCreateOptions {
|
|
7
|
-
uuid?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare function createUserRoleAttributive({ name, isRef }: UserRoleAttributiveOptions, options?: AttributiveCreateOptions): AttributiveInstance;
|
|
10
|
-
//# sourceMappingURL=User.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../src/builtins/interaction/User.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAe,MAAM,kBAAkB,CAAC;AAGpE,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,yBAAyB,CACvC,EAAE,IAAI,EAAE,KAAa,EAAE,EAAE,0BAA0B,EACnD,OAAO,CAAC,EAAE,wBAAwB,GACjC,mBAAmB,CAWrB"}
|