@contractspec/example.analytics-dashboard 1.57.0 → 1.59.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/browser/dashboard/dashboard.enum.js +34 -0
- package/dist/browser/dashboard/dashboard.operation.js +289 -0
- package/dist/browser/dashboard/dashboard.presentation.js +197 -0
- package/dist/browser/dashboard/dashboard.schema.js +126 -0
- package/dist/browser/dashboard/dashboard.test-spec.js +213 -0
- package/dist/browser/dashboard/index.js +299 -0
- package/dist/browser/dashboard.feature.js +84 -0
- package/dist/browser/datasource/posthog-datasource.js +289 -0
- package/dist/browser/docs/analytics-dashboard.docblock.js +103 -0
- package/dist/browser/docs/index.js +103 -0
- package/dist/browser/events.js +81 -0
- package/dist/browser/example.js +42 -0
- package/dist/browser/handlers/analytics.handlers.js +278 -0
- package/dist/browser/handlers/index.js +571 -0
- package/dist/browser/handlers/query.handlers.js +294 -0
- package/dist/browser/index.js +1677 -0
- package/dist/browser/query/index.js +159 -0
- package/dist/browser/query/query.enum.js +11 -0
- package/dist/browser/query/query.operation.js +154 -0
- package/dist/browser/query/query.presentation.js +119 -0
- package/dist/browser/query/query.schema.js +70 -0
- package/dist/browser/query/query.test-spec.js +113 -0
- package/dist/browser/query-engine/index.js +491 -0
- package/dist/browser/seeders/index.js +20 -0
- package/dist/browser/ui/AnalyticsDashboard.js +394 -0
- package/dist/browser/ui/hooks/index.js +69 -0
- package/dist/browser/ui/hooks/useAnalyticsData.js +66 -0
- package/dist/browser/ui/index.js +671 -0
- package/dist/browser/ui/renderers/analytics.markdown.js +275 -0
- package/dist/browser/ui/renderers/index.js +275 -0
- package/dist/dashboard/dashboard.enum.d.ts +3 -8
- package/dist/dashboard/dashboard.enum.d.ts.map +1 -1
- package/dist/dashboard/dashboard.enum.js +31 -39
- package/dist/dashboard/dashboard.operation.d.ts +444 -450
- package/dist/dashboard/dashboard.operation.d.ts.map +1 -1
- package/dist/dashboard/dashboard.operation.js +284 -207
- package/dist/dashboard/dashboard.presentation.d.ts +3 -8
- package/dist/dashboard/dashboard.presentation.d.ts.map +1 -1
- package/dist/dashboard/dashboard.presentation.js +193 -85
- package/dist/dashboard/dashboard.schema.d.ts +289 -294
- package/dist/dashboard/dashboard.schema.d.ts.map +1 -1
- package/dist/dashboard/dashboard.schema.js +119 -228
- package/dist/dashboard/dashboard.test-spec.d.ts +4 -9
- package/dist/dashboard/dashboard.test-spec.d.ts.map +1 -1
- package/dist/dashboard/dashboard.test-spec.js +209 -228
- package/dist/dashboard/index.d.ts +7 -4
- package/dist/dashboard/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +299 -4
- package/dist/dashboard.feature.d.ts +1 -6
- package/dist/dashboard.feature.d.ts.map +1 -1
- package/dist/dashboard.feature.js +83 -175
- package/dist/datasource/posthog-datasource.d.ts +15 -19
- package/dist/datasource/posthog-datasource.d.ts.map +1 -1
- package/dist/datasource/posthog-datasource.js +274 -238
- package/dist/docs/analytics-dashboard.docblock.d.ts +2 -1
- package/dist/docs/analytics-dashboard.docblock.d.ts.map +1 -0
- package/dist/docs/analytics-dashboard.docblock.js +45 -56
- package/dist/docs/index.d.ts +2 -1
- package/dist/docs/index.d.ts.map +1 -0
- package/dist/docs/index.js +104 -1
- package/dist/events.d.ts +109 -115
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +74 -120
- package/dist/example.d.ts +2 -6
- package/dist/example.d.ts.map +1 -1
- package/dist/example.js +41 -55
- package/dist/handlers/analytics.handlers.d.ts +110 -109
- package/dist/handlers/analytics.handlers.d.ts.map +1 -1
- package/dist/handlers/analytics.handlers.js +267 -298
- package/dist/handlers/index.d.ts +3 -3
- package/dist/handlers/index.d.ts.map +1 -0
- package/dist/handlers/index.js +571 -3
- package/dist/handlers/query.handlers.d.ts +7 -11
- package/dist/handlers/query.handlers.d.ts.map +1 -1
- package/dist/handlers/query.handlers.js +292 -7
- package/dist/index.d.ts +12 -13
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1678 -14
- package/dist/node/dashboard/dashboard.enum.js +34 -0
- package/dist/node/dashboard/dashboard.operation.js +289 -0
- package/dist/node/dashboard/dashboard.presentation.js +197 -0
- package/dist/node/dashboard/dashboard.schema.js +126 -0
- package/dist/node/dashboard/dashboard.test-spec.js +213 -0
- package/dist/node/dashboard/index.js +299 -0
- package/dist/node/dashboard.feature.js +84 -0
- package/dist/node/datasource/posthog-datasource.js +289 -0
- package/dist/node/docs/analytics-dashboard.docblock.js +103 -0
- package/dist/node/docs/index.js +103 -0
- package/dist/node/events.js +81 -0
- package/dist/node/example.js +42 -0
- package/dist/node/handlers/analytics.handlers.js +278 -0
- package/dist/node/handlers/index.js +571 -0
- package/dist/node/handlers/query.handlers.js +294 -0
- package/dist/node/index.js +1677 -0
- package/dist/node/query/index.js +159 -0
- package/dist/node/query/query.enum.js +11 -0
- package/dist/node/query/query.operation.js +154 -0
- package/dist/node/query/query.presentation.js +119 -0
- package/dist/node/query/query.schema.js +70 -0
- package/dist/node/query/query.test-spec.js +113 -0
- package/dist/node/query-engine/index.js +491 -0
- package/dist/node/seeders/index.js +20 -0
- package/dist/node/ui/AnalyticsDashboard.js +394 -0
- package/dist/node/ui/hooks/index.js +69 -0
- package/dist/node/ui/hooks/useAnalyticsData.js +66 -0
- package/dist/node/ui/index.js +671 -0
- package/dist/node/ui/renderers/analytics.markdown.js +275 -0
- package/dist/node/ui/renderers/index.js +275 -0
- package/dist/query/index.d.ts +7 -4
- package/dist/query/index.d.ts.map +1 -0
- package/dist/query/index.js +159 -4
- package/dist/query/query.enum.d.ts +1 -6
- package/dist/query/query.enum.d.ts.map +1 -1
- package/dist/query/query.enum.js +10 -14
- package/dist/query/query.operation.d.ts +148 -154
- package/dist/query/query.operation.d.ts.map +1 -1
- package/dist/query/query.operation.js +151 -109
- package/dist/query/query.presentation.d.ts +2 -7
- package/dist/query/query.presentation.d.ts.map +1 -1
- package/dist/query/query.presentation.js +116 -56
- package/dist/query/query.schema.d.ts +121 -126
- package/dist/query/query.schema.d.ts.map +1 -1
- package/dist/query/query.schema.js +66 -152
- package/dist/query/query.test-spec.d.ts +2 -7
- package/dist/query/query.test-spec.d.ts.map +1 -1
- package/dist/query/query.test-spec.js +111 -121
- package/dist/query-engine/index.d.ts +84 -88
- package/dist/query-engine/index.d.ts.map +1 -1
- package/dist/query-engine/index.js +489 -188
- package/dist/seeders/index.d.ts +4 -8
- package/dist/seeders/index.d.ts.map +1 -1
- package/dist/seeders/index.js +18 -16
- package/dist/ui/AnalyticsDashboard.d.ts +1 -6
- package/dist/ui/AnalyticsDashboard.d.ts.map +1 -1
- package/dist/ui/AnalyticsDashboard.js +389 -259
- package/dist/ui/hooks/index.d.ts +2 -2
- package/dist/ui/hooks/index.d.ts.map +1 -0
- package/dist/ui/hooks/index.js +69 -4
- package/dist/ui/hooks/useAnalyticsData.d.ts +16 -20
- package/dist/ui/hooks/useAnalyticsData.d.ts.map +1 -1
- package/dist/ui/hooks/useAnalyticsData.js +63 -69
- package/dist/ui/index.d.ts +7 -6
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +671 -5
- package/dist/ui/renderers/analytics.markdown.d.ts +13 -14
- package/dist/ui/renderers/analytics.markdown.d.ts.map +1 -1
- package/dist/ui/renderers/analytics.markdown.js +266 -254
- package/dist/ui/renderers/index.d.ts +2 -2
- package/dist/ui/renderers/index.d.ts.map +1 -0
- package/dist/ui/renderers/index.js +275 -2
- package/package.json +328 -67
- package/dist/dashboard/dashboard.enum.js.map +0 -1
- package/dist/dashboard/dashboard.operation.js.map +0 -1
- package/dist/dashboard/dashboard.presentation.js.map +0 -1
- package/dist/dashboard/dashboard.schema.js.map +0 -1
- package/dist/dashboard/dashboard.test-spec.js.map +0 -1
- package/dist/dashboard.feature.js.map +0 -1
- package/dist/datasource/posthog-datasource.js.map +0 -1
- package/dist/docs/analytics-dashboard.docblock.js.map +0 -1
- package/dist/events.js.map +0 -1
- package/dist/example.js.map +0 -1
- package/dist/handlers/analytics.handlers.js.map +0 -1
- package/dist/handlers/query.handlers.js.map +0 -1
- package/dist/query/query.enum.js.map +0 -1
- package/dist/query/query.operation.js.map +0 -1
- package/dist/query/query.presentation.js.map +0 -1
- package/dist/query/query.schema.js.map +0 -1
- package/dist/query/query.test-spec.js.map +0 -1
- package/dist/query-engine/index.js.map +0 -1
- package/dist/seeders/index.js.map +0 -1
- package/dist/ui/AnalyticsDashboard.js.map +0 -1
- package/dist/ui/hooks/useAnalyticsData.js.map +0 -1
- package/dist/ui/renderers/analytics.markdown.js.map +0 -1
|
@@ -1,537 +1,531 @@
|
|
|
1
|
-
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
|
-
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
3
|
-
|
|
4
|
-
//#region src/dashboard/dashboard.operation.d.ts
|
|
5
1
|
/**
|
|
6
2
|
* Create a new analytics dashboard.
|
|
7
3
|
*/
|
|
8
|
-
declare const CreateDashboardContract:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
isOptional: false;
|
|
12
|
-
};
|
|
13
|
-
slug: {
|
|
14
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
15
|
-
isOptional: false;
|
|
16
|
-
};
|
|
17
|
-
description: {
|
|
18
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
19
|
-
isOptional: true;
|
|
20
|
-
};
|
|
21
|
-
refreshInterval: {
|
|
22
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
23
|
-
isOptional: true;
|
|
24
|
-
};
|
|
25
|
-
dateRange: {
|
|
26
|
-
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
27
|
-
isOptional: true;
|
|
28
|
-
};
|
|
29
|
-
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
30
|
-
id: {
|
|
31
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
32
|
-
isOptional: false;
|
|
33
|
-
};
|
|
34
|
-
name: {
|
|
35
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
36
|
-
isOptional: false;
|
|
37
|
-
};
|
|
38
|
-
slug: {
|
|
39
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
40
|
-
isOptional: false;
|
|
41
|
-
};
|
|
42
|
-
description: {
|
|
43
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
44
|
-
isOptional: true;
|
|
45
|
-
};
|
|
46
|
-
status: {
|
|
47
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
48
|
-
isOptional: false;
|
|
49
|
-
};
|
|
50
|
-
refreshInterval: {
|
|
51
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
52
|
-
isOptional: false;
|
|
53
|
-
};
|
|
54
|
-
isPublic: {
|
|
55
|
-
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
56
|
-
isOptional: false;
|
|
57
|
-
};
|
|
58
|
-
widgets: {
|
|
59
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
60
|
-
id: {
|
|
61
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
62
|
-
isOptional: false;
|
|
63
|
-
};
|
|
64
|
-
dashboardId: {
|
|
65
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
66
|
-
isOptional: false;
|
|
67
|
-
};
|
|
68
|
-
name: {
|
|
69
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
70
|
-
isOptional: false;
|
|
71
|
-
};
|
|
72
|
-
type: {
|
|
73
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
74
|
-
isOptional: false;
|
|
75
|
-
};
|
|
76
|
-
gridX: {
|
|
77
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
78
|
-
isOptional: false;
|
|
79
|
-
};
|
|
80
|
-
gridY: {
|
|
81
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
82
|
-
isOptional: false;
|
|
83
|
-
};
|
|
84
|
-
gridWidth: {
|
|
85
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
4
|
+
export declare const CreateDashboardContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
5
|
+
name: {
|
|
6
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
86
7
|
isOptional: false;
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
type:
|
|
8
|
+
};
|
|
9
|
+
slug: {
|
|
10
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
90
11
|
isOptional: false;
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
type:
|
|
12
|
+
};
|
|
13
|
+
description: {
|
|
14
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
94
15
|
isOptional: true;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
type:
|
|
16
|
+
};
|
|
17
|
+
refreshInterval: {
|
|
18
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
98
19
|
isOptional: true;
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
106
|
-
isOptional: false;
|
|
107
|
-
};
|
|
108
|
-
}>, {
|
|
109
|
-
key: string;
|
|
110
|
-
version: string;
|
|
111
|
-
stability: string;
|
|
112
|
-
owners: "@example.analytics-dashboard"[];
|
|
113
|
-
tags: string[];
|
|
114
|
-
when: string;
|
|
115
|
-
payload: _contractspec_lib_schema0.SchemaModel<{
|
|
20
|
+
};
|
|
21
|
+
dateRange: {
|
|
22
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
23
|
+
isOptional: true;
|
|
24
|
+
};
|
|
25
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
116
26
|
id: {
|
|
117
|
-
|
|
118
|
-
|
|
27
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
28
|
+
isOptional: false;
|
|
119
29
|
};
|
|
120
30
|
name: {
|
|
121
|
-
|
|
122
|
-
|
|
31
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
32
|
+
isOptional: false;
|
|
123
33
|
};
|
|
124
34
|
slug: {
|
|
125
|
-
|
|
126
|
-
|
|
35
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
36
|
+
isOptional: false;
|
|
127
37
|
};
|
|
128
38
|
description: {
|
|
129
|
-
|
|
130
|
-
|
|
39
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
40
|
+
isOptional: true;
|
|
131
41
|
};
|
|
132
42
|
status: {
|
|
133
|
-
|
|
134
|
-
|
|
43
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
44
|
+
isOptional: false;
|
|
135
45
|
};
|
|
136
46
|
refreshInterval: {
|
|
137
|
-
|
|
138
|
-
|
|
47
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
48
|
+
isOptional: false;
|
|
139
49
|
};
|
|
140
50
|
isPublic: {
|
|
141
|
-
|
|
142
|
-
|
|
51
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
52
|
+
isOptional: false;
|
|
143
53
|
};
|
|
144
54
|
widgets: {
|
|
145
|
-
|
|
55
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
56
|
+
id: {
|
|
57
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
58
|
+
isOptional: false;
|
|
59
|
+
};
|
|
60
|
+
dashboardId: {
|
|
61
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
62
|
+
isOptional: false;
|
|
63
|
+
};
|
|
64
|
+
name: {
|
|
65
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
66
|
+
isOptional: false;
|
|
67
|
+
};
|
|
68
|
+
type: {
|
|
69
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
70
|
+
isOptional: false;
|
|
71
|
+
};
|
|
72
|
+
gridX: {
|
|
73
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
74
|
+
isOptional: false;
|
|
75
|
+
};
|
|
76
|
+
gridY: {
|
|
77
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
78
|
+
isOptional: false;
|
|
79
|
+
};
|
|
80
|
+
gridWidth: {
|
|
81
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
gridHeight: {
|
|
85
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
queryId: {
|
|
89
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
90
|
+
isOptional: true;
|
|
91
|
+
};
|
|
92
|
+
config: {
|
|
93
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
94
|
+
isOptional: true;
|
|
95
|
+
};
|
|
96
|
+
}>;
|
|
97
|
+
isArray: true;
|
|
98
|
+
isOptional: true;
|
|
99
|
+
};
|
|
100
|
+
createdAt: {
|
|
101
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
102
|
+
isOptional: false;
|
|
103
|
+
};
|
|
104
|
+
}>, {
|
|
105
|
+
key: string;
|
|
106
|
+
version: string;
|
|
107
|
+
stability: string;
|
|
108
|
+
owners: "@example.analytics-dashboard"[];
|
|
109
|
+
tags: string[];
|
|
110
|
+
when: string;
|
|
111
|
+
payload: import("@contractspec/lib.schema").SchemaModel<{
|
|
146
112
|
id: {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
};
|
|
150
|
-
dashboardId: {
|
|
151
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
152
|
-
isOptional: false;
|
|
113
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
114
|
+
isOptional: false;
|
|
153
115
|
};
|
|
154
116
|
name: {
|
|
155
|
-
|
|
156
|
-
|
|
117
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
118
|
+
isOptional: false;
|
|
157
119
|
};
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
120
|
+
slug: {
|
|
121
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
122
|
+
isOptional: false;
|
|
161
123
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
124
|
+
description: {
|
|
125
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
126
|
+
isOptional: true;
|
|
165
127
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
128
|
+
status: {
|
|
129
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
130
|
+
isOptional: false;
|
|
169
131
|
};
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
132
|
+
refreshInterval: {
|
|
133
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
134
|
+
isOptional: false;
|
|
173
135
|
};
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
136
|
+
isPublic: {
|
|
137
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
138
|
+
isOptional: false;
|
|
177
139
|
};
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
140
|
+
widgets: {
|
|
141
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
142
|
+
id: {
|
|
143
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
144
|
+
isOptional: false;
|
|
145
|
+
};
|
|
146
|
+
dashboardId: {
|
|
147
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
148
|
+
isOptional: false;
|
|
149
|
+
};
|
|
150
|
+
name: {
|
|
151
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
152
|
+
isOptional: false;
|
|
153
|
+
};
|
|
154
|
+
type: {
|
|
155
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
156
|
+
isOptional: false;
|
|
157
|
+
};
|
|
158
|
+
gridX: {
|
|
159
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
160
|
+
isOptional: false;
|
|
161
|
+
};
|
|
162
|
+
gridY: {
|
|
163
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
164
|
+
isOptional: false;
|
|
165
|
+
};
|
|
166
|
+
gridWidth: {
|
|
167
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
168
|
+
isOptional: false;
|
|
169
|
+
};
|
|
170
|
+
gridHeight: {
|
|
171
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
172
|
+
isOptional: false;
|
|
173
|
+
};
|
|
174
|
+
queryId: {
|
|
175
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
176
|
+
isOptional: true;
|
|
177
|
+
};
|
|
178
|
+
config: {
|
|
179
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
180
|
+
isOptional: true;
|
|
181
|
+
};
|
|
182
|
+
}>;
|
|
183
|
+
isArray: true;
|
|
184
|
+
isOptional: true;
|
|
181
185
|
};
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
186
|
+
createdAt: {
|
|
187
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
188
|
+
isOptional: false;
|
|
185
189
|
};
|
|
186
|
-
|
|
187
|
-
isArray: true;
|
|
188
|
-
isOptional: true;
|
|
189
|
-
};
|
|
190
|
-
createdAt: {
|
|
191
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
192
|
-
isOptional: false;
|
|
193
|
-
};
|
|
194
|
-
}>;
|
|
190
|
+
}>;
|
|
195
191
|
}[]>;
|
|
196
192
|
/**
|
|
197
193
|
* Add a widget to a dashboard.
|
|
198
194
|
*/
|
|
199
|
-
declare const AddWidgetContract:
|
|
200
|
-
dashboardId: {
|
|
201
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
202
|
-
isOptional: false;
|
|
203
|
-
};
|
|
204
|
-
name: {
|
|
205
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
206
|
-
isOptional: false;
|
|
207
|
-
};
|
|
208
|
-
type: {
|
|
209
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
210
|
-
isOptional: false;
|
|
211
|
-
};
|
|
212
|
-
gridX: {
|
|
213
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
214
|
-
isOptional: true;
|
|
215
|
-
};
|
|
216
|
-
gridY: {
|
|
217
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
218
|
-
isOptional: true;
|
|
219
|
-
};
|
|
220
|
-
gridWidth: {
|
|
221
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
222
|
-
isOptional: true;
|
|
223
|
-
};
|
|
224
|
-
gridHeight: {
|
|
225
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
226
|
-
isOptional: true;
|
|
227
|
-
};
|
|
228
|
-
queryId: {
|
|
229
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
230
|
-
isOptional: true;
|
|
231
|
-
};
|
|
232
|
-
config: {
|
|
233
|
-
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
234
|
-
isOptional: true;
|
|
235
|
-
};
|
|
236
|
-
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
237
|
-
id: {
|
|
238
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
239
|
-
isOptional: false;
|
|
240
|
-
};
|
|
241
|
-
dashboardId: {
|
|
242
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
243
|
-
isOptional: false;
|
|
244
|
-
};
|
|
245
|
-
name: {
|
|
246
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
247
|
-
isOptional: false;
|
|
248
|
-
};
|
|
249
|
-
type: {
|
|
250
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
251
|
-
isOptional: false;
|
|
252
|
-
};
|
|
253
|
-
gridX: {
|
|
254
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
255
|
-
isOptional: false;
|
|
256
|
-
};
|
|
257
|
-
gridY: {
|
|
258
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
259
|
-
isOptional: false;
|
|
260
|
-
};
|
|
261
|
-
gridWidth: {
|
|
262
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
263
|
-
isOptional: false;
|
|
264
|
-
};
|
|
265
|
-
gridHeight: {
|
|
266
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
267
|
-
isOptional: false;
|
|
268
|
-
};
|
|
269
|
-
queryId: {
|
|
270
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
271
|
-
isOptional: true;
|
|
272
|
-
};
|
|
273
|
-
config: {
|
|
274
|
-
type: _contractspec_lib_schema0.FieldType<unknown, unknown>;
|
|
275
|
-
isOptional: true;
|
|
276
|
-
};
|
|
277
|
-
}>, {
|
|
278
|
-
key: string;
|
|
279
|
-
version: string;
|
|
280
|
-
stability: string;
|
|
281
|
-
owners: "@example.analytics-dashboard"[];
|
|
282
|
-
tags: string[];
|
|
283
|
-
when: string;
|
|
284
|
-
payload: _contractspec_lib_schema0.SchemaModel<{
|
|
285
|
-
id: {
|
|
286
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
287
|
-
isOptional: false;
|
|
288
|
-
};
|
|
195
|
+
export declare const AddWidgetContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
289
196
|
dashboardId: {
|
|
290
|
-
|
|
291
|
-
|
|
197
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
198
|
+
isOptional: false;
|
|
292
199
|
};
|
|
293
200
|
name: {
|
|
294
|
-
|
|
295
|
-
|
|
201
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
202
|
+
isOptional: false;
|
|
296
203
|
};
|
|
297
204
|
type: {
|
|
298
|
-
|
|
299
|
-
|
|
205
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
206
|
+
isOptional: false;
|
|
300
207
|
};
|
|
301
208
|
gridX: {
|
|
302
|
-
|
|
303
|
-
|
|
209
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
210
|
+
isOptional: true;
|
|
304
211
|
};
|
|
305
212
|
gridY: {
|
|
306
|
-
|
|
307
|
-
|
|
213
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
214
|
+
isOptional: true;
|
|
308
215
|
};
|
|
309
216
|
gridWidth: {
|
|
310
|
-
|
|
311
|
-
|
|
217
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
218
|
+
isOptional: true;
|
|
312
219
|
};
|
|
313
220
|
gridHeight: {
|
|
314
|
-
|
|
315
|
-
|
|
221
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
222
|
+
isOptional: true;
|
|
316
223
|
};
|
|
317
224
|
queryId: {
|
|
318
|
-
|
|
319
|
-
|
|
225
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
226
|
+
isOptional: true;
|
|
320
227
|
};
|
|
321
228
|
config: {
|
|
322
|
-
|
|
323
|
-
|
|
229
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
230
|
+
isOptional: true;
|
|
324
231
|
};
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
* List dashboards.
|
|
329
|
-
*/
|
|
330
|
-
declare const ListDashboardsContract: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
|
|
331
|
-
status: {
|
|
332
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
333
|
-
isOptional: true;
|
|
334
|
-
};
|
|
335
|
-
search: {
|
|
336
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
337
|
-
isOptional: true;
|
|
338
|
-
};
|
|
339
|
-
limit: {
|
|
340
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
341
|
-
isOptional: true;
|
|
342
|
-
defaultValue: number;
|
|
343
|
-
};
|
|
344
|
-
offset: {
|
|
345
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
346
|
-
isOptional: true;
|
|
347
|
-
defaultValue: number;
|
|
348
|
-
};
|
|
349
|
-
}>, _contractspec_lib_schema0.SchemaModel<{
|
|
350
|
-
dashboards: {
|
|
351
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
352
|
-
id: {
|
|
353
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
232
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
233
|
+
id: {
|
|
234
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
354
235
|
isOptional: false;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
type:
|
|
236
|
+
};
|
|
237
|
+
dashboardId: {
|
|
238
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
358
239
|
isOptional: false;
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
type:
|
|
240
|
+
};
|
|
241
|
+
name: {
|
|
242
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
362
243
|
isOptional: false;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
type:
|
|
366
|
-
isOptional:
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
type:
|
|
244
|
+
};
|
|
245
|
+
type: {
|
|
246
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
247
|
+
isOptional: false;
|
|
248
|
+
};
|
|
249
|
+
gridX: {
|
|
250
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
251
|
+
isOptional: false;
|
|
252
|
+
};
|
|
253
|
+
gridY: {
|
|
254
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
370
255
|
isOptional: false;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
type:
|
|
256
|
+
};
|
|
257
|
+
gridWidth: {
|
|
258
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
374
259
|
isOptional: false;
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
type:
|
|
260
|
+
};
|
|
261
|
+
gridHeight: {
|
|
262
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
378
263
|
isOptional: false;
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
type:
|
|
382
|
-
|
|
383
|
-
|
|
264
|
+
};
|
|
265
|
+
queryId: {
|
|
266
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
267
|
+
isOptional: true;
|
|
268
|
+
};
|
|
269
|
+
config: {
|
|
270
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
271
|
+
isOptional: true;
|
|
272
|
+
};
|
|
273
|
+
}>, {
|
|
274
|
+
key: string;
|
|
275
|
+
version: string;
|
|
276
|
+
stability: string;
|
|
277
|
+
owners: "@example.analytics-dashboard"[];
|
|
278
|
+
tags: string[];
|
|
279
|
+
when: string;
|
|
280
|
+
payload: import("@contractspec/lib.schema").SchemaModel<{
|
|
281
|
+
id: {
|
|
282
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
384
283
|
isOptional: false;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
type:
|
|
284
|
+
};
|
|
285
|
+
dashboardId: {
|
|
286
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
388
287
|
isOptional: false;
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
type:
|
|
288
|
+
};
|
|
289
|
+
name: {
|
|
290
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
392
291
|
isOptional: false;
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
type:
|
|
292
|
+
};
|
|
293
|
+
type: {
|
|
294
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
396
295
|
isOptional: false;
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
type:
|
|
296
|
+
};
|
|
297
|
+
gridX: {
|
|
298
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
400
299
|
isOptional: false;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
type:
|
|
300
|
+
};
|
|
301
|
+
gridY: {
|
|
302
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
404
303
|
isOptional: false;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
type:
|
|
304
|
+
};
|
|
305
|
+
gridWidth: {
|
|
306
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
408
307
|
isOptional: false;
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
type:
|
|
308
|
+
};
|
|
309
|
+
gridHeight: {
|
|
310
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
412
311
|
isOptional: false;
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
type:
|
|
312
|
+
};
|
|
313
|
+
queryId: {
|
|
314
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
416
315
|
isOptional: true;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
type:
|
|
316
|
+
};
|
|
317
|
+
config: {
|
|
318
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
420
319
|
isOptional: true;
|
|
421
|
-
|
|
320
|
+
};
|
|
321
|
+
}>;
|
|
322
|
+
}[]>;
|
|
323
|
+
/**
|
|
324
|
+
* List dashboards.
|
|
325
|
+
*/
|
|
326
|
+
export declare const ListDashboardsContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
327
|
+
status: {
|
|
328
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
329
|
+
isOptional: true;
|
|
330
|
+
};
|
|
331
|
+
search: {
|
|
332
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
333
|
+
isOptional: true;
|
|
334
|
+
};
|
|
335
|
+
limit: {
|
|
336
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
337
|
+
isOptional: true;
|
|
338
|
+
defaultValue: number;
|
|
339
|
+
};
|
|
340
|
+
offset: {
|
|
341
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
342
|
+
isOptional: true;
|
|
343
|
+
defaultValue: number;
|
|
344
|
+
};
|
|
345
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
346
|
+
dashboards: {
|
|
347
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
348
|
+
id: {
|
|
349
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
350
|
+
isOptional: false;
|
|
351
|
+
};
|
|
352
|
+
name: {
|
|
353
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
354
|
+
isOptional: false;
|
|
355
|
+
};
|
|
356
|
+
slug: {
|
|
357
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
358
|
+
isOptional: false;
|
|
359
|
+
};
|
|
360
|
+
description: {
|
|
361
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
362
|
+
isOptional: true;
|
|
363
|
+
};
|
|
364
|
+
status: {
|
|
365
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
366
|
+
isOptional: false;
|
|
367
|
+
};
|
|
368
|
+
refreshInterval: {
|
|
369
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
370
|
+
isOptional: false;
|
|
371
|
+
};
|
|
372
|
+
isPublic: {
|
|
373
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
374
|
+
isOptional: false;
|
|
375
|
+
};
|
|
376
|
+
widgets: {
|
|
377
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
378
|
+
id: {
|
|
379
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
380
|
+
isOptional: false;
|
|
381
|
+
};
|
|
382
|
+
dashboardId: {
|
|
383
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
384
|
+
isOptional: false;
|
|
385
|
+
};
|
|
386
|
+
name: {
|
|
387
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
388
|
+
isOptional: false;
|
|
389
|
+
};
|
|
390
|
+
type: {
|
|
391
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
392
|
+
isOptional: false;
|
|
393
|
+
};
|
|
394
|
+
gridX: {
|
|
395
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
396
|
+
isOptional: false;
|
|
397
|
+
};
|
|
398
|
+
gridY: {
|
|
399
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
400
|
+
isOptional: false;
|
|
401
|
+
};
|
|
402
|
+
gridWidth: {
|
|
403
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
404
|
+
isOptional: false;
|
|
405
|
+
};
|
|
406
|
+
gridHeight: {
|
|
407
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
408
|
+
isOptional: false;
|
|
409
|
+
};
|
|
410
|
+
queryId: {
|
|
411
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
412
|
+
isOptional: true;
|
|
413
|
+
};
|
|
414
|
+
config: {
|
|
415
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
416
|
+
isOptional: true;
|
|
417
|
+
};
|
|
418
|
+
}>;
|
|
419
|
+
isArray: true;
|
|
420
|
+
isOptional: true;
|
|
421
|
+
};
|
|
422
|
+
createdAt: {
|
|
423
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
424
|
+
isOptional: false;
|
|
425
|
+
};
|
|
422
426
|
}>;
|
|
423
427
|
isArray: true;
|
|
424
|
-
isOptional: true;
|
|
425
|
-
};
|
|
426
|
-
createdAt: {
|
|
427
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
428
428
|
isOptional: false;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
total: {
|
|
435
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
436
|
-
isOptional: false;
|
|
437
|
-
};
|
|
429
|
+
};
|
|
430
|
+
total: {
|
|
431
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
432
|
+
isOptional: false;
|
|
433
|
+
};
|
|
438
434
|
}>, undefined>;
|
|
439
435
|
/**
|
|
440
436
|
* Get a dashboard with widgets.
|
|
441
437
|
*/
|
|
442
|
-
declare const GetDashboardContract:
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
}>,
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
isOptional: false;
|
|
459
|
-
};
|
|
460
|
-
name: {
|
|
461
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
462
|
-
isOptional: false;
|
|
463
|
-
};
|
|
464
|
-
slug: {
|
|
465
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
466
|
-
isOptional: false;
|
|
467
|
-
};
|
|
468
|
-
description: {
|
|
469
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
470
|
-
isOptional: true;
|
|
471
|
-
};
|
|
472
|
-
status: {
|
|
473
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
474
|
-
isOptional: false;
|
|
475
|
-
};
|
|
476
|
-
refreshInterval: {
|
|
477
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
478
|
-
isOptional: false;
|
|
479
|
-
};
|
|
480
|
-
isPublic: {
|
|
481
|
-
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
482
|
-
isOptional: false;
|
|
483
|
-
};
|
|
484
|
-
widgets: {
|
|
485
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
486
|
-
id: {
|
|
487
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
488
|
-
isOptional: false;
|
|
489
|
-
};
|
|
490
|
-
dashboardId: {
|
|
491
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
492
|
-
isOptional: false;
|
|
493
|
-
};
|
|
494
|
-
name: {
|
|
495
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
438
|
+
export declare const GetDashboardContract: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
|
|
439
|
+
dashboardId: {
|
|
440
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
441
|
+
isOptional: true;
|
|
442
|
+
};
|
|
443
|
+
slug: {
|
|
444
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
445
|
+
isOptional: true;
|
|
446
|
+
};
|
|
447
|
+
shareToken: {
|
|
448
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
449
|
+
isOptional: true;
|
|
450
|
+
};
|
|
451
|
+
}>, import("@contractspec/lib.schema").SchemaModel<{
|
|
452
|
+
id: {
|
|
453
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
496
454
|
isOptional: false;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
type:
|
|
455
|
+
};
|
|
456
|
+
name: {
|
|
457
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
500
458
|
isOptional: false;
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
type:
|
|
459
|
+
};
|
|
460
|
+
slug: {
|
|
461
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
504
462
|
isOptional: false;
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
type:
|
|
463
|
+
};
|
|
464
|
+
description: {
|
|
465
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
466
|
+
isOptional: true;
|
|
467
|
+
};
|
|
468
|
+
status: {
|
|
469
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
508
470
|
isOptional: false;
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
type:
|
|
471
|
+
};
|
|
472
|
+
refreshInterval: {
|
|
473
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
512
474
|
isOptional: false;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
type:
|
|
475
|
+
};
|
|
476
|
+
isPublic: {
|
|
477
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
516
478
|
isOptional: false;
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
type:
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
479
|
+
};
|
|
480
|
+
widgets: {
|
|
481
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
482
|
+
id: {
|
|
483
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
484
|
+
isOptional: false;
|
|
485
|
+
};
|
|
486
|
+
dashboardId: {
|
|
487
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
488
|
+
isOptional: false;
|
|
489
|
+
};
|
|
490
|
+
name: {
|
|
491
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
492
|
+
isOptional: false;
|
|
493
|
+
};
|
|
494
|
+
type: {
|
|
495
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
496
|
+
isOptional: false;
|
|
497
|
+
};
|
|
498
|
+
gridX: {
|
|
499
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
500
|
+
isOptional: false;
|
|
501
|
+
};
|
|
502
|
+
gridY: {
|
|
503
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
504
|
+
isOptional: false;
|
|
505
|
+
};
|
|
506
|
+
gridWidth: {
|
|
507
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
508
|
+
isOptional: false;
|
|
509
|
+
};
|
|
510
|
+
gridHeight: {
|
|
511
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
512
|
+
isOptional: false;
|
|
513
|
+
};
|
|
514
|
+
queryId: {
|
|
515
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
516
|
+
isOptional: true;
|
|
517
|
+
};
|
|
518
|
+
config: {
|
|
519
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
520
|
+
isOptional: true;
|
|
521
|
+
};
|
|
522
|
+
}>;
|
|
523
|
+
isArray: true;
|
|
524
524
|
isOptional: true;
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
createdAt: {
|
|
531
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
532
|
-
isOptional: false;
|
|
533
|
-
};
|
|
525
|
+
};
|
|
526
|
+
createdAt: {
|
|
527
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
528
|
+
isOptional: false;
|
|
529
|
+
};
|
|
534
530
|
}>, undefined>;
|
|
535
|
-
//#endregion
|
|
536
|
-
export { AddWidgetContract, CreateDashboardContract, GetDashboardContract, ListDashboardsContract };
|
|
537
531
|
//# sourceMappingURL=dashboard.operation.d.ts.map
|