@camera.ui/browser 0.0.104 → 0.0.106

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.
Files changed (68) hide show
  1. package/dist/bundle.js +1 -1
  2. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +1 -2
  3. package/dist/types/packages/client/browser/src/types.d.ts +1 -1
  4. package/dist/types/packages/plugineer/src/polyglot/node/camera/index.d.ts +3 -3
  5. package/dist/types/packages/plugineer/src/polyglot/node/plugins/types.d.ts +2 -2
  6. package/dist/types/packages/types/src/index.d.ts +73 -23
  7. package/dist/types/server/src/api/controllers/api.controller.d.ts +7 -0
  8. package/dist/types/server/src/api/controllers/auth.controller.d.ts +16 -0
  9. package/dist/types/server/src/api/controllers/backup.controller.d.ts +10 -0
  10. package/dist/types/server/src/api/controllers/cameras.controller.d.ts +38 -0
  11. package/dist/types/server/src/api/controllers/config.controller.d.ts +14 -0
  12. package/dist/types/server/src/api/controllers/files.controller.d.ts +8 -0
  13. package/dist/types/server/src/api/controllers/frameWorkers.controller.d.ts +11 -0
  14. package/dist/types/server/src/api/controllers/plugins.controller.d.ts +48 -0
  15. package/dist/types/server/src/api/controllers/system.controller.d.ts +23 -0
  16. package/dist/types/server/src/api/controllers/users.controller.d.ts +28 -0
  17. package/dist/types/server/src/api/database/index.d.ts +1 -1
  18. package/dist/types/server/src/api/database/types.d.ts +0 -4
  19. package/dist/types/server/src/api/go2rtc/api/streams.d.ts +2 -1
  20. package/dist/types/server/src/api/go2rtc/types.d.ts +6 -6
  21. package/dist/types/server/src/api/index.d.ts +22 -0
  22. package/dist/types/server/src/api/middlewares/authPermission.middleware.d.ts +5 -0
  23. package/dist/types/server/src/api/middlewares/authValidation.middleware.d.ts +4 -0
  24. package/dist/types/server/src/api/middlewares/pagination.middleware.d.ts +3 -0
  25. package/dist/types/server/src/api/plugins/header.plugin.d.ts +2 -0
  26. package/dist/types/server/src/api/plugins/socket.plugin.d.ts +11 -0
  27. package/dist/types/server/src/api/plugins/system.plugin.d.ts +20 -0
  28. package/dist/types/server/src/api/plugins/useragent.plugin.d.ts +8 -0
  29. package/dist/types/server/src/api/routes/api.routes.d.ts +2 -0
  30. package/dist/types/server/src/api/routes/auth.routes.d.ts +2 -0
  31. package/dist/types/server/src/api/routes/backup.routes.d.ts +2 -0
  32. package/dist/types/server/src/api/routes/cameras.routes.d.ts +2 -0
  33. package/dist/types/server/src/api/routes/config.routes.d.ts +2 -0
  34. package/dist/types/server/src/api/routes/files.routes.d.ts +2 -0
  35. package/dist/types/server/src/api/routes/frameWorkers.routes.d.ts +2 -0
  36. package/dist/types/server/src/api/routes/index.d.ts +6 -0
  37. package/dist/types/server/src/api/routes/plugins.routes.d.ts +2 -0
  38. package/dist/types/server/src/api/routes/system.routes.d.ts +2 -0
  39. package/dist/types/server/src/api/routes/users.routes.d.ts +2 -0
  40. package/dist/types/server/src/api/schemas/backup.schema.d.ts +94 -1
  41. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +16 -16
  42. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +4 -4
  43. package/dist/types/server/src/api/schemas/plugins.schema.d.ts +3 -3
  44. package/dist/types/server/src/api/schemas/system.schema.d.ts +8 -0
  45. package/dist/types/server/src/api/schemas/users.schema.d.ts +35 -35
  46. package/dist/types/server/src/api/services/backup.service.d.ts +11 -0
  47. package/dist/types/server/src/api/services/cameras.service.d.ts +2 -4
  48. package/dist/types/server/src/api/services/plugins.service.d.ts +16 -4
  49. package/dist/types/server/src/api/services/system.service.d.ts +6 -0
  50. package/dist/types/server/src/api/types/index.d.ts +18 -0
  51. package/dist/types/server/src/api/utils/cameraSource.d.ts +6 -2
  52. package/dist/types/server/src/api/utils/cert.d.ts +11 -0
  53. package/dist/types/server/src/api/utils/fetch.d.ts +1 -2
  54. package/dist/types/server/src/api/utils/moveFiles.d.ts +4 -0
  55. package/dist/types/server/src/api/utils/parse.d.ts +1 -1
  56. package/dist/types/server/src/api/websocket/nsp/logs.d.ts +3 -1
  57. package/dist/types/server/src/api/websocket/nsp/main.d.ts +2 -0
  58. package/dist/types/server/src/camera/controller.d.ts +8 -11
  59. package/dist/types/server/src/camera/frameWorker.d.ts +1 -1
  60. package/dist/types/server/src/main.d.ts +25 -0
  61. package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +2 -2
  62. package/dist/types/server/src/plugins/index.d.ts +3 -2
  63. package/dist/types/server/src/services/config/constants.d.ts +0 -1
  64. package/dist/types/server/src/services/config/index.d.ts +3 -1
  65. package/dist/types/server/src/services/config/types.d.ts +1 -2
  66. package/dist/types/server/src/types.d.ts +24 -0
  67. package/package.json +9 -9
  68. package/eslint.config.js +0 -89
