@lssm/example.analytics-dashboard 0.0.0-canary-20251217080011 → 0.0.0-canary-20251217083314
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.
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _lssm_lib_schema115 from "@lssm/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/query/query.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A data query.
|
|
6
6
|
*/
|
|
7
|
-
declare const QueryModel:
|
|
7
|
+
declare const QueryModel: _lssm_lib_schema115.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
name: {
|
|
13
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
description: {
|
|
17
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
type: {
|
|
21
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema115.EnumType<[string, string, string, string]>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
definition: {
|
|
25
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema115.FieldType<unknown, unknown>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
sql: {
|
|
29
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
cacheTtlSeconds: {
|
|
33
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema115.FieldType<number, number>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
isShared: {
|
|
37
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema115.FieldType<boolean, boolean>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
createdAt: {
|
|
41
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema115.FieldType<Date, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
}>;
|
|
45
45
|
/**
|
|
46
46
|
* Query execution result.
|
|
47
47
|
*/
|
|
48
|
-
declare const QueryResultModel:
|
|
48
|
+
declare const QueryResultModel: _lssm_lib_schema115.SchemaModel<{
|
|
49
49
|
queryId: {
|
|
50
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
51
51
|
isOptional: false;
|
|
52
52
|
};
|
|
53
53
|
data: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema115.FieldType<unknown, unknown>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
columns: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema115.FieldType<unknown, unknown>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
rowCount: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema115.FieldType<number, number>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
executionTimeMs: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema115.FieldType<number, number>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
cachedAt: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema115.FieldType<Date, string>;
|
|
71
71
|
isOptional: true;
|
|
72
72
|
};
|
|
73
73
|
error: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
75
75
|
isOptional: true;
|
|
76
76
|
};
|
|
77
77
|
}>;
|
|
78
78
|
/**
|
|
79
79
|
* Input for creating a query.
|
|
80
80
|
*/
|
|
81
|
-
declare const CreateQueryInputModel:
|
|
81
|
+
declare const CreateQueryInputModel: _lssm_lib_schema115.SchemaModel<{
|
|
82
82
|
name: {
|
|
83
|
-
type:
|
|
83
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
84
84
|
isOptional: false;
|
|
85
85
|
};
|
|
86
86
|
description: {
|
|
87
|
-
type:
|
|
87
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
88
88
|
isOptional: true;
|
|
89
89
|
};
|
|
90
90
|
type: {
|
|
91
|
-
type:
|
|
91
|
+
type: _lssm_lib_schema115.EnumType<[string, string, string, string]>;
|
|
92
92
|
isOptional: false;
|
|
93
93
|
};
|
|
94
94
|
definition: {
|
|
95
|
-
type:
|
|
95
|
+
type: _lssm_lib_schema115.FieldType<unknown, unknown>;
|
|
96
96
|
isOptional: false;
|
|
97
97
|
};
|
|
98
98
|
sql: {
|
|
99
|
-
type:
|
|
99
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
100
100
|
isOptional: true;
|
|
101
101
|
};
|
|
102
102
|
metricIds: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
104
104
|
isArray: true;
|
|
105
105
|
isOptional: true;
|
|
106
106
|
};
|
|
107
107
|
cacheTtlSeconds: {
|
|
108
|
-
type:
|
|
108
|
+
type: _lssm_lib_schema115.FieldType<number, number>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
isShared: {
|
|
112
|
-
type:
|
|
112
|
+
type: _lssm_lib_schema115.FieldType<boolean, boolean>;
|
|
113
113
|
isOptional: true;
|
|
114
114
|
};
|
|
115
115
|
}>;
|
|
116
116
|
/**
|
|
117
117
|
* Input for executing a query.
|
|
118
118
|
*/
|
|
119
|
-
declare const ExecuteQueryInputModel:
|
|
119
|
+
declare const ExecuteQueryInputModel: _lssm_lib_schema115.SchemaModel<{
|
|
120
120
|
queryId: {
|
|
121
|
-
type:
|
|
121
|
+
type: _lssm_lib_schema115.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
parameters: {
|
|
125
|
-
type:
|
|
125
|
+
type: _lssm_lib_schema115.FieldType<unknown, unknown>;
|
|
126
126
|
isOptional: true;
|
|
127
127
|
};
|
|
128
128
|
dateRange: {
|
|
129
|
-
type:
|
|
129
|
+
type: _lssm_lib_schema115.FieldType<unknown, unknown>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
filters: {
|
|
133
|
-
type:
|
|
133
|
+
type: _lssm_lib_schema115.FieldType<unknown, unknown>;
|
|
134
134
|
isOptional: true;
|
|
135
135
|
};
|
|
136
136
|
forceRefresh: {
|
|
137
|
-
type:
|
|
137
|
+
type: _lssm_lib_schema115.FieldType<boolean, boolean>;
|
|
138
138
|
isOptional: true;
|
|
139
139
|
};
|
|
140
140
|
}>;
|
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-20251217083314",
|
|
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-20251217083314",
|
|
22
|
+
"@lssm/lib.contracts": "0.0.0-canary-20251217083314",
|
|
23
|
+
"@lssm/lib.bus": "0.0.0-canary-20251217083314",
|
|
24
|
+
"@lssm/lib.identity-rbac": "0.0.0-canary-20251217083314",
|
|
25
|
+
"@lssm/lib.metering": "0.0.0-canary-20251217083314",
|
|
26
|
+
"@lssm/lib.jobs": "0.0.0-canary-20251217083314",
|
|
27
|
+
"@lssm/module.audit-trail": "0.0.0-canary-20251217083314",
|
|
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-20251217083314",
|
|
32
|
+
"@lssm/tool.tsdown": "0.0.0-canary-20251217083314",
|
|
33
33
|
"typescript": "^5.9.3"
|
|
34
34
|
},
|
|
35
35
|
"exports": {
|