@lssm/example.analytics-dashboard 1.42.1 → 1.42.3
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/dashboard/dashboard.enum.d.ts +4 -4
- package/dist/dashboard/dashboard.enum.d.ts.map +1 -1
- package/dist/dashboard/dashboard.operation.d.ts +131 -131
- package/dist/dashboard/dashboard.operation.d.ts.map +1 -1
- package/dist/dashboard/dashboard.schema.d.ts +79 -79
- package/dist/events.d.ts +40 -40
- package/dist/events.d.ts.map +1 -1
- package/dist/query/query.enum.d.ts +2 -2
- package/dist/query/query.operation.d.ts +44 -44
- package/dist/query-engine/index.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema248 from "@lssm/lib.schema";
|
|
2
2
|
import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
|
|
3
3
|
|
|
4
4
|
//#region src/query/query.operation.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a data query.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateQueryContract: _lssm_lib_contracts9.OperationSpec<
|
|
8
|
+
declare const CreateQueryContract: _lssm_lib_contracts9.OperationSpec<_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
|
}>, {
|
|
@@ -83,41 +83,41 @@ declare const CreateQueryContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib_
|
|
|
83
83
|
owners: "@example.analytics-dashboard"[];
|
|
84
84
|
tags: string[];
|
|
85
85
|
when: string;
|
|
86
|
-
payload:
|
|
86
|
+
payload: _lssm_lib_schema248.SchemaModel<{
|
|
87
87
|
id: {
|
|
88
|
-
type:
|
|
88
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
name: {
|
|
92
|
-
type:
|
|
92
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
description: {
|
|
96
|
-
type:
|
|
96
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
type: {
|
|
100
|
-
type:
|
|
100
|
+
type: _lssm_lib_schema248.EnumType<[string, string, string, string]>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
definition: {
|
|
104
|
-
type:
|
|
104
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
sql: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
cacheTtlSeconds: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
isShared: {
|
|
116
|
-
type:
|
|
116
|
+
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
createdAt: {
|
|
120
|
-
type:
|
|
120
|
+
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
}>;
|
|
@@ -125,54 +125,54 @@ declare const CreateQueryContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib_
|
|
|
125
125
|
/**
|
|
126
126
|
* Execute a data query.
|
|
127
127
|
*/
|
|
128
|
-
declare const ExecuteQueryContract: _lssm_lib_contracts9.OperationSpec<
|
|
128
|
+
declare const ExecuteQueryContract: _lssm_lib_contracts9.OperationSpec<_lssm_lib_schema248.SchemaModel<{
|
|
129
129
|
queryId: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
parameters: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
dateRange: {
|
|
138
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
139
139
|
isOptional: true;
|
|
140
140
|
};
|
|
141
141
|
filters: {
|
|
142
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
143
143
|
isOptional: true;
|
|
144
144
|
};
|
|
145
145
|
forceRefresh: {
|
|
146
|
-
type:
|
|
146
|
+
type: _lssm_lib_schema248.FieldType<boolean, boolean>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
|
-
}>,
|
|
149
|
+
}>, _lssm_lib_schema248.SchemaModel<{
|
|
150
150
|
queryId: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
data: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
columns: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema248.FieldType<unknown, unknown>;
|
|
160
160
|
isOptional: false;
|
|
161
161
|
};
|
|
162
162
|
rowCount: {
|
|
163
|
-
type:
|
|
163
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
164
164
|
isOptional: false;
|
|
165
165
|
};
|
|
166
166
|
executionTimeMs: {
|
|
167
|
-
type:
|
|
167
|
+
type: _lssm_lib_schema248.FieldType<number, number>;
|
|
168
168
|
isOptional: false;
|
|
169
169
|
};
|
|
170
170
|
cachedAt: {
|
|
171
|
-
type:
|
|
171
|
+
type: _lssm_lib_schema248.FieldType<Date, string>;
|
|
172
172
|
isOptional: true;
|
|
173
173
|
};
|
|
174
174
|
error: {
|
|
175
|
-
type:
|
|
175
|
+
type: _lssm_lib_schema248.FieldType<string, string>;
|
|
176
176
|
isOptional: true;
|
|
177
177
|
};
|
|
178
178
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/query-engine/index.ts"],"sourcesContent":[],"mappings":";;AAQA;AAQA;;;AAIY,UAZK,eAAA,CAYL;EACA,IAAA,EAAA,KAAA,GAAA,QAAA,GAAA,aAAA,GAAA,QAAA;EAAiB,GAAA,CAAA,EAAA,MAAA;EAIZ,SAAA,CAAA,EAAA,MAAA,EAAiB;EAOjB,WAAA,CAAA,EApBD,qBAoBoB;EAO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OAAA;;AACI,UAvDd,iBAAA,CAuDc;EAAO,KAAA,EAAA,MAAA;EAGzB,SAAA,EAAA,KAAA,GAAA,MAAmB;;AAGN,UAxDT,qBAAA,CAwDS;EAYd,OAAA,EAAA,MAAA;EAEP,UAAA,EApES,MAoET,CAAA,MAAA,EAAA,OAAA,CAAA;;AAjBsC,UAhD1B,eAAA,CAgD0B;EAAW,SAAA,CAAA,EAAA;IAkCzC,KAAA,EAhFF,IAgFE;IAGS,GAAA,EAlFb,IAkFa;IAKN,WAAA,CAAA,EAAA,MAAA;EACJ,CAAA;EACC,OAAA,CAAA,EAtFD,gBAsFC,EAAA;EAAR,UAAA,CAAA,EArFU,MAqFV,CAAA,MAAA,EAAA,OAAA,CAAA;;AAVoC,UAxExB,WAAA,CAwEwB;EAAY,IAAA,EAvE7C,MAuE6C,CAAA,MAAA,EAAA,OAAA,CAAA,EAAA;EA6OrC,OAAA,EAnTL,gBAmTsB,EAAA;;;;aA/SpB;;;UAII,gBAAA;;;;;;UASA,YAAA;sBAED,yBACJ,kBACP,QAAQ;4BACe;;;;;UAQX,WAAA;oBACG,QAAQ;2BACD,kCAAkC;+BAC9B;;cAGlB,kBAAA,YAA8B;;oBAGjB,QAAQ;2BAYtB,kCAEP;+BAKgC;;cAYxB,gBAAA,YAA4B;;sBAGnB;sBAKN,yBACJ,kBACP,QAAQ;4BAgEe;;;;;;;;;;iBAmKZ,iBAAA,SAA0B,cAAc"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lssm/example.analytics-dashboard",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.3",
|
|
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": "1.42.
|
|
22
|
-
"@lssm/lib.contracts": "1.42.
|
|
23
|
-
"@lssm/lib.bus": "1.42.
|
|
24
|
-
"@lssm/lib.identity-rbac": "1.42.
|
|
25
|
-
"@lssm/lib.metering": "1.42.
|
|
26
|
-
"@lssm/lib.jobs": "1.42.
|
|
27
|
-
"@lssm/module.audit-trail": "1.42.
|
|
21
|
+
"@lssm/lib.schema": "1.42.3",
|
|
22
|
+
"@lssm/lib.contracts": "1.42.3",
|
|
23
|
+
"@lssm/lib.bus": "1.42.3",
|
|
24
|
+
"@lssm/lib.identity-rbac": "1.42.3",
|
|
25
|
+
"@lssm/lib.metering": "1.42.3",
|
|
26
|
+
"@lssm/lib.jobs": "1.42.3",
|
|
27
|
+
"@lssm/module.audit-trail": "1.42.3",
|
|
28
28
|
"zod": "^4.1.13"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@lssm/tool.typescript": "1.42.
|
|
32
|
-
"@lssm/tool.tsdown": "1.42.
|
|
31
|
+
"@lssm/tool.typescript": "1.42.3",
|
|
32
|
+
"@lssm/tool.tsdown": "1.42.3",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|