@@ -0,0 +1,20 @@
1
+ import type { FastifyInstance, FastifyPluginAsync } from 'fastify';
2
+ declare module 'fastify' {
3
+ interface FastifyInstance {
4
+ system: System;
5
+ }
6
+ interface FastifyRequest {
7
+ system: System;
8
+ }
9
+ }
10
+ declare class System {
11
+ private app;
12
+ private cameraui;
13
+ private go2rtc;
14
+ constructor(app: FastifyInstance);
15
+ close(): void;
16
+ restart(): Promise<void>;
17
+ restartGo2rtc(): Promise<void>;
18
+ }
19
+ export declare const SystemPlugin: FastifyPluginAsync;
20
+ export {};
@@ -0,0 +1,8 @@
1
+ import type { Details } from 'express-useragent';
2
+ import type { FastifyPluginAsync } from 'fastify';
3
+ declare module 'fastify' {
4
+ interface FastifyRequest {
5
+ useragent?: Details;
6
+ }
7
+ }
8
+ export declare const UserAgentPlugin: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const ApiRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const AuthRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const BackupRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const CamerasRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const ConfigRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const FilesRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const FrameWorkersRoute: FastifyPluginAsync;
@@ -0,0 +1,6 @@
1
+ import type { FastifyInstance } from 'fastify';
2
+ export declare class FastifyRoutes {
3
+ private app;
4
+ constructor(app: FastifyInstance<any, any, any, any>);
5
+ register(): Promise<void>;
6
+ }
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const PluginsRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const SystemRoute: FastifyPluginAsync;
@@ -0,0 +1,2 @@
1
+ import type { FastifyPluginAsync } from 'fastify';
2
+ export declare const UsersRoute: FastifyPluginAsync;
@@ -1,10 +1,27 @@
1
1
  import zod from 'zod';
2
2
  import type { MultipartFile } from '@fastify/multipart';
3
3
  export declare const ACCEPTED_BACKUP_TYPES: string[];
