@perses-dev/core 0.53.1 → 0.54.0-beta.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/cjs/constants/dashboard-defaults.js +3 -3
- package/dist/cjs/model/calculations.js +6 -6
- package/dist/cjs/model/definitions.js +1 -3
- package/dist/cjs/model/folder.js +16 -0
- package/dist/cjs/model/index.js +1 -0
- package/dist/cjs/model/legend.js +11 -11
- package/dist/cjs/model/otlp/index.js +4 -4
- package/dist/cjs/model/otlp/trace/v1/trace.js +4 -4
- package/dist/cjs/model/resource.js +3 -3
- package/dist/cjs/model/roles.js +4 -4
- package/dist/cjs/model/time.js +21 -309
- package/dist/cjs/model/units/bits.js +4 -4
- package/dist/cjs/model/units/bytes.js +4 -4
- package/dist/cjs/model/units/currency.js +4 -4
- package/dist/cjs/model/units/date.js +4 -4
- package/dist/cjs/model/units/decimal.js +4 -4
- package/dist/cjs/model/units/formatterCache.js +3 -3
- package/dist/cjs/model/units/percent.js +4 -4
- package/dist/cjs/model/units/temperature.js +4 -4
- package/dist/cjs/model/units/throughput.js +4 -4
- package/dist/cjs/model/units/time.js +5 -5
- package/dist/cjs/model/units/units.js +18 -18
- package/dist/cjs/model/units/utils.js +4 -4
- package/dist/cjs/model/variables.js +3 -3
- package/dist/cjs/schema/datasource.js +13 -29
- package/dist/cjs/schema/display.js +2 -6
- package/dist/cjs/schema/duration.js +2 -4
- package/dist/cjs/schema/metadata.js +4 -4
- package/dist/cjs/schema/panel.js +20 -73
- package/dist/cjs/schema/plugin.js +2 -6
- package/dist/cjs/schema/role.js +6 -6
- package/dist/cjs/schema/rolebinding.js +6 -6
- package/dist/cjs/schema/secret.js +5 -5
- package/dist/cjs/schema/user.js +5 -5
- package/dist/cjs/schema/variable.js +24 -137
- package/dist/cjs/utils/fetch.js +5 -5
- package/dist/cjs/utils/panel-refs.js +4 -4
- package/dist/cjs/utils/regexp.js +3 -3
- package/dist/cjs/utils/text.js +7 -7
- package/dist/cjs/utils/time-series-data.js +4 -4
- package/dist/cjs/utils/transform-data.js +6 -6
- package/dist/model/dashboard.d.ts +2 -21
- package/dist/model/dashboard.d.ts.map +1 -1
- package/dist/model/dashboard.js.map +1 -1
- package/dist/model/datasource.d.ts +3 -22
- package/dist/model/datasource.d.ts.map +1 -1
- package/dist/model/datasource.js +1 -3
- package/dist/model/datasource.js.map +1 -1
- package/dist/model/definitions.d.ts +1 -12
- package/dist/model/definitions.d.ts.map +1 -1
- package/dist/model/definitions.js +1 -6
- package/dist/model/definitions.js.map +1 -1
- package/dist/model/display.d.ts +1 -4
- package/dist/model/display.d.ts.map +1 -1
- package/dist/model/display.js.map +1 -1
- package/dist/model/folder.d.ts +19 -0
- package/dist/model/folder.d.ts.map +1 -0
- package/dist/model/folder.js +15 -0
- package/dist/model/folder.js.map +1 -0
- package/dist/model/index.d.ts +1 -0
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/index.js +1 -0
- package/dist/model/index.js.map +1 -1
- package/dist/model/project.d.ts +1 -1
- package/dist/model/project.d.ts.map +1 -1
- package/dist/model/project.js.map +1 -1
- package/dist/model/resource.d.ts +1 -1
- package/dist/model/resource.d.ts.map +1 -1
- package/dist/model/resource.js.map +1 -1
- package/dist/model/time.d.ts +3 -54
- package/dist/model/time.d.ts.map +1 -1
- package/dist/model/time.js +2 -299
- package/dist/model/time.js.map +1 -1
- package/dist/schema/datasource.d.ts +10 -9
- package/dist/schema/datasource.d.ts.map +1 -1
- package/dist/schema/datasource.js +2 -14
- package/dist/schema/datasource.js.map +1 -1
- package/dist/schema/display.d.ts +1 -11
- package/dist/schema/display.d.ts.map +1 -1
- package/dist/schema/display.js +1 -5
- package/dist/schema/display.js.map +1 -1
- package/dist/schema/duration.d.ts +1 -2
- package/dist/schema/duration.d.ts.map +1 -1
- package/dist/schema/duration.js +1 -3
- package/dist/schema/duration.js.map +1 -1
- package/dist/schema/panel.d.ts +1 -12
- package/dist/schema/panel.d.ts.map +1 -1
- package/dist/schema/panel.js +1 -54
- package/dist/schema/panel.js.map +1 -1
- package/dist/schema/plugin.d.ts +2 -13
- package/dist/schema/plugin.d.ts.map +1 -1
- package/dist/schema/plugin.js +1 -5
- package/dist/schema/plugin.js.map +1 -1
- package/dist/schema/role.d.ts +4 -4
- package/dist/schema/rolebinding.d.ts +4 -4
- package/dist/schema/secret.d.ts +70 -70
- package/dist/schema/variable.d.ts +1 -91
- package/dist/schema/variable.d.ts.map +1 -1
- package/dist/schema/variable.js +1 -105
- package/dist/schema/variable.js.map +1 -1
- package/dist/utils/fetch.js.map +1 -1
- package/dist/utils/text.js +4 -4
- package/dist/utils/text.js.map +1 -1
- package/package.json +3 -2
|
@@ -17,155 +17,42 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
17
17
|
function _export(target, all) {
|
|
18
18
|
for(var name in all)Object.defineProperty(target, name, {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: all
|
|
20
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
buildVariableDefinitionSchema
|
|
25
|
-
return buildVariableDefinitionSchema;
|
|
24
|
+
get buildVariableDefinitionSchema () {
|
|
25
|
+
return _spec.buildVariableDefinitionSchema;
|
|
26
26
|
},
|
|
27
|
-
buildVariableListSchema
|
|
28
|
-
return buildVariableListSchema;
|
|
27
|
+
get buildVariableListSchema () {
|
|
28
|
+
return _spec.buildVariableListSchema;
|
|
29
29
|
},
|
|
30
|
-
buildVariableListSpecSchema
|
|
31
|
-
return buildVariableListSpecSchema;
|
|
30
|
+
get buildVariableListSpecSchema () {
|
|
31
|
+
return _spec.buildVariableListSpecSchema;
|
|
32
32
|
},
|
|
33
|
-
buildVariableSpecSchema
|
|
34
|
-
return buildVariableSpecSchema;
|
|
33
|
+
get buildVariableSpecSchema () {
|
|
34
|
+
return _spec.buildVariableSpecSchema;
|
|
35
35
|
},
|
|
36
|
-
|
|
37
|
-
return
|
|
36
|
+
get variableDefinitionSchema () {
|
|
37
|
+
return _spec.variableDefinitionSchema;
|
|
38
38
|
},
|
|
39
|
-
|
|
40
|
-
return
|
|
39
|
+
get variableDisplaySchema () {
|
|
40
|
+
return _spec.variableDisplaySchema;
|
|
41
41
|
},
|
|
42
|
-
|
|
43
|
-
return
|
|
42
|
+
get variableListSchema () {
|
|
43
|
+
return _spec.variableListSchema;
|
|
44
44
|
},
|
|
45
|
-
|
|
46
|
-
return
|
|
45
|
+
get variableListSpecSchema () {
|
|
46
|
+
return _spec.variableListSpecSchema;
|
|
47
47
|
},
|
|
48
|
-
|
|
49
|
-
return
|
|
48
|
+
get variableSpecSchema () {
|
|
49
|
+
return _spec.variableSpecSchema;
|
|
50
50
|
},
|
|
51
|
-
|
|
52
|
-
return
|
|
51
|
+
get variableTextSchema () {
|
|
52
|
+
return _spec.variableTextSchema;
|
|
53
53
|
},
|
|
54
|
-
|
|
55
|
-
return
|
|
56
|
-
},
|
|
57
|
-
variableTextSchema: function() {
|
|
58
|
-
return variableTextSchema;
|
|
59
|
-
},
|
|
60
|
-
variableTextSpecSchema: function() {
|
|
61
|
-
return variableTextSpecSchema;
|
|
62
|
-
},
|
|
63
|
-
variablesSchema: function() {
|
|
64
|
-
return variablesSchema;
|
|
54
|
+
get variableTextSpecSchema () {
|
|
55
|
+
return _spec.variableTextSpecSchema;
|
|
65
56
|
}
|
|
66
57
|
});
|
|
67
|
-
const
|
|
68
|
-
const _metadata = require("./metadata");
|
|
69
|
-
const _plugin = require("./plugin");
|
|
70
|
-
const variableDisplaySchema = _zod.z.object({
|
|
71
|
-
name: _zod.z.string().optional(),
|
|
72
|
-
description: _zod.z.string().optional(),
|
|
73
|
-
hidden: _zod.z.boolean().optional()
|
|
74
|
-
});
|
|
75
|
-
const variableListSpecSchema = _zod.z.object({
|
|
76
|
-
name: _zod.z.string().min(1),
|
|
77
|
-
display: variableDisplaySchema.optional(),
|
|
78
|
-
defaultValue: _zod.z.string().or(_zod.z.array(_zod.z.string())).optional(),
|
|
79
|
-
allowAllValue: _zod.z.boolean(),
|
|
80
|
-
allowMultiple: _zod.z.boolean(),
|
|
81
|
-
customAllValue: _zod.z.string().optional(),
|
|
82
|
-
capturingRegexp: _zod.z.string().optional(),
|
|
83
|
-
sort: _zod.z.enum([
|
|
84
|
-
'none',
|
|
85
|
-
'alphabetical-asc',
|
|
86
|
-
'alphabetical-desc',
|
|
87
|
-
'numerical-asc',
|
|
88
|
-
'numerical-desc',
|
|
89
|
-
'alphabetical-ci-asc',
|
|
90
|
-
'alphabetical-ci-desc'
|
|
91
|
-
]).optional(),
|
|
92
|
-
plugin: _plugin.pluginSchema
|
|
93
|
-
});
|
|
94
|
-
function buildVariableListSpecSchema(pluginSchema) {
|
|
95
|
-
return _zod.z.object({
|
|
96
|
-
name: _zod.z.string().min(1),
|
|
97
|
-
display: variableDisplaySchema.optional(),
|
|
98
|
-
defaultValue: _zod.z.string().or(_zod.z.array(_zod.z.string())).optional(),
|
|
99
|
-
allowAllValue: _zod.z.boolean(),
|
|
100
|
-
allowMultiple: _zod.z.boolean(),
|
|
101
|
-
customAllValue: _zod.z.string().optional(),
|
|
102
|
-
capturingRegexp: _zod.z.string().optional(),
|
|
103
|
-
sort: _zod.z.enum([
|
|
104
|
-
'none',
|
|
105
|
-
'alphabetical-asc',
|
|
106
|
-
'alphabetical-desc',
|
|
107
|
-
'numerical-asc',
|
|
108
|
-
'numerical-desc',
|
|
109
|
-
'alphabetical-ci-asc',
|
|
110
|
-
'alphabetical-ci-desc'
|
|
111
|
-
]).optional(),
|
|
112
|
-
plugin: pluginSchema
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
const variableListSchema = _zod.z.object({
|
|
116
|
-
kind: _zod.z.literal('ListVariable'),
|
|
117
|
-
spec: variableListSpecSchema
|
|
118
|
-
});
|
|
119
|
-
function buildVariableListSchema(pluginSchema) {
|
|
120
|
-
return _zod.z.object({
|
|
121
|
-
kind: _zod.z.literal('ListVariable'),
|
|
122
|
-
spec: buildVariableListSpecSchema(pluginSchema)
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
const variableTextSpecSchema = _zod.z.object({
|
|
126
|
-
name: _zod.z.string().min(1),
|
|
127
|
-
display: variableDisplaySchema.optional(),
|
|
128
|
-
value: _zod.z.string(),
|
|
129
|
-
constant: _zod.z.boolean().optional()
|
|
130
|
-
});
|
|
131
|
-
const variableTextSchema = _zod.z.object({
|
|
132
|
-
kind: _zod.z.literal('TextVariable'),
|
|
133
|
-
spec: variableTextSpecSchema
|
|
134
|
-
});
|
|
135
|
-
const variableSpecSchema = _zod.z.discriminatedUnion('kind', [
|
|
136
|
-
variableTextSchema,
|
|
137
|
-
variableListSchema
|
|
138
|
-
]);
|
|
139
|
-
function buildVariableSpecSchema(pluginSchema) {
|
|
140
|
-
return _zod.z.union([
|
|
141
|
-
variableTextSchema,
|
|
142
|
-
buildVariableListSchema(pluginSchema)
|
|
143
|
-
]);
|
|
144
|
-
}
|
|
145
|
-
const variableSchema = _zod.z.object({
|
|
146
|
-
kind: _zod.z.literal('Variable'),
|
|
147
|
-
metadata: _metadata.projectMetadataSchema,
|
|
148
|
-
spec: variableSpecSchema
|
|
149
|
-
});
|
|
150
|
-
const globalVariableSchema = _zod.z.object({
|
|
151
|
-
kind: _zod.z.literal('GlobalVariable'),
|
|
152
|
-
metadata: _metadata.projectMetadataSchema,
|
|
153
|
-
spec: variableSpecSchema
|
|
154
|
-
});
|
|
155
|
-
const variablesSchema = _zod.z.discriminatedUnion('kind', [
|
|
156
|
-
variableSchema,
|
|
157
|
-
globalVariableSchema
|
|
158
|
-
]);
|
|
159
|
-
const variableDefinitionSchema = variableSpecSchema;
|
|
160
|
-
function buildVariableDefinitionSchema(pluginSchema) {
|
|
161
|
-
return _zod.z.discriminatedUnion('kind', [
|
|
162
|
-
_zod.z.object({
|
|
163
|
-
kind: _zod.z.literal('ListVariable'),
|
|
164
|
-
spec: buildVariableListSpecSchema(pluginSchema)
|
|
165
|
-
}),
|
|
166
|
-
_zod.z.object({
|
|
167
|
-
kind: _zod.z.literal('TextVariable'),
|
|
168
|
-
spec: variableTextSpecSchema
|
|
169
|
-
})
|
|
170
|
-
]);
|
|
171
|
-
}
|
|
58
|
+
const _spec = require("@perses-dev/spec");
|
package/dist/cjs/utils/fetch.js
CHANGED
|
@@ -19,20 +19,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
19
19
|
function _export(target, all) {
|
|
20
20
|
for(var name in all)Object.defineProperty(target, name, {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: all
|
|
22
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
_export(exports, {
|
|
26
|
-
FetchError
|
|
26
|
+
get FetchError () {
|
|
27
27
|
return FetchError;
|
|
28
28
|
},
|
|
29
|
-
UserFriendlyError
|
|
29
|
+
get UserFriendlyError () {
|
|
30
30
|
return UserFriendlyError;
|
|
31
31
|
},
|
|
32
|
-
fetch
|
|
32
|
+
get fetch () {
|
|
33
33
|
return fetch;
|
|
34
34
|
},
|
|
35
|
-
fetchJson
|
|
35
|
+
get fetchJson () {
|
|
36
36
|
return fetchJson;
|
|
37
37
|
}
|
|
38
38
|
});
|
|
@@ -17,17 +17,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
17
17
|
function _export(target, all) {
|
|
18
18
|
for(var name in all)Object.defineProperty(target, name, {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: all
|
|
20
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
createPanelRef
|
|
24
|
+
get createPanelRef () {
|
|
25
25
|
return createPanelRef;
|
|
26
26
|
},
|
|
27
|
-
getPanelKeyFromRef
|
|
27
|
+
get getPanelKeyFromRef () {
|
|
28
28
|
return getPanelKeyFromRef;
|
|
29
29
|
},
|
|
30
|
-
resolvePanelRef
|
|
30
|
+
get resolvePanelRef () {
|
|
31
31
|
return resolvePanelRef;
|
|
32
32
|
}
|
|
33
33
|
});
|
package/dist/cjs/utils/regexp.js
CHANGED
|
@@ -19,14 +19,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
19
19
|
function _export(target, all) {
|
|
20
20
|
for(var name in all)Object.defineProperty(target, name, {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: all
|
|
22
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
_export(exports, {
|
|
26
|
-
createRegexFromString
|
|
26
|
+
get createRegexFromString () {
|
|
27
27
|
return createRegexFromString;
|
|
28
28
|
},
|
|
29
|
-
isRegexPattern
|
|
29
|
+
get isRegexPattern () {
|
|
30
30
|
return isRegexPattern;
|
|
31
31
|
}
|
|
32
32
|
});
|
package/dist/cjs/utils/text.js
CHANGED
|
@@ -17,35 +17,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
17
17
|
function _export(target, all) {
|
|
18
18
|
for(var name in all)Object.defineProperty(target, name, {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: all
|
|
20
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
getResourceDisplayName
|
|
24
|
+
get getResourceDisplayName () {
|
|
25
25
|
return getResourceDisplayName;
|
|
26
26
|
},
|
|
27
|
-
getResourceExtendedDisplayName
|
|
27
|
+
get getResourceExtendedDisplayName () {
|
|
28
28
|
return getResourceExtendedDisplayName;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
function getResourceDisplayName(resource) {
|
|
32
32
|
// Variables
|
|
33
|
-
if (resource.spec
|
|
33
|
+
if (resource.spec?.spec?.display?.name) {
|
|
34
34
|
return resource.spec.spec.display.name;
|
|
35
35
|
}
|
|
36
36
|
// Other resources with display
|
|
37
|
-
if (resource.spec
|
|
37
|
+
if (resource.spec?.display?.name) {
|
|
38
38
|
return resource.spec.display.name;
|
|
39
39
|
}
|
|
40
40
|
return resource.metadata.name;
|
|
41
41
|
}
|
|
42
42
|
function getResourceExtendedDisplayName(resource) {
|
|
43
43
|
// Variables
|
|
44
|
-
if (resource.spec
|
|
44
|
+
if (resource.spec?.spec?.display?.name) {
|
|
45
45
|
return `${resource.spec.spec.display.name} (ID: ${resource.metadata.name})`;
|
|
46
46
|
}
|
|
47
47
|
// Other resources with display
|
|
48
|
-
if (resource.spec
|
|
48
|
+
if (resource.spec?.display?.name) {
|
|
49
49
|
return `${resource.spec.display.name} (ID: ${resource.metadata.name})`;
|
|
50
50
|
}
|
|
51
51
|
return resource.metadata.name;
|
|
@@ -17,17 +17,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
17
17
|
function _export(target, all) {
|
|
18
18
|
for(var name in all)Object.defineProperty(target, name, {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: all
|
|
20
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
MIN_STEP_INTERVAL_MS
|
|
24
|
+
get MIN_STEP_INTERVAL_MS () {
|
|
25
25
|
return MIN_STEP_INTERVAL_MS;
|
|
26
26
|
},
|
|
27
|
-
getCommonTimeScale
|
|
27
|
+
get getCommonTimeScale () {
|
|
28
28
|
return getCommonTimeScale;
|
|
29
29
|
},
|
|
30
|
-
getTimeSeriesValues
|
|
30
|
+
get getTimeSeriesValues () {
|
|
31
31
|
return getTimeSeriesValues;
|
|
32
32
|
}
|
|
33
33
|
});
|
|
@@ -17,23 +17,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
17
17
|
function _export(target, all) {
|
|
18
18
|
for(var name in all)Object.defineProperty(target, name, {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: all
|
|
20
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
23
|
_export(exports, {
|
|
24
|
-
applyJoinTransform
|
|
24
|
+
get applyJoinTransform () {
|
|
25
25
|
return applyJoinTransform;
|
|
26
26
|
},
|
|
27
|
-
applyMergeColumnsTransform
|
|
27
|
+
get applyMergeColumnsTransform () {
|
|
28
28
|
return applyMergeColumnsTransform;
|
|
29
29
|
},
|
|
30
|
-
applyMergeIndexedColumnsTransform
|
|
30
|
+
get applyMergeIndexedColumnsTransform () {
|
|
31
31
|
return applyMergeIndexedColumnsTransform;
|
|
32
32
|
},
|
|
33
|
-
applyMergeSeriesTransform
|
|
33
|
+
get applyMergeSeriesTransform () {
|
|
34
34
|
return applyMergeSeriesTransform;
|
|
35
35
|
},
|
|
36
|
-
transformData
|
|
36
|
+
get transformData () {
|
|
37
37
|
return transformData;
|
|
38
38
|
}
|
|
39
39
|
});
|
|
@@ -1,28 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LayoutDefinition } from './layout';
|
|
3
|
-
import { Link, PanelDefinition } from './panels';
|
|
1
|
+
import { DashboardSpec, DashboardSelector } from '@perses-dev/spec';
|
|
4
2
|
import { ProjectMetadata } from './resource';
|
|
5
|
-
|
|
6
|
-
import { VariableDefinition } from './variables';
|
|
7
|
-
import { Display } from './display';
|
|
3
|
+
export type { DashboardSelector, DashboardSpec };
|
|
8
4
|
export interface DashboardResource {
|
|
9
5
|
kind: 'Dashboard';
|
|
10
6
|
metadata: ProjectMetadata;
|
|
11
7
|
spec: DashboardSpec;
|
|
12
8
|
}
|
|
13
|
-
export interface DashboardSpec {
|
|
14
|
-
display?: Display;
|
|
15
|
-
datasources?: Record<string, DatasourceSpec>;
|
|
16
|
-
duration: DurationString;
|
|
17
|
-
refreshInterval?: DurationString;
|
|
18
|
-
variables: VariableDefinition[];
|
|
19
|
-
layouts: LayoutDefinition[];
|
|
20
|
-
panels: Record<string, PanelDefinition>;
|
|
21
|
-
links?: Link[];
|
|
22
|
-
}
|
|
23
|
-
export interface DashboardSelector {
|
|
24
|
-
project: string;
|
|
25
|
-
dashboard: string;
|
|
26
|
-
tags?: string[];
|
|
27
|
-
}
|
|
28
9
|
//# sourceMappingURL=dashboard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/model/dashboard.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"dashboard.d.ts","sourceRoot":"","sources":["../../src/model/dashboard.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,YAAY,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC;AAEjD,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE,aAAa,CAAC;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/model/dashboard.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/model/dashboard.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DashboardSpec, DashboardSelector } from '@perses-dev/spec';\nimport { ProjectMetadata } from './resource';\n\nexport type { DashboardSelector, DashboardSpec };\n\nexport interface DashboardResource {\n kind: 'Dashboard';\n metadata: ProjectMetadata;\n spec: DashboardSpec;\n}\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAOjC,WAIC"}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DatasourceSpec, DatasourceSelector } from '@perses-dev/spec';
|
|
2
2
|
import { Metadata, ProjectMetadata } from './resource';
|
|
3
|
-
|
|
4
|
-
export interface DatasourceSpec<PluginSpec = UnknownSpec> {
|
|
5
|
-
display?: Display;
|
|
6
|
-
default: boolean;
|
|
7
|
-
plugin: Definition<PluginSpec>;
|
|
8
|
-
}
|
|
3
|
+
export type { DatasourceSelector, DatasourceSpec };
|
|
9
4
|
/**
|
|
10
5
|
* A Datasource that's available across all projects.
|
|
11
6
|
*/
|
|
@@ -22,21 +17,6 @@ export interface DatasourceResource {
|
|
|
22
17
|
metadata: ProjectMetadata;
|
|
23
18
|
spec: DatasourceSpec;
|
|
24
19
|
}
|
|
25
|
-
export type Datasource = DatasourceResource | GlobalDatasourceResource;
|
|
26
|
-
/**
|
|
27
|
-
* A selector for pointing at a specific Datasource.
|
|
28
|
-
*/
|
|
29
|
-
export interface DatasourceSelector {
|
|
30
|
-
/**
|
|
31
|
-
* Kind of the datasource.
|
|
32
|
-
*/
|
|
33
|
-
kind: string;
|
|
34
|
-
/**
|
|
35
|
-
* Name of the datasource.
|
|
36
|
-
* If omitted, it's assumed that you target the default datasource for the specified kind (and group, if set)
|
|
37
|
-
*/
|
|
38
|
-
name?: string;
|
|
39
|
-
}
|
|
40
20
|
/**
|
|
41
21
|
* An intermediary type to regroup the name and the spec of a datasource.
|
|
42
22
|
*/
|
|
@@ -44,4 +24,5 @@ export interface DatasourceDefinition {
|
|
|
44
24
|
name: string;
|
|
45
25
|
spec: DatasourceSpec;
|
|
46
26
|
}
|
|
27
|
+
export type Datasource = DatasourceResource | GlobalDatasourceResource;
|
|
47
28
|
//# sourceMappingURL=datasource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../src/model/datasource.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../src/model/datasource.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACvD,YAAY,EAAE,kBAAkB,EAAE,cAAc,EAAE,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,kBAAkB,CAAC;IACzB,QAAQ,EAAE,QAAQ,CAAC;IACnB,IAAI,EAAE,cAAc,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,YAAY,CAAC;IACnB,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE,cAAc,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,cAAc,CAAC;CACtB;AAED,MAAM,MAAM,UAAU,GAAG,kBAAkB,GAAG,wBAAwB,CAAC"}
|
package/dist/model/datasource.js
CHANGED
|
@@ -10,8 +10,6 @@
|
|
|
10
10
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
|
-
|
|
14
|
-
* An intermediary type to regroup the name and the spec of a datasource.
|
|
15
|
-
*/ export { };
|
|
13
|
+
export { };
|
|
16
14
|
|
|
17
15
|
//# sourceMappingURL=datasource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/model/datasource.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport {
|
|
1
|
+
{"version":3,"sources":["../../src/model/datasource.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceSpec, DatasourceSelector } from '@perses-dev/spec';\nimport { Metadata, ProjectMetadata } from './resource';\nexport type { DatasourceSelector, DatasourceSpec };\n\n/**\n * A Datasource that's available across all projects.\n */\nexport interface GlobalDatasourceResource {\n kind: 'GlobalDatasource';\n metadata: Metadata;\n spec: DatasourceSpec;\n}\n\n/**\n * A Datasource resource, that belongs to a project.\n */\nexport interface DatasourceResource {\n kind: 'Datasource';\n metadata: ProjectMetadata;\n spec: DatasourceSpec;\n}\n\n/**\n * An intermediary type to regroup the name and the spec of a datasource.\n */\nexport interface DatasourceDefinition {\n name: string;\n spec: DatasourceSpec;\n}\n\nexport type Datasource = DatasourceResource | GlobalDatasourceResource;\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAgCjC,WAAuE"}
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* Base type for definitions in JSON config resources.
|
|
3
|
-
*/
|
|
4
|
-
export interface Definition<Spec> {
|
|
5
|
-
kind: string;
|
|
6
|
-
spec: Spec;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* Type to represent specs at runtime in framework code where we don't know the spec's real type, probably because it's
|
|
10
|
-
* part of a plugin.
|
|
11
|
-
*/
|
|
12
|
-
export type UnknownSpec = Record<string, unknown>;
|
|
1
|
+
export type { Definition, UnknownSpec } from '@perses-dev/spec';
|
|
13
2
|
//# sourceMappingURL=definitions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/model/definitions.ts"],"names":[],"mappings":"AAaA
|
|
1
|
+
{"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../src/model/definitions.ts"],"names":[],"mappings":"AAaA,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -10,11 +10,6 @@
|
|
|
10
10
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
11
|
// See the License for the specific language governing permissions and
|
|
12
12
|
// limitations under the License.
|
|
13
|
-
|
|
14
|
-
* Base type for definitions in JSON config resources.
|
|
15
|
-
*/ /**
|
|
16
|
-
* Type to represent specs at runtime in framework code where we don't know the spec's real type, probably because it's
|
|
17
|
-
* part of a plugin.
|
|
18
|
-
*/ export { };
|
|
13
|
+
export { };
|
|
19
14
|
|
|
20
15
|
//# sourceMappingURL=definitions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/model/definitions.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\
|
|
1
|
+
{"version":3,"sources":["../../src/model/definitions.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport type { Definition, UnknownSpec } from '@perses-dev/spec';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,WAAgE"}
|
package/dist/model/display.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../src/model/display.ts"],"names":[],"mappings":"AAaA,
|
|
1
|
+
{"version":3,"file":"display.d.ts","sourceRoot":"","sources":["../../src/model/display.ts"],"names":[],"mappings":"AAaA,YAAY,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/model/display.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport
|
|
1
|
+
{"version":3,"sources":["../../src/model/display.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport type { Display } from '@perses-dev/spec';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,WAAgD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ProjectMetadata } from './resource';
|
|
2
|
+
export interface FolderDisplay {
|
|
3
|
+
name?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface FolderSpec {
|
|
6
|
+
display?: FolderDisplay;
|
|
7
|
+
items?: FolderItem[];
|
|
8
|
+
}
|
|
9
|
+
export interface FolderItem {
|
|
10
|
+
kind: 'Folder' | 'Dashboard';
|
|
11
|
+
name: string;
|
|
12
|
+
items?: FolderItem[];
|
|
13
|
+
}
|
|
14
|
+
export interface FolderResource {
|
|
15
|
+
kind: 'Folder';
|
|
16
|
+
metadata: ProjectMetadata;
|
|
17
|
+
spec: FolderSpec;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=folder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"folder.d.ts","sourceRoot":"","sources":["../../src/model/folder.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE,UAAU,CAAC;CAClB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Copyright The Perses Authors
|
|
2
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
3
|
+
// you may not use this file except in compliance with the License.
|
|
4
|
+
// You may obtain a copy of the License at
|
|
5
|
+
//
|
|
6
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
//
|
|
8
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
9
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
10
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
11
|
+
// See the License for the specific language governing permissions and
|
|
12
|
+
// limitations under the License.
|
|
13
|
+
export { };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=folder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/model/folder.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { ProjectMetadata } from './resource';\n\nexport interface FolderDisplay {\n name?: string;\n}\n\nexport interface FolderSpec {\n display?: FolderDisplay;\n items?: FolderItem[];\n}\n\nexport interface FolderItem {\n kind: 'Folder' | 'Dashboard';\n name: string;\n items?: FolderItem[];\n}\n\nexport interface FolderResource {\n kind: 'Folder';\n metadata: ProjectMetadata;\n spec: FolderSpec;\n}\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAmBjC,WAIC"}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAaA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAaA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
|
package/dist/model/index.js
CHANGED
package/dist/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/model/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './calculations';\nexport * from './dashboard';\nexport * from './datasource';\nexport * from './datasource-api';\nexport * from './definitions';\nexport * from './display';\nexport * from './ephemeraldashboard';\nexport * from './external-variable';\nexport * from './http';\nexport * from './http-proxy';\nexport * from './kind';\nexport * from './layout';\nexport * from './legend';\nexport * from './notice';\nexport * from './otlp';\nexport * from './panel-group';\nexport * from './panels';\nexport * from './project';\nexport * from './query';\nexport * from './resource';\nexport * from './roles';\nexport * from './rolebindings';\nexport * from './secrets';\nexport * from './thresholds';\nexport * from './time';\nexport * from './time-series-data';\nexport * from './time-series-queries';\nexport * from './trace-data';\nexport * from './profile-data';\nexport * from './log-data';\nexport * from './transforms';\nexport * from './units';\nexport * from './user';\nexport * from './variables';\nexport * from './value-mapping';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,iBAAiB;AAC/B,cAAc,cAAc;AAC5B,cAAc,eAAe;AAC7B,cAAc,mBAAmB;AACjC,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,uBAAuB;AACrC,cAAc,sBAAsB;AACpC,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,WAAW;AACzB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,gBAAgB;AAC9B,cAAc,WAAW;AACzB,cAAc,YAAY;AAC1B,cAAc,UAAU;AACxB,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,qBAAqB;AACnC,cAAc,wBAAwB;AACtC,cAAc,eAAe;AAC7B,cAAc,iBAAiB;AAC/B,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,kBAAkB"}
|
|
1
|
+
{"version":3,"sources":["../../src/model/index.ts"],"sourcesContent":["// Copyright The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './calculations';\nexport * from './dashboard';\nexport * from './datasource';\nexport * from './datasource-api';\nexport * from './definitions';\nexport * from './display';\nexport * from './ephemeraldashboard';\nexport * from './external-variable';\nexport * from './folder';\nexport * from './http';\nexport * from './http-proxy';\nexport * from './kind';\nexport * from './layout';\nexport * from './legend';\nexport * from './notice';\nexport * from './otlp';\nexport * from './panel-group';\nexport * from './panels';\nexport * from './project';\nexport * from './query';\nexport * from './resource';\nexport * from './roles';\nexport * from './rolebindings';\nexport * from './secrets';\nexport * from './thresholds';\nexport * from './time';\nexport * from './time-series-data';\nexport * from './time-series-queries';\nexport * from './trace-data';\nexport * from './profile-data';\nexport * from './log-data';\nexport * from './transforms';\nexport * from './units';\nexport * from './user';\nexport * from './variables';\nexport * from './value-mapping';\n"],"names":[],"mappings":"AAAA,+BAA+B;AAC/B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,iBAAiB;AAC/B,cAAc,cAAc;AAC5B,cAAc,eAAe;AAC7B,cAAc,mBAAmB;AACjC,cAAc,gBAAgB;AAC9B,cAAc,YAAY;AAC1B,cAAc,uBAAuB;AACrC,cAAc,sBAAsB;AACpC,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,WAAW;AACzB,cAAc,WAAW;AACzB,cAAc,WAAW;AACzB,cAAc,SAAS;AACvB,cAAc,gBAAgB;AAC9B,cAAc,WAAW;AACzB,cAAc,YAAY;AAC1B,cAAc,UAAU;AACxB,cAAc,aAAa;AAC3B,cAAc,UAAU;AACxB,cAAc,iBAAiB;AAC/B,cAAc,YAAY;AAC1B,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,qBAAqB;AACnC,cAAc,wBAAwB;AACtC,cAAc,eAAe;AAC7B,cAAc,iBAAiB;AAC/B,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,kBAAkB"}
|