colibris-types 2.2.1 → 2.2.2

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.
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod";
2
2
  export declare const ChartRefLineSchema: z.ZodObject<{
3
3
  key: z.ZodString;
4
+ label: z.ZodOptional<z.ZodString>;
4
5
  tabKey: z.ZodOptional<z.ZodString>;
5
6
  value: z.ZodOptional<z.ZodNumber>;
6
7
  alert: z.ZodOptional<z.ZodObject<{
@@ -22,6 +23,7 @@ export declare const ChartRefLineSchema: z.ZodObject<{
22
23
  }, "strip", z.ZodTypeAny, {
23
24
  key: string;
24
25
  value?: number | undefined;
26
+ label?: string | undefined;
25
27
  tabKey?: string | undefined;
26
28
  alert?: {
27
29
  direction: "up" | "down";
@@ -32,6 +34,7 @@ export declare const ChartRefLineSchema: z.ZodObject<{
32
34
  }, {
33
35
  key: string;
34
36
  value?: number | undefined;
37
+ label?: string | undefined;
35
38
  tabKey?: string | undefined;
36
39
  alert?: {
37
40
  direction: "up" | "down";
@@ -43,6 +46,7 @@ export declare const ChartRefLineSchema: z.ZodObject<{
43
46
  export declare const ChartSettingsSchema: z.ZodObject<{
44
47
  charts: z.ZodArray<z.ZodObject<{
45
48
  key: z.ZodString;
49
+ label: z.ZodOptional<z.ZodString>;
46
50
  tabKey: z.ZodOptional<z.ZodString>;
47
51
  value: z.ZodOptional<z.ZodNumber>;
48
52
  alert: z.ZodOptional<z.ZodObject<{
@@ -64,6 +68,7 @@ export declare const ChartSettingsSchema: z.ZodObject<{
64
68
  }, "strip", z.ZodTypeAny, {
65
69
  key: string;
66
70
  value?: number | undefined;
71
+ label?: string | undefined;
67
72
  tabKey?: string | undefined;
68
73
  alert?: {
69
74
  direction: "up" | "down";
@@ -74,6 +79,7 @@ export declare const ChartSettingsSchema: z.ZodObject<{
74
79
  }, {
75
80
  key: string;
76
81
  value?: number | undefined;
82
+ label?: string | undefined;
77
83
  tabKey?: string | undefined;
78
84
  alert?: {
79
85
  direction: "up" | "down";
@@ -86,6 +92,7 @@ export declare const ChartSettingsSchema: z.ZodObject<{
86
92
  charts: {
87
93
  key: string;
88
94
  value?: number | undefined;
95
+ label?: string | undefined;
89
96
  tabKey?: string | undefined;
90
97
  alert?: {
91
98
  direction: "up" | "down";
@@ -98,6 +105,7 @@ export declare const ChartSettingsSchema: z.ZodObject<{
98
105
  charts: {
99
106
  key: string;
100
107
  value?: number | undefined;
108
+ label?: string | undefined;
101
109
  tabKey?: string | undefined;
102
110
  alert?: {
103
111
  direction: "up" | "down";
@@ -4,6 +4,7 @@ extendZodWithOpenApi(z);
4
4
  export const ChartRefLineSchema = z
5
5
  .object({
6
6
  key: z.string().openapi({ description: "Chart identifier for notification navigation" }),
7
+ label: z.string().optional().openapi({ description: "Translated display label for the chart" }),
7
8
  tabKey: z.string().optional().openapi({ description: "Tab identifier for multi-tab charts" }),
8
9
  value: z.number().optional().openapi({ description: "Threshold value" }),
9
10
  alert: z
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "colibris-types",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Shared TypeScript types and Zod schemas for Colibris platform",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",