@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,333 +1,328 @@
|
|
|
1
|
-
import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
|
|
2
|
-
|
|
3
|
-
//#region src/dashboard/dashboard.schema.d.ts
|
|
4
1
|
/**
|
|
5
2
|
* A dashboard widget.
|
|
6
3
|
*/
|
|
7
|
-
declare const WidgetModel:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
4
|
+
export declare const WidgetModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
5
|
+
id: {
|
|
6
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
7
|
+
isOptional: false;
|
|
8
|
+
};
|
|
9
|
+
dashboardId: {
|
|
10
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
11
|
+
isOptional: false;
|
|
12
|
+
};
|
|
13
|
+
name: {
|
|
14
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
15
|
+
isOptional: false;
|
|
16
|
+
};
|
|
17
|
+
type: {
|
|
18
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
19
|
+
isOptional: false;
|
|
20
|
+
};
|
|
21
|
+
gridX: {
|
|
22
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
23
|
+
isOptional: false;
|
|
24
|
+
};
|
|
25
|
+
gridY: {
|
|
26
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
27
|
+
isOptional: false;
|
|
28
|
+
};
|
|
29
|
+
gridWidth: {
|
|
30
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
31
|
+
isOptional: false;
|
|
32
|
+
};
|
|
33
|
+
gridHeight: {
|
|
34
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
35
|
+
isOptional: false;
|
|
36
|
+
};
|
|
37
|
+
queryId: {
|
|
38
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
39
|
+
isOptional: true;
|
|
40
|
+
};
|
|
41
|
+
config: {
|
|
42
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
43
|
+
isOptional: true;
|
|
44
|
+
};
|
|
48
45
|
}>;
|
|
49
46
|
/**
|
|
50
47
|
* An analytics dashboard.
|
|
51
48
|
*/
|
|
52
|
-
declare const DashboardModel:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
isOptional: false;
|
|
56
|
-
};
|
|
57
|
-
name: {
|
|
58
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
59
|
-
isOptional: false;
|
|
60
|
-
};
|
|
61
|
-
slug: {
|
|
62
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
63
|
-
isOptional: false;
|
|
64
|
-
};
|
|
65
|
-
description: {
|
|
66
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
67
|
-
isOptional: true;
|
|
68
|
-
};
|
|
69
|
-
status: {
|
|
70
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string]>;
|
|
71
|
-
isOptional: false;
|
|
72
|
-
};
|
|
73
|
-
refreshInterval: {
|
|
74
|
-
type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
|
|
75
|
-
isOptional: false;
|
|
76
|
-
};
|
|
77
|
-
isPublic: {
|
|
78
|
-
type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
|
|
79
|
-
isOptional: false;
|
|
80
|
-
};
|
|
81
|
-
widgets: {
|
|
82
|
-
type: _contractspec_lib_schema0.SchemaModel<{
|
|
83
|
-
id: {
|
|
84
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
85
|
-
isOptional: false;
|
|
86
|
-
};
|
|
87
|
-
dashboardId: {
|
|
88
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
89
|
-
isOptional: false;
|
|
90
|
-
};
|
|
91
|
-
name: {
|
|
92
|
-
type: _contractspec_lib_schema0.FieldType<string, string>;
|
|
49
|
+
export declare const DashboardModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
50
|
+
id: {
|
|
51
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
93
52
|
isOptional: false;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
type:
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
97
56
|
isOptional: false;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
type:
|
|
57
|
+
};
|
|
58
|
+
slug: {
|
|
59
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
101
60
|
isOptional: false;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
type:
|
|
61
|
+
};
|
|
62
|
+
description: {
|
|
63
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
64
|
+
isOptional: true;
|
|
65
|
+
};
|
|
66
|
+
status: {
|
|
67
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
105
68
|
isOptional: false;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
type:
|
|
69
|
+
};
|
|
70
|
+
refreshInterval: {
|
|
71
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
109
72
|
isOptional: false;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
type:
|
|
73
|
+
};
|
|
74
|
+
isPublic: {
|
|
75
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
113
76
|
isOptional: false;
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
type:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
77
|
+
};
|
|
78
|
+
widgets: {
|
|
79
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
80
|
+
id: {
|
|
81
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
82
|
+
isOptional: false;
|
|
83
|
+
};
|
|
84
|
+
dashboardId: {
|
|
85
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
86
|
+
isOptional: false;
|
|
87
|
+
};
|
|
88
|
+
name: {
|
|
89
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
90
|
+
isOptional: false;
|
|
91
|
+
};
|
|
92
|
+
type: {
|
|
93
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
94
|
+
isOptional: false;
|
|
95
|
+
};
|
|
96
|
+
gridX: {
|
|
97
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
98
|
+
isOptional: false;
|
|
99
|
+
};
|
|
100
|
+
gridY: {
|
|
101
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
102
|
+
isOptional: false;
|
|
103
|
+
};
|
|
104
|
+
gridWidth: {
|
|
105
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
106
|
+
isOptional: false;
|
|
107
|
+
};
|
|
108
|
+
gridHeight: {
|
|
109
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
110
|
+
isOptional: false;
|
|
111
|
+
};
|
|
112
|
+
queryId: {
|
|
113
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
114
|
+
isOptional: true;
|
|
115
|
+
};
|
|
116
|
+
config: {
|
|
117
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
118
|
+
isOptional: true;
|
|
119
|
+
};
|
|
120
|
+
}>;
|
|
121
|
+
isArray: true;
|
|
121
122
|
isOptional: true;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
createdAt: {
|
|
128
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
129
|
-
isOptional: false;
|
|
130
|
-
};
|
|
123
|
+
};
|
|
124
|
+
createdAt: {
|
|
125
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
126
|
+
isOptional: false;
|
|
127
|
+
};
|
|
131
128
|
}>;
|
|
132
129
|
/**
|
|
133
130
|
* Input for creating a dashboard.
|
|
134
131
|
*/
|
|
135
|
-
declare const CreateDashboardInputModel:
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
132
|
+
export declare const CreateDashboardInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
133
|
+
name: {
|
|
134
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
135
|
+
isOptional: false;
|
|
136
|
+
};
|
|
137
|
+
slug: {
|
|
138
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
139
|
+
isOptional: false;
|
|
140
|
+
};
|
|
141
|
+
description: {
|
|
142
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
143
|
+
isOptional: true;
|
|
144
|
+
};
|
|
145
|
+
refreshInterval: {
|
|
146
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
147
|
+
isOptional: true;
|
|
148
|
+
};
|
|
149
|
+
dateRange: {
|
|
150
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
151
|
+
isOptional: true;
|
|
152
|
+
};
|
|
156
153
|
}>;
|
|
157
154
|
/**
|
|
158
155
|
* Input for adding a widget.
|
|
159
156
|
*/
|
|
160
|
-
declare const AddWidgetInputModel:
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
157
|
+
export declare const AddWidgetInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
158
|
+
dashboardId: {
|
|
159
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
160
|
+
isOptional: false;
|
|
161
|
+
};
|
|
162
|
+
name: {
|
|
163
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
164
|
+
isOptional: false;
|
|
165
|
+
};
|
|
166
|
+
type: {
|
|
167
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
168
|
+
isOptional: false;
|
|
169
|
+
};
|
|
170
|
+
gridX: {
|
|
171
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
172
|
+
isOptional: true;
|
|
173
|
+
};
|
|
174
|
+
gridY: {
|
|
175
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
176
|
+
isOptional: true;
|
|
177
|
+
};
|
|
178
|
+
gridWidth: {
|
|
179
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
180
|
+
isOptional: true;
|
|
181
|
+
};
|
|
182
|
+
gridHeight: {
|
|
183
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
184
|
+
isOptional: true;
|
|
185
|
+
};
|
|
186
|
+
queryId: {
|
|
187
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
188
|
+
isOptional: true;
|
|
189
|
+
};
|
|
190
|
+
config: {
|
|
191
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
192
|
+
isOptional: true;
|
|
193
|
+
};
|
|
197
194
|
}>;
|
|
198
195
|
/**
|
|
199
196
|
* Input for listing dashboards.
|
|
200
197
|
*/
|
|
201
|
-
declare const ListDashboardsInputModel:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
198
|
+
export declare const ListDashboardsInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
199
|
+
status: {
|
|
200
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
201
|
+
isOptional: true;
|
|
202
|
+
};
|
|
203
|
+
search: {
|
|
204
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
205
|
+
isOptional: true;
|
|
206
|
+
};
|
|
207
|
+
limit: {
|
|
208
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
209
|
+
isOptional: true;
|
|
210
|
+
defaultValue: number;
|
|
211
|
+
};
|
|
212
|
+
offset: {
|
|
213
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
214
|
+
isOptional: true;
|
|
215
|
+
defaultValue: number;
|
|
216
|
+
};
|
|
220
217
|
}>;
|
|
221
218
|
/**
|
|
222
219
|
* Output for listing dashboards.
|
|
223
220
|
*/
|
|
224
|
-
declare const ListDashboardsOutputModel:
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
221
|
+
export declare const ListDashboardsOutputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
222
|
+
dashboards: {
|
|
223
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
224
|
+
id: {
|
|
225
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
226
|
+
isOptional: false;
|
|
227
|
+
};
|
|
228
|
+
name: {
|
|
229
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
230
|
+
isOptional: false;
|
|
231
|
+
};
|
|
232
|
+
slug: {
|
|
233
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
234
|
+
isOptional: false;
|
|
235
|
+
};
|
|
236
|
+
description: {
|
|
237
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
238
|
+
isOptional: true;
|
|
239
|
+
};
|
|
240
|
+
status: {
|
|
241
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string]>;
|
|
242
|
+
isOptional: false;
|
|
243
|
+
};
|
|
244
|
+
refreshInterval: {
|
|
245
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
|
|
246
|
+
isOptional: false;
|
|
247
|
+
};
|
|
248
|
+
isPublic: {
|
|
249
|
+
type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
|
|
250
|
+
isOptional: false;
|
|
251
|
+
};
|
|
252
|
+
widgets: {
|
|
253
|
+
type: import("@contractspec/lib.schema").SchemaModel<{
|
|
254
|
+
id: {
|
|
255
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
256
|
+
isOptional: false;
|
|
257
|
+
};
|
|
258
|
+
dashboardId: {
|
|
259
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
260
|
+
isOptional: false;
|
|
261
|
+
};
|
|
262
|
+
name: {
|
|
263
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
264
|
+
isOptional: false;
|
|
265
|
+
};
|
|
266
|
+
type: {
|
|
267
|
+
type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string, string, string, string, string, string, string]>;
|
|
268
|
+
isOptional: false;
|
|
269
|
+
};
|
|
270
|
+
gridX: {
|
|
271
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
272
|
+
isOptional: false;
|
|
273
|
+
};
|
|
274
|
+
gridY: {
|
|
275
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
276
|
+
isOptional: false;
|
|
277
|
+
};
|
|
278
|
+
gridWidth: {
|
|
279
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
280
|
+
isOptional: false;
|
|
281
|
+
};
|
|
282
|
+
gridHeight: {
|
|
283
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
284
|
+
isOptional: false;
|
|
285
|
+
};
|
|
286
|
+
queryId: {
|
|
287
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
288
|
+
isOptional: true;
|
|
289
|
+
};
|
|
290
|
+
config: {
|
|
291
|
+
type: import("@contractspec/lib.schema").FieldType<unknown, unknown>;
|
|
292
|
+
isOptional: true;
|
|
293
|
+
};
|
|
294
|
+
}>;
|
|
295
|
+
isArray: true;
|
|
296
|
+
isOptional: true;
|
|
297
|
+
};
|
|
298
|
+
createdAt: {
|
|
299
|
+
type: import("@contractspec/lib.schema").FieldType<Date, string>;
|
|
300
|
+
isOptional: false;
|
|
301
|
+
};
|
|
297
302
|
}>;
|
|
298
303
|
isArray: true;
|
|
299
|
-
isOptional: true;
|
|
300
|
-
};
|
|
301
|
-
createdAt: {
|
|
302
|
-
type: _contractspec_lib_schema0.FieldType<Date, string>;
|
|
303
304
|
isOptional: false;
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
total: {
|
|
310
|
-
type: _contractspec_lib_schema0.FieldType<number, number>;
|
|
311
|
-
isOptional: false;
|
|
312
|
-
};
|
|
305
|
+
};
|
|
306
|
+
total: {
|
|
307
|
+
type: import("@contractspec/lib.schema").FieldType<number, number>;
|
|
308
|
+
isOptional: false;
|
|
309
|
+
};
|
|
313
310
|
}>;
|
|
314
311
|
/**
|
|
315
312
|
* Input for getting a dashboard.
|
|
316
313
|
*/
|
|
317
|
-
declare const GetDashboardInputModel:
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
314
|
+
export declare const GetDashboardInputModel: import("@contractspec/lib.schema").SchemaModel<{
|
|
315
|
+
dashboardId: {
|
|
316
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
317
|
+
isOptional: true;
|
|
318
|
+
};
|
|
319
|
+
slug: {
|
|
320
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
321
|
+
isOptional: true;
|
|
322
|
+
};
|
|
323
|
+
shareToken: {
|
|
324
|
+
type: import("@contractspec/lib.schema").FieldType<string, string>;
|
|
325
|
+
isOptional: true;
|
|
326
|
+
};
|
|
330
327
|
}>;
|
|
331
|
-
//#endregion
|
|
332
|
-
export { AddWidgetInputModel, CreateDashboardInputModel, DashboardModel, GetDashboardInputModel, ListDashboardsInputModel, ListDashboardsOutputModel, WidgetModel };
|
|
333
328
|
//# sourceMappingURL=dashboard.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.schema.d.ts","
|
|
1
|
+
{"version":3,"file":"dashboard.schema.d.ts","sourceRoot":"","sources":["../../src/dashboard/dashboard.schema.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EActB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAazB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;EASpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa9B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;EAgBnC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMpC,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;EAOjC,CAAC"}
|