@contractspec/example.analytics-dashboard 0.0.0-canary-20260119224015 → 0.0.0-canary-20260119225944
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dashboard/dashboard.enum.d.ts +4 -4
- package/dist/dashboard/dashboard.operation.d.ts +131 -131
- package/dist/dashboard/dashboard.presentation.d.ts +4 -4
- package/dist/dashboard/dashboard.presentation.d.ts.map +1 -1
- package/dist/dashboard/dashboard.test-spec.d.ts +5 -5
- package/dist/dashboard.feature.d.ts +2 -2
- package/dist/dashboard.feature.d.ts.map +1 -1
- package/dist/events.d.ts +40 -40
- package/dist/events.d.ts.map +1 -1
- package/dist/example.d.ts +2 -2
- package/dist/example.d.ts.map +1 -1
- package/dist/query/query.enum.d.ts +2 -2
- package/dist/query/query.enum.d.ts.map +1 -1
- package/dist/query/query.operation.d.ts +45 -45
- package/dist/query/query.operation.d.ts.map +1 -1
- package/dist/query/query.presentation.d.ts +3 -3
- package/dist/query/query.presentation.d.ts.map +1 -1
- package/dist/query/query.schema.d.ts +34 -34
- package/dist/query/query.test-spec.d.ts +3 -3
- package/dist/query/query.test-spec.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard/dashboard.presentation.d.ts
|
|
4
|
-
declare const DashboardsListPresentation:
|
|
5
|
-
declare const DashboardViewPresentation:
|
|
6
|
-
declare const DashboardEditorPresentation:
|
|
4
|
+
declare const DashboardsListPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
5
|
+
declare const DashboardViewPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
6
|
+
declare const DashboardEditorPresentation: _contractspec_lib_contracts0.PresentationSpec;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { DashboardEditorPresentation, DashboardViewPresentation, DashboardsListPresentation };
|
|
9
9
|
//# sourceMappingURL=dashboard.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAuBX,
|
|
1
|
+
{"version":3,"file":"dashboard.presentation.d.ts","names":[],"sources":["../../src/dashboard/dashboard.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,4BAuBX,4BAAA,CAvBqC;cAyB1B,2BAuBX,4BAAA,CAvBoC;cAyBzB,6BAuBX,4BAAA,CAvBsC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts9 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard/dashboard.test-spec.d.ts
|
|
4
|
-
declare const CreateDashboardTest:
|
|
5
|
-
declare const ListDashboardsTest:
|
|
6
|
-
declare const GetDashboardTest:
|
|
7
|
-
declare const AddWidgetTest:
|
|
4
|
+
declare const CreateDashboardTest: _contractspec_lib_contracts9.TestSpec;
|
|
5
|
+
declare const ListDashboardsTest: _contractspec_lib_contracts9.TestSpec;
|
|
6
|
+
declare const GetDashboardTest: _contractspec_lib_contracts9.TestSpec;
|
|
7
|
+
declare const AddWidgetTest: _contractspec_lib_contracts9.TestSpec;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { AddWidgetTest, CreateDashboardTest, GetDashboardTest, ListDashboardsTest };
|
|
10
10
|
//# sourceMappingURL=dashboard.test-spec.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts2 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/dashboard.feature.d.ts
|
|
4
4
|
|
|
@@ -11,7 +11,7 @@ import * as _contractspec_lib_contracts23 from "@contractspec/lib.contracts";
|
|
|
11
11
|
* This feature module bundles all dashboard and query operations, events,
|
|
12
12
|
* and presentations into an installable feature following FeatureModuleSpec.
|
|
13
13
|
*/
|
|
14
|
-
declare const AnalyticsDashboardFeature:
|
|
14
|
+
declare const AnalyticsDashboardFeature: _contractspec_lib_contracts2.FeatureModuleSpec;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { AnalyticsDashboardFeature };
|
|
17
17
|
//# sourceMappingURL=dashboard.feature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.feature.d.ts","names":[],"sources":["../src/dashboard.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;AAcA;;;;;;cAAa,2BA6GX,
|
|
1
|
+
{"version":3,"file":"dashboard.feature.d.ts","names":[],"sources":["../src/dashboard.feature.ts"],"sourcesContent":[],"mappings":";;;;;;;AAcA;;;;;;cAAa,2BA6GX,4BAAA,CA7GoC"}
|
package/dist/events.d.ts
CHANGED
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema77 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
|
5
|
-
declare const DashboardCreatedEvent:
|
|
5
|
+
declare const DashboardCreatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema77.SchemaModel<{
|
|
6
6
|
dashboardId: {
|
|
7
|
-
type:
|
|
7
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
8
8
|
isOptional: false;
|
|
9
9
|
};
|
|
10
10
|
title: {
|
|
11
|
-
type:
|
|
11
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
orgId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
createdBy: {
|
|
19
|
-
type:
|
|
19
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
timestamp: {
|
|
23
|
-
type:
|
|
23
|
+
type: _contractspec_lib_schema77.FieldType<Date, string>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
}>>;
|
|
27
|
-
declare const WidgetAddedEvent:
|
|
27
|
+
declare const WidgetAddedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema77.SchemaModel<{
|
|
28
28
|
widgetId: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
30
30
|
isOptional: false;
|
|
31
31
|
};
|
|
32
32
|
dashboardId: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
34
34
|
isOptional: false;
|
|
35
35
|
};
|
|
36
36
|
widgetType: {
|
|
37
|
-
type:
|
|
37
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
38
38
|
isOptional: false;
|
|
39
39
|
};
|
|
40
40
|
orgId: {
|
|
41
|
-
type:
|
|
41
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
42
42
|
isOptional: false;
|
|
43
43
|
};
|
|
44
44
|
timestamp: {
|
|
45
|
-
type:
|
|
45
|
+
type: _contractspec_lib_schema77.FieldType<Date, string>;
|
|
46
46
|
isOptional: false;
|
|
47
47
|
};
|
|
48
48
|
}>>;
|
|
49
|
-
declare const QueryCreatedEvent:
|
|
49
|
+
declare const QueryCreatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema77.SchemaModel<{
|
|
50
50
|
queryId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
name: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
queryType: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
orgId: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
64
64
|
isOptional: false;
|
|
65
65
|
};
|
|
66
66
|
createdBy: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
timestamp: {
|
|
71
|
-
type:
|
|
71
|
+
type: _contractspec_lib_schema77.FieldType<Date, string>;
|
|
72
72
|
isOptional: false;
|
|
73
73
|
};
|
|
74
74
|
}>>;
|
|
75
75
|
declare const AnalyticsDashboardEvents: {
|
|
76
|
-
DashboardCreatedEvent:
|
|
76
|
+
DashboardCreatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema77.SchemaModel<{
|
|
77
77
|
dashboardId: {
|
|
78
|
-
type:
|
|
78
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
79
79
|
isOptional: false;
|
|
80
80
|
};
|
|
81
81
|
title: {
|
|
82
|
-
type:
|
|
82
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
83
83
|
isOptional: false;
|
|
84
84
|
};
|
|
85
85
|
orgId: {
|
|
86
|
-
type:
|
|
86
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
createdBy: {
|
|
90
|
-
type:
|
|
90
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
timestamp: {
|
|
94
|
-
type:
|
|
94
|
+
type: _contractspec_lib_schema77.FieldType<Date, string>;
|
|
95
95
|
isOptional: false;
|
|
96
96
|
};
|
|
97
97
|
}>>;
|
|
98
|
-
WidgetAddedEvent:
|
|
98
|
+
WidgetAddedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema77.SchemaModel<{
|
|
99
99
|
widgetId: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
dashboardId: {
|
|
104
|
-
type:
|
|
104
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
widgetType: {
|
|
108
|
-
type:
|
|
108
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
109
109
|
isOptional: false;
|
|
110
110
|
};
|
|
111
111
|
orgId: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
timestamp: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema77.FieldType<Date, string>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
}>>;
|
|
120
|
-
QueryCreatedEvent:
|
|
120
|
+
QueryCreatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema77.SchemaModel<{
|
|
121
121
|
queryId: {
|
|
122
|
-
type:
|
|
122
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
name: {
|
|
126
|
-
type:
|
|
126
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
127
127
|
isOptional: false;
|
|
128
128
|
};
|
|
129
129
|
queryType: {
|
|
130
|
-
type:
|
|
130
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
orgId: {
|
|
134
|
-
type:
|
|
134
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
135
135
|
isOptional: false;
|
|
136
136
|
};
|
|
137
137
|
createdBy: {
|
|
138
|
-
type:
|
|
138
|
+
type: _contractspec_lib_schema77.FieldType<string, string>;
|
|
139
139
|
isOptional: false;
|
|
140
140
|
};
|
|
141
141
|
timestamp: {
|
|
142
|
-
type:
|
|
142
|
+
type: _contractspec_lib_schema77.FieldType<Date, string>;
|
|
143
143
|
isOptional: false;
|
|
144
144
|
};
|
|
145
145
|
}>>;
|
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAwCa,uBAAqB,
|
|
1
|
+
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;cAwCa,uBAAqB,4BAAA,CAAA,qCAAA;;UAUhC,0BAAA,CAAA;;EAVW,CAAA;EAUX,KAAA,EAAA;;;;;;;EAVgC,CAAA;EAAA,SAAA,EAAA;IAYrB,IAAA,sCAUX,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;AAV2B,cAAhB,gBAAgB,EAAA,4BAAA,CAAA,SAAA,4BAAA,WAAA,CAAA;EAAA,QAAA,EAAA;IAYhB,IAAA,EAFX,0BAAA,CAAA,SAYA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;8CAV4B,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAAA,CAAA;EAYjB,KAAA,EAAA;IAIZ,IAAA,sCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;cAhBY,mBAAiB,4BAAA,CAAA,qCAAA;;UAU5B,0BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;cAEW;;;YAIZ,0BAAA,CAAA"}
|
package/dist/example.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts13 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/example.d.ts
|
|
4
|
-
declare const example:
|
|
4
|
+
declare const example: _contractspec_lib_contracts13.ExampleSpec;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { example as default };
|
|
7
7
|
//# sourceMappingURL=example.d.ts.map
|
package/dist/example.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAoCJ,
|
|
1
|
+
{"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAoCJ,6BAAA,CApCW"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_schema290 from "@contractspec/lib.schema";
|
|
2
2
|
|
|
3
3
|
//#region src/query/query.enum.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Query type enum.
|
|
6
6
|
*/
|
|
7
|
-
declare const QueryTypeEnum:
|
|
7
|
+
declare const QueryTypeEnum: _contractspec_lib_schema290.EnumType<[string, string, string, string]>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { QueryTypeEnum };
|
|
10
10
|
//# sourceMappingURL=query.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.enum.d.ts","names":[],"sources":["../../src/query/query.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,aAKX,EAAA,
|
|
1
|
+
{"version":3,"file":"query.enum.d.ts","names":[],"sources":["../../src/query/query.enum.ts"],"sourcesContent":[],"mappings":";;;;;;AAKa,cAAA,aAKX,EAAA,2BAAA,CALwB,QAAA,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA"}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts18 from "@contractspec/lib.contracts";
|
|
2
|
+
import * as _contractspec_lib_schema247 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/query/query.operation.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Create a data query.
|
|
7
7
|
*/
|
|
8
|
-
declare const CreateQueryContract:
|
|
8
|
+
declare const CreateQueryContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema247.SchemaModel<{
|
|
9
9
|
name: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
description: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
15
15
|
isOptional: true;
|
|
16
16
|
};
|
|
17
17
|
type: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema247.EnumType<[string, string, string, string]>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
definition: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
sql: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
metricIds: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
31
31
|
isArray: true;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
cacheTtlSeconds: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema247.FieldType<number, number>;
|
|
36
36
|
isOptional: true;
|
|
37
37
|
};
|
|
38
38
|
isShared: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema247.FieldType<boolean, boolean>;
|
|
40
40
|
isOptional: true;
|
|
41
41
|
};
|
|
42
|
-
}>,
|
|
42
|
+
}>, _contractspec_lib_schema247.SchemaModel<{
|
|
43
43
|
id: {
|
|
44
|
-
type:
|
|
44
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
45
45
|
isOptional: false;
|
|
46
46
|
};
|
|
47
47
|
name: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
description: {
|
|
52
|
-
type:
|
|
52
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
53
53
|
isOptional: true;
|
|
54
54
|
};
|
|
55
55
|
type: {
|
|
56
|
-
type:
|
|
56
|
+
type: _contractspec_lib_schema247.EnumType<[string, string, string, string]>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
definition: {
|
|
60
|
-
type:
|
|
60
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
61
61
|
isOptional: false;
|
|
62
62
|
};
|
|
63
63
|
sql: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
};
|
|
67
67
|
cacheTtlSeconds: {
|
|
68
|
-
type:
|
|
68
|
+
type: _contractspec_lib_schema247.FieldType<number, number>;
|
|
69
69
|
isOptional: false;
|
|
70
70
|
};
|
|
71
71
|
isShared: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema247.FieldType<boolean, boolean>;
|
|
73
73
|
isOptional: false;
|
|
74
74
|
};
|
|
75
75
|
createdAt: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema247.FieldType<Date, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
}>, {
|
|
@@ -83,41 +83,41 @@ declare const CreateQueryContract: _contractspec_lib_contracts4.OperationSpec<_c
|
|
|
83
83
|
owners: "@example.analytics-dashboard"[];
|
|
84
84
|
tags: string[];
|
|
85
85
|
when: string;
|
|
86
|
-
payload:
|
|
86
|
+
payload: _contractspec_lib_schema247.SchemaModel<{
|
|
87
87
|
id: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
name: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
93
93
|
isOptional: false;
|
|
94
94
|
};
|
|
95
95
|
description: {
|
|
96
|
-
type:
|
|
96
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
97
97
|
isOptional: true;
|
|
98
98
|
};
|
|
99
99
|
type: {
|
|
100
|
-
type:
|
|
100
|
+
type: _contractspec_lib_schema247.EnumType<[string, string, string, string]>;
|
|
101
101
|
isOptional: false;
|
|
102
102
|
};
|
|
103
103
|
definition: {
|
|
104
|
-
type:
|
|
104
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
105
105
|
isOptional: false;
|
|
106
106
|
};
|
|
107
107
|
sql: {
|
|
108
|
-
type:
|
|
108
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
109
109
|
isOptional: true;
|
|
110
110
|
};
|
|
111
111
|
cacheTtlSeconds: {
|
|
112
|
-
type:
|
|
112
|
+
type: _contractspec_lib_schema247.FieldType<number, number>;
|
|
113
113
|
isOptional: false;
|
|
114
114
|
};
|
|
115
115
|
isShared: {
|
|
116
|
-
type:
|
|
116
|
+
type: _contractspec_lib_schema247.FieldType<boolean, boolean>;
|
|
117
117
|
isOptional: false;
|
|
118
118
|
};
|
|
119
119
|
createdAt: {
|
|
120
|
-
type:
|
|
120
|
+
type: _contractspec_lib_schema247.FieldType<Date, string>;
|
|
121
121
|
isOptional: false;
|
|
122
122
|
};
|
|
123
123
|
}>;
|
|
@@ -125,54 +125,54 @@ declare const CreateQueryContract: _contractspec_lib_contracts4.OperationSpec<_c
|
|
|
125
125
|
/**
|
|
126
126
|
* Execute a data query.
|
|
127
127
|
*/
|
|
128
|
-
declare const ExecuteQueryContract:
|
|
128
|
+
declare const ExecuteQueryContract: _contractspec_lib_contracts18.OperationSpec<_contractspec_lib_schema247.SchemaModel<{
|
|
129
129
|
queryId: {
|
|
130
|
-
type:
|
|
130
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
parameters: {
|
|
134
|
-
type:
|
|
134
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
};
|
|
137
137
|
dateRange: {
|
|
138
|
-
type:
|
|
138
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
139
139
|
isOptional: true;
|
|
140
140
|
};
|
|
141
141
|
filters: {
|
|
142
|
-
type:
|
|
142
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
143
143
|
isOptional: true;
|
|
144
144
|
};
|
|
145
145
|
forceRefresh: {
|
|
146
|
-
type:
|
|
146
|
+
type: _contractspec_lib_schema247.FieldType<boolean, boolean>;
|
|
147
147
|
isOptional: true;
|
|
148
148
|
};
|
|
149
|
-
}>,
|
|
149
|
+
}>, _contractspec_lib_schema247.SchemaModel<{
|
|
150
150
|
queryId: {
|
|
151
|
-
type:
|
|
151
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
data: {
|
|
155
|
-
type:
|
|
155
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
156
156
|
isOptional: false;
|
|
157
157
|
};
|
|
158
158
|
columns: {
|
|
159
|
-
type:
|
|
159
|
+
type: _contractspec_lib_schema247.FieldType<unknown, unknown>;
|
|
160
160
|
isOptional: false;
|
|
161
161
|
};
|
|
162
162
|
rowCount: {
|
|
163
|
-
type:
|
|
163
|
+
type: _contractspec_lib_schema247.FieldType<number, number>;
|
|
164
164
|
isOptional: false;
|
|
165
165
|
};
|
|
166
166
|
executionTimeMs: {
|
|
167
|
-
type:
|
|
167
|
+
type: _contractspec_lib_schema247.FieldType<number, number>;
|
|
168
168
|
isOptional: false;
|
|
169
169
|
};
|
|
170
170
|
cachedAt: {
|
|
171
|
-
type:
|
|
171
|
+
type: _contractspec_lib_schema247.FieldType<Date, string>;
|
|
172
172
|
isOptional: true;
|
|
173
173
|
};
|
|
174
174
|
error: {
|
|
175
|
-
type:
|
|
175
|
+
type: _contractspec_lib_schema247.FieldType<string, string>;
|
|
176
176
|
isOptional: true;
|
|
177
177
|
};
|
|
178
178
|
}>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.operation.d.ts","names":[],"sources":["../../src/query/query.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAgBa,
|
|
1
|
+
{"version":3,"file":"query.operation.d.ts","names":[],"sources":["../../src/query/query.operation.ts"],"sourcesContent":[],"mappings":";;;;;;;cAgBa,mDAAmB,0CAAA;EAAnB,IAAA,EAAA;IA+CX,IAAA,EAAA,2BAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;8CA/C8B,CAAA,CAAA,MAAA,EAAA,MAAA,EAAA,MAAA,EAAA,MAAA,CAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;CAAA,CAAA,yCAAA,CAAA;EAoDnB,EAAA,EAAA;IA8BX,IAAA,EAlF8B,2BAAA,CAAA,SAkF9B,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;EA9B+B,CAAA;;;;;;;;;;IAAA,IAAA,uCAAA,CAAA,OAAA,EAAA,OAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAApB,oDAAoB,0CAAA;;UA8B/B,2BAAA,CAAA;;;;;;;;;;;;;;;;;;;;;UA9B+B,2BAAA,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _contractspec_lib_contracts20 from "@contractspec/lib.contracts";
|
|
2
2
|
|
|
3
3
|
//#region src/query/query.presentation.d.ts
|
|
4
|
-
declare const QueriesListPresentation:
|
|
5
|
-
declare const QueryBuilderPresentation:
|
|
4
|
+
declare const QueriesListPresentation: _contractspec_lib_contracts20.PresentationSpec;
|
|
5
|
+
declare const QueryBuilderPresentation: _contractspec_lib_contracts20.PresentationSpec;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { QueriesListPresentation, QueryBuilderPresentation };
|
|
8
8
|
//# sourceMappingURL=query.presentation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.presentation.d.ts","names":[],"sources":["../../src/query/query.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,yBAuBX,
|
|
1
|
+
{"version":3,"file":"query.presentation.d.ts","names":[],"sources":["../../src/query/query.presentation.ts"],"sourcesContent":[],"mappings":";;;cAGa,yBAuBX,6BAAA,CAvBkC;cAyBvB,0BAuBX,6BAAA,CAvBmC"}
|