4
- export declare const MAX_BACKUP_FILE_SIZE = 50000000;
4
+ export declare const MAX_BACKUP_FILE_SIZE: number;
5
5
  export declare const downloadBackupSchema: zod.ZodObject<{
6
6
  localStorage: zod.ZodOptional<zod.ZodObject<{
7
7
  ui: zod.ZodOptional<zod.ZodDefault<zod.ZodOptional<zod.ZodObject<{
8
+ cameras: zod.ZodOptional<zod.ZodObject<{
9
+ showEvents: zod.ZodBoolean;
10
+ }, "strict", zod.ZodTypeAny, {
11
+ showEvents: boolean;
12
+ }, {
13
+ showEvents: boolean;
14
+ }>>;
15
+ camview: zod.ZodOptional<zod.ZodObject<{
16
+ dragDisabled: zod.ZodOptional<zod.ZodBoolean>;
17
+ viewid: zod.ZodOptional<zod.ZodString>;
18
+ }, "strict", zod.ZodTypeAny, {
19
+ dragDisabled?: boolean | undefined;
20
+ viewid?: string | undefined;
21
+ }, {
22
+ dragDisabled?: boolean | undefined;
23
+ viewid?: string | undefined;
24
+ }>>;
8
25
  config: zod.ZodOptional<zod.ZodObject<{
9
26
  zoom: zod.ZodNumber;
10
27
  }, "strict", zod.ZodTypeAny, {
@@ -19,20 +36,52 @@ export declare const downloadBackupSchema: zod.ZodObject<{
19
36
  }, {
20
37
  zoom: number;
21
38
  }>>;
39
+ interface: zod.ZodOptional<zod.ZodObject<{
40
+ showBottomBarOnMobile: zod.ZodBoolean;
41
+ selectedSettingsView: zod.ZodString;
42
+ }, "strip", zod.ZodTypeAny, {
43
+ showBottomBarOnMobile: boolean;
44
+ selectedSettingsView: string;
45
+ }, {
46
+ showBottomBarOnMobile: boolean;
47
+ selectedSettingsView: string;
48
+ }>>;
22
49
  }, "strict", zod.ZodTypeAny, {
50
+ cameras?: {
51
+ showEvents: boolean;
52
+ } | undefined;
53
+ camview?: {
54
+ dragDisabled?: boolean | undefined;
55
+ viewid?: string | undefined;
56
+ } | undefined;
23
57
  config?: {
24
58
  zoom: number;
25
59
  } | undefined;
26
60
  console?: {
27
61
  zoom: number;
28
62
  } | undefined;
63
+ interface?: {
64
+ showBottomBarOnMobile: boolean;
65
+ selectedSettingsView: string;
66
+ } | undefined;
29
67
  }, {
68
+ cameras?: {
69
+ showEvents: boolean;
70
+ } | undefined;
71
+ camview?: {
72
+ dragDisabled?: boolean | undefined;
73
+ viewid?: string | undefined;
74
+ } | undefined;
30
75
  config?: {
31
76
  zoom: number;
32
77
  } | undefined;
33
78
  console?: {
34
79
  zoom: number;
35
80
  } | undefined;
81
+ interface?: {
82
+ showBottomBarOnMobile: boolean;
83
+ selectedSettingsView: string;
84
+ } | undefined;
36
85
  }>>>>;
37
86
  theme: zod.ZodOptional<zod.ZodDefault<zod.ZodOptional<zod.ZodObject<{
38
87
  theme: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"light">, zod.ZodLiteral<"dark">]>>;
@@ -51,12 +100,23 @@ export declare const downloadBackupSchema: zod.ZodObject<{
51
100
  autoMode?: boolean | undefined;
52
101
  } | undefined;
53
102
  ui?: {
103
+ cameras?: {
104
+ showEvents: boolean;
105
+ } | undefined;
106
+ camview?: {
107
+ dragDisabled?: boolean | undefined;
108
+ viewid?: string | undefined;
109
+ } | undefined;
54
110
  config?: {
55
111
  zoom: number;
56
112
  } | undefined;
57
113
  console?: {
58
114
  zoom: number;
59
115
  } | undefined;
116
+ interface?: {
117
+ showBottomBarOnMobile: boolean;
118
+ selectedSettingsView: string;
119
+ } | undefined;
60
120
  } | undefined;
61
121
  locale?: "de" | "en" | undefined;
62
122
  }, {
@@ -65,12 +125,23 @@ export declare const downloadBackupSchema: zod.ZodObject<{
65
125
  autoMode?: boolean | undefined;
66
126
  } | undefined;
67
127
  ui?: {
128
+ cameras?: {
129
+ showEvents: boolean;
130
+ } | undefined;
131
+ camview?: {
132
+ dragDisabled?: boolean | undefined;
133
+ viewid?: string | undefined;
134
+ } | undefined;
68
135
  config?: {
69
136
  zoom: number;
70
137
  } | undefined;
71
138
  console?: {
72
139
  zoom: number;
73
140
  } | undefined;
141
+ interface?: {
142
+ showBottomBarOnMobile: boolean;
143
+ selectedSettingsView: string;
144
+ } | undefined;
74
145
  } | undefined;
75
146
  locale?: "de" | "en" | undefined;
76
147
  }>>;
@@ -81,12 +152,23 @@ export declare const downloadBackupSchema: zod.ZodObject<{
81
152
  autoMode?: boolean | undefined;
82
153
  } | undefined;
83
154
  ui?: {
155
+ cameras?: {
156
+ showEvents: boolean;
157
+ } | undefined;
158
+ camview?: {
159
+ dragDisabled?: boolean | undefined;
160
+ viewid?: string | undefined;
161
+ } | undefined;
84
162
  config?: {
85
163
  zoom: number;
86
164
  } | undefined;
87
165
  console?: {
88
166
  zoom: number;
89
167
  } | undefined;
168
+ interface?: {
169
+ showBottomBarOnMobile: boolean;
170
+ selectedSettingsView: string;
171
+ } | undefined;
90
172
  } | undefined;
91
173
  locale?: "de" | "en" | undefined;
92
174
  } | undefined;
@@ -97,12 +179,23 @@ export declare const downloadBackupSchema: zod.ZodObject<{
97
179
  autoMode?: boolean | undefined;
98
180
  } | undefined;
99
181
  ui?: {
182
+ cameras?: {
183
+ showEvents: boolean;
184
+ } | undefined;
185
+ camview?: {
186
+ dragDisabled?: boolean | undefined;
187
+ viewid?: string | undefined;
188
+ } | undefined;
100
189
  config?: {
101
190
  zoom: number;
102
191
  } | undefined;
103
192
  console?: {
104
193
  zoom: number;
105
194
  } | undefined;
195
+ interface?: {
196
+ showBottomBarOnMobile: boolean;
197
+ selectedSettingsView: string;
198
+ } | undefined;
106
199
  } | undefined;
107
200
  locale?: "de" | "en" | undefined;
108
201
  } | undefined;
