@contractspec/example.analytics-dashboard 1.45.6 → 1.46.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/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/package.json +5 -5
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
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_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
slug: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
description: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
19
19
|
isOptional: true;
|
|
20
20
|
};
|
|
21
21
|
refreshInterval: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
23
23
|
isOptional: true;
|
|
24
24
|
};
|
|
25
25
|
dateRange: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
|
-
}>,
|
|
29
|
+
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
30
30
|
id: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
name: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
slug: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
description: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
status: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
refreshInterval: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
isPublic: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
widgets: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
60
60
|
id: {
|
|
61
|
-
type:
|
|
61
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
62
62
|
isOptional: false;
|
|
63
63
|
};
|
|
64
64
|
dashboardId: {
|
|
65
|
-
type:
|
|
65
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
66
66
|
isOptional: false;
|
|
67
67
|
};
|
|
68
68
|
name: {
|
|
69
|
-
type:
|
|
69
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
70
70
|
isOptional: false;
|
|
71
71
|
};
|
|
72
72
|
type: {
|
|
73
|
-
type:
|
|
73
|
+
type: _contractspec_lib_schema0.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_schema0.FieldType<number, number>;
|
|
78
78
|
isOptional: false;
|
|
79
79
|
};
|
|
80
80
|
gridY: {
|
|
81
|
-
type:
|
|
81
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
82
82
|
isOptional: false;
|
|
83
83
|
};
|
|
84
84
|
gridWidth: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
gridHeight: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
queryId: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
94
94
|
isOptional: true;
|
|
95
95
|
};
|
|
96
96
|
config: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
}>;
|
|
@@ -102,7 +102,7 @@ declare const CreateDashboardContract: _contractspec_lib_contracts5.OperationSpe
|
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
createdAt: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
}>, {
|
|
@@ -112,75 +112,75 @@ declare const CreateDashboardContract: _contractspec_lib_contracts5.OperationSpe
|
|
|
112
112
|
owners: "@example.analytics-dashboard"[];
|
|
113
113
|
tags: string[];
|
|
114
114
|
when: string;
|
|
115
|
-
payload:
|
|
115
|
+
payload: _contractspec_lib_schema0.SchemaModel<{
|
|
116
116
|
id: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
name: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
slug: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
description: {
|
|
129
|
-
type:
|
|
129
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
130
130
|
isOptional: true;
|
|
131
131
|
};
|
|
132
132
|
status: {
|
|
133
|
-
type:
|
|
133
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
134
134
|
isOptional: false;
|
|
135
135
|
};
|
|
136
136
|
refreshInterval: {
|
|
137
|
-
type:
|
|
137
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
138
138
|
isOptional: false;
|
|
139
139
|
};
|
|
140
140
|
isPublic: {
|
|
141
|
-
type:
|
|
141
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
142
142
|
isOptional: false;
|
|
143
143
|
};
|
|
144
144
|
widgets: {
|
|
145
|
-
type:
|
|
145
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
146
146
|
id: {
|
|
147
|
-
type:
|
|
147
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
dashboardId: {
|
|
151
|
-
type:
|
|
151
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
name: {
|
|
155
|
-
type:
|
|
155
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
type: {
|
|
159
|
-
type:
|
|
159
|
+
type: _contractspec_lib_schema0.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_schema0.FieldType<number, number>;
|
|
164
164
|
isOptional: false;
|
|
165
165
|
};
|
|
166
166
|
gridY: {
|
|
167
|
-
type:
|
|
167
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
168
168
|
isOptional: false;
|
|
169
169
|
};
|
|
170
170
|
gridWidth: {
|
|
171
|
-
type:
|
|
171
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
gridHeight: {
|
|
175
|
-
type:
|
|
175
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
176
176
|
isOptional: false;
|
|
177
177
|
};
|
|
178
178
|
queryId: {
|
|
179
|
-
type:
|
|
179
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
180
180
|
isOptional: true;
|
|
181
181
|
};
|
|
182
182
|
config: {
|
|
183
|
-
type:
|
|
183
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
}>;
|
|
@@ -188,7 +188,7 @@ declare const CreateDashboardContract: _contractspec_lib_contracts5.OperationSpe
|
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
createdAt: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
192
192
|
isOptional: false;
|
|
193
193
|
};
|
|
194
194
|
}>;
|
|
@@ -196,82 +196,82 @@ declare const CreateDashboardContract: _contractspec_lib_contracts5.OperationSpe
|
|
|
196
196
|
/**
|
|
197
197
|
* Add a widget to a dashboard.
|
|
198
198
|
*/
|
|
199
|
-
declare const AddWidgetContract:
|
|
199
|
+
declare const AddWidgetContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
200
200
|
dashboardId: {
|
|
201
|
-
type:
|
|
201
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
202
202
|
isOptional: false;
|
|
203
203
|
};
|
|
204
204
|
name: {
|
|
205
|
-
type:
|
|
205
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
206
206
|
isOptional: false;
|
|
207
207
|
};
|
|
208
208
|
type: {
|
|
209
|
-
type:
|
|
209
|
+
type: _contractspec_lib_schema0.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_schema0.FieldType<number, number>;
|
|
214
214
|
isOptional: true;
|
|
215
215
|
};
|
|
216
216
|
gridY: {
|
|
217
|
-
type:
|
|
217
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
218
218
|
isOptional: true;
|
|
219
219
|
};
|
|
220
220
|
gridWidth: {
|
|
221
|
-
type:
|
|
221
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
222
222
|
isOptional: true;
|
|
223
223
|
};
|
|
224
224
|
gridHeight: {
|
|
225
|
-
type:
|
|
225
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
226
226
|
isOptional: true;
|
|
227
227
|
};
|
|
228
228
|
queryId: {
|
|
229
|
-
type:
|
|
229
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
230
230
|
isOptional: true;
|
|
231
231
|
};
|
|
232
232
|
config: {
|
|
233
|
-
type:
|
|
233
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
234
234
|
isOptional: true;
|
|
235
235
|
};
|
|
236
|
-
}>,
|
|
236
|
+
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
237
237
|
id: {
|
|
238
|
-
type:
|
|
238
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
239
239
|
isOptional: false;
|
|
240
240
|
};
|
|
241
241
|
dashboardId: {
|
|
242
|
-
type:
|
|
242
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
243
243
|
isOptional: false;
|
|
244
244
|
};
|
|
245
245
|
name: {
|
|
246
|
-
type:
|
|
246
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
247
247
|
isOptional: false;
|
|
248
248
|
};
|
|
249
249
|
type: {
|
|
250
|
-
type:
|
|
250
|
+
type: _contractspec_lib_schema0.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_schema0.FieldType<number, number>;
|
|
255
255
|
isOptional: false;
|
|
256
256
|
};
|
|
257
257
|
gridY: {
|
|
258
|
-
type:
|
|
258
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
gridWidth: {
|
|
262
|
-
type:
|
|
262
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
gridHeight: {
|
|
266
|
-
type:
|
|
266
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
267
267
|
isOptional: false;
|
|
268
268
|
};
|
|
269
269
|
queryId: {
|
|
270
|
-
type:
|
|
270
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
271
271
|
isOptional: true;
|
|
272
272
|
};
|
|
273
273
|
config: {
|
|
274
|
-
type:
|
|
274
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
275
275
|
isOptional: true;
|
|
276
276
|
};
|
|
277
277
|
}>, {
|
|
@@ -281,45 +281,45 @@ declare const AddWidgetContract: _contractspec_lib_contracts5.OperationSpec<_con
|
|
|
281
281
|
owners: "@example.analytics-dashboard"[];
|
|
282
282
|
tags: string[];
|
|
283
283
|
when: string;
|
|
284
|
-
payload:
|
|
284
|
+
payload: _contractspec_lib_schema0.SchemaModel<{
|
|
285
285
|
id: {
|
|
286
|
-
type:
|
|
286
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
287
287
|
isOptional: false;
|
|
288
288
|
};
|
|
289
289
|
dashboardId: {
|
|
290
|
-
type:
|
|
290
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
291
291
|
isOptional: false;
|
|
292
292
|
};
|
|
293
293
|
name: {
|
|
294
|
-
type:
|
|
294
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
295
295
|
isOptional: false;
|
|
296
296
|
};
|
|
297
297
|
type: {
|
|
298
|
-
type:
|
|
298
|
+
type: _contractspec_lib_schema0.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_schema0.FieldType<number, number>;
|
|
303
303
|
isOptional: false;
|
|
304
304
|
};
|
|
305
305
|
gridY: {
|
|
306
|
-
type:
|
|
306
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
307
307
|
isOptional: false;
|
|
308
308
|
};
|
|
309
309
|
gridWidth: {
|
|
310
|
-
type:
|
|
310
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
311
311
|
isOptional: false;
|
|
312
312
|
};
|
|
313
313
|
gridHeight: {
|
|
314
|
-
type:
|
|
314
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
315
315
|
isOptional: false;
|
|
316
316
|
};
|
|
317
317
|
queryId: {
|
|
318
|
-
type:
|
|
318
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
319
319
|
isOptional: true;
|
|
320
320
|
};
|
|
321
321
|
config: {
|
|
322
|
-
type:
|
|
322
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
323
323
|
isOptional: true;
|
|
324
324
|
};
|
|
325
325
|
}>;
|
|
@@ -327,96 +327,96 @@ declare const AddWidgetContract: _contractspec_lib_contracts5.OperationSpec<_con
|
|
|
327
327
|
/**
|
|
328
328
|
* List dashboards.
|
|
329
329
|
*/
|
|
330
|
-
declare const ListDashboardsContract:
|
|
330
|
+
declare const ListDashboardsContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
331
331
|
status: {
|
|
332
|
-
type:
|
|
332
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
333
333
|
isOptional: true;
|
|
334
334
|
};
|
|
335
335
|
search: {
|
|
336
|
-
type:
|
|
336
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
337
337
|
isOptional: true;
|
|
338
338
|
};
|
|
339
339
|
limit: {
|
|
340
|
-
type:
|
|
340
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
341
341
|
isOptional: true;
|
|
342
342
|
defaultValue: number;
|
|
343
343
|
};
|
|
344
344
|
offset: {
|
|
345
|
-
type:
|
|
345
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
346
346
|
isOptional: true;
|
|
347
347
|
defaultValue: number;
|
|
348
348
|
};
|
|
349
|
-
}>,
|
|
349
|
+
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
350
350
|
dashboards: {
|
|
351
|
-
type:
|
|
351
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
352
352
|
id: {
|
|
353
|
-
type:
|
|
353
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
354
354
|
isOptional: false;
|
|
355
355
|
};
|
|
356
356
|
name: {
|
|
357
|
-
type:
|
|
357
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
358
358
|
isOptional: false;
|
|
359
359
|
};
|
|
360
360
|
slug: {
|
|
361
|
-
type:
|
|
361
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
362
362
|
isOptional: false;
|
|
363
363
|
};
|
|
364
364
|
description: {
|
|
365
|
-
type:
|
|
365
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
366
366
|
isOptional: true;
|
|
367
367
|
};
|
|
368
368
|
status: {
|
|
369
|
-
type:
|
|
369
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
370
370
|
isOptional: false;
|
|
371
371
|
};
|
|
372
372
|
refreshInterval: {
|
|
373
|
-
type:
|
|
373
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
374
374
|
isOptional: false;
|
|
375
375
|
};
|
|
376
376
|
isPublic: {
|
|
377
|
-
type:
|
|
377
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
378
378
|
isOptional: false;
|
|
379
379
|
};
|
|
380
380
|
widgets: {
|
|
381
|
-
type:
|
|
381
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
382
382
|
id: {
|
|
383
|
-
type:
|
|
383
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
384
384
|
isOptional: false;
|
|
385
385
|
};
|
|
386
386
|
dashboardId: {
|
|
387
|
-
type:
|
|
387
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
388
388
|
isOptional: false;
|
|
389
389
|
};
|
|
390
390
|
name: {
|
|
391
|
-
type:
|
|
391
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
392
392
|
isOptional: false;
|
|
393
393
|
};
|
|
394
394
|
type: {
|
|
395
|
-
type:
|
|
395
|
+
type: _contractspec_lib_schema0.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_schema0.FieldType<number, number>;
|
|
400
400
|
isOptional: false;
|
|
401
401
|
};
|
|
402
402
|
gridY: {
|
|
403
|
-
type:
|
|
403
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
404
404
|
isOptional: false;
|
|
405
405
|
};
|
|
406
406
|
gridWidth: {
|
|
407
|
-
type:
|
|
407
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
408
408
|
isOptional: false;
|
|
409
409
|
};
|
|
410
410
|
gridHeight: {
|
|
411
|
-
type:
|
|
411
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
412
412
|
isOptional: false;
|
|
413
413
|
};
|
|
414
414
|
queryId: {
|
|
415
|
-
type:
|
|
415
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
416
416
|
isOptional: true;
|
|
417
417
|
};
|
|
418
418
|
config: {
|
|
419
|
-
type:
|
|
419
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
420
420
|
isOptional: true;
|
|
421
421
|
};
|
|
422
422
|
}>;
|
|
@@ -424,7 +424,7 @@ declare const ListDashboardsContract: _contractspec_lib_contracts5.OperationSpec
|
|
|
424
424
|
isOptional: true;
|
|
425
425
|
};
|
|
426
426
|
createdAt: {
|
|
427
|
-
type:
|
|
427
|
+
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
428
428
|
isOptional: false;
|
|
429
429
|
};
|
|
430
430
|
}>;
|
|
@@ -432,95 +432,95 @@ declare const ListDashboardsContract: _contractspec_lib_contracts5.OperationSpec
|
|
|
432
432
|
isOptional: false;
|
|
433
433
|
};
|
|
434
434
|
total: {
|
|
435
|
-
type:
|
|
435
|
+
type: _contractspec_lib_schema0.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_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
443
443
|
dashboardId: {
|
|
444
|
-
type:
|
|
444
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
445
445
|
isOptional: true;
|
|
446
446
|
};
|
|
447
447
|
slug: {
|
|
448
|
-
type:
|
|
448
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
449
449
|
isOptional: true;
|
|
450
450
|
};
|
|
451
451
|
shareToken: {
|
|
452
|
-
type:
|
|
452
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
453
453
|
isOptional: true;
|
|
454
454
|
};
|
|
455
|
-
}>,
|
|
455
|
+
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
456
456
|
id: {
|
|
457
|
-
type:
|
|
457
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
458
458
|
isOptional: false;
|
|
459
459
|
};
|
|
460
460
|
name: {
|
|
461
|
-
type:
|
|
461
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
462
462
|
isOptional: false;
|
|
463
463
|
};
|
|
464
464
|
slug: {
|
|
465
|
-
type:
|
|
465
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
466
466
|
isOptional: false;
|
|
467
467
|
};
|
|
468
468
|
description: {
|
|
469
|
-
type:
|
|
469
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
470
470
|
isOptional: true;
|
|
471
471
|
};
|
|
472
472
|
status: {
|
|
473
|
-
type:
|
|
473
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
474
474
|
isOptional: false;
|
|
475
475
|
};
|
|
476
476
|
refreshInterval: {
|
|
477
|
-
type:
|
|
477
|
+
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
478
478
|
isOptional: false;
|
|
479
479
|
};
|
|
480
480
|
isPublic: {
|
|
481
|
-
type:
|
|
481
|
+
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
482
482
|
isOptional: false;
|
|
483
483
|
};
|
|
484
484
|
widgets: {
|
|
485
|
-
type:
|
|
485
|
+
type: _contractspec_lib_schema0.SchemaModel<{
|
|
486
486
|
id: {
|
|
487
|
-
type:
|
|
487
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
488
488
|
isOptional: false;
|
|
489
489
|
};
|
|
490
490
|
dashboardId: {
|
|
491
|
-
type:
|
|
491
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
492
492
|
isOptional: false;
|
|
493
493
|
};
|
|
494
494
|
name: {
|
|
495
|
-
type:
|
|
495
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
496
496
|
isOptional: false;
|
|
497
497
|
};
|
|
498
498
|
type: {
|
|
499
|
-
type:
|
|
499
|
+
type: _contractspec_lib_schema0.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_schema0.FieldType<number, number>;
|
|
504
504
|
isOptional: false;
|
|
505
505
|
};
|
|
506
506
|
gridY: {
|
|
507
|
-
type:
|
|
507
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
508
508
|
isOptional: false;
|
|
509
509
|
};
|
|
510
510
|
gridWidth: {
|
|
511
|
-
type:
|
|
511
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
512
512
|
isOptional: false;
|
|
513
513
|
};
|
|
514
514
|
gridHeight: {
|
|
515
|
-
type:
|
|
515
|
+
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
516
516
|
isOptional: false;
|
|
517
517
|
};
|
|
518
518
|
queryId: {
|
|
519
|
-
type:
|
|
519
|
+
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
520
520
|
isOptional: true;
|
|
521
521
|
};
|
|
522
522
|
config: {
|
|
523
|
-
type:
|
|
523
|
+
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
524
524
|
isOptional: true;
|
|
525
525
|
};
|
|
526
526
|
}>;
|
|
@@ -528,7 +528,7 @@ declare const GetDashboardContract: _contractspec_lib_contracts5.OperationSpec<_
|
|
|
528
528
|
isOptional: true;
|
|
529
529
|
};
|
|
530
530
|
createdAt: {
|
|
531
|
-
type:
|
|
531
|
+
type: _contractspec_lib_schema0.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,sDAAuB,
|
|
1
|
+
{"version":3,"file":"dashboard.operation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAmBa,sDAAuB,wCAAA;EAAvB,IAAA,EAAA;IA+CX,IAAA,EAAA,yBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;EA/CkC,CAAA;;;;;;;;;;;;;;;UAAA,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA,IAAA,uCAAA,CAAA;MAoDvB,EAAA,EAAA;QAgDX,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;oBAhD4B,KAAA;MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;iDAAA,CAAA,MAAA,EAAA,MAAA,CAAA;QAAA,UAAA,EAAA,IAAA;MAqDjB,CAAA;MA8BX,MAAA,EAAA;;;;;IA9BiC,OAAA,EAAA,IAAA;;;;;;;;;;;;;;;;;;;;;;;;MAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;MAmCtB,UAAA,EAAA,KA8BX;IAAA,CAAA;;;sBA9B+B;IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;oBAAA,EAAA,KAAA;QAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAxFpB,gDAAiB,wCAAA;;UAgD5B,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAhD4B,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqDjB,qDAAsB,wCAAA;;UA8BjC,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;cA9BiC,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCtB,mDAAoB,wCAAA;;UA8B/B,yBAAA,CAAA;;;;;;;;;;;;;UA9B+B,yBAAA,CAAA"}
|