@camera.ui/browser 0.0.111 → 0.0.112

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 (51) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +10 -1
  3. package/dist/index.d.ts +1269 -0
  4. package/dist/index.js +4179 -0
  5. package/package.json +55 -39
  6. package/CHANGELOG.md +0 -8
  7. package/dist/bundle.js +0 -2
  8. package/dist/bundle.js.LICENSE.txt +0 -14
  9. package/dist/types/packages/client/browser/src/api.d.ts +0 -8
  10. package/dist/types/packages/client/browser/src/client.d.ts +0 -21
  11. package/dist/types/packages/client/browser/src/index.d.ts +0 -2
  12. package/dist/types/packages/client/browser/src/proxy/cameraDevice.d.ts +0 -26
  13. package/dist/types/packages/client/browser/src/proxy/coreManager.d.ts +0 -14
  14. package/dist/types/packages/client/browser/src/proxy/deviceManager.d.ts +0 -16
  15. package/dist/types/packages/client/browser/src/proxy/index.d.ts +0 -3
  16. package/dist/types/packages/client/browser/src/proxy.d.ts +0 -7
  17. package/dist/types/packages/client/browser/src/streaming/config.d.ts +0 -21
  18. package/dist/types/packages/client/browser/src/streaming/go2rts-session.d.ts +0 -286
  19. package/dist/types/packages/client/browser/src/streaming/types.d.ts +0 -38
  20. package/dist/types/packages/client/browser/src/types.d.ts +0 -56
  21. package/dist/types/packages/client/browser/src/utils.d.ts +0 -12
  22. package/dist/types/packages/common/src/utils/subscribed.d.ts +0 -18
  23. package/dist/types/packages/types/src/index.d.ts +0 -812
  24. package/dist/types/server/src/api/database/types.d.ts +0 -80
  25. package/dist/types/server/src/api/go2rtc/types.d.ts +0 -147
  26. package/dist/types/server/src/api/schemas/backup.schema.d.ts +0 -211
  27. package/dist/types/server/src/api/schemas/cameras.schema.d.ts +0 -1864
  28. package/dist/types/server/src/api/schemas/config.schema.d.ts +0 -102
  29. package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +0 -735
  30. package/dist/types/server/src/api/schemas/plugins.schema.d.ts +0 -72
  31. package/dist/types/server/src/api/schemas/storage.schema.d.ts +0 -22
  32. package/dist/types/server/src/api/schemas/system.schema.d.ts +0 -185
  33. package/dist/types/server/src/api/schemas/users.schema.d.ts +0 -857
  34. package/dist/types/server/src/api/types/index.d.ts +0 -612
  35. package/dist/types/server/src/api/websocket/types.d.ts +0 -43
  36. package/dist/types/server/src/camera/classes.d.ts +0 -2
  37. package/dist/types/server/src/camera/index.d.ts +0 -92
  38. package/dist/types/server/src/camera/interfaces.d.ts +0 -17
  39. package/dist/types/server/src/camera/iou.d.ts +0 -2
  40. package/dist/types/server/src/camera/polygon.d.ts +0 -4
  41. package/dist/types/server/src/camera/types.d.ts +0 -17
  42. package/dist/types/server/src/go2rtc/types.d.ts +0 -15
  43. package/dist/types/server/src/manager/types.d.ts +0 -15
  44. package/dist/types/server/src/plugins/schema.d.ts +0 -27
  45. package/dist/types/server/src/plugins/types.d.ts +0 -49
  46. package/dist/types/server/src/rpc/namespaces.d.ts +0 -35
  47. package/dist/types/server/src/rpc/types.d.ts +0 -111
  48. package/dist/types/server/src/services/config/defaults.d.ts +0 -12
  49. package/dist/types/server/src/services/config/types.d.ts +0 -162
  50. package/dist/types/server/src/types.d.ts +0 -34
  51. package/dist/types/shared/types/index.d.ts +0 -22