@@ -534,6 +534,10 @@ export declare const createCameraSchema: zod.ZodObject<{
534
534
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
535
535
  urls: string[];
536
536
  }[];
537
+ interface: {
538
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
539
+ streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
540
+ };
537
541
  extensions: {
538
542
  plugins: string[];
539
543
  hub?: string[] | undefined;
@@ -546,10 +550,6 @@ export declare const createCameraSchema: zod.ZodObject<{
546
550
  recording: {
547
551
  enabled: boolean;
548
552
  };
549
- interface: {
550
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
551
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
552
- };
553
553
  nativeId?: string | undefined;
554
554
  }, {
555
555
  name: string;
@@ -606,6 +606,10 @@ export declare const createCameraSchema: zod.ZodObject<{
606
606
  fps: number;
607
607
  resolution: "3840x2160" | "3072x1728" | "2560x1440" | "1920x1080" | "1440x1080" | "1280x720" | "960x540" | "640x480" | "640x360" | "320x240" | "320x180";
608
608
  } | undefined;
609
+ interface?: {
610
+ streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
611
+ streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
612
+ } | undefined;
609
613
  extensions?: {
610
614
  plugins: string[];
611
615
  hub?: string[] | undefined;
@@ -618,10 +622,6 @@ export declare const createCameraSchema: zod.ZodObject<{
618
622
  recording?: {
619
623
  enabled?: boolean | undefined;
620
624
  } | undefined;
621
- interface?: {
622
- streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
623
- streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
624
- } | undefined;
625
625
  }>;
626
626
  export declare const patchCameraSchema: zod.ZodObject<{
627
627
  disabled: zod.ZodOptional<zod.ZodBoolean>;
@@ -879,6 +879,10 @@ export declare const patchCameraSchema: zod.ZodObject<{
879
879
  roles: ("snapshot" | "high-resolution" | "mid-resolution" | "low-resolution")[];
880
880
  urls: string[];
881
881
  }[] | undefined;
882
+ interface?: {
883
+ streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
884
+ streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
885
+ } | undefined;
882
886
  extensions?: {
883
887
  hub?: string[] | undefined;
884
888
  prebuffer?: string | undefined;
@@ -891,10 +895,6 @@ export declare const patchCameraSchema: zod.ZodObject<{
891
895
  recording?: {
892
896
  enabled?: boolean | undefined;
893
897
  } | undefined;
894
- interface?: {
895
- streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
896
- streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
897
- } | undefined;
898
898
  }, {
899
899
  disabled?: boolean | undefined;
900
900
  name?: string | undefined;
@@ -942,6 +942,10 @@ export declare const patchCameraSchema: zod.ZodObject<{
942
942
  _id?: string | undefined;
943
943
  internal?: boolean | undefined;
944
944
  }[] | undefined;
945
+ interface?: {
946
+ streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
947
+ streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
948
+ } | undefined;
945
949
  extensions?: {
946
950
  hub?: string[] | undefined;
947
951
  prebuffer?: string | undefined;
@@ -954,10 +958,6 @@ export declare const patchCameraSchema: zod.ZodObject<{
954
958
  recording?: {
955
959
  enabled?: boolean | undefined;
956
960
  } | undefined;
957
- interface?: {
958
- streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
959
- streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
960
- } | undefined;
961
961
  }>;
962
962
  export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
963
963
  export declare const submitExtensionsSchema: zod.ZodObject<{
@@ -65,7 +65,7 @@ export declare const apiSchema: zod.ZodObject<{
65
65
  username?: string | undefined;
66
66
  origin?: string | undefined;
67
67
  }>;
68
- export declare const streamsSchema: zod.ZodRecord<zod.ZodEffects<zod.ZodString, string, string>, zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">, zod.ZodNull]>>;
68
+ export declare const streamsSchema: zod.ZodRecord<zod.ZodEffects<zod.ZodString, string, string>, zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">]>>;
69
69
  export declare const srtpSchema: zod.ZodObject<{
70
70
  listen: zod.ZodDefault<zod.ZodString>;
71
71
  }, "strict", zod.ZodTypeAny, {
@@ -488,7 +488,7 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
488
488
  rtsp?: string | undefined;
489
489
  output?: string | undefined;
490
490
  }>>>;
491
- streams: zod.ZodOptional<zod.ZodRecord<zod.ZodEffects<zod.ZodString, string, string>, zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">, zod.ZodNull]>>>;
491
+ streams: zod.ZodOptional<zod.ZodRecord<zod.ZodEffects<zod.ZodString, string, string>, zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">]>>>;
492
492
  homekit: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodOptional<zod.ZodObject<{
493
493
  pin: zod.ZodOptional<zod.ZodNumber>;
494
494
  name: zod.ZodOptional<zod.ZodString>;
@@ -619,7 +619,7 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
619
619
  hass?: {
620
620
  config?: string | undefined;
621
621
  } | undefined;
622
- streams?: Record<string, string | string[] | null> | undefined;
622
+ streams?: Record<string, string | string[]> | undefined;
623
623
  }, {
624
624
  rtsp?: {
625
625
  password?: string | undefined;
@@ -670,7 +670,7 @@ export declare const patchGo2RtcSchema: zod.ZodObject<{
670
670
  hass?: {
671
671
  config?: string | undefined;
672
672
  } | undefined;
673
- streams?: Record<string, string | string[] | null> | undefined;
673
+ streams?: Record<string, string | string[]> | undefined;
674
674
  ffmpeg?: (Record<string, string> & {
675
675
  bin?: string | undefined;
676
676
  global?: string | undefined;
@@ -2,11 +2,11 @@ import zod from 'zod';
2
2
  import type { AudioMetadata, ImageMetadata } from '@camera.ui/types';
3
3
  import type { MultipartFile } from '@fastify/multipart';
4
4
  export declare const ACCEPTED_OBJECT_IMAGE_TYPES: string[];
5
- export declare const MAX_OBJECT_FILE_SIZE = 2000000;
5
+ export declare const MAX_OBJECT_FILE_SIZE: number;
6
6
  export declare const ACCEPTED_MOTION_VIDEO_TYPES: string[];
7
- export declare const MAX_MOTION_FILE_SIZE = 10000000;
7
+ export declare const MAX_MOTION_FILE_SIZE: number;
8
8
  export declare const ACCEPTED_AUDIO_TYPES: string[];
9
- export declare const MAX_AUDIO_FILE_SIZE = 2000000;
9
+ export declare const MAX_AUDIO_FILE_SIZE: number;
10
10
  export declare const installPluginSchema: zod.ZodObject<{
11
11
  pluginname: zod.ZodEffects<zod.ZodString, string, string>;
12
12
  pluginversion: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
@@ -1,4 +1,11 @@
1
1
  import zod from 'zod';
2
+ export declare const updateServerSchema: zod.ZodObject<{
3
+ version: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
4
+ }, "strict", zod.ZodTypeAny, {
5
+ version: string;
6
+ }, {
7
+ version?: string | undefined;
8
+ }>;
2
9
  export declare const patchSystemSchema: zod.ZodObject<{
3
10
  serverAddresses: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
4
11
  }, "strict", zod.ZodTypeAny, {
@@ -7,3 +14,4 @@ export declare const patchSystemSchema: zod.ZodObject<{
7
14
  serverAddresses?: string[] | undefined;
8
15
  }>;
9
16
  export type PatchSystemInput = zod.TypeOf<typeof patchSystemSchema>;
17
+ export type UpdateServerInput = zod.TypeOf<typeof updateServerSchema>;