@contractspec/example.analytics-dashboard 1.49.0 → 1.50.0
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.presentation.d.ts +4 -4
- package/dist/dashboard/dashboard.schema.d.ts +79 -79
- package/dist/dashboard/dashboard.schema.d.ts.map +1 -1
- package/dist/dashboard/dashboard.test-spec.d.ts +5 -5
- package/dist/dashboard/dashboard.test-spec.d.ts.map +1 -1
- package/dist/query/query.operation.d.ts +3 -3
- package/dist/query/query.presentation.d.ts +3 -3
- package/package.json +8 -8
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema115 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard/dashboard.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Dashboard status enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const DashboardStatusEnum:
|
|
7
|
+
declare const DashboardStatusEnum: _contractspec_lib_schema115.EnumType<[string, string, string]>;
|
|
8
8
|
/**
|
|
9
9
|
* Widget type enum.
|
|
10
10
|
*/
|
|
11
|
-
declare const WidgetTypeEnum:
|
|
11
|
+
declare const WidgetTypeEnum: _contractspec_lib_schema115.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
12
12
|
/**
|
|
13
13
|
* Refresh interval enum.
|
|
14
14
|
*/
|
|
15
|
-
declare const RefreshIntervalEnum:
|
|
15
|
+
declare const RefreshIntervalEnum: _contractspec_lib_schema115.EnumType<[string, string, string, string, string, string]>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DashboardStatusEnum, RefreshIntervalEnum, WidgetTypeEnum };
|
|
18
18
|
//# sourceMappingURL=dashboard.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.enum.d.ts","names":[],"sources":["../../src/dashboard/dashboard.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,mBAIX,EAAA,
|
|
1
|
+
{"version":3,"file":"dashboard.enum.d.ts","names":[],"sources":["../../src/dashboard/dashboard.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,mBAIX,EAAA,2BAAA,CAJ8B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAShC;AAkBA;;cAlBa,gBAaX,2BAAA,CAbyB;;;;cAkBd,qBAOX,2BAAA,CAP8B"}
|
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema118 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/dashboard/dashboard.operation.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a new analytics dashboard.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateDashboardContract:
|
|
8
|
+
declare const CreateDashboardContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
refreshInterval: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
dateRange: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
|
-
}>,
|
|
29
|
+
}>, _contractspec_lib_schema118.SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
slug: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
description: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
status: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
refreshInterval: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
isPublic: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
widgets: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema118.SchemaModel<{
|
|
60
60
|
id: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
dashboardId: {
|
|
65
|
-
type:
|
|
65
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
name: {
|
|
69
|
-
type:
|
|
69
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
type: {
|
|
73
|
-
type:
|
|
73
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
74
74
|
isOptional: false;
|
|
75
75
|
};
|
|
76
76
|
gridX: {
|
|
77
|
-
type:
|
|
77
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
gridY: {
|
|
81
|
-
type:
|
|
81
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
gridWidth: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
gridHeight: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
queryId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
94
94
|
isOptional: true;
|
|
95
95
|
};
|
|
96
96
|
config: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
}>;
|
|
@@ -102,7 +102,7 @@ declare const CreateDashboardContract: _contractspec_lib_contracts7.OperationSpe
|
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
createdAt: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema118.FieldType<Date, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
}>, {
|
|
@@ -112,75 +112,75 @@ declare const CreateDashboardContract: _contractspec_lib_contracts7.OperationSpe
|
|
|
112
112
|
owners: "@example.analytics-dashboard"[];
|
|
113
113
|
tags: string[];
|
|
114
114
|
when: string;
|
|
115
|
-
payload:
|
|
115
|
+
payload: _contractspec_lib_schema118.SchemaModel<{
|
|
116
116
|
id: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
name: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
slug: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
description: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
status: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
refreshInterval: {
|
|
137
|
-
type:
|
|
137
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
isPublic: {
|
|
141
|
-
type:
|
|
141
|
+
type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
widgets: {
|
|
145
|
-
type:
|
|
145
|
+
type: _contractspec_lib_schema118.SchemaModel<{
|
|
146
146
|
id: {
|
|
147
|
-
type:
|
|
147
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
dashboardId: {
|
|
151
|
-
type:
|
|
151
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
name: {
|
|
155
|
-
type:
|
|
155
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
type: {
|
|
159
|
-
type:
|
|
159
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
160
160
|
isOptional: false;
|
|
161
161
|
};
|
|
162
162
|
gridX: {
|
|
163
|
-
type:
|
|
163
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
164
164
|
isOptional: false;
|
|
165
165
|
};
|
|
166
166
|
gridY: {
|
|
167
|
-
type:
|
|
167
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
168
168
|
isOptional: false;
|
|
169
169
|
};
|
|
170
170
|
gridWidth: {
|
|
171
|
-
type:
|
|
171
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
gridHeight: {
|
|
175
|
-
type:
|
|
175
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
queryId: {
|
|
179
|
-
type:
|
|
179
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
180
180
|
isOptional: true;
|
|
181
181
|
};
|
|
182
182
|
config: {
|
|
183
|
-
type:
|
|
183
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
}>;
|
|
@@ -188,7 +188,7 @@ declare const CreateDashboardContract: _contractspec_lib_contracts7.OperationSpe
|
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
createdAt: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema118.FieldType<Date, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
}>;
|
|
@@ -196,82 +196,82 @@ declare const CreateDashboardContract: _contractspec_lib_contracts7.OperationSpe
|
|
|
196
196
|
/**
|
|
197
197
|
* Add a widget to a dashboard.
|
|
198
198
|
*/
|
|
199
|
-
declare const AddWidgetContract:
|
|
199
|
+
declare const AddWidgetContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
|
|
200
200
|
dashboardId: {
|
|
201
|
-
type:
|
|
201
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
name: {
|
|
205
|
-
type:
|
|
205
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
type: {
|
|
209
|
-
type:
|
|
209
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
210
210
|
isOptional: false;
|
|
211
211
|
};
|
|
212
212
|
gridX: {
|
|
213
|
-
type:
|
|
213
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
gridY: {
|
|
217
|
-
type:
|
|
217
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
gridWidth: {
|
|
221
|
-
type:
|
|
221
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
222
222
|
isOptional: true;
|
|
223
223
|
};
|
|
224
224
|
gridHeight: {
|
|
225
|
-
type:
|
|
225
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
226
226
|
isOptional: true;
|
|
227
227
|
};
|
|
228
228
|
queryId: {
|
|
229
|
-
type:
|
|
229
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
230
230
|
isOptional: true;
|
|
231
231
|
};
|
|
232
232
|
config: {
|
|
233
|
-
type:
|
|
233
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
234
234
|
isOptional: true;
|
|
235
235
|
};
|
|
236
|
-
}>,
|
|
236
|
+
}>, _contractspec_lib_schema118.SchemaModel<{
|
|
237
237
|
id: {
|
|
238
|
-
type:
|
|
238
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
239
239
|
isOptional: false;
|
|
240
240
|
};
|
|
241
241
|
dashboardId: {
|
|
242
|
-
type:
|
|
242
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
243
243
|
isOptional: false;
|
|
244
244
|
};
|
|
245
245
|
name: {
|
|
246
|
-
type:
|
|
246
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
247
247
|
isOptional: false;
|
|
248
248
|
};
|
|
249
249
|
type: {
|
|
250
|
-
type:
|
|
250
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
251
251
|
isOptional: false;
|
|
252
252
|
};
|
|
253
253
|
gridX: {
|
|
254
|
-
type:
|
|
254
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
255
255
|
isOptional: false;
|
|
256
256
|
};
|
|
257
257
|
gridY: {
|
|
258
|
-
type:
|
|
258
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
gridWidth: {
|
|
262
|
-
type:
|
|
262
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
gridHeight: {
|
|
266
|
-
type:
|
|
266
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
267
267
|
isOptional: false;
|
|
268
268
|
};
|
|
269
269
|
queryId: {
|
|
270
|
-
type:
|
|
270
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
271
271
|
isOptional: true;
|
|
272
272
|
};
|
|
273
273
|
config: {
|
|
274
|
-
type:
|
|
274
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
275
275
|
isOptional: true;
|
|
276
276
|
};
|
|
277
277
|
}>, {
|
|
@@ -281,45 +281,45 @@ declare const AddWidgetContract: _contractspec_lib_contracts7.OperationSpec<_con
|
|
|
281
281
|
owners: "@example.analytics-dashboard"[];
|
|
282
282
|
tags: string[];
|
|
283
283
|
when: string;
|
|
284
|
-
payload:
|
|
284
|
+
payload: _contractspec_lib_schema118.SchemaModel<{
|
|
285
285
|
id: {
|
|
286
|
-
type:
|
|
286
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
287
287
|
isOptional: false;
|
|
288
288
|
};
|
|
289
289
|
dashboardId: {
|
|
290
|
-
type:
|
|
290
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
291
291
|
isOptional: false;
|
|
292
292
|
};
|
|
293
293
|
name: {
|
|
294
|
-
type:
|
|
294
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
295
295
|
isOptional: false;
|
|
296
296
|
};
|
|
297
297
|
type: {
|
|
298
|
-
type:
|
|
298
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
299
299
|
isOptional: false;
|
|
300
300
|
};
|
|
301
301
|
gridX: {
|
|
302
|
-
type:
|
|
302
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
303
303
|
isOptional: false;
|
|
304
304
|
};
|
|
305
305
|
gridY: {
|
|
306
|
-
type:
|
|
306
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
307
307
|
isOptional: false;
|
|
308
308
|
};
|
|
309
309
|
gridWidth: {
|
|
310
|
-
type:
|
|
310
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
311
311
|
isOptional: false;
|
|
312
312
|
};
|
|
313
313
|
gridHeight: {
|
|
314
|
-
type:
|
|
314
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
315
315
|
isOptional: false;
|
|
316
316
|
};
|
|
317
317
|
queryId: {
|
|
318
|
-
type:
|
|
318
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
319
319
|
isOptional: true;
|
|
320
320
|
};
|
|
321
321
|
config: {
|
|
322
|
-
type:
|
|
322
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
323
323
|
isOptional: true;
|
|
324
324
|
};
|
|
325
325
|
}>;
|
|
@@ -327,96 +327,96 @@ declare const AddWidgetContract: _contractspec_lib_contracts7.OperationSpec<_con
|
|
|
327
327
|
/**
|
|
328
328
|
* List dashboards.
|
|
329
329
|
*/
|
|
330
|
-
declare const ListDashboardsContract:
|
|
330
|
+
declare const ListDashboardsContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
|
|
331
331
|
status: {
|
|
332
|
-
type:
|
|
332
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
|
|
333
333
|
isOptional: true;
|
|
334
334
|
};
|
|
335
335
|
search: {
|
|
336
|
-
type:
|
|
336
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
337
337
|
isOptional: true;
|
|
338
338
|
};
|
|
339
339
|
limit: {
|
|
340
|
-
type:
|
|
340
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
341
341
|
isOptional: true;
|
|
342
342
|
defaultValue: number;
|
|
343
343
|
};
|
|
344
344
|
offset: {
|
|
345
|
-
type:
|
|
345
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
346
346
|
isOptional: true;
|
|
347
347
|
defaultValue: number;
|
|
348
348
|
};
|
|
349
|
-
}>,
|
|
349
|
+
}>, _contractspec_lib_schema118.SchemaModel<{
|
|
350
350
|
dashboards: {
|
|
351
|
-
type:
|
|
351
|
+
type: _contractspec_lib_schema118.SchemaModel<{
|
|
352
352
|
id: {
|
|
353
|
-
type:
|
|
353
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
354
354
|
isOptional: false;
|
|
355
355
|
};
|
|
356
356
|
name: {
|
|
357
|
-
type:
|
|
357
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
358
358
|
isOptional: false;
|
|
359
359
|
};
|
|
360
360
|
slug: {
|
|
361
|
-
type:
|
|
361
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
362
362
|
isOptional: false;
|
|
363
363
|
};
|
|
364
364
|
description: {
|
|
365
|
-
type:
|
|
365
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
366
366
|
isOptional: true;
|
|
367
367
|
};
|
|
368
368
|
status: {
|
|
369
|
-
type:
|
|
369
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
|
|
370
370
|
isOptional: false;
|
|
371
371
|
};
|
|
372
372
|
refreshInterval: {
|
|
373
|
-
type:
|
|
373
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
|
|
374
374
|
isOptional: false;
|
|
375
375
|
};
|
|
376
376
|
isPublic: {
|
|
377
|
-
type:
|
|
377
|
+
type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
|
|
378
378
|
isOptional: false;
|
|
379
379
|
};
|
|
380
380
|
widgets: {
|
|
381
|
-
type:
|
|
381
|
+
type: _contractspec_lib_schema118.SchemaModel<{
|
|
382
382
|
id: {
|
|
383
|
-
type:
|
|
383
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
384
384
|
isOptional: false;
|
|
385
385
|
};
|
|
386
386
|
dashboardId: {
|
|
387
|
-
type:
|
|
387
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
388
388
|
isOptional: false;
|
|
389
389
|
};
|
|
390
390
|
name: {
|
|
391
|
-
type:
|
|
391
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
392
392
|
isOptional: false;
|
|
393
393
|
};
|
|
394
394
|
type: {
|
|
395
|
-
type:
|
|
395
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
396
396
|
isOptional: false;
|
|
397
397
|
};
|
|
398
398
|
gridX: {
|
|
399
|
-
type:
|
|
399
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
400
400
|
isOptional: false;
|
|
401
401
|
};
|
|
402
402
|
gridY: {
|
|
403
|
-
type:
|
|
403
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
404
404
|
isOptional: false;
|
|
405
405
|
};
|
|
406
406
|
gridWidth: {
|
|
407
|
-
type:
|
|
407
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
408
408
|
isOptional: false;
|
|
409
409
|
};
|
|
410
410
|
gridHeight: {
|
|
411
|
-
type:
|
|
411
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
412
412
|
isOptional: false;
|
|
413
413
|
};
|
|
414
414
|
queryId: {
|
|
415
|
-
type:
|
|
415
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
416
416
|
isOptional: true;
|
|
417
417
|
};
|
|
418
418
|
config: {
|
|
419
|
-
type:
|
|
419
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
420
420
|
isOptional: true;
|
|
421
421
|
};
|
|
422
422
|
}>;
|
|
@@ -424,7 +424,7 @@ declare const ListDashboardsContract: _contractspec_lib_contracts7.OperationSpec
|
|
|
424
424
|
isOptional: true;
|
|
425
425
|
};
|
|
426
426
|
createdAt: {
|
|
427
|
-
type:
|
|
427
|
+
type: _contractspec_lib_schema118.FieldType<Date, string>;
|
|
428
428
|
isOptional: false;
|
|
429
429
|
};
|
|
430
430
|
}>;
|
|
@@ -432,95 +432,95 @@ declare const ListDashboardsContract: _contractspec_lib_contracts7.OperationSpec
|
|
|
432
432
|
isOptional: false;
|
|
433
433
|
};
|
|
434
434
|
total: {
|
|
435
|
-
type:
|
|
435
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
436
436
|
isOptional: false;
|
|
437
437
|
};
|
|
438
438
|
}>, undefined>;
|
|
439
439
|
/**
|
|
440
440
|
* Get a dashboard with widgets.
|
|
441
441
|
*/
|
|
442
|
-
declare const GetDashboardContract:
|
|
442
|
+
declare const GetDashboardContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
|
|
443
443
|
dashboardId: {
|
|
444
|
-
type:
|
|
444
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
445
445
|
isOptional: true;
|
|
446
446
|
};
|
|
447
447
|
slug: {
|
|
448
|
-
type:
|
|
448
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
449
449
|
isOptional: true;
|
|
450
450
|
};
|
|
451
451
|
shareToken: {
|
|
452
|
-
type:
|
|
452
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
453
453
|
isOptional: true;
|
|
454
454
|
};
|
|
455
|
-
}>,
|
|
455
|
+
}>, _contractspec_lib_schema118.SchemaModel<{
|
|
456
456
|
id: {
|
|
457
|
-
type:
|
|
457
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
458
458
|
isOptional: false;
|
|
459
459
|
};
|
|
460
460
|
name: {
|
|
461
|
-
type:
|
|
461
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
462
462
|
isOptional: false;
|
|
463
463
|
};
|
|
464
464
|
slug: {
|
|
465
|
-
type:
|
|
465
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
466
466
|
isOptional: false;
|
|
467
467
|
};
|
|
468
468
|
description: {
|
|
469
|
-
type:
|
|
469
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
470
470
|
isOptional: true;
|
|
471
471
|
};
|
|
472
472
|
status: {
|
|
473
|
-
type:
|
|
473
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
|
|
474
474
|
isOptional: false;
|
|
475
475
|
};
|
|
476
476
|
refreshInterval: {
|
|
477
|
-
type:
|
|
477
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
|
|
478
478
|
isOptional: false;
|
|
479
479
|
};
|
|
480
480
|
isPublic: {
|
|
481
|
-
type:
|
|
481
|
+
type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
|
|
482
482
|
isOptional: false;
|
|
483
483
|
};
|
|
484
484
|
widgets: {
|
|
485
|
-
type:
|
|
485
|
+
type: _contractspec_lib_schema118.SchemaModel<{
|
|
486
486
|
id: {
|
|
487
|
-
type:
|
|
487
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
488
488
|
isOptional: false;
|
|
489
489
|
};
|
|
490
490
|
dashboardId: {
|
|
491
|
-
type:
|
|
491
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
492
492
|
isOptional: false;
|
|
493
493
|
};
|
|
494
494
|
name: {
|
|
495
|
-
type:
|
|
495
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
496
496
|
isOptional: false;
|
|
497
497
|
};
|
|
498
498
|
type: {
|
|
499
|
-
type:
|
|
499
|
+
type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
500
500
|
isOptional: false;
|
|
501
501
|
};
|
|
502
502
|
gridX: {
|
|
503
|
-
type:
|
|
503
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
504
504
|
isOptional: false;
|
|
505
505
|
};
|
|
506
506
|
gridY: {
|
|
507
|
-
type:
|
|
507
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
508
508
|
isOptional: false;
|
|
509
509
|
};
|
|
510
510
|
gridWidth: {
|
|
511
|
-
type:
|
|
511
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
512
512
|
isOptional: false;
|
|
513
513
|
};
|
|
514
514
|
gridHeight: {
|
|
515
|
-
type:
|
|
515
|
+
type: _contractspec_lib_schema118.FieldType<number, number>;
|
|
516
516
|
isOptional: false;
|
|
517
517
|
};
|
|
518
518
|
queryId: {
|
|
519
|
-
type:
|
|
519
|
+
type: _contractspec_lib_schema118.FieldType<string, string>;
|
|
520
520
|
isOptional: true;
|
|
521
521
|
};
|
|
522
522
|
config: {
|
|
523
|
-
type:
|
|
523
|
+
type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
|
|
524
524
|
isOptional: true;
|
|
525
525
|
};
|
|
526
526
|
}>;
|
|
@@ -528,7 +528,7 @@ declare const GetDashboardContract: _contractspec_lib_contracts7.OperationSpec<_
|
|
|
528
528
|
isOptional: true;
|
|
529
529
|
};
|
|
530
530
|
createdAt: {
|
|
531
|
-
type:
|
|
531
|
+
type: _contractspec_lib_schema118.FieldType<Date, string>;
|
|
532
532
|
isOptional: false;
|
|
533
533
|
};
|
|
534
534
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.operation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAmBa,
|
|
1
|
+
{"version":3,"file":"dashboard.operation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAmBa,uDAAuB,0CAAA;EAAvB,IAAA,EAAA;IA+CX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;EA/CkC,CAAA;;;;;;;;;;;;;;;UAAA,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA,IAAA,yCAAA,CAAA;MAoDvB,EAAA,EAAA;QAgDX,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;yBAhD4B;MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;mDAAA,CAAA,MAAA,EAAA,MAAA,CAAA;QAAA,UAAA,EAAA,IAAA;MAqDjB,CAAA;MA8BX,MAAA,EAAA;;;;;IA9BiC,OAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;MAAA,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;MAmCtB,UAAA,EAAA,KA8BX;IAAA,CAAA;;;;IA9B+B,CAAA;;;;;;;;;;;;;;;;;;;;;sBAAA,KAAA;QAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAxFpB,iDAAiB,0CAAA;;UAgD5B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAhD4B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqDjB,sDAAsB,0CAAA;;UA8BjC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cA9BiC,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCtB,oDAAoB,0CAAA;;UA8B/B,2BAAA,CAAA;;;;;;;;;;;;;UA9B+B,2BAAA,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts15 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard/dashboard.presentation.d.ts
|
|
4
|
-
declare const DashboardsListPresentation:
|
|
5
|
-
declare const DashboardViewPresentation:
|
|
6
|
-
declare const DashboardEditorPresentation:
|
|
4
|
+
declare const DashboardsListPresentation: _contractspec_lib_contracts15.PresentationSpec;
|
|
5
|
+
declare const DashboardViewPresentation: _contractspec_lib_contracts15.PresentationSpec;
|
|
6
|
+
declare const DashboardEditorPresentation: _contractspec_lib_contracts15.PresentationSpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { DashboardEditorPresentation, DashboardViewPresentation, DashboardsListPresentation };
|
|
9
9
|
//# sourceMappingURL=dashboard.presentation.d.ts.map
|
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema37 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard/dashboard.schema.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* A dashboard widget.
|
|
6
6
|
*/
|
|
7
|
-
declare const WidgetModel:
|
|
7
|
+
declare const WidgetModel: _contractspec_lib_schema37.SchemaModel<{
|
|
8
8
|
id: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
dashboardId: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
14
14
|
isOptional: false;
|
|
15
15
|
};
|
|
16
16
|
name: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
type: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
22
22
|
isOptional: false;
|
|
23
23
|
};
|
|
24
24
|
gridX: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
gridY: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
gridWidth: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
gridHeight: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
queryId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
42
42
|
isOptional: true;
|
|
43
43
|
};
|
|
44
44
|
config: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema37.FieldType<unknown, unknown>;
|
|
46
46
|
isOptional: true;
|
|
47
47
|
};
|
|
48
48
|
}>;
|
|
49
49
|
/**
|
|
50
50
|
* An analytics dashboard.
|
|
51
51
|
*/
|
|
52
|
-
declare const DashboardModel:
|
|
52
|
+
declare const DashboardModel: _contractspec_lib_schema37.SchemaModel<{
|
|
53
53
|
id: {
|
|
54
|
-
type:
|
|
54
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
name: {
|
|
58
|
-
type:
|
|
58
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
slug: {
|
|
62
|
-
type:
|
|
62
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
description: {
|
|
66
|
-
type:
|
|
66
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
67
67
|
isOptional: true;
|
|
68
68
|
};
|
|
69
69
|
status: {
|
|
70
|
-
type:
|
|
70
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string]>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
refreshInterval: {
|
|
74
|
-
type:
|
|
74
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
isPublic: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema37.FieldType<boolean, boolean>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
widgets: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema37.SchemaModel<{
|
|
83
83
|
id: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
dashboardId: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
name: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
type: {
|
|
96
|
-
type:
|
|
96
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
gridX: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
gridY: {
|
|
104
|
-
type:
|
|
104
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
gridWidth: {
|
|
108
|
-
type:
|
|
108
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
gridHeight: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
queryId: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
117
117
|
isOptional: true;
|
|
118
118
|
};
|
|
119
119
|
config: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema37.FieldType<unknown, unknown>;
|
|
121
121
|
isOptional: true;
|
|
122
122
|
};
|
|
123
123
|
}>;
|
|
@@ -125,95 +125,95 @@ declare const DashboardModel: _contractspec_lib_schema169.SchemaModel<{
|
|
|
125
125
|
isOptional: true;
|
|
126
126
|
};
|
|
127
127
|
createdAt: {
|
|
128
|
-
type:
|
|
128
|
+
type: _contractspec_lib_schema37.FieldType<Date, string>;
|
|
129
129
|
isOptional: false;
|
|
130
130
|
};
|
|
131
131
|
}>;
|
|
132
132
|
/**
|
|
133
133
|
* Input for creating a dashboard.
|
|
134
134
|
*/
|
|
135
|
-
declare const CreateDashboardInputModel:
|
|
135
|
+
declare const CreateDashboardInputModel: _contractspec_lib_schema37.SchemaModel<{
|
|
136
136
|
name: {
|
|
137
|
-
type:
|
|
137
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
slug: {
|
|
141
|
-
type:
|
|
141
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
description: {
|
|
145
|
-
type:
|
|
145
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
146
146
|
isOptional: true;
|
|
147
147
|
};
|
|
148
148
|
refreshInterval: {
|
|
149
|
-
type:
|
|
149
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
150
150
|
isOptional: true;
|
|
151
151
|
};
|
|
152
152
|
dateRange: {
|
|
153
|
-
type:
|
|
153
|
+
type: _contractspec_lib_schema37.FieldType<unknown, unknown>;
|
|
154
154
|
isOptional: true;
|
|
155
155
|
};
|
|
156
156
|
}>;
|
|
157
157
|
/**
|
|
158
158
|
* Input for adding a widget.
|
|
159
159
|
*/
|
|
160
|
-
declare const AddWidgetInputModel:
|
|
160
|
+
declare const AddWidgetInputModel: _contractspec_lib_schema37.SchemaModel<{
|
|
161
161
|
dashboardId: {
|
|
162
|
-
type:
|
|
162
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
163
163
|
isOptional: false;
|
|
164
164
|
};
|
|
165
165
|
name: {
|
|
166
|
-
type:
|
|
166
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
167
167
|
isOptional: false;
|
|
168
168
|
};
|
|
169
169
|
type: {
|
|
170
|
-
type:
|
|
170
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
171
171
|
isOptional: false;
|
|
172
172
|
};
|
|
173
173
|
gridX: {
|
|
174
|
-
type:
|
|
174
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
175
175
|
isOptional: true;
|
|
176
176
|
};
|
|
177
177
|
gridY: {
|
|
178
|
-
type:
|
|
178
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
179
179
|
isOptional: true;
|
|
180
180
|
};
|
|
181
181
|
gridWidth: {
|
|
182
|
-
type:
|
|
182
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
183
183
|
isOptional: true;
|
|
184
184
|
};
|
|
185
185
|
gridHeight: {
|
|
186
|
-
type:
|
|
186
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
187
187
|
isOptional: true;
|
|
188
188
|
};
|
|
189
189
|
queryId: {
|
|
190
|
-
type:
|
|
190
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
191
191
|
isOptional: true;
|
|
192
192
|
};
|
|
193
193
|
config: {
|
|
194
|
-
type:
|
|
194
|
+
type: _contractspec_lib_schema37.FieldType<unknown, unknown>;
|
|
195
195
|
isOptional: true;
|
|
196
196
|
};
|
|
197
197
|
}>;
|
|
198
198
|
/**
|
|
199
199
|
* Input for listing dashboards.
|
|
200
200
|
*/
|
|
201
|
-
declare const ListDashboardsInputModel:
|
|
201
|
+
declare const ListDashboardsInputModel: _contractspec_lib_schema37.SchemaModel<{
|
|
202
202
|
status: {
|
|
203
|
-
type:
|
|
203
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string]>;
|
|
204
204
|
isOptional: true;
|
|
205
205
|
};
|
|
206
206
|
search: {
|
|
207
|
-
type:
|
|
207
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
208
208
|
isOptional: true;
|
|
209
209
|
};
|
|
210
210
|
limit: {
|
|
211
|
-
type:
|
|
211
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
212
212
|
isOptional: true;
|
|
213
213
|
defaultValue: number;
|
|
214
214
|
};
|
|
215
215
|
offset: {
|
|
216
|
-
type:
|
|
216
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
217
217
|
isOptional: true;
|
|
218
218
|
defaultValue: number;
|
|
219
219
|
};
|
|
@@ -221,77 +221,77 @@ declare const ListDashboardsInputModel: _contractspec_lib_schema169.SchemaModel<
|
|
|
221
221
|
/**
|
|
222
222
|
* Output for listing dashboards.
|
|
223
223
|
*/
|
|
224
|
-
declare const ListDashboardsOutputModel:
|
|
224
|
+
declare const ListDashboardsOutputModel: _contractspec_lib_schema37.SchemaModel<{
|
|
225
225
|
dashboards: {
|
|
226
|
-
type:
|
|
226
|
+
type: _contractspec_lib_schema37.SchemaModel<{
|
|
227
227
|
id: {
|
|
228
|
-
type:
|
|
228
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
229
229
|
isOptional: false;
|
|
230
230
|
};
|
|
231
231
|
name: {
|
|
232
|
-
type:
|
|
232
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
233
233
|
isOptional: false;
|
|
234
234
|
};
|
|
235
235
|
slug: {
|
|
236
|
-
type:
|
|
236
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
237
237
|
isOptional: false;
|
|
238
238
|
};
|
|
239
239
|
description: {
|
|
240
|
-
type:
|
|
240
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
241
241
|
isOptional: true;
|
|
242
242
|
};
|
|
243
243
|
status: {
|
|
244
|
-
type:
|
|
244
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string]>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
refreshInterval: {
|
|
248
|
-
type:
|
|
248
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string]>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
isPublic: {
|
|
252
|
-
type:
|
|
252
|
+
type: _contractspec_lib_schema37.FieldType<boolean, boolean>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
widgets: {
|
|
256
|
-
type:
|
|
256
|
+
type: _contractspec_lib_schema37.SchemaModel<{
|
|
257
257
|
id: {
|
|
258
|
-
type:
|
|
258
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
dashboardId: {
|
|
262
|
-
type:
|
|
262
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
name: {
|
|
266
|
-
type:
|
|
266
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
267
267
|
isOptional: false;
|
|
268
268
|
};
|
|
269
269
|
type: {
|
|
270
|
-
type:
|
|
270
|
+
type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
271
271
|
isOptional: false;
|
|
272
272
|
};
|
|
273
273
|
gridX: {
|
|
274
|
-
type:
|
|
274
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
275
275
|
isOptional: false;
|
|
276
276
|
};
|
|
277
277
|
gridY: {
|
|
278
|
-
type:
|
|
278
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
279
279
|
isOptional: false;
|
|
280
280
|
};
|
|
281
281
|
gridWidth: {
|
|
282
|
-
type:
|
|
282
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
283
283
|
isOptional: false;
|
|
284
284
|
};
|
|
285
285
|
gridHeight: {
|
|
286
|
-
type:
|
|
286
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
287
287
|
isOptional: false;
|
|
288
288
|
};
|
|
289
289
|
queryId: {
|
|
290
|
-
type:
|
|
290
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
291
291
|
isOptional: true;
|
|
292
292
|
};
|
|
293
293
|
config: {
|
|
294
|
-
type:
|
|
294
|
+
type: _contractspec_lib_schema37.FieldType<unknown, unknown>;
|
|
295
295
|
isOptional: true;
|
|
296
296
|
};
|
|
297
297
|
}>;
|
|
@@ -299,7 +299,7 @@ declare const ListDashboardsOutputModel: _contractspec_lib_schema169.SchemaModel
|
|
|
299
299
|
isOptional: true;
|
|
300
300
|
};
|
|
301
301
|
createdAt: {
|
|
302
|
-
type:
|
|
302
|
+
type: _contractspec_lib_schema37.FieldType<Date, string>;
|
|
303
303
|
isOptional: false;
|
|
304
304
|
};
|
|
305
305
|
}>;
|
|
@@ -307,24 +307,24 @@ declare const ListDashboardsOutputModel: _contractspec_lib_schema169.SchemaModel
|
|
|
307
307
|
isOptional: false;
|
|
308
308
|
};
|
|
309
309
|
total: {
|
|
310
|
-
type:
|
|
310
|
+
type: _contractspec_lib_schema37.FieldType<number, number>;
|
|
311
311
|
isOptional: false;
|
|
312
312
|
};
|
|
313
313
|
}>;
|
|
314
314
|
/**
|
|
315
315
|
* Input for getting a dashboard.
|
|
316
316
|
*/
|
|
317
|
-
declare const GetDashboardInputModel:
|
|
317
|
+
declare const GetDashboardInputModel: _contractspec_lib_schema37.SchemaModel<{
|
|
318
318
|
dashboardId: {
|
|
319
|
-
type:
|
|
319
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
320
320
|
isOptional: true;
|
|
321
321
|
};
|
|
322
322
|
slug: {
|
|
323
|
-
type:
|
|
323
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
324
324
|
isOptional: true;
|
|
325
325
|
};
|
|
326
326
|
shareToken: {
|
|
327
|
-
type:
|
|
327
|
+
type: _contractspec_lib_schema37.FieldType<string, string>;
|
|
328
328
|
isOptional: true;
|
|
329
329
|
};
|
|
330
330
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.schema.d.ts","names":[],"sources":["../../src/dashboard/dashboard.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,WAcX,
|
|
1
|
+
{"version":3,"file":"dashboard.schema.d.ts","names":[],"sources":["../../src/dashboard/dashboard.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAUa,cAAA,WAcX,6BAdsB,WActB,CAAA;EAAA,EAAA,EAAA;UAAA,0BAAA,CAAA;;;;;;;;;;EAdsB,CAAA;EAmBX,IAAA,EAAA;IAaX,IAAA,qCAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;8CAbyB,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAkBd,CAAA;EASX,MAAA,EAAA;;;;;;;AAKF;AAaE,cA7CW,cA6CX,6BA7CyB,WA6CzB,CAAA;;UAhCA,0BAAA,CAAA;;;;;;;;IAmB8B,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAkBnB,UAAA,EAAA,KAAA;EAgBX,CAAA;;;;;EAhBmC,MAAA,EAAA;IAqBxB,IAAA,qCAMX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;oBANoC,KAAA;MAAA,CAAA;MAWzB,IAAA,EAAA;QAOX,IAAA,qCAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;;;;QAPiC,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAhEtB,sDAAyB;;UASpC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;cAKW,gDAAmB;;UAa9B,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,qDAAwB;;UAgBnC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cAKW,sDAAyB;;;;cAMpC,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,mDAAsB;;UAOjC,0BAAA,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts7 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard/dashboard.test-spec.d.ts
|
|
4
|
-
declare const CreateDashboardTest:
|
|
5
|
-
declare const ListDashboardsTest:
|
|
6
|
-
declare const GetDashboardTest:
|
|
7
|
-
declare const AddWidgetTest:
|
|
4
|
+
declare const CreateDashboardTest: _contractspec_lib_contracts7.TestSpec;
|
|
5
|
+
declare const ListDashboardsTest: _contractspec_lib_contracts7.TestSpec;
|
|
6
|
+
declare const GetDashboardTest: _contractspec_lib_contracts7.TestSpec;
|
|
7
|
+
declare const AddWidgetTest: _contractspec_lib_contracts7.TestSpec;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AddWidgetTest, CreateDashboardTest, GetDashboardTest, ListDashboardsTest };
|
|
10
10
|
//# sourceMappingURL=dashboard.test-spec.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.test-spec.d.ts","names":[],"sources":["../../src/dashboard/dashboard.test-spec.ts"],"sourcesContent":[],"mappings":";;;cAEa,qBAmDX,
|
|
1
|
+
{"version":3,"file":"dashboard.test-spec.d.ts","names":[],"sources":["../../src/dashboard/dashboard.test-spec.ts"],"sourcesContent":[],"mappings":";;;cAEa,qBAmDX,4BAAA,CAnD8B;cAqDnB,oBA+CX,4BAAA,CA/C6B;cAiDlB,kBA8CX,4BAAA,CA9C2B;AAtGhB,cAsJA,aAnGX,EA4JA,4BAAA,CAzDwB,QAnGxB"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
|
|
2
2
|
import * as _contractspec_lib_schema248 from "@contractspec/lib.schema";
|
|
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:
|
|
8
|
+
declare const CreateQueryContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
10
|
type: _contractspec_lib_schema248.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
@@ -125,7 +125,7 @@ declare const CreateQueryContract: _contractspec_lib_contracts20.OperationSpec<_
|
|
|
125
125
|
/**
|
|
126
126
|
* Execute a data query.
|
|
127
127
|
*/
|
|
128
|
-
declare const ExecuteQueryContract:
|
|
128
|
+
declare const ExecuteQueryContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
|
|
129
129
|
queryId: {
|
|
130
130
|
type: _contractspec_lib_schema248.FieldType<string, string>;
|
|
131
131
|
isOptional: false;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts20 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/query/query.presentation.d.ts
|
|
4
|
-
declare const QueriesListPresentation:
|
|
5
|
-
declare const QueryBuilderPresentation:
|
|
4
|
+
declare const QueriesListPresentation: _contractspec_lib_contracts20.PresentationSpec;
|
|
5
|
+
declare const QueryBuilderPresentation: _contractspec_lib_contracts20.PresentationSpec;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { QueriesListPresentation, QueryBuilderPresentation };
|
|
8
8
|
//# sourceMappingURL=query.presentation.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.analytics-dashboard",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.50.0",
|
|
4
4
|
"description": "Analytics Dashboard example with widgets and query engine for ContractSpec",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
"lint:check": "eslint src"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@contractspec/lib.schema": "1.
|
|
21
|
-
"@contractspec/lib.contracts": "1.
|
|
22
|
-
"@contractspec/lib.example-shared-ui": "1.
|
|
23
|
-
"@contractspec/lib.design-system": "1.
|
|
24
|
-
"@contractspec/lib.runtime-sandbox": "0.
|
|
20
|
+
"@contractspec/lib.schema": "1.50.0",
|
|
21
|
+
"@contractspec/lib.contracts": "1.50.0",
|
|
22
|
+
"@contractspec/lib.example-shared-ui": "1.4.0",
|
|
23
|
+
"@contractspec/lib.design-system": "1.50.0",
|
|
24
|
+
"@contractspec/lib.runtime-sandbox": "0.5.0",
|
|
25
25
|
"react": "19.2.3",
|
|
26
26
|
"react-dom": "19.2.3"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@contractspec/tool.typescript": "1.
|
|
30
|
-
"@contractspec/tool.tsdown": "1.
|
|
29
|
+
"@contractspec/tool.typescript": "1.50.0",
|
|
30
|
+
"@contractspec/tool.tsdown": "1.50.0",
|
|
31
31
|
"typescript": "^5.9.3",
|
|
32
32
|
"@types/react": "^19.2.8",
|
|
33
33
|
"@types/react-dom": "^19.2.2"
|