@contractspec/example.analytics-dashboard 1.48.1 → 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.
@@ -1,18 +1,18 @@
1
- import * as _contractspec_lib_schema37 from "@contractspec/lib.schema";
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: _contractspec_lib_schema37.EnumType<[string, string, string]>;
7
+ declare const DashboardStatusEnum: _contractspec_lib_schema115.EnumType<[string, string, string]>;
8
8
  /**
9
9
  * Widget type enum.
10
10
  */
11
- declare const WidgetTypeEnum: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string]>;
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,0BAAA,CAJ8B,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;AAShC;AAkBA;;cAlBa,gBAaX,0BAAA,CAbyB;;;;cAkBd,qBAOX,0BAAA,CAP8B"}
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 _contractspec_lib_contracts7 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema40 from "@contractspec/lib.schema";
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: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
8
+ declare const CreateDashboardContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
9
9
  name: {
10
- type: _contractspec_lib_schema40.FieldType<string, string>;
10
+ type: _contractspec_lib_schema118.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  slug: {
14
- type: _contractspec_lib_schema40.FieldType<string, string>;
14
+ type: _contractspec_lib_schema118.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  description: {
18
- type: _contractspec_lib_schema40.FieldType<string, string>;
18
+ type: _contractspec_lib_schema118.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  refreshInterval: {
22
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string]>;
22
+ type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
23
23
  isOptional: true;
24
24
  };
25
25
  dateRange: {
26
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
26
+ type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
27
27
  isOptional: true;
28
28
  };
29
- }>, _contractspec_lib_schema40.SchemaModel<{
29
+ }>, _contractspec_lib_schema118.SchemaModel<{
30
30
  id: {
31
- type: _contractspec_lib_schema40.FieldType<string, string>;
31
+ type: _contractspec_lib_schema118.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  name: {
35
- type: _contractspec_lib_schema40.FieldType<string, string>;
35
+ type: _contractspec_lib_schema118.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  slug: {
39
- type: _contractspec_lib_schema40.FieldType<string, string>;
39
+ type: _contractspec_lib_schema118.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  description: {
43
- type: _contractspec_lib_schema40.FieldType<string, string>;
43
+ type: _contractspec_lib_schema118.FieldType<string, string>;
44
44
  isOptional: true;
45
45
  };
46
46
  status: {
47
- type: _contractspec_lib_schema40.EnumType<[string, string, string]>;
47
+ type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
48
48
  isOptional: false;
49
49
  };
50
50
  refreshInterval: {
51
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string]>;
51
+ type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
52
52
  isOptional: false;
53
53
  };
54
54
  isPublic: {
55
- type: _contractspec_lib_schema40.FieldType<boolean, boolean>;
55
+ type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
56
56
  isOptional: false;
57
57
  };
58
58
  widgets: {
59
- type: _contractspec_lib_schema40.SchemaModel<{
59
+ type: _contractspec_lib_schema118.SchemaModel<{
60
60
  id: {
61
- type: _contractspec_lib_schema40.FieldType<string, string>;
61
+ type: _contractspec_lib_schema118.FieldType<string, string>;
62
62
  isOptional: false;
63
63
  };
64
64
  dashboardId: {
65
- type: _contractspec_lib_schema40.FieldType<string, string>;
65
+ type: _contractspec_lib_schema118.FieldType<string, string>;
66
66
  isOptional: false;
67
67
  };
68
68
  name: {
69
- type: _contractspec_lib_schema40.FieldType<string, string>;
69
+ type: _contractspec_lib_schema118.FieldType<string, string>;
70
70
  isOptional: false;
71
71
  };
72
72
  type: {
73
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema40.FieldType<number, number>;
77
+ type: _contractspec_lib_schema118.FieldType<number, number>;
78
78
  isOptional: false;
79
79
  };
80
80
  gridY: {
81
- type: _contractspec_lib_schema40.FieldType<number, number>;
81
+ type: _contractspec_lib_schema118.FieldType<number, number>;
82
82
  isOptional: false;
83
83
  };
84
84
  gridWidth: {
85
- type: _contractspec_lib_schema40.FieldType<number, number>;
85
+ type: _contractspec_lib_schema118.FieldType<number, number>;
86
86
  isOptional: false;
87
87
  };
88
88
  gridHeight: {
89
- type: _contractspec_lib_schema40.FieldType<number, number>;
89
+ type: _contractspec_lib_schema118.FieldType<number, number>;
90
90
  isOptional: false;
91
91
  };
92
92
  queryId: {
93
- type: _contractspec_lib_schema40.FieldType<string, string>;
93
+ type: _contractspec_lib_schema118.FieldType<string, string>;
94
94
  isOptional: true;
95
95
  };
96
96
  config: {
97
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
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: _contractspec_lib_schema40.FieldType<Date, string>;
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: _contractspec_lib_schema40.SchemaModel<{
115
+ payload: _contractspec_lib_schema118.SchemaModel<{
116
116
  id: {
117
- type: _contractspec_lib_schema40.FieldType<string, string>;
117
+ type: _contractspec_lib_schema118.FieldType<string, string>;
118
118
  isOptional: false;
119
119
  };
120
120
  name: {
121
- type: _contractspec_lib_schema40.FieldType<string, string>;
121
+ type: _contractspec_lib_schema118.FieldType<string, string>;
122
122
  isOptional: false;
123
123
  };
124
124
  slug: {
125
- type: _contractspec_lib_schema40.FieldType<string, string>;
125
+ type: _contractspec_lib_schema118.FieldType<string, string>;
126
126
  isOptional: false;
127
127
  };
128
128
  description: {
129
- type: _contractspec_lib_schema40.FieldType<string, string>;
129
+ type: _contractspec_lib_schema118.FieldType<string, string>;
130
130
  isOptional: true;
131
131
  };
132
132
  status: {
133
- type: _contractspec_lib_schema40.EnumType<[string, string, string]>;
133
+ type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
134
134
  isOptional: false;
135
135
  };
136
136
  refreshInterval: {
137
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string]>;
137
+ type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
138
138
  isOptional: false;
139
139
  };
140
140
  isPublic: {
141
- type: _contractspec_lib_schema40.FieldType<boolean, boolean>;
141
+ type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
142
142
  isOptional: false;
143
143
  };
144
144
  widgets: {
145
- type: _contractspec_lib_schema40.SchemaModel<{
145
+ type: _contractspec_lib_schema118.SchemaModel<{
146
146
  id: {
147
- type: _contractspec_lib_schema40.FieldType<string, string>;
147
+ type: _contractspec_lib_schema118.FieldType<string, string>;
148
148
  isOptional: false;
149
149
  };
150
150
  dashboardId: {
151
- type: _contractspec_lib_schema40.FieldType<string, string>;
151
+ type: _contractspec_lib_schema118.FieldType<string, string>;
152
152
  isOptional: false;
153
153
  };
154
154
  name: {
155
- type: _contractspec_lib_schema40.FieldType<string, string>;
155
+ type: _contractspec_lib_schema118.FieldType<string, string>;
156
156
  isOptional: false;
157
157
  };
158
158
  type: {
159
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema40.FieldType<number, number>;
163
+ type: _contractspec_lib_schema118.FieldType<number, number>;
164
164
  isOptional: false;
165
165
  };
166
166
  gridY: {
167
- type: _contractspec_lib_schema40.FieldType<number, number>;
167
+ type: _contractspec_lib_schema118.FieldType<number, number>;
168
168
  isOptional: false;
169
169
  };
170
170
  gridWidth: {
171
- type: _contractspec_lib_schema40.FieldType<number, number>;
171
+ type: _contractspec_lib_schema118.FieldType<number, number>;
172
172
  isOptional: false;
173
173
  };
174
174
  gridHeight: {
175
- type: _contractspec_lib_schema40.FieldType<number, number>;
175
+ type: _contractspec_lib_schema118.FieldType<number, number>;
176
176
  isOptional: false;
177
177
  };
178
178
  queryId: {
179
- type: _contractspec_lib_schema40.FieldType<string, string>;
179
+ type: _contractspec_lib_schema118.FieldType<string, string>;
180
180
  isOptional: true;
181
181
  };
182
182
  config: {
183
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
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: _contractspec_lib_schema40.FieldType<Date, string>;
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: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
199
+ declare const AddWidgetContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
200
200
  dashboardId: {
201
- type: _contractspec_lib_schema40.FieldType<string, string>;
201
+ type: _contractspec_lib_schema118.FieldType<string, string>;
202
202
  isOptional: false;
203
203
  };
204
204
  name: {
205
- type: _contractspec_lib_schema40.FieldType<string, string>;
205
+ type: _contractspec_lib_schema118.FieldType<string, string>;
206
206
  isOptional: false;
207
207
  };
208
208
  type: {
209
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema40.FieldType<number, number>;
213
+ type: _contractspec_lib_schema118.FieldType<number, number>;
214
214
  isOptional: true;
215
215
  };
216
216
  gridY: {
217
- type: _contractspec_lib_schema40.FieldType<number, number>;
217
+ type: _contractspec_lib_schema118.FieldType<number, number>;
218
218
  isOptional: true;
219
219
  };
220
220
  gridWidth: {
221
- type: _contractspec_lib_schema40.FieldType<number, number>;
221
+ type: _contractspec_lib_schema118.FieldType<number, number>;
222
222
  isOptional: true;
223
223
  };
224
224
  gridHeight: {
225
- type: _contractspec_lib_schema40.FieldType<number, number>;
225
+ type: _contractspec_lib_schema118.FieldType<number, number>;
226
226
  isOptional: true;
227
227
  };
228
228
  queryId: {
229
- type: _contractspec_lib_schema40.FieldType<string, string>;
229
+ type: _contractspec_lib_schema118.FieldType<string, string>;
230
230
  isOptional: true;
231
231
  };
232
232
  config: {
233
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
233
+ type: _contractspec_lib_schema118.FieldType<unknown, unknown>;
234
234
  isOptional: true;
235
235
  };
236
- }>, _contractspec_lib_schema40.SchemaModel<{
236
+ }>, _contractspec_lib_schema118.SchemaModel<{
237
237
  id: {
238
- type: _contractspec_lib_schema40.FieldType<string, string>;
238
+ type: _contractspec_lib_schema118.FieldType<string, string>;
239
239
  isOptional: false;
240
240
  };
241
241
  dashboardId: {
242
- type: _contractspec_lib_schema40.FieldType<string, string>;
242
+ type: _contractspec_lib_schema118.FieldType<string, string>;
243
243
  isOptional: false;
244
244
  };
245
245
  name: {
246
- type: _contractspec_lib_schema40.FieldType<string, string>;
246
+ type: _contractspec_lib_schema118.FieldType<string, string>;
247
247
  isOptional: false;
248
248
  };
249
249
  type: {
250
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema40.FieldType<number, number>;
254
+ type: _contractspec_lib_schema118.FieldType<number, number>;
255
255
  isOptional: false;
256
256
  };
257
257
  gridY: {
258
- type: _contractspec_lib_schema40.FieldType<number, number>;
258
+ type: _contractspec_lib_schema118.FieldType<number, number>;
259
259
  isOptional: false;
260
260
  };
261
261
  gridWidth: {
262
- type: _contractspec_lib_schema40.FieldType<number, number>;
262
+ type: _contractspec_lib_schema118.FieldType<number, number>;
263
263
  isOptional: false;
264
264
  };
265
265
  gridHeight: {
266
- type: _contractspec_lib_schema40.FieldType<number, number>;
266
+ type: _contractspec_lib_schema118.FieldType<number, number>;
267
267
  isOptional: false;
268
268
  };
269
269
  queryId: {
270
- type: _contractspec_lib_schema40.FieldType<string, string>;
270
+ type: _contractspec_lib_schema118.FieldType<string, string>;
271
271
  isOptional: true;
272
272
  };
273
273
  config: {
274
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
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: _contractspec_lib_schema40.SchemaModel<{
284
+ payload: _contractspec_lib_schema118.SchemaModel<{
285
285
  id: {
286
- type: _contractspec_lib_schema40.FieldType<string, string>;
286
+ type: _contractspec_lib_schema118.FieldType<string, string>;
287
287
  isOptional: false;
288
288
  };
289
289
  dashboardId: {
290
- type: _contractspec_lib_schema40.FieldType<string, string>;
290
+ type: _contractspec_lib_schema118.FieldType<string, string>;
291
291
  isOptional: false;
292
292
  };
293
293
  name: {
294
- type: _contractspec_lib_schema40.FieldType<string, string>;
294
+ type: _contractspec_lib_schema118.FieldType<string, string>;
295
295
  isOptional: false;
296
296
  };
297
297
  type: {
298
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema40.FieldType<number, number>;
302
+ type: _contractspec_lib_schema118.FieldType<number, number>;
303
303
  isOptional: false;
304
304
  };
305
305
  gridY: {
306
- type: _contractspec_lib_schema40.FieldType<number, number>;
306
+ type: _contractspec_lib_schema118.FieldType<number, number>;
307
307
  isOptional: false;
308
308
  };
309
309
  gridWidth: {
310
- type: _contractspec_lib_schema40.FieldType<number, number>;
310
+ type: _contractspec_lib_schema118.FieldType<number, number>;
311
311
  isOptional: false;
312
312
  };
313
313
  gridHeight: {
314
- type: _contractspec_lib_schema40.FieldType<number, number>;
314
+ type: _contractspec_lib_schema118.FieldType<number, number>;
315
315
  isOptional: false;
316
316
  };
317
317
  queryId: {
318
- type: _contractspec_lib_schema40.FieldType<string, string>;
318
+ type: _contractspec_lib_schema118.FieldType<string, string>;
319
319
  isOptional: true;
320
320
  };
321
321
  config: {
322
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
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: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
330
+ declare const ListDashboardsContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
331
331
  status: {
332
- type: _contractspec_lib_schema40.EnumType<[string, string, string]>;
332
+ type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
333
333
  isOptional: true;
334
334
  };
335
335
  search: {
336
- type: _contractspec_lib_schema40.FieldType<string, string>;
336
+ type: _contractspec_lib_schema118.FieldType<string, string>;
337
337
  isOptional: true;
338
338
  };
339
339
  limit: {
340
- type: _contractspec_lib_schema40.FieldType<number, number>;
340
+ type: _contractspec_lib_schema118.FieldType<number, number>;
341
341
  isOptional: true;
342
342
  defaultValue: number;
343
343
  };
344
344
  offset: {
345
- type: _contractspec_lib_schema40.FieldType<number, number>;
345
+ type: _contractspec_lib_schema118.FieldType<number, number>;
346
346
  isOptional: true;
347
347
  defaultValue: number;
348
348
  };
349
- }>, _contractspec_lib_schema40.SchemaModel<{
349
+ }>, _contractspec_lib_schema118.SchemaModel<{
350
350
  dashboards: {
351
- type: _contractspec_lib_schema40.SchemaModel<{
351
+ type: _contractspec_lib_schema118.SchemaModel<{
352
352
  id: {
353
- type: _contractspec_lib_schema40.FieldType<string, string>;
353
+ type: _contractspec_lib_schema118.FieldType<string, string>;
354
354
  isOptional: false;
355
355
  };
356
356
  name: {
357
- type: _contractspec_lib_schema40.FieldType<string, string>;
357
+ type: _contractspec_lib_schema118.FieldType<string, string>;
358
358
  isOptional: false;
359
359
  };
360
360
  slug: {
361
- type: _contractspec_lib_schema40.FieldType<string, string>;
361
+ type: _contractspec_lib_schema118.FieldType<string, string>;
362
362
  isOptional: false;
363
363
  };
364
364
  description: {
365
- type: _contractspec_lib_schema40.FieldType<string, string>;
365
+ type: _contractspec_lib_schema118.FieldType<string, string>;
366
366
  isOptional: true;
367
367
  };
368
368
  status: {
369
- type: _contractspec_lib_schema40.EnumType<[string, string, string]>;
369
+ type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
370
370
  isOptional: false;
371
371
  };
372
372
  refreshInterval: {
373
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string]>;
373
+ type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
374
374
  isOptional: false;
375
375
  };
376
376
  isPublic: {
377
- type: _contractspec_lib_schema40.FieldType<boolean, boolean>;
377
+ type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
378
378
  isOptional: false;
379
379
  };
380
380
  widgets: {
381
- type: _contractspec_lib_schema40.SchemaModel<{
381
+ type: _contractspec_lib_schema118.SchemaModel<{
382
382
  id: {
383
- type: _contractspec_lib_schema40.FieldType<string, string>;
383
+ type: _contractspec_lib_schema118.FieldType<string, string>;
384
384
  isOptional: false;
385
385
  };
386
386
  dashboardId: {
387
- type: _contractspec_lib_schema40.FieldType<string, string>;
387
+ type: _contractspec_lib_schema118.FieldType<string, string>;
388
388
  isOptional: false;
389
389
  };
390
390
  name: {
391
- type: _contractspec_lib_schema40.FieldType<string, string>;
391
+ type: _contractspec_lib_schema118.FieldType<string, string>;
392
392
  isOptional: false;
393
393
  };
394
394
  type: {
395
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema40.FieldType<number, number>;
399
+ type: _contractspec_lib_schema118.FieldType<number, number>;
400
400
  isOptional: false;
401
401
  };
402
402
  gridY: {
403
- type: _contractspec_lib_schema40.FieldType<number, number>;
403
+ type: _contractspec_lib_schema118.FieldType<number, number>;
404
404
  isOptional: false;
405
405
  };
406
406
  gridWidth: {
407
- type: _contractspec_lib_schema40.FieldType<number, number>;
407
+ type: _contractspec_lib_schema118.FieldType<number, number>;
408
408
  isOptional: false;
409
409
  };
410
410
  gridHeight: {
411
- type: _contractspec_lib_schema40.FieldType<number, number>;
411
+ type: _contractspec_lib_schema118.FieldType<number, number>;
412
412
  isOptional: false;
413
413
  };
414
414
  queryId: {
415
- type: _contractspec_lib_schema40.FieldType<string, string>;
415
+ type: _contractspec_lib_schema118.FieldType<string, string>;
416
416
  isOptional: true;
417
417
  };
418
418
  config: {
419
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
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: _contractspec_lib_schema40.FieldType<Date, string>;
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: _contractspec_lib_schema40.FieldType<number, number>;
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: _contractspec_lib_contracts7.OperationSpec<_contractspec_lib_schema40.SchemaModel<{
442
+ declare const GetDashboardContract: _contractspec_lib_contracts11.OperationSpec<_contractspec_lib_schema118.SchemaModel<{
443
443
  dashboardId: {
444
- type: _contractspec_lib_schema40.FieldType<string, string>;
444
+ type: _contractspec_lib_schema118.FieldType<string, string>;
445
445
  isOptional: true;
446
446
  };
447
447
  slug: {
448
- type: _contractspec_lib_schema40.FieldType<string, string>;
448
+ type: _contractspec_lib_schema118.FieldType<string, string>;
449
449
  isOptional: true;
450
450
  };
451
451
  shareToken: {
452
- type: _contractspec_lib_schema40.FieldType<string, string>;
452
+ type: _contractspec_lib_schema118.FieldType<string, string>;
453
453
  isOptional: true;
454
454
  };
455
- }>, _contractspec_lib_schema40.SchemaModel<{
455
+ }>, _contractspec_lib_schema118.SchemaModel<{
456
456
  id: {
457
- type: _contractspec_lib_schema40.FieldType<string, string>;
457
+ type: _contractspec_lib_schema118.FieldType<string, string>;
458
458
  isOptional: false;
459
459
  };
460
460
  name: {
461
- type: _contractspec_lib_schema40.FieldType<string, string>;
461
+ type: _contractspec_lib_schema118.FieldType<string, string>;
462
462
  isOptional: false;
463
463
  };
464
464
  slug: {
465
- type: _contractspec_lib_schema40.FieldType<string, string>;
465
+ type: _contractspec_lib_schema118.FieldType<string, string>;
466
466
  isOptional: false;
467
467
  };
468
468
  description: {
469
- type: _contractspec_lib_schema40.FieldType<string, string>;
469
+ type: _contractspec_lib_schema118.FieldType<string, string>;
470
470
  isOptional: true;
471
471
  };
472
472
  status: {
473
- type: _contractspec_lib_schema40.EnumType<[string, string, string]>;
473
+ type: _contractspec_lib_schema118.EnumType<[string, string, string]>;
474
474
  isOptional: false;
475
475
  };
476
476
  refreshInterval: {
477
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string]>;
477
+ type: _contractspec_lib_schema118.EnumType<[string, string, string, string, string, string]>;
478
478
  isOptional: false;
479
479
  };
480
480
  isPublic: {
481
- type: _contractspec_lib_schema40.FieldType<boolean, boolean>;
481
+ type: _contractspec_lib_schema118.FieldType<boolean, boolean>;
482
482
  isOptional: false;
483
483
  };
484
484
  widgets: {
485
- type: _contractspec_lib_schema40.SchemaModel<{
485
+ type: _contractspec_lib_schema118.SchemaModel<{
486
486
  id: {
487
- type: _contractspec_lib_schema40.FieldType<string, string>;
487
+ type: _contractspec_lib_schema118.FieldType<string, string>;
488
488
  isOptional: false;
489
489
  };
490
490
  dashboardId: {
491
- type: _contractspec_lib_schema40.FieldType<string, string>;
491
+ type: _contractspec_lib_schema118.FieldType<string, string>;
492
492
  isOptional: false;
493
493
  };
494
494
  name: {
495
- type: _contractspec_lib_schema40.FieldType<string, string>;
495
+ type: _contractspec_lib_schema118.FieldType<string, string>;
496
496
  isOptional: false;
497
497
  };
498
498
  type: {
499
- type: _contractspec_lib_schema40.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema40.FieldType<number, number>;
503
+ type: _contractspec_lib_schema118.FieldType<number, number>;
504
504
  isOptional: false;
505
505
  };
506
506
  gridY: {
507
- type: _contractspec_lib_schema40.FieldType<number, number>;
507
+ type: _contractspec_lib_schema118.FieldType<number, number>;
508
508
  isOptional: false;
509
509
  };
510
510
  gridWidth: {
511
- type: _contractspec_lib_schema40.FieldType<number, number>;
511
+ type: _contractspec_lib_schema118.FieldType<number, number>;
512
512
  isOptional: false;
513
513
  };
514
514
  gridHeight: {
515
- type: _contractspec_lib_schema40.FieldType<number, number>;
515
+ type: _contractspec_lib_schema118.FieldType<number, number>;
516
516
  isOptional: false;
517
517
  };
518
518
  queryId: {
519
- type: _contractspec_lib_schema40.FieldType<string, string>;
519
+ type: _contractspec_lib_schema118.FieldType<string, string>;
520
520
  isOptional: true;
521
521
  };
522
522
  config: {
523
- type: _contractspec_lib_schema40.FieldType<unknown, unknown>;
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: _contractspec_lib_schema40.FieldType<Date, string>;
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,sDAAuB,yCAAA;EAAvB,IAAA,EAAA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,2BAAA,CAAA;;;;;;;;;;;;;UA9B+B,2BAAA,CAAA"}
@@ -1,9 +1,9 @@
1
- import * as _contractspec_lib_contracts11 from "@contractspec/lib.contracts";
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: _contractspec_lib_contracts11.PresentationSpec;
5
- declare const DashboardViewPresentation: _contractspec_lib_contracts11.PresentationSpec;
6
- declare const DashboardEditorPresentation: _contractspec_lib_contracts11.PresentationSpec;
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 _contractspec_lib_schema169 from "@contractspec/lib.schema";
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: _contractspec_lib_schema169.SchemaModel<{
7
+ declare const WidgetModel: _contractspec_lib_schema37.SchemaModel<{
8
8
  id: {
9
- type: _contractspec_lib_schema169.FieldType<string, string>;
9
+ type: _contractspec_lib_schema37.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  dashboardId: {
13
- type: _contractspec_lib_schema169.FieldType<string, string>;
13
+ type: _contractspec_lib_schema37.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  name: {
17
- type: _contractspec_lib_schema169.FieldType<string, string>;
17
+ type: _contractspec_lib_schema37.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  type: {
21
- type: _contractspec_lib_schema169.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema169.FieldType<number, number>;
25
+ type: _contractspec_lib_schema37.FieldType<number, number>;
26
26
  isOptional: false;
27
27
  };
28
28
  gridY: {
29
- type: _contractspec_lib_schema169.FieldType<number, number>;
29
+ type: _contractspec_lib_schema37.FieldType<number, number>;
30
30
  isOptional: false;
31
31
  };
32
32
  gridWidth: {
33
- type: _contractspec_lib_schema169.FieldType<number, number>;
33
+ type: _contractspec_lib_schema37.FieldType<number, number>;
34
34
  isOptional: false;
35
35
  };
36
36
  gridHeight: {
37
- type: _contractspec_lib_schema169.FieldType<number, number>;
37
+ type: _contractspec_lib_schema37.FieldType<number, number>;
38
38
  isOptional: false;
39
39
  };
40
40
  queryId: {
41
- type: _contractspec_lib_schema169.FieldType<string, string>;
41
+ type: _contractspec_lib_schema37.FieldType<string, string>;
42
42
  isOptional: true;
43
43
  };
44
44
  config: {
45
- type: _contractspec_lib_schema169.FieldType<unknown, unknown>;
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: _contractspec_lib_schema169.SchemaModel<{
52
+ declare const DashboardModel: _contractspec_lib_schema37.SchemaModel<{
53
53
  id: {
54
- type: _contractspec_lib_schema169.FieldType<string, string>;
54
+ type: _contractspec_lib_schema37.FieldType<string, string>;
55
55
  isOptional: false;
56
56
  };
57
57
  name: {
58
- type: _contractspec_lib_schema169.FieldType<string, string>;
58
+ type: _contractspec_lib_schema37.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  slug: {
62
- type: _contractspec_lib_schema169.FieldType<string, string>;
62
+ type: _contractspec_lib_schema37.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  description: {
66
- type: _contractspec_lib_schema169.FieldType<string, string>;
66
+ type: _contractspec_lib_schema37.FieldType<string, string>;
67
67
  isOptional: true;
68
68
  };
69
69
  status: {
70
- type: _contractspec_lib_schema169.EnumType<[string, string, string]>;
70
+ type: _contractspec_lib_schema37.EnumType<[string, string, string]>;
71
71
  isOptional: false;
72
72
  };
73
73
  refreshInterval: {
74
- type: _contractspec_lib_schema169.EnumType<[string, string, string, string, string, string]>;
74
+ type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string]>;
75
75
  isOptional: false;
76
76
  };
77
77
  isPublic: {
78
- type: _contractspec_lib_schema169.FieldType<boolean, boolean>;
78
+ type: _contractspec_lib_schema37.FieldType<boolean, boolean>;
79
79
  isOptional: false;
80
80
  };
81
81
  widgets: {
82
- type: _contractspec_lib_schema169.SchemaModel<{
82
+ type: _contractspec_lib_schema37.SchemaModel<{
83
83
  id: {
84
- type: _contractspec_lib_schema169.FieldType<string, string>;
84
+ type: _contractspec_lib_schema37.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  dashboardId: {
88
- type: _contractspec_lib_schema169.FieldType<string, string>;
88
+ type: _contractspec_lib_schema37.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  name: {
92
- type: _contractspec_lib_schema169.FieldType<string, string>;
92
+ type: _contractspec_lib_schema37.FieldType<string, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  type: {
96
- type: _contractspec_lib_schema169.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema169.FieldType<number, number>;
100
+ type: _contractspec_lib_schema37.FieldType<number, number>;
101
101
  isOptional: false;
102
102
  };
103
103
  gridY: {
104
- type: _contractspec_lib_schema169.FieldType<number, number>;
104
+ type: _contractspec_lib_schema37.FieldType<number, number>;
105
105
  isOptional: false;
106
106
  };
107
107
  gridWidth: {
108
- type: _contractspec_lib_schema169.FieldType<number, number>;
108
+ type: _contractspec_lib_schema37.FieldType<number, number>;
109
109
  isOptional: false;
110
110
  };
111
111
  gridHeight: {
112
- type: _contractspec_lib_schema169.FieldType<number, number>;
112
+ type: _contractspec_lib_schema37.FieldType<number, number>;
113
113
  isOptional: false;
114
114
  };
115
115
  queryId: {
116
- type: _contractspec_lib_schema169.FieldType<string, string>;
116
+ type: _contractspec_lib_schema37.FieldType<string, string>;
117
117
  isOptional: true;
118
118
  };
119
119
  config: {
120
- type: _contractspec_lib_schema169.FieldType<unknown, unknown>;
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: _contractspec_lib_schema169.FieldType<Date, string>;
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: _contractspec_lib_schema169.SchemaModel<{
135
+ declare const CreateDashboardInputModel: _contractspec_lib_schema37.SchemaModel<{
136
136
  name: {
137
- type: _contractspec_lib_schema169.FieldType<string, string>;
137
+ type: _contractspec_lib_schema37.FieldType<string, string>;
138
138
  isOptional: false;
139
139
  };
140
140
  slug: {
141
- type: _contractspec_lib_schema169.FieldType<string, string>;
141
+ type: _contractspec_lib_schema37.FieldType<string, string>;
142
142
  isOptional: false;
143
143
  };
144
144
  description: {
145
- type: _contractspec_lib_schema169.FieldType<string, string>;
145
+ type: _contractspec_lib_schema37.FieldType<string, string>;
146
146
  isOptional: true;
147
147
  };
148
148
  refreshInterval: {
149
- type: _contractspec_lib_schema169.EnumType<[string, string, string, string, string, string]>;
149
+ type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string]>;
150
150
  isOptional: true;
151
151
  };
152
152
  dateRange: {
153
- type: _contractspec_lib_schema169.FieldType<unknown, unknown>;
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: _contractspec_lib_schema169.SchemaModel<{
160
+ declare const AddWidgetInputModel: _contractspec_lib_schema37.SchemaModel<{
161
161
  dashboardId: {
162
- type: _contractspec_lib_schema169.FieldType<string, string>;
162
+ type: _contractspec_lib_schema37.FieldType<string, string>;
163
163
  isOptional: false;
164
164
  };
165
165
  name: {
166
- type: _contractspec_lib_schema169.FieldType<string, string>;
166
+ type: _contractspec_lib_schema37.FieldType<string, string>;
167
167
  isOptional: false;
168
168
  };
169
169
  type: {
170
- type: _contractspec_lib_schema169.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema169.FieldType<number, number>;
174
+ type: _contractspec_lib_schema37.FieldType<number, number>;
175
175
  isOptional: true;
176
176
  };
177
177
  gridY: {
178
- type: _contractspec_lib_schema169.FieldType<number, number>;
178
+ type: _contractspec_lib_schema37.FieldType<number, number>;
179
179
  isOptional: true;
180
180
  };
181
181
  gridWidth: {
182
- type: _contractspec_lib_schema169.FieldType<number, number>;
182
+ type: _contractspec_lib_schema37.FieldType<number, number>;
183
183
  isOptional: true;
184
184
  };
185
185
  gridHeight: {
186
- type: _contractspec_lib_schema169.FieldType<number, number>;
186
+ type: _contractspec_lib_schema37.FieldType<number, number>;
187
187
  isOptional: true;
188
188
  };
189
189
  queryId: {
190
- type: _contractspec_lib_schema169.FieldType<string, string>;
190
+ type: _contractspec_lib_schema37.FieldType<string, string>;
191
191
  isOptional: true;
192
192
  };
193
193
  config: {
194
- type: _contractspec_lib_schema169.FieldType<unknown, unknown>;
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: _contractspec_lib_schema169.SchemaModel<{
201
+ declare const ListDashboardsInputModel: _contractspec_lib_schema37.SchemaModel<{
202
202
  status: {
203
- type: _contractspec_lib_schema169.EnumType<[string, string, string]>;
203
+ type: _contractspec_lib_schema37.EnumType<[string, string, string]>;
204
204
  isOptional: true;
205
205
  };
206
206
  search: {
207
- type: _contractspec_lib_schema169.FieldType<string, string>;
207
+ type: _contractspec_lib_schema37.FieldType<string, string>;
208
208
  isOptional: true;
209
209
  };
210
210
  limit: {
211
- type: _contractspec_lib_schema169.FieldType<number, number>;
211
+ type: _contractspec_lib_schema37.FieldType<number, number>;
212
212
  isOptional: true;
213
213
  defaultValue: number;
214
214
  };
215
215
  offset: {
216
- type: _contractspec_lib_schema169.FieldType<number, number>;
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: _contractspec_lib_schema169.SchemaModel<{
224
+ declare const ListDashboardsOutputModel: _contractspec_lib_schema37.SchemaModel<{
225
225
  dashboards: {
226
- type: _contractspec_lib_schema169.SchemaModel<{
226
+ type: _contractspec_lib_schema37.SchemaModel<{
227
227
  id: {
228
- type: _contractspec_lib_schema169.FieldType<string, string>;
228
+ type: _contractspec_lib_schema37.FieldType<string, string>;
229
229
  isOptional: false;
230
230
  };
231
231
  name: {
232
- type: _contractspec_lib_schema169.FieldType<string, string>;
232
+ type: _contractspec_lib_schema37.FieldType<string, string>;
233
233
  isOptional: false;
234
234
  };
235
235
  slug: {
236
- type: _contractspec_lib_schema169.FieldType<string, string>;
236
+ type: _contractspec_lib_schema37.FieldType<string, string>;
237
237
  isOptional: false;
238
238
  };
239
239
  description: {
240
- type: _contractspec_lib_schema169.FieldType<string, string>;
240
+ type: _contractspec_lib_schema37.FieldType<string, string>;
241
241
  isOptional: true;
242
242
  };
243
243
  status: {
244
- type: _contractspec_lib_schema169.EnumType<[string, string, string]>;
244
+ type: _contractspec_lib_schema37.EnumType<[string, string, string]>;
245
245
  isOptional: false;
246
246
  };
247
247
  refreshInterval: {
248
- type: _contractspec_lib_schema169.EnumType<[string, string, string, string, string, string]>;
248
+ type: _contractspec_lib_schema37.EnumType<[string, string, string, string, string, string]>;
249
249
  isOptional: false;
250
250
  };
251
251
  isPublic: {
252
- type: _contractspec_lib_schema169.FieldType<boolean, boolean>;
252
+ type: _contractspec_lib_schema37.FieldType<boolean, boolean>;
253
253
  isOptional: false;
254
254
  };
255
255
  widgets: {
256
- type: _contractspec_lib_schema169.SchemaModel<{
256
+ type: _contractspec_lib_schema37.SchemaModel<{
257
257
  id: {
258
- type: _contractspec_lib_schema169.FieldType<string, string>;
258
+ type: _contractspec_lib_schema37.FieldType<string, string>;
259
259
  isOptional: false;
260
260
  };
261
261
  dashboardId: {
262
- type: _contractspec_lib_schema169.FieldType<string, string>;
262
+ type: _contractspec_lib_schema37.FieldType<string, string>;
263
263
  isOptional: false;
264
264
  };
265
265
  name: {
266
- type: _contractspec_lib_schema169.FieldType<string, string>;
266
+ type: _contractspec_lib_schema37.FieldType<string, string>;
267
267
  isOptional: false;
268
268
  };
269
269
  type: {
270
- type: _contractspec_lib_schema169.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
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: _contractspec_lib_schema169.FieldType<number, number>;
274
+ type: _contractspec_lib_schema37.FieldType<number, number>;
275
275
  isOptional: false;
276
276
  };
277
277
  gridY: {
278
- type: _contractspec_lib_schema169.FieldType<number, number>;
278
+ type: _contractspec_lib_schema37.FieldType<number, number>;
279
279
  isOptional: false;
280
280
  };
281
281
  gridWidth: {
282
- type: _contractspec_lib_schema169.FieldType<number, number>;
282
+ type: _contractspec_lib_schema37.FieldType<number, number>;
283
283
  isOptional: false;
284
284
  };
285
285
  gridHeight: {
286
- type: _contractspec_lib_schema169.FieldType<number, number>;
286
+ type: _contractspec_lib_schema37.FieldType<number, number>;
287
287
  isOptional: false;
288
288
  };
289
289
  queryId: {
290
- type: _contractspec_lib_schema169.FieldType<string, string>;
290
+ type: _contractspec_lib_schema37.FieldType<string, string>;
291
291
  isOptional: true;
292
292
  };
293
293
  config: {
294
- type: _contractspec_lib_schema169.FieldType<unknown, unknown>;
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: _contractspec_lib_schema169.FieldType<Date, string>;
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: _contractspec_lib_schema169.FieldType<number, number>;
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: _contractspec_lib_schema169.SchemaModel<{
317
+ declare const GetDashboardInputModel: _contractspec_lib_schema37.SchemaModel<{
318
318
  dashboardId: {
319
- type: _contractspec_lib_schema169.FieldType<string, string>;
319
+ type: _contractspec_lib_schema37.FieldType<string, string>;
320
320
  isOptional: true;
321
321
  };
322
322
  slug: {
323
- type: _contractspec_lib_schema169.FieldType<string, string>;
323
+ type: _contractspec_lib_schema37.FieldType<string, string>;
324
324
  isOptional: true;
325
325
  };
326
326
  shareToken: {
327
- type: _contractspec_lib_schema169.FieldType<string, string>;
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,8BAdsB,WActB,CAAA;EAAA,EAAA,EAAA;UAAA,2BAAA,CAAA;;;;;;;;;;EAdsB,CAAA;EAmBX,IAAA,EAAA;IAaX,IAAA,sCAAA,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;;;;;;;;;;;;;;;;;;;;+CAbyB,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;EAkBd,CAAA;EASX,MAAA,EAAA;;;;;;;AAKF;AAaE,cA7CW,cA6CX,8BA7CyB,WA6CzB,CAAA;;UAhCA,2BAAA,CAAA;;;;;;;;IAmB8B,IAAA,uCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAkBnB,UAAA,EAAA,KAAA;EAgBX,CAAA;;;;;EAhBmC,MAAA,EAAA;IAqBxB,IAAA,sCAMX,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;yBANoC;MAAA,CAAA;MAWzB,IAAA,EAAA;QAOX,IAAA,sCAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,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;;;;;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 _contractspec_lib_contracts14 from "@contractspec/lib.contracts";
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: _contractspec_lib_contracts14.TestSpec;
5
- declare const ListDashboardsTest: _contractspec_lib_contracts14.TestSpec;
6
- declare const GetDashboardTest: _contractspec_lib_contracts14.TestSpec;
7
- declare const AddWidgetTest: _contractspec_lib_contracts14.TestSpec;
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,6BAAA,CAnD8B;cAqDnB,oBA+CX,6BAAA,CA/C6B;cAiDlB,kBA8CX,6BAAA,CA9C2B;AAtGhB,cAsJA,aAnGX,EA4JA,6BAAA,CAzDwB,QAnGxB"}
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 _contractspec_lib_contracts20 from "@contractspec/lib.contracts";
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: _contractspec_lib_contracts20.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
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: _contractspec_lib_contracts20.OperationSpec<_contractspec_lib_schema248.SchemaModel<{
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 _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
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: _contractspec_lib_contracts18.PresentationSpec;
5
- declare const QueryBuilderPresentation: _contractspec_lib_contracts18.PresentationSpec;
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.48.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.48.0",
21
- "@contractspec/lib.contracts": "1.48.1",
22
- "@contractspec/lib.example-shared-ui": "1.2.1",
23
- "@contractspec/lib.design-system": "1.48.1",
24
- "@contractspec/lib.runtime-sandbox": "0.3.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.48.0",
30
- "@contractspec/tool.tsdown": "1.48.0",
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"