@@ -1,735 +0,0 @@
1
- import * as zod from 'zod';
2
- export declare const logLevelGo2rtcSchema: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
3
- export declare const logSchema: zod.ZodObject<{
4
- format: zod.ZodDefault<zod.ZodString>;
5
- level: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
6
- api: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
7
- exec: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
8
- ngrok: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
9
- rtsp: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
10
- rtmp: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
11
- homekit: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
12
- webtorrent: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
13
- hass: zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
14
- mp4: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
15
- hls: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
16
- mjpeg: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
17
- streams: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
18
- webrtc: zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>;
19
- }, "strict", zod.ZodTypeAny, {
20
- level: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
21
- mjpeg: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
22
- webrtc: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
23
- format: string;
24
- rtsp: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
25
- api: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
26
- exec: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
27
- ngrok: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
28
- rtmp: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
29
- homekit: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
30
- webtorrent: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
31
- hass: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
32
- mp4: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
33
- hls: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
34
- streams: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
35
- }, {
36
- mjpeg: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
37
- webrtc: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
38
- rtsp: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
39
- api: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
40
- exec: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
41
- ngrok: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
42
- rtmp: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
43
- homekit: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
44
- webtorrent: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
45
- mp4: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
46
- hls: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
47
- streams: "info" | "error" | "warn" | "debug" | "trace" | "fatal";
48
- level?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
49
- format?: string | undefined;
50
- hass?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
51
- }>;
52
- export declare const apiSchema: zod.ZodObject<{
53
- listen: zod.ZodEffects<zod.ZodString, string, string>;
54
- username: zod.ZodOptional<zod.ZodString>;
55
- password: zod.ZodOptional<zod.ZodString>;
56
- origin: zod.ZodDefault<zod.ZodString>;
57
- tls_listen: zod.ZodDefault<zod.ZodString>;
58
- tls_cert: zod.ZodString;
59
- tls_key: zod.ZodString;
60
- tls_ca: zod.ZodString;
61
- }, "strict", zod.ZodTypeAny, {
62
- listen: string;
63
- origin: string;
64
- tls_listen: string;
65
- tls_cert: string;
66
- tls_key: string;
67
- tls_ca: string;
68
- password?: string | undefined;
69
- username?: string | undefined;
70
- }, {
71
- listen: string;
72
- tls_cert: string;
73
- tls_key: string;
74
- tls_ca: string;
75
- password?: string | undefined;
76
- username?: string | undefined;
77
- origin?: string | undefined;
78
- tls_listen?: string | undefined;
79
- }>;
80
- export declare const streamsSchema: zod.ZodRecord<zod.ZodEffects<zod.ZodString, string, string>, zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">]>>;
81
- export declare const srtpSchema: zod.ZodObject<{
82
- listen: zod.ZodDefault<zod.ZodString>;
83
- }, "strict", zod.ZodTypeAny, {
84
- listen: string;
85
- }, {
86
- listen?: string | undefined;
87
- }>;
88
- export declare const rtmpSchema: zod.ZodObject<{
89
- listen: zod.ZodDefault<zod.ZodString>;
90
- }, "strict", zod.ZodTypeAny, {
91
- listen: string;
92
- }, {
93
- listen?: string | undefined;
94
- }>;
95
- export declare const rtspSchema: zod.ZodObject<{
96
- listen: zod.ZodDefault<zod.ZodString>;
97
- username: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
98
- password: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
99
- default_query: zod.ZodDefault<zod.ZodString>;
100
- }, "strict", zod.ZodTypeAny, {
101
- password: string;
102
- username: string;
103
- listen: string;
104
- default_query: string;
105
- }, {
106
- password?: string | undefined;
107
- username?: string | undefined;
108
- listen?: string | undefined;
109
- default_query?: string | undefined;
110
- }>;
111
- export declare const ffmpegSchema: zod.ZodIntersection<zod.ZodRecord<zod.ZodString, zod.ZodString>, zod.ZodObject<{
112
- bin: zod.ZodDefault<zod.ZodString>;
113
- global: zod.ZodDefault<zod.ZodString>;
114
- file: zod.ZodDefault<zod.ZodString>;
115
- http: zod.ZodDefault<zod.ZodString>;
116
- rtsp: zod.ZodDefault<zod.ZodString>;
117
- output: zod.ZodDefault<zod.ZodString>;
118
- }, "strip", zod.ZodTypeAny, {
119
- bin: string;
120
- global: string;
121
- file: string;
122
- http: string;
123
- rtsp: string;
124
- output: string;
125
- }, {
126
- bin?: string | undefined;
127
- global?: string | undefined;
128
- file?: string | undefined;
129
- http?: string | undefined;
130
- rtsp?: string | undefined;
131
- output?: string | undefined;
132
- }>>;
133
- export declare const hassSchema: zod.ZodObject<{
134
- config: zod.ZodString;
135
- }, "strict", zod.ZodTypeAny, {
136
- config: string;
137
- }, {
138
- config: string;
139
- }>;
140
- export declare const ngrokSchema: zod.ZodObject<{
141
- command: zod.ZodString;
142
- }, "strict", zod.ZodTypeAny, {
143
- command: string;
144
- }, {
145
- command: string;
146
- }>;
147
- export declare const filterSchema: zod.ZodObject<{
148
- candidates: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
149
- networks: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
150
- interfaces: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
151
- ips: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
152
- udp_ports: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
153
- }, "strict", zod.ZodTypeAny, {
154
- candidates?: string[] | undefined;
155
- networks?: string[] | undefined;
156
- interfaces?: string[] | undefined;
157
- ips?: string[] | undefined;
158
- udp_ports?: string[] | undefined;
159
- }, {
160
- candidates?: string[] | undefined;
161
- networks?: string[] | undefined;
162
- interfaces?: string[] | undefined;
163
- ips?: string[] | undefined;
164
- udp_ports?: string[] | undefined;
165
- }>;
166
- export declare const iceServerSchema: zod.ZodObject<{
167
- urls: zod.ZodArray<zod.ZodString, "many">;
168
- username: zod.ZodOptional<zod.ZodString>;
169
- credential: zod.ZodOptional<zod.ZodString>;
170
- }, "strict", zod.ZodTypeAny, {
171
- urls: string[];
172
- username?: string | undefined;
173
- credential?: string | undefined;
174
- }, {
175
- urls: string[];
176
- username?: string | undefined;
177
- credential?: string | undefined;
178
- }>;
179
- export declare const webrtcSchema: zod.ZodObject<{
180
- listen: zod.ZodDefault<zod.ZodString>;
181
- candidates: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
182
- ice_servers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
183
- urls: zod.ZodArray<zod.ZodString, "many">;
184
- username: zod.ZodOptional<zod.ZodString>;
185
- credential: zod.ZodOptional<zod.ZodString>;
186
- }, "strict", zod.ZodTypeAny, {
187
- urls: string[];
188
- username?: string | undefined;
189
- credential?: string | undefined;
190
- }, {
191
- urls: string[];
192
- username?: string | undefined;
193
- credential?: string | undefined;
194
- }>, "many">>;
195
- filters: zod.ZodOptional<zod.ZodObject<{
196
- candidates: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
197
- networks: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
198
- interfaces: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
199
- ips: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
200
- udp_ports: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
201
- }, "strict", zod.ZodTypeAny, {
202
- candidates?: string[] | undefined;
203
- networks?: string[] | undefined;
204
- interfaces?: string[] | undefined;
205
- ips?: string[] | undefined;
206
- udp_ports?: string[] | undefined;
207
- }, {
208
- candidates?: string[] | undefined;
209
- networks?: string[] | undefined;
210
- interfaces?: string[] | undefined;
211
- ips?: string[] | undefined;
212
- udp_ports?: string[] | undefined;
213
- }>>;
214
- }, "strict", zod.ZodTypeAny, {
215
- listen: string;
216
- candidates?: string[] | undefined;
217
- ice_servers?: {
218
- urls: string[];
219
- username?: string | undefined;
220
- credential?: string | undefined;
221
- }[] | undefined;
222
- filters?: {
223
- candidates?: string[] | undefined;
224
- networks?: string[] | undefined;
225
- interfaces?: string[] | undefined;
226
- ips?: string[] | undefined;
227
- udp_ports?: string[] | undefined;
228
- } | undefined;
229
- }, {
230
- listen?: string | undefined;
231
- candidates?: string[] | undefined;
232
- ice_servers?: {
233
- urls: string[];
234
- username?: string | undefined;
235
- credential?: string | undefined;
236
- }[] | undefined;
237
- filters?: {
238
- candidates?: string[] | undefined;
239
- networks?: string[] | undefined;
240
- interfaces?: string[] | undefined;
241
- ips?: string[] | undefined;
242
- udp_ports?: string[] | undefined;
243
- } | undefined;
244
- }>;
245
- export declare const homeKitSettingsSchema: zod.ZodObject<{
246
- pin: zod.ZodNumber;
247
- name: zod.ZodString;
248
- device_id: zod.ZodString;
249
- device_private: zod.ZodString;
250
- }, "strict", zod.ZodTypeAny, {
251
- name: string;
252
- pin: number;
253
- device_id: string;
254
- device_private: string;
255
- }, {
256
- name: string;
257
- pin: number;
258
- device_id: string;
259
- device_private: string;
260
- }>;
261
- export declare const homeKitSchema: zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodOptional<zod.ZodObject<{
262
- pin: zod.ZodOptional<zod.ZodNumber>;
263
- name: zod.ZodOptional<zod.ZodString>;
264
- device_id: zod.ZodOptional<zod.ZodString>;
265
- device_private: zod.ZodOptional<zod.ZodString>;
266
- }, "strict", zod.ZodTypeAny, {
267
- name?: string | undefined;
268
- pin?: number | undefined;
269
- device_id?: string | undefined;
270
- device_private?: string | undefined;
271
- }, {
272
- name?: string | undefined;
273
- pin?: number | undefined;
274
- device_id?: string | undefined;
275
- device_private?: string | undefined;
276
- }>>, zod.ZodUndefined]>, zod.ZodNull]>>;
277
- export declare const shareSettingsSchema: zod.ZodObject<{
278
- pwd: zod.ZodString;
279
- src: zod.ZodString;
280
- }, "strict", zod.ZodTypeAny, {
281
- pwd: string;
282
- src: string;
283
- }, {
284
- pwd: string;
285
- src: string;
286
- }>;
287
- export declare const sharesSchema: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
288
- pwd: zod.ZodString;
289
- src: zod.ZodString;
290
- }, "strict", zod.ZodTypeAny, {
291
- pwd: string;
292
- src: string;
293
- }, {
294
- pwd: string;
295
- src: string;
296
- }>>;
297
- export declare const webtorrentSchema: zod.ZodObject<{
298
- shares: zod.ZodRecord<zod.ZodString, zod.ZodObject<{
299
- pwd: zod.ZodString;
300
- src: zod.ZodString;
301
- }, "strict", zod.ZodTypeAny, {
302
- pwd: string;
303
- src: string;
304
- }, {
305
- pwd: string;
306
- src: string;
307
- }>>;
308
- }, "strict", zod.ZodTypeAny, {
309
- shares: Record<string, {
310
- pwd: string;
311
- src: string;
312
- }>;
313
- }, {
314
- shares: Record<string, {
315
- pwd: string;
316
- src: string;
317
- }>;
318
- }>;
319
- export declare const patchGo2RtcSchema: zod.ZodObject<{
320
- log: zod.ZodObject<{
321
- format: zod.ZodOptional<zod.ZodDefault<zod.ZodString>>;
322
- level: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>>;
323
- api: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
324
- exec: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
325
- ngrok: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
326
- rtsp: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
327
- rtmp: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
328
- homekit: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
329
- webtorrent: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
330
- hass: zod.ZodOptional<zod.ZodDefault<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>>;
331
- mp4: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
332
- hls: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
333
- mjpeg: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
334
- streams: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
335
- webrtc: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"info">, zod.ZodLiteral<"debug">, zod.ZodLiteral<"trace">, zod.ZodLiteral<"warn">, zod.ZodLiteral<"error">, zod.ZodLiteral<"fatal">]>>;
336
- }, "strict", zod.ZodTypeAny, {
337
- level?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
338
- mjpeg?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
339
- webrtc?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
340
- format?: string | undefined;
341
- rtsp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
342
- api?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
343
- exec?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
344
- ngrok?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
345
- rtmp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
346
- homekit?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
347
- webtorrent?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
348
- hass?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
349
- mp4?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
350
- hls?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
351
- streams?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
352
- }, {
353
- level?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
354
- mjpeg?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
355
- webrtc?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
356
- format?: string | undefined;
357
- rtsp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
358
- api?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
359
- exec?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
360
- ngrok?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
361
- rtmp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
362
- homekit?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
363
- webtorrent?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
364
- hass?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
365
- mp4?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
366
- hls?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
367
- streams?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
368
- }>;
369
- api: zod.ZodObject<{
370
- listen: zod.ZodEffects<zod.ZodString, string, string>;
371
- username: zod.ZodOptional<zod.ZodString>;
372
- password: zod.ZodOptional<zod.ZodString>;
373
- origin: zod.ZodDefault<zod.ZodString>;
374
- tls_listen: zod.ZodDefault<zod.ZodString>;
375
- tls_cert: zod.ZodString;
376
- tls_key: zod.ZodString;
377
- tls_ca: zod.ZodString;
378
- }, "strict", zod.ZodTypeAny, {
379
- listen: string;
380
- origin: string;
381
- tls_listen: string;
382
- tls_cert: string;
383
- tls_key: string;
384
- tls_ca: string;
385
- password?: string | undefined;
386
- username?: string | undefined;
387
- }, {
388
- listen: string;
389
- tls_cert: string;
390
- tls_key: string;
391
- tls_ca: string;
392
- password?: string | undefined;
393
- username?: string | undefined;
394
- origin?: string | undefined;
395
- tls_listen?: string | undefined;
396
- }>;
397
- rtsp: zod.ZodObject<{
398
- listen: zod.ZodDefault<zod.ZodString>;
399
- username: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
400
- password: zod.ZodDefault<zod.ZodOptional<zod.ZodString>>;
401
- default_query: zod.ZodDefault<zod.ZodString>;
402
- }, "strict", zod.ZodTypeAny, {
403
- password: string;
404
- username: string;
405
- listen: string;
406
- default_query: string;
407
- }, {
408
- password?: string | undefined;
409
- username?: string | undefined;
410
- listen?: string | undefined;
411
- default_query?: string | undefined;
412
- }>;
413
- srtp: zod.ZodObject<{
414
- listen: zod.ZodDefault<zod.ZodString>;
415
- }, "strict", zod.ZodTypeAny, {
416
- listen: string;
417
- }, {
418
- listen?: string | undefined;
419
- }>;
420
- rtmp: zod.ZodObject<{
421
- listen: zod.ZodDefault<zod.ZodString>;
422
- }, "strict", zod.ZodTypeAny, {
423
- listen: string;
424
- }, {
425
- listen?: string | undefined;
426
- }>;
427
- webrtc: zod.ZodObject<{
428
- listen: zod.ZodDefault<zod.ZodString>;
429
- candidates: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
430
- ice_servers: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
431
- urls: zod.ZodArray<zod.ZodString, "many">;
432
- username: zod.ZodOptional<zod.ZodString>;
433
- credential: zod.ZodOptional<zod.ZodString>;
434
- }, "strict", zod.ZodTypeAny, {
435
- urls: string[];
436
- username?: string | undefined;
437
- credential?: string | undefined;
438
- }, {
439
- urls: string[];
440
- username?: string | undefined;
441
- credential?: string | undefined;
442
- }>, "many">>;
443
- filters: zod.ZodOptional<zod.ZodObject<{
444
- candidates: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
445
- networks: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
446
- interfaces: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
447
- ips: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
448
- udp_ports: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
449
- }, "strict", zod.ZodTypeAny, {
450
- candidates?: string[] | undefined;
451
- networks?: string[] | undefined;
452
- interfaces?: string[] | undefined;
453
- ips?: string[] | undefined;
454
- udp_ports?: string[] | undefined;
455
- }, {
456
- candidates?: string[] | undefined;
457
- networks?: string[] | undefined;
458
- interfaces?: string[] | undefined;
459
- ips?: string[] | undefined;
460
- udp_ports?: string[] | undefined;
461
- }>>;
462
- }, "strict", zod.ZodTypeAny, {
463
- listen: string;
464
- candidates?: string[] | undefined;
465
- ice_servers?: {
466
- urls: string[];
467
- username?: string | undefined;
468
- credential?: string | undefined;
469
- }[] | undefined;
470
- filters?: {
471
- candidates?: string[] | undefined;
472
- networks?: string[] | undefined;
473
- interfaces?: string[] | undefined;
474
- ips?: string[] | undefined;
475
- udp_ports?: string[] | undefined;
476
- } | undefined;
477
- }, {
478
- listen?: string | undefined;
479
- candidates?: string[] | undefined;
480
- ice_servers?: {
481
- urls: string[];
482
- username?: string | undefined;
483
- credential?: string | undefined;
484
- }[] | undefined;
485
- filters?: {
486
- candidates?: string[] | undefined;
487
- networks?: string[] | undefined;
488
- interfaces?: string[] | undefined;
489
- ips?: string[] | undefined;
490
- udp_ports?: string[] | undefined;
491
- } | undefined;
492
- }>;
493
- ffmpeg: zod.ZodIntersection<zod.ZodRecord<zod.ZodString, zod.ZodString>, zod.ZodObject<{
494
- bin: zod.ZodDefault<zod.ZodString>;
495
- global: zod.ZodDefault<zod.ZodString>;
496
- file: zod.ZodDefault<zod.ZodString>;
497
- http: zod.ZodDefault<zod.ZodString>;
498
- rtsp: zod.ZodDefault<zod.ZodString>;
499
- output: zod.ZodDefault<zod.ZodString>;
500
- }, "strip", zod.ZodTypeAny, {
501
- bin: string;
502
- global: string;
503
- file: string;
504
- http: string;
505
- rtsp: string;
506
- output: string;
507
- }, {
508
- bin?: string | undefined;
509
- global?: string | undefined;
510
- file?: string | undefined;
511
- http?: string | undefined;
512
- rtsp?: string | undefined;
513
- output?: string | undefined;
514
- }>>;
515
- streams: zod.ZodOptional<zod.ZodRecord<zod.ZodEffects<zod.ZodString, string, string>, zod.ZodUnion<[zod.ZodString, zod.ZodArray<zod.ZodString, "many">]>>>;
516
- homekit: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodUnion<[zod.ZodOptional<zod.ZodObject<{
517
- pin: zod.ZodOptional<zod.ZodNumber>;
518
- name: zod.ZodOptional<zod.ZodString>;
519
- device_id: zod.ZodOptional<zod.ZodString>;
520
- device_private: zod.ZodOptional<zod.ZodString>;
521
- }, "strict", zod.ZodTypeAny, {
522
- name?: string | undefined;
523
- pin?: number | undefined;
524
- device_id?: string | undefined;
525
- device_private?: string | undefined;
526
- }, {
527
- name?: string | undefined;
528
- pin?: number | undefined;
529
- device_id?: string | undefined;
530
- device_private?: string | undefined;
531
- }>>, zod.ZodUndefined]>, zod.ZodNull]>>>;
532
- hass: zod.ZodOptional<zod.ZodObject<{
533
- config: zod.ZodOptional<zod.ZodString>;
534
- }, "strict", zod.ZodTypeAny, {
535
- config?: string | undefined;
536
- }, {
537
- config?: string | undefined;
538
- }>>;
539
- webtorrent: zod.ZodOptional<zod.ZodObject<{
540
- shares: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodObject<{
541
- pwd: zod.ZodString;
542
- src: zod.ZodString;
543
- }, "strict", zod.ZodTypeAny, {
544
- pwd: string;
545
- src: string;
546
- }, {
547
- pwd: string;
548
- src: string;
549
- }>>>;
550
- }, "strict", zod.ZodTypeAny, {
551
- shares?: Record<string, {
552
- pwd: string;
553
- src: string;
554
- }> | undefined;
555
- }, {
556
- shares?: Record<string, {
557
- pwd: string;
558
- src: string;
559
- }> | undefined;
560
- }>>;
561
- ngrok: zod.ZodOptional<zod.ZodObject<{
562
- command: zod.ZodOptional<zod.ZodString>;
563
- }, "strict", zod.ZodTypeAny, {
564
- command?: string | undefined;
565
- }, {
566
- command?: string | undefined;
567
- }>>;
568
- }, "strict", zod.ZodTypeAny, {
569
- webrtc: {
570
- listen: string;
571
- candidates?: string[] | undefined;
572
- ice_servers?: {
573
- urls: string[];
574
- username?: string | undefined;
575
- credential?: string | undefined;
576
- }[] | undefined;
577
- filters?: {
578
- candidates?: string[] | undefined;
579
- networks?: string[] | undefined;
580
- interfaces?: string[] | undefined;
581
- ips?: string[] | undefined;
582
- udp_ports?: string[] | undefined;
583
- } | undefined;
584
- };
585
- rtsp: {
586
- password: string;
587
- username: string;
588
- listen: string;
589
- default_query: string;
590
- };
591
- api: {
592
- listen: string;
593
- origin: string;
594
- tls_listen: string;
595
- tls_cert: string;
596
- tls_key: string;
597
- tls_ca: string;
598
- password?: string | undefined;
599
- username?: string | undefined;
600
- };
601
- rtmp: {
602
- listen: string;
603
- };
604
- ffmpeg: Record<string, string> & {
605
- bin: string;
606
- global: string;
607
- file: string;
608
- http: string;
609
- rtsp: string;
610
- output: string;
611
- };
612
- log: {
613
- level?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
614
- mjpeg?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
615
- webrtc?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
616
- format?: string | undefined;
617
- rtsp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
618
- api?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
619
- exec?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
620
- ngrok?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
621
- rtmp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
622
- homekit?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
623
- webtorrent?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
624
- hass?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
625
- mp4?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
626
- hls?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
627
- streams?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
628
- };
629
- srtp: {
630
- listen: string;
631
- };
632
- ngrok?: {
633
- command?: string | undefined;
634
- } | undefined;
635
- homekit?: Record<string, {
636
- name?: string | undefined;
637
- pin?: number | undefined;
638
- device_id?: string | undefined;
639
- device_private?: string | undefined;
640
- } | null | undefined> | undefined;
641
- webtorrent?: {
642
- shares?: Record<string, {
643
- pwd: string;
644
- src: string;
645
- }> | undefined;
646
- } | undefined;
647
- hass?: {
648
- config?: string | undefined;
649
- } | undefined;
650
- streams?: Record<string, string | string[]> | undefined;
651
- }, {
652
- webrtc: {
653
- listen?: string | undefined;
654
- candidates?: string[] | undefined;
655
- ice_servers?: {
656
- urls: string[];
657
- username?: string | undefined;
658
- credential?: string | undefined;
659
- }[] | undefined;
660
- filters?: {
661
- candidates?: string[] | undefined;
662
- networks?: string[] | undefined;
663
- interfaces?: string[] | undefined;
664
- ips?: string[] | undefined;
665
- udp_ports?: string[] | undefined;
666
- } | undefined;
667
- };
668
- rtsp: {
669
- password?: string | undefined;
670
- username?: string | undefined;
671
- listen?: string | undefined;
672
- default_query?: string | undefined;
673
- };
674
- api: {
675
- listen: string;
676
- tls_cert: string;
677
- tls_key: string;
678
- tls_ca: string;
679
- password?: string | undefined;
680
- username?: string | undefined;
681
- origin?: string | undefined;
682
- tls_listen?: string | undefined;
683
- };
684
- rtmp: {
685
- listen?: string | undefined;
686
- };
687
- ffmpeg: Record<string, string> & {
688
- bin?: string | undefined;
689
- global?: string | undefined;
690
- file?: string | undefined;
691
- http?: string | undefined;
692
- rtsp?: string | undefined;
693
- output?: string | undefined;
694
- };
695
- log: {
696
- level?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
697
- mjpeg?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
698
- webrtc?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
699
- format?: string | undefined;
700
- rtsp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
701
- api?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
702
- exec?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
703
- ngrok?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
704
- rtmp?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
705
- homekit?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
706
- webtorrent?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
707
- hass?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
708
- mp4?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
709
- hls?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
710
- streams?: "info" | "error" | "warn" | "debug" | "trace" | "fatal" | undefined;
711
- };
712
- srtp: {
713
- listen?: string | undefined;
714
- };
715
- ngrok?: {
716
- command?: string | undefined;
717
- } | undefined;
718
- homekit?: Record<string, {
719
- name?: string | undefined;
720
- pin?: number | undefined;
721
- device_id?: string | undefined;
722
- device_private?: string | undefined;
723
- } | null | undefined> | undefined;
724
- webtorrent?: {
725
- shares?: Record<string, {
726
- pwd: string;
727
- src: string;
728
- }> | undefined;
729
- } | undefined;
730
- hass?: {
731
- config?: string | undefined;
732
- } | undefined;
733
- streams?: Record<string, string | string[]> | undefined;
734
- }>;
735
- export type PatchGo2RtcConfigInput = zod.TypeOf<typeof patchGo2RtcSchema>;