@lssm/example.analytics-dashboard 0.0.0-canary-20251220030446 → 0.0.0-canary-20251220041653
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/query/query.contracts.d.ts +44 -44
- package/dist/query/query.enum.d.ts +2 -2
- package/package.json +10 -10
|
@@ -1,120 +1,120 @@
|
|
|
1
1
|
import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _lssm_lib_schema248 from "@lssm/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/query/query.contracts.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a data query.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateQueryContract: _lssm_lib_contracts9.ContractSpec<
|
|
8
|
+
declare const CreateQueryContract: _lssm_lib_contracts9.ContractSpec<_lssm_lib_schema248.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
description: {
|
|
14
|
-
type:
|
|
14
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
type: {
|
|
18
|
-
type:
|
|
18
|
+
type: _lssm_lib_schema248.EnumType<[string, string, string, string]>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
definition: {
|
|
22
|
-
type:
|
|
22
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
sql: {
|
|
26
|
-
type:
|
|
26
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
metricIds: {
|
|
30
|
-
type:
|
|
30
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
31
31
|
isArray: true;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
cacheTtlSeconds: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
isShared: {
|
|
39
|
-
type:
|
|
39
|
+
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
40
40
|
isOptional: true;
|
|
41
41
|
};
|
|
42
|
-
}>,
|
|
42
|
+
}>, _lssm_lib_schema248.SchemaModel<{
|
|
43
43
|
id: {
|
|
44
|
-
type:
|
|
44
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
45
45
|
isOptional: false;
|
|
46
46
|
};
|
|
47
47
|
name: {
|
|
48
|
-
type:
|
|
48
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
description: {
|
|
52
|
-
type:
|
|
52
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
53
53
|
isOptional: true;
|
|
54
54
|
};
|
|
55
55
|
type: {
|
|
56
|
-
type:
|
|
56
|
+
type: _lssm_lib_schema248.EnumType<[string, string, string, string]>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
definition: {
|
|
60
|
-
type:
|
|
60
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
sql: {
|
|
64
|
-
type:
|
|
64
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
};
|
|
67
67
|
cacheTtlSeconds: {
|
|
68
|
-
type:
|
|
68
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
isShared: {
|
|
72
|
-
type:
|
|
72
|
+
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
createdAt: {
|
|
76
|
-
type:
|
|
76
|
+
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
}>, {
|
|
80
80
|
name: string;
|
|
81
81
|
version: number;
|
|
82
82
|
when: string;
|
|
83
|
-
payload:
|
|
83
|
+
payload: _lssm_lib_schema248.SchemaModel<{
|
|
84
84
|
id: {
|
|
85
|
-
type:
|
|
85
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
name: {
|
|
89
|
-
type:
|
|
89
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
description: {
|
|
93
|
-
type:
|
|
93
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
94
94
|
isOptional: true;
|
|
95
95
|
};
|
|
96
96
|
type: {
|
|
97
|
-
type:
|
|
97
|
+
type: _lssm_lib_schema248.EnumType<[string, string, string, string]>;
|
|
98
98
|
isOptional: false;
|
|
99
99
|
};
|
|
100
100
|
definition: {
|
|
101
|
-
type:
|
|
101
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
102
102
|
isOptional: false;
|
|
103
103
|
};
|
|
104
104
|
sql: {
|
|
105
|
-
type:
|
|
105
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
cacheTtlSeconds: {
|
|
109
|
-
type:
|
|
109
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
isShared: {
|
|
113
|
-
type:
|
|
113
|
+
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
createdAt: {
|
|
117
|
-
type:
|
|
117
|
+
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
}>;
|
|
@@ -122,54 +122,54 @@ declare const CreateQueryContract: _lssm_lib_contracts9.ContractSpec<_lssm_lib_s
|
|
|
122
122
|
/**
|
|
123
123
|
* Execute a data query.
|
|
124
124
|
*/
|
|
125
|
-
declare const ExecuteQueryContract: _lssm_lib_contracts9.ContractSpec<
|
|
125
|
+
declare const ExecuteQueryContract: _lssm_lib_contracts9.ContractSpec<_lssm_lib_schema248.SchemaModel<{
|
|
126
126
|
queryId: {
|
|
127
|
-
type:
|
|
127
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
128
128
|
isOptional: false;
|
|
129
129
|
};
|
|
130
130
|
parameters: {
|
|
131
|
-
type:
|
|
131
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
132
132
|
isOptional: true;
|
|
133
133
|
};
|
|
134
134
|
dateRange: {
|
|
135
|
-
type:
|
|
135
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
136
136
|
isOptional: true;
|
|
137
137
|
};
|
|
138
138
|
filters: {
|
|
139
|
-
type:
|
|
139
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
140
140
|
isOptional: true;
|
|
141
141
|
};
|
|
142
142
|
forceRefresh: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
144
144
|
isOptional: true;
|
|
145
145
|
};
|
|
146
|
-
}>,
|
|
146
|
+
}>, _lssm_lib_schema248.SchemaModel<{
|
|
147
147
|
queryId: {
|
|
148
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
149
149
|
isOptional: false;
|
|
150
150
|
};
|
|
151
151
|
data: {
|
|
152
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
153
153
|
isOptional: false;
|
|
154
154
|
};
|
|
155
155
|
columns: {
|
|
156
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
157
157
|
isOptional: false;
|
|
158
158
|
};
|
|
159
159
|
rowCount: {
|
|
160
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
161
161
|
isOptional: false;
|
|
162
162
|
};
|
|
163
163
|
executionTimeMs: {
|
|
164
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
165
165
|
isOptional: false;
|
|
166
166
|
};
|
|
167
167
|
cachedAt: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
169
169
|
isOptional: true;
|
|
170
170
|
};
|
|
171
171
|
error: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
173
173
|
isOptional: true;
|
|
174
174
|
};
|
|
175
175
|
}>, undefined>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema247 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/query/query.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Query type enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const QueryTypeEnum:
|
|
7
|
+
declare const QueryTypeEnum: _lssm_lib_schema247.EnumType<[string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { QueryTypeEnum };
|
|
10
10
|
//# sourceMappingURL=query.enum.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.analytics-dashboard",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20251220041653",
|
|
4
4
|
"description": "Analytics Dashboard example with widgets and query engine for ContractSpec",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,18 +18,18 @@
|
|
|
18
18
|
"lint:check": "eslint src"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lssm/lib.schema": "0.0.0-canary-
|
|
22
|
-
"@lssm/lib.contracts": "0.0.0-canary-
|
|
23
|
-
"@lssm/lib.bus": "0.0.0-canary-
|
|
24
|
-
"@lssm/lib.identity-rbac": "0.0.0-canary-
|
|
25
|
-
"@lssm/lib.metering": "0.0.0-canary-
|
|
26
|
-
"@lssm/lib.jobs": "0.0.0-canary-
|
|
27
|
-
"@lssm/module.audit-trail": "0.0.0-canary-
|
|
21
|
+
"@lssm/lib.schema": "0.0.0-canary-20251220041653",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251220041653",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251220041653",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251220041653",
|
|
25
|
+
"@lssm/lib.metering": "0.0.0-canary-20251220041653",
|
|
26
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251220041653",
|
|
27
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251220041653",
|
|
28
28
|
"zod": "^4.1.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@lssm/tool.typescript": "0.0.0-canary-
|
|
32
|
-
"@lssm/tool.tsdown": "0.0.0-canary-
|
|
31
|
+
"@lssm/tool.typescript": "0.0.0-canary-20251220041653",
|
|
32
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251220041653",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|