@tx5dr/contracts 1.2.2 → 1.3.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/schema/plugin.schema.d.ts +137 -61
- package/dist/schema/plugin.schema.d.ts.map +1 -1
- package/dist/schema/plugin.schema.js +22 -14
- package/dist/schema/plugin.schema.js.map +1 -1
- package/dist/schema/websocket.schema.d.ts +188 -36
- package/dist/schema/websocket.schema.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/schema/plugin.schema.ts +26 -16
- package/test/plugin-slot-schema.test.ts +30 -0
|
@@ -8129,21 +8129,21 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8129
8129
|
title: z.ZodString;
|
|
8130
8130
|
component: z.ZodEnum<["table", "key-value", "chart", "log", "iframe"]>;
|
|
8131
8131
|
pageId: z.ZodOptional<z.ZodString>;
|
|
8132
|
-
slot: z.ZodOptional<z.ZodEnum<["operator", "automation"]>>;
|
|
8132
|
+
slot: z.ZodOptional<z.ZodEnum<["operator", "automation", "main-right", "voice-left-top", "voice-right-top"]>>;
|
|
8133
8133
|
width: z.ZodOptional<z.ZodEnum<["half", "full"]>>;
|
|
8134
8134
|
}, "strip", z.ZodTypeAny, {
|
|
8135
8135
|
id: string;
|
|
8136
8136
|
title: string;
|
|
8137
8137
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8138
8138
|
pageId?: string | undefined;
|
|
8139
|
-
slot?: "operator" | "automation" | undefined;
|
|
8139
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8140
8140
|
width?: "full" | "half" | undefined;
|
|
8141
8141
|
}, {
|
|
8142
8142
|
id: string;
|
|
8143
8143
|
title: string;
|
|
8144
8144
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8145
8145
|
pageId?: string | undefined;
|
|
8146
|
-
slot?: "operator" | "automation" | undefined;
|
|
8146
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8147
8147
|
width?: "full" | "half" | undefined;
|
|
8148
8148
|
}>, "many">>;
|
|
8149
8149
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network"]>, "many">>;
|
|
@@ -8265,7 +8265,7 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8265
8265
|
title: string;
|
|
8266
8266
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8267
8267
|
pageId?: string | undefined;
|
|
8268
|
-
slot?: "operator" | "automation" | undefined;
|
|
8268
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8269
8269
|
width?: "full" | "half" | undefined;
|
|
8270
8270
|
}[] | undefined;
|
|
8271
8271
|
lastError?: string | undefined;
|
|
@@ -8327,7 +8327,7 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8327
8327
|
title: string;
|
|
8328
8328
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8329
8329
|
pageId?: string | undefined;
|
|
8330
|
-
slot?: "operator" | "automation" | undefined;
|
|
8330
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8331
8331
|
width?: "full" | "half" | undefined;
|
|
8332
8332
|
}[] | undefined;
|
|
8333
8333
|
loaded?: boolean | undefined;
|
|
@@ -8345,6 +8345,42 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8345
8345
|
installedAt: number;
|
|
8346
8346
|
} | undefined;
|
|
8347
8347
|
}>, "many">;
|
|
8348
|
+
panelMeta: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8349
|
+
pluginName: z.ZodString;
|
|
8350
|
+
operatorId: z.ZodString;
|
|
8351
|
+
panelId: z.ZodString;
|
|
8352
|
+
meta: z.ZodObject<{
|
|
8353
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8354
|
+
titleValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8355
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
8356
|
+
}, "strip", z.ZodTypeAny, {
|
|
8357
|
+
visible?: boolean | undefined;
|
|
8358
|
+
title?: string | null | undefined;
|
|
8359
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8360
|
+
}, {
|
|
8361
|
+
visible?: boolean | undefined;
|
|
8362
|
+
title?: string | null | undefined;
|
|
8363
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8364
|
+
}>;
|
|
8365
|
+
}, "strip", z.ZodTypeAny, {
|
|
8366
|
+
operatorId: string;
|
|
8367
|
+
meta: {
|
|
8368
|
+
visible?: boolean | undefined;
|
|
8369
|
+
title?: string | null | undefined;
|
|
8370
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8371
|
+
};
|
|
8372
|
+
pluginName: string;
|
|
8373
|
+
panelId: string;
|
|
8374
|
+
}, {
|
|
8375
|
+
operatorId: string;
|
|
8376
|
+
meta: {
|
|
8377
|
+
visible?: boolean | undefined;
|
|
8378
|
+
title?: string | null | undefined;
|
|
8379
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8380
|
+
};
|
|
8381
|
+
pluginName: string;
|
|
8382
|
+
panelId: string;
|
|
8383
|
+
}>, "many">>>;
|
|
8348
8384
|
lastError: z.ZodOptional<z.ZodString>;
|
|
8349
8385
|
}, "strip", z.ZodTypeAny, {
|
|
8350
8386
|
state: "error" | "ready" | "reloading";
|
|
@@ -8398,7 +8434,7 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8398
8434
|
title: string;
|
|
8399
8435
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8400
8436
|
pageId?: string | undefined;
|
|
8401
|
-
slot?: "operator" | "automation" | undefined;
|
|
8437
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8402
8438
|
width?: "full" | "half" | undefined;
|
|
8403
8439
|
}[] | undefined;
|
|
8404
8440
|
lastError?: string | undefined;
|
|
@@ -8414,6 +8450,16 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8414
8450
|
installedAt: number;
|
|
8415
8451
|
} | undefined;
|
|
8416
8452
|
}[];
|
|
8453
|
+
panelMeta: {
|
|
8454
|
+
operatorId: string;
|
|
8455
|
+
meta: {
|
|
8456
|
+
visible?: boolean | undefined;
|
|
8457
|
+
title?: string | null | undefined;
|
|
8458
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8459
|
+
};
|
|
8460
|
+
pluginName: string;
|
|
8461
|
+
panelId: string;
|
|
8462
|
+
}[];
|
|
8417
8463
|
lastError?: string | undefined;
|
|
8418
8464
|
}, {
|
|
8419
8465
|
state: "error" | "ready" | "reloading";
|
|
@@ -8465,7 +8511,7 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8465
8511
|
title: string;
|
|
8466
8512
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8467
8513
|
pageId?: string | undefined;
|
|
8468
|
-
slot?: "operator" | "automation" | undefined;
|
|
8514
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8469
8515
|
width?: "full" | "half" | undefined;
|
|
8470
8516
|
}[] | undefined;
|
|
8471
8517
|
loaded?: boolean | undefined;
|
|
@@ -8484,6 +8530,16 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8484
8530
|
} | undefined;
|
|
8485
8531
|
}[];
|
|
8486
8532
|
lastError?: string | undefined;
|
|
8533
|
+
panelMeta?: {
|
|
8534
|
+
operatorId: string;
|
|
8535
|
+
meta: {
|
|
8536
|
+
visible?: boolean | undefined;
|
|
8537
|
+
title?: string | null | undefined;
|
|
8538
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8539
|
+
};
|
|
8540
|
+
pluginName: string;
|
|
8541
|
+
panelId: string;
|
|
8542
|
+
}[] | undefined;
|
|
8487
8543
|
}>;
|
|
8488
8544
|
}, "strip", z.ZodTypeAny, {
|
|
8489
8545
|
type: WSMessageType.PLUGIN_LIST;
|
|
@@ -8540,7 +8596,7 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8540
8596
|
title: string;
|
|
8541
8597
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8542
8598
|
pageId?: string | undefined;
|
|
8543
|
-
slot?: "operator" | "automation" | undefined;
|
|
8599
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8544
8600
|
width?: "full" | "half" | undefined;
|
|
8545
8601
|
}[] | undefined;
|
|
8546
8602
|
lastError?: string | undefined;
|
|
@@ -8556,6 +8612,16 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8556
8612
|
installedAt: number;
|
|
8557
8613
|
} | undefined;
|
|
8558
8614
|
}[];
|
|
8615
|
+
panelMeta: {
|
|
8616
|
+
operatorId: string;
|
|
8617
|
+
meta: {
|
|
8618
|
+
visible?: boolean | undefined;
|
|
8619
|
+
title?: string | null | undefined;
|
|
8620
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8621
|
+
};
|
|
8622
|
+
pluginName: string;
|
|
8623
|
+
panelId: string;
|
|
8624
|
+
}[];
|
|
8559
8625
|
lastError?: string | undefined;
|
|
8560
8626
|
};
|
|
8561
8627
|
id?: string | undefined;
|
|
@@ -8612,7 +8678,7 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8612
8678
|
title: string;
|
|
8613
8679
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8614
8680
|
pageId?: string | undefined;
|
|
8615
|
-
slot?: "operator" | "automation" | undefined;
|
|
8681
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8616
8682
|
width?: "full" | "half" | undefined;
|
|
8617
8683
|
}[] | undefined;
|
|
8618
8684
|
loaded?: boolean | undefined;
|
|
@@ -8631,6 +8697,16 @@ export declare const WSPluginListMessageSchema: z.ZodObject<{
|
|
|
8631
8697
|
} | undefined;
|
|
8632
8698
|
}[];
|
|
8633
8699
|
lastError?: string | undefined;
|
|
8700
|
+
panelMeta?: {
|
|
8701
|
+
operatorId: string;
|
|
8702
|
+
meta: {
|
|
8703
|
+
visible?: boolean | undefined;
|
|
8704
|
+
title?: string | null | undefined;
|
|
8705
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
8706
|
+
};
|
|
8707
|
+
pluginName: string;
|
|
8708
|
+
panelId: string;
|
|
8709
|
+
}[] | undefined;
|
|
8634
8710
|
};
|
|
8635
8711
|
id?: string | undefined;
|
|
8636
8712
|
}>;
|
|
@@ -8723,21 +8799,21 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
8723
8799
|
title: z.ZodString;
|
|
8724
8800
|
component: z.ZodEnum<["table", "key-value", "chart", "log", "iframe"]>;
|
|
8725
8801
|
pageId: z.ZodOptional<z.ZodString>;
|
|
8726
|
-
slot: z.ZodOptional<z.ZodEnum<["operator", "automation"]>>;
|
|
8802
|
+
slot: z.ZodOptional<z.ZodEnum<["operator", "automation", "main-right", "voice-left-top", "voice-right-top"]>>;
|
|
8727
8803
|
width: z.ZodOptional<z.ZodEnum<["half", "full"]>>;
|
|
8728
8804
|
}, "strip", z.ZodTypeAny, {
|
|
8729
8805
|
id: string;
|
|
8730
8806
|
title: string;
|
|
8731
8807
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8732
8808
|
pageId?: string | undefined;
|
|
8733
|
-
slot?: "operator" | "automation" | undefined;
|
|
8809
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8734
8810
|
width?: "full" | "half" | undefined;
|
|
8735
8811
|
}, {
|
|
8736
8812
|
id: string;
|
|
8737
8813
|
title: string;
|
|
8738
8814
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8739
8815
|
pageId?: string | undefined;
|
|
8740
|
-
slot?: "operator" | "automation" | undefined;
|
|
8816
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8741
8817
|
width?: "full" | "half" | undefined;
|
|
8742
8818
|
}>, "many">>;
|
|
8743
8819
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network"]>, "many">>;
|
|
@@ -8859,7 +8935,7 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
8859
8935
|
title: string;
|
|
8860
8936
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8861
8937
|
pageId?: string | undefined;
|
|
8862
|
-
slot?: "operator" | "automation" | undefined;
|
|
8938
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8863
8939
|
width?: "full" | "half" | undefined;
|
|
8864
8940
|
}[] | undefined;
|
|
8865
8941
|
lastError?: string | undefined;
|
|
@@ -8921,7 +8997,7 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
8921
8997
|
title: string;
|
|
8922
8998
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8923
8999
|
pageId?: string | undefined;
|
|
8924
|
-
slot?: "operator" | "automation" | undefined;
|
|
9000
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8925
9001
|
width?: "full" | "half" | undefined;
|
|
8926
9002
|
}[] | undefined;
|
|
8927
9003
|
loaded?: boolean | undefined;
|
|
@@ -8990,7 +9066,7 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
8990
9066
|
title: string;
|
|
8991
9067
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
8992
9068
|
pageId?: string | undefined;
|
|
8993
|
-
slot?: "operator" | "automation" | undefined;
|
|
9069
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
8994
9070
|
width?: "full" | "half" | undefined;
|
|
8995
9071
|
}[] | undefined;
|
|
8996
9072
|
lastError?: string | undefined;
|
|
@@ -9055,7 +9131,7 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9055
9131
|
title: string;
|
|
9056
9132
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
9057
9133
|
pageId?: string | undefined;
|
|
9058
|
-
slot?: "operator" | "automation" | undefined;
|
|
9134
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
9059
9135
|
width?: "full" | "half" | undefined;
|
|
9060
9136
|
}[] | undefined;
|
|
9061
9137
|
loaded?: boolean | undefined;
|
|
@@ -9128,7 +9204,7 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9128
9204
|
title: string;
|
|
9129
9205
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
9130
9206
|
pageId?: string | undefined;
|
|
9131
|
-
slot?: "operator" | "automation" | undefined;
|
|
9207
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
9132
9208
|
width?: "full" | "half" | undefined;
|
|
9133
9209
|
}[] | undefined;
|
|
9134
9210
|
lastError?: string | undefined;
|
|
@@ -9198,7 +9274,7 @@ export declare const WSPluginStatusChangedMessageSchema: z.ZodObject<{
|
|
|
9198
9274
|
title: string;
|
|
9199
9275
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
9200
9276
|
pageId?: string | undefined;
|
|
9201
|
-
slot?: "operator" | "automation" | undefined;
|
|
9277
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
9202
9278
|
width?: "full" | "half" | undefined;
|
|
9203
9279
|
}[] | undefined;
|
|
9204
9280
|
loaded?: boolean | undefined;
|
|
@@ -15578,21 +15654,21 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15578
15654
|
title: z.ZodString;
|
|
15579
15655
|
component: z.ZodEnum<["table", "key-value", "chart", "log", "iframe"]>;
|
|
15580
15656
|
pageId: z.ZodOptional<z.ZodString>;
|
|
15581
|
-
slot: z.ZodOptional<z.ZodEnum<["operator", "automation"]>>;
|
|
15657
|
+
slot: z.ZodOptional<z.ZodEnum<["operator", "automation", "main-right", "voice-left-top", "voice-right-top"]>>;
|
|
15582
15658
|
width: z.ZodOptional<z.ZodEnum<["half", "full"]>>;
|
|
15583
15659
|
}, "strip", z.ZodTypeAny, {
|
|
15584
15660
|
id: string;
|
|
15585
15661
|
title: string;
|
|
15586
15662
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
15587
15663
|
pageId?: string | undefined;
|
|
15588
|
-
slot?: "operator" | "automation" | undefined;
|
|
15664
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
15589
15665
|
width?: "full" | "half" | undefined;
|
|
15590
15666
|
}, {
|
|
15591
15667
|
id: string;
|
|
15592
15668
|
title: string;
|
|
15593
15669
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
15594
15670
|
pageId?: string | undefined;
|
|
15595
|
-
slot?: "operator" | "automation" | undefined;
|
|
15671
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
15596
15672
|
width?: "full" | "half" | undefined;
|
|
15597
15673
|
}>, "many">>;
|
|
15598
15674
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network"]>, "many">>;
|
|
@@ -15714,7 +15790,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15714
15790
|
title: string;
|
|
15715
15791
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
15716
15792
|
pageId?: string | undefined;
|
|
15717
|
-
slot?: "operator" | "automation" | undefined;
|
|
15793
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
15718
15794
|
width?: "full" | "half" | undefined;
|
|
15719
15795
|
}[] | undefined;
|
|
15720
15796
|
lastError?: string | undefined;
|
|
@@ -15776,7 +15852,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15776
15852
|
title: string;
|
|
15777
15853
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
15778
15854
|
pageId?: string | undefined;
|
|
15779
|
-
slot?: "operator" | "automation" | undefined;
|
|
15855
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
15780
15856
|
width?: "full" | "half" | undefined;
|
|
15781
15857
|
}[] | undefined;
|
|
15782
15858
|
loaded?: boolean | undefined;
|
|
@@ -15794,6 +15870,42 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15794
15870
|
installedAt: number;
|
|
15795
15871
|
} | undefined;
|
|
15796
15872
|
}>, "many">;
|
|
15873
|
+
panelMeta: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15874
|
+
pluginName: z.ZodString;
|
|
15875
|
+
operatorId: z.ZodString;
|
|
15876
|
+
panelId: z.ZodString;
|
|
15877
|
+
meta: z.ZodObject<{
|
|
15878
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15879
|
+
titleValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
15880
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
15881
|
+
}, "strip", z.ZodTypeAny, {
|
|
15882
|
+
visible?: boolean | undefined;
|
|
15883
|
+
title?: string | null | undefined;
|
|
15884
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
15885
|
+
}, {
|
|
15886
|
+
visible?: boolean | undefined;
|
|
15887
|
+
title?: string | null | undefined;
|
|
15888
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
15889
|
+
}>;
|
|
15890
|
+
}, "strip", z.ZodTypeAny, {
|
|
15891
|
+
operatorId: string;
|
|
15892
|
+
meta: {
|
|
15893
|
+
visible?: boolean | undefined;
|
|
15894
|
+
title?: string | null | undefined;
|
|
15895
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
15896
|
+
};
|
|
15897
|
+
pluginName: string;
|
|
15898
|
+
panelId: string;
|
|
15899
|
+
}, {
|
|
15900
|
+
operatorId: string;
|
|
15901
|
+
meta: {
|
|
15902
|
+
visible?: boolean | undefined;
|
|
15903
|
+
title?: string | null | undefined;
|
|
15904
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
15905
|
+
};
|
|
15906
|
+
pluginName: string;
|
|
15907
|
+
panelId: string;
|
|
15908
|
+
}>, "many">>>;
|
|
15797
15909
|
lastError: z.ZodOptional<z.ZodString>;
|
|
15798
15910
|
}, "strip", z.ZodTypeAny, {
|
|
15799
15911
|
state: "error" | "ready" | "reloading";
|
|
@@ -15847,7 +15959,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15847
15959
|
title: string;
|
|
15848
15960
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
15849
15961
|
pageId?: string | undefined;
|
|
15850
|
-
slot?: "operator" | "automation" | undefined;
|
|
15962
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
15851
15963
|
width?: "full" | "half" | undefined;
|
|
15852
15964
|
}[] | undefined;
|
|
15853
15965
|
lastError?: string | undefined;
|
|
@@ -15863,6 +15975,16 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15863
15975
|
installedAt: number;
|
|
15864
15976
|
} | undefined;
|
|
15865
15977
|
}[];
|
|
15978
|
+
panelMeta: {
|
|
15979
|
+
operatorId: string;
|
|
15980
|
+
meta: {
|
|
15981
|
+
visible?: boolean | undefined;
|
|
15982
|
+
title?: string | null | undefined;
|
|
15983
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
15984
|
+
};
|
|
15985
|
+
pluginName: string;
|
|
15986
|
+
panelId: string;
|
|
15987
|
+
}[];
|
|
15866
15988
|
lastError?: string | undefined;
|
|
15867
15989
|
}, {
|
|
15868
15990
|
state: "error" | "ready" | "reloading";
|
|
@@ -15914,7 +16036,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15914
16036
|
title: string;
|
|
15915
16037
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
15916
16038
|
pageId?: string | undefined;
|
|
15917
|
-
slot?: "operator" | "automation" | undefined;
|
|
16039
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
15918
16040
|
width?: "full" | "half" | undefined;
|
|
15919
16041
|
}[] | undefined;
|
|
15920
16042
|
loaded?: boolean | undefined;
|
|
@@ -15933,6 +16055,16 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15933
16055
|
} | undefined;
|
|
15934
16056
|
}[];
|
|
15935
16057
|
lastError?: string | undefined;
|
|
16058
|
+
panelMeta?: {
|
|
16059
|
+
operatorId: string;
|
|
16060
|
+
meta: {
|
|
16061
|
+
visible?: boolean | undefined;
|
|
16062
|
+
title?: string | null | undefined;
|
|
16063
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
16064
|
+
};
|
|
16065
|
+
pluginName: string;
|
|
16066
|
+
panelId: string;
|
|
16067
|
+
}[] | undefined;
|
|
15936
16068
|
}>;
|
|
15937
16069
|
}, "strip", z.ZodTypeAny, {
|
|
15938
16070
|
type: WSMessageType.PLUGIN_LIST;
|
|
@@ -15989,7 +16121,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
15989
16121
|
title: string;
|
|
15990
16122
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
15991
16123
|
pageId?: string | undefined;
|
|
15992
|
-
slot?: "operator" | "automation" | undefined;
|
|
16124
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
15993
16125
|
width?: "full" | "half" | undefined;
|
|
15994
16126
|
}[] | undefined;
|
|
15995
16127
|
lastError?: string | undefined;
|
|
@@ -16005,6 +16137,16 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16005
16137
|
installedAt: number;
|
|
16006
16138
|
} | undefined;
|
|
16007
16139
|
}[];
|
|
16140
|
+
panelMeta: {
|
|
16141
|
+
operatorId: string;
|
|
16142
|
+
meta: {
|
|
16143
|
+
visible?: boolean | undefined;
|
|
16144
|
+
title?: string | null | undefined;
|
|
16145
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
16146
|
+
};
|
|
16147
|
+
pluginName: string;
|
|
16148
|
+
panelId: string;
|
|
16149
|
+
}[];
|
|
16008
16150
|
lastError?: string | undefined;
|
|
16009
16151
|
};
|
|
16010
16152
|
id?: string | undefined;
|
|
@@ -16061,7 +16203,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16061
16203
|
title: string;
|
|
16062
16204
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16063
16205
|
pageId?: string | undefined;
|
|
16064
|
-
slot?: "operator" | "automation" | undefined;
|
|
16206
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16065
16207
|
width?: "full" | "half" | undefined;
|
|
16066
16208
|
}[] | undefined;
|
|
16067
16209
|
loaded?: boolean | undefined;
|
|
@@ -16080,6 +16222,16 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16080
16222
|
} | undefined;
|
|
16081
16223
|
}[];
|
|
16082
16224
|
lastError?: string | undefined;
|
|
16225
|
+
panelMeta?: {
|
|
16226
|
+
operatorId: string;
|
|
16227
|
+
meta: {
|
|
16228
|
+
visible?: boolean | undefined;
|
|
16229
|
+
title?: string | null | undefined;
|
|
16230
|
+
titleValues?: Record<string, unknown> | undefined;
|
|
16231
|
+
};
|
|
16232
|
+
pluginName: string;
|
|
16233
|
+
panelId: string;
|
|
16234
|
+
}[] | undefined;
|
|
16083
16235
|
};
|
|
16084
16236
|
id?: string | undefined;
|
|
16085
16237
|
}>, z.ZodObject<{
|
|
@@ -16170,21 +16322,21 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16170
16322
|
title: z.ZodString;
|
|
16171
16323
|
component: z.ZodEnum<["table", "key-value", "chart", "log", "iframe"]>;
|
|
16172
16324
|
pageId: z.ZodOptional<z.ZodString>;
|
|
16173
|
-
slot: z.ZodOptional<z.ZodEnum<["operator", "automation"]>>;
|
|
16325
|
+
slot: z.ZodOptional<z.ZodEnum<["operator", "automation", "main-right", "voice-left-top", "voice-right-top"]>>;
|
|
16174
16326
|
width: z.ZodOptional<z.ZodEnum<["half", "full"]>>;
|
|
16175
16327
|
}, "strip", z.ZodTypeAny, {
|
|
16176
16328
|
id: string;
|
|
16177
16329
|
title: string;
|
|
16178
16330
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16179
16331
|
pageId?: string | undefined;
|
|
16180
|
-
slot?: "operator" | "automation" | undefined;
|
|
16332
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16181
16333
|
width?: "full" | "half" | undefined;
|
|
16182
16334
|
}, {
|
|
16183
16335
|
id: string;
|
|
16184
16336
|
title: string;
|
|
16185
16337
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16186
16338
|
pageId?: string | undefined;
|
|
16187
|
-
slot?: "operator" | "automation" | undefined;
|
|
16339
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16188
16340
|
width?: "full" | "half" | undefined;
|
|
16189
16341
|
}>, "many">>;
|
|
16190
16342
|
permissions: z.ZodOptional<z.ZodArray<z.ZodEnum<["network"]>, "many">>;
|
|
@@ -16306,7 +16458,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16306
16458
|
title: string;
|
|
16307
16459
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16308
16460
|
pageId?: string | undefined;
|
|
16309
|
-
slot?: "operator" | "automation" | undefined;
|
|
16461
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16310
16462
|
width?: "full" | "half" | undefined;
|
|
16311
16463
|
}[] | undefined;
|
|
16312
16464
|
lastError?: string | undefined;
|
|
@@ -16368,7 +16520,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16368
16520
|
title: string;
|
|
16369
16521
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16370
16522
|
pageId?: string | undefined;
|
|
16371
|
-
slot?: "operator" | "automation" | undefined;
|
|
16523
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16372
16524
|
width?: "full" | "half" | undefined;
|
|
16373
16525
|
}[] | undefined;
|
|
16374
16526
|
loaded?: boolean | undefined;
|
|
@@ -16437,7 +16589,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16437
16589
|
title: string;
|
|
16438
16590
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16439
16591
|
pageId?: string | undefined;
|
|
16440
|
-
slot?: "operator" | "automation" | undefined;
|
|
16592
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16441
16593
|
width?: "full" | "half" | undefined;
|
|
16442
16594
|
}[] | undefined;
|
|
16443
16595
|
lastError?: string | undefined;
|
|
@@ -16502,7 +16654,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16502
16654
|
title: string;
|
|
16503
16655
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16504
16656
|
pageId?: string | undefined;
|
|
16505
|
-
slot?: "operator" | "automation" | undefined;
|
|
16657
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16506
16658
|
width?: "full" | "half" | undefined;
|
|
16507
16659
|
}[] | undefined;
|
|
16508
16660
|
loaded?: boolean | undefined;
|
|
@@ -16575,7 +16727,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16575
16727
|
title: string;
|
|
16576
16728
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16577
16729
|
pageId?: string | undefined;
|
|
16578
|
-
slot?: "operator" | "automation" | undefined;
|
|
16730
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16579
16731
|
width?: "full" | "half" | undefined;
|
|
16580
16732
|
}[] | undefined;
|
|
16581
16733
|
lastError?: string | undefined;
|
|
@@ -16645,7 +16797,7 @@ export declare const WSMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
16645
16797
|
title: string;
|
|
16646
16798
|
component: "table" | "key-value" | "chart" | "log" | "iframe";
|
|
16647
16799
|
pageId?: string | undefined;
|
|
16648
|
-
slot?: "operator" | "automation" | undefined;
|
|
16800
|
+
slot?: "operator" | "automation" | "main-right" | "voice-left-top" | "voice-right-top" | undefined;
|
|
16649
16801
|
width?: "full" | "half" | undefined;
|
|
16650
16802
|
}[] | undefined;
|
|
16651
16803
|
loaded?: boolean | undefined;
|