@perses-dev/core 0.52.0-beta.5 → 0.52.0-rc.1
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/model/layout.d.ts +1 -0
- package/dist/model/layout.d.ts.map +1 -1
- package/dist/model/layout.js.map +1 -1
- package/dist/schema/datasource.d.ts +3 -3
- package/dist/schema/metadata.d.ts +3 -3
- package/dist/schema/role.d.ts +3 -3
- package/dist/schema/rolebinding.d.ts +3 -3
- package/dist/schema/secret.d.ts +6 -6
- package/dist/schema/variable.d.ts +6 -6
- package/package.json +1 -1
package/dist/model/layout.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/model/layout.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QACJ,OAAO,CAAC,EAAE;YACR,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,CAAC,EAAE;gBACT,IAAI,EAAE,OAAO,CAAC;aACf,CAAC;SACH,CAAC;QACF,KAAK,EAAE,kBAAkB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../src/model/layout.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;AAE9C,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE;QACJ,OAAO,CAAC,EAAE;YACR,KAAK,EAAE,MAAM,CAAC;YACd,QAAQ,CAAC,EAAE;gBACT,IAAI,EAAE,OAAO,CAAC;aACf,CAAC;SACH,CAAC;QACF,KAAK,EAAE,kBAAkB,EAAE,CAAC;QAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;CACH;AAED,MAAM,WAAW,kBAAkB;IACjC,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,QAAQ,CAAC;CACnB"}
|
package/dist/model/layout.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/model/layout.ts"],"sourcesContent":["// Copyright 2023 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 { PanelRef } from './panels';\n\nexport type LayoutDefinition = GridDefinition;\n\nexport interface GridDefinition {\n kind: 'Grid';\n spec: {\n display?: {\n title: string;\n collapse?: {\n open: boolean;\n };\n };\n items: GridItemDefinition[];\n };\n}\n\nexport interface GridItemDefinition {\n x: number;\n y: number;\n width: number;\n height: number;\n content: PanelRef;\n}\n"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;
|
|
1
|
+
{"version":3,"sources":["../../src/model/layout.ts"],"sourcesContent":["// Copyright 2023 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 { PanelRef } from './panels';\n\nexport type LayoutDefinition = GridDefinition;\n\nexport interface GridDefinition {\n kind: 'Grid';\n spec: {\n display?: {\n title: string;\n collapse?: {\n open: boolean;\n };\n };\n items: GridItemDefinition[];\n repeatVariable?: string;\n };\n}\n\nexport interface GridItemDefinition {\n x: number;\n y: number;\n width: number;\n height: number;\n content: PanelRef;\n}\n"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAoBjC,WAMC"}
|
|
@@ -5,11 +5,11 @@ export declare const datasourceSpecSchema: z.ZodSchema<DatasourceSpec>;
|
|
|
5
5
|
export declare function buildDatasourceSpecSchema(pluginSchema: PluginSchema): z.ZodSchema<DatasourceSpec>;
|
|
6
6
|
export declare const datasourceSchema: z.ZodObject<{
|
|
7
7
|
kind: z.ZodLiteral<"Datasource">;
|
|
8
|
-
metadata: z.ZodObject<
|
|
8
|
+
metadata: z.ZodObject<{
|
|
9
9
|
name: z.ZodString;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
project: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
project: string;
|
|
14
14
|
name: string;
|
|
15
15
|
}, {
|
|
@@ -7,11 +7,11 @@ export declare const metadataSchema: z.ZodObject<{
|
|
|
7
7
|
}, {
|
|
8
8
|
name: string;
|
|
9
9
|
}>;
|
|
10
|
-
export declare const projectMetadataSchema: z.ZodObject<
|
|
10
|
+
export declare const projectMetadataSchema: z.ZodObject<{
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
} & {
|
|
13
13
|
project: z.ZodString;
|
|
14
|
-
}
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
project: string;
|
|
16
16
|
name: string;
|
|
17
17
|
}, {
|
package/dist/schema/role.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ export declare const permissionSchema: z.ZodSchema<Permission>;
|
|
|
4
4
|
export declare const roleSpecSchema: z.ZodSchema<RoleSpec>;
|
|
5
5
|
export declare const roleSchema: z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"Role">;
|
|
7
|
-
metadata: z.ZodObject<
|
|
7
|
+
metadata: z.ZodObject<{
|
|
8
8
|
name: z.ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
project: z.ZodString;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
project: string;
|
|
13
13
|
name: string;
|
|
14
14
|
}, {
|
|
@@ -4,11 +4,11 @@ export declare const subjectSchema: z.ZodSchema<Subject>;
|
|
|
4
4
|
export declare const roleBindingSpecSchema: z.ZodSchema<RoleBindingSpec>;
|
|
5
5
|
export declare const roleBindingSchema: z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"RoleBinding">;
|
|
7
|
-
metadata: z.ZodObject<
|
|
7
|
+
metadata: z.ZodObject<{
|
|
8
8
|
name: z.ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
project: z.ZodString;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
project: string;
|
|
13
13
|
name: string;
|
|
14
14
|
}, {
|
package/dist/schema/secret.d.ts
CHANGED
|
@@ -252,11 +252,11 @@ export declare const secretSpecSchema: z.ZodEffects<z.ZodObject<{
|
|
|
252
252
|
}>;
|
|
253
253
|
export declare const secretSchema: z.ZodObject<{
|
|
254
254
|
kind: z.ZodLiteral<"Secret">;
|
|
255
|
-
metadata: z.ZodObject<
|
|
255
|
+
metadata: z.ZodObject<{
|
|
256
256
|
name: z.ZodString;
|
|
257
|
-
}
|
|
257
|
+
} & {
|
|
258
258
|
project: z.ZodString;
|
|
259
|
-
}
|
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
|
260
260
|
project: string;
|
|
261
261
|
name: string;
|
|
262
262
|
}, {
|
|
@@ -924,11 +924,11 @@ export declare const globalSecretSchema: z.ZodObject<{
|
|
|
924
924
|
}>;
|
|
925
925
|
export declare const secretsEditorSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
926
926
|
kind: z.ZodLiteral<"Secret">;
|
|
927
|
-
metadata: z.ZodObject<
|
|
927
|
+
metadata: z.ZodObject<{
|
|
928
928
|
name: z.ZodString;
|
|
929
|
-
}
|
|
929
|
+
} & {
|
|
930
930
|
project: z.ZodString;
|
|
931
|
-
}
|
|
931
|
+
}, "strip", z.ZodTypeAny, {
|
|
932
932
|
project: string;
|
|
933
933
|
name: string;
|
|
934
934
|
}, {
|
|
@@ -30,11 +30,11 @@ export declare const variableSpecSchema: z.ZodSchema<TextVariableDefinition | Li
|
|
|
30
30
|
export declare function buildVariableSpecSchema(pluginSchema: PluginSchema): z.ZodSchema<VariableDefinition>;
|
|
31
31
|
export declare const variableSchema: z.ZodObject<{
|
|
32
32
|
kind: z.ZodLiteral<"Variable">;
|
|
33
|
-
metadata: z.ZodObject<
|
|
33
|
+
metadata: z.ZodObject<{
|
|
34
34
|
name: z.ZodString;
|
|
35
|
-
}
|
|
35
|
+
} & {
|
|
36
36
|
project: z.ZodString;
|
|
37
|
-
}
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
project: string;
|
|
39
39
|
name: string;
|
|
40
40
|
}, {
|
|
@@ -59,11 +59,11 @@ export declare const variableSchema: z.ZodObject<{
|
|
|
59
59
|
}>;
|
|
60
60
|
export declare const globalVariableSchema: z.ZodObject<{
|
|
61
61
|
kind: z.ZodLiteral<"GlobalVariable">;
|
|
62
|
-
metadata: z.ZodObject<
|
|
62
|
+
metadata: z.ZodObject<{
|
|
63
63
|
name: z.ZodString;
|
|
64
|
-
}
|
|
64
|
+
} & {
|
|
65
65
|
project: z.ZodString;
|
|
66
|
-
}
|
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
|
67
67
|
project: string;
|
|
68
68
|
name: string;
|
|
69
69
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perses-dev/core",
|
|
3
|
-
"version": "0.52.0-
|
|
3
|
+
"version": "0.52.0-rc.1",
|
|
4
4
|
"description": "Core functionality consumed by both the Perses UI and plugins",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/perses/perses/blob/main/README.md",
|