@camera.ui/browser 0.0.87 → 0.0.89
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/bundle.js +1 -1
- package/dist/types/packages/client/browser/src/streaming/go2rts-session.d.ts +0 -1
- package/dist/types/server/src/api/database/index.d.ts +1 -2
- package/dist/types/server/src/api/database/types.d.ts +7 -2
- package/dist/types/server/src/api/go2rtc/api/streams.d.ts +2 -1
- package/dist/types/server/src/api/go2rtc/types.d.ts +44 -0
- package/dist/types/server/src/api/schemas/cameras.schema.d.ts +102 -102
- package/dist/types/server/src/api/schemas/config.schema.d.ts +24 -104
- package/dist/types/server/src/api/schemas/go2rtc.schema.d.ts +81 -81
- package/dist/types/server/src/api/schemas/users.schema.d.ts +158 -158
- package/dist/types/server/src/api/services/cameras.service.d.ts +1 -5
- package/dist/types/server/src/api/types/index.d.ts +5 -0
- package/dist/types/server/src/camera/iou.d.ts +2 -0
- package/dist/types/server/src/camera/streaming/peer-connection.d.ts +4 -2
- package/dist/types/server/src/camera/streaming/webrtc-connection.d.ts +2 -0
- package/dist/types/server/src/camera/streaming/werift-session.d.ts +1 -1
- package/dist/types/server/src/camera/types.d.ts +2 -1
- package/dist/types/server/src/plugins/worker.d.ts +1 -0
- package/dist/types/server/src/polyglot/node/plugins/cameraStorage.d.ts +3 -3
- package/dist/types/server/src/polyglot/node/plugins/configService.d.ts +1 -1
- package/dist/types/server/src/polyglot/node/plugins/pluginApi.d.ts +3 -2
- package/dist/types/server/src/polyglot/node/plugins/proxy/cameraDevice.d.ts +4 -4
- package/dist/types/server/src/polyglot/node/plugins/storageController.d.ts +3 -1
- package/dist/types/server/src/services/config/index.d.ts +6 -5
- package/dist/types/server/src/services/config/types.d.ts +8 -9
- package/dist/types/server/src/types.d.ts +3 -0
- package/package.json +3 -3
|
@@ -6,11 +6,11 @@ export declare const userPreferencesCamviewViewsLayoutCameras: zod.ZodObject<{
|
|
|
6
6
|
index: zod.ZodNumber;
|
|
7
7
|
cameraId: zod.ZodString;
|
|
8
8
|
}, "strip", zod.ZodTypeAny, {
|
|
9
|
-
cameraId: string;
|
|
10
9
|
index: number;
|
|
11
|
-
}, {
|
|
12
10
|
cameraId: string;
|
|
11
|
+
}, {
|
|
13
12
|
index: number;
|
|
13
|
+
cameraId: string;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const camviewViewSizeSchema: zod.ZodUnion<[zod.ZodLiteral<1>, zod.ZodLiteral<4>, zod.ZodLiteral<6>, zod.ZodLiteral<7>, zod.ZodLiteral<9>, zod.ZodLiteral<10>, zod.ZodLiteral<12>, zod.ZodLiteral<13>, zod.ZodLiteral<15>, zod.ZodLiteral<16>, zod.ZodLiteral<20>, zod.ZodLiteral<26>]>;
|
|
16
16
|
export declare const camviewViewTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"dnd">, zod.ZodLiteral<"view">]>;
|
|
@@ -22,29 +22,29 @@ export declare const userPreferencesCamviewViewsLayout: zod.ZodObject<{
|
|
|
22
22
|
index: zod.ZodNumber;
|
|
23
23
|
cameraId: zod.ZodString;
|
|
24
24
|
}, "strip", zod.ZodTypeAny, {
|
|
25
|
-
cameraId: string;
|
|
26
25
|
index: number;
|
|
27
|
-
}, {
|
|
28
26
|
cameraId: string;
|
|
27
|
+
}, {
|
|
29
28
|
index: number;
|
|
29
|
+
cameraId: string;
|
|
30
30
|
}>, "many">;
|
|
31
31
|
type: zod.ZodUnion<[zod.ZodLiteral<"dnd">, zod.ZodLiteral<"view">]>;
|
|
32
32
|
}, "strip", zod.ZodTypeAny, {
|
|
33
|
-
name: string;
|
|
34
33
|
type: "dnd" | "view";
|
|
35
34
|
_id: string;
|
|
36
|
-
|
|
35
|
+
name: string;
|
|
36
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
37
37
|
cameras: {
|
|
38
|
-
cameraId: string;
|
|
39
38
|
index: number;
|
|
39
|
+
cameraId: string;
|
|
40
40
|
}[];
|
|
41
41
|
}, {
|
|
42
|
-
name: string;
|
|
43
42
|
type: "dnd" | "view";
|
|
44
|
-
|
|
43
|
+
name: string;
|
|
44
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
45
45
|
cameras: {
|
|
46
|
-
cameraId: string;
|
|
47
46
|
index: number;
|
|
47
|
+
cameraId: string;
|
|
48
48
|
}[];
|
|
49
49
|
_id?: string | undefined;
|
|
50
50
|
}>;
|
|
@@ -55,25 +55,25 @@ export declare const patchPreferencesCamviewViewsLayout: zod.ZodOptional<zod.Zod
|
|
|
55
55
|
index: zod.ZodNumber;
|
|
56
56
|
cameraId: zod.ZodString;
|
|
57
57
|
}, "strip", zod.ZodTypeAny, {
|
|
58
|
-
cameraId: string;
|
|
59
58
|
index: number;
|
|
60
|
-
}, {
|
|
61
59
|
cameraId: string;
|
|
60
|
+
}, {
|
|
62
61
|
index: number;
|
|
62
|
+
cameraId: string;
|
|
63
63
|
}>, "many">>;
|
|
64
64
|
}, "strip", zod.ZodTypeAny, {
|
|
65
65
|
name?: string | undefined;
|
|
66
|
-
viewSize?: 1 | 4 |
|
|
66
|
+
viewSize?: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26 | undefined;
|
|
67
67
|
cameras?: {
|
|
68
|
-
cameraId: string;
|
|
69
68
|
index: number;
|
|
69
|
+
cameraId: string;
|
|
70
70
|
}[] | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
name?: string | undefined;
|
|
73
|
-
viewSize?: 1 | 4 |
|
|
73
|
+
viewSize?: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26 | undefined;
|
|
74
74
|
cameras?: {
|
|
75
|
-
cameraId: string;
|
|
76
75
|
index: number;
|
|
76
|
+
cameraId: string;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
}>>;
|
|
79
79
|
export declare const userPreferencesCamview: zod.ZodObject<{
|
|
@@ -85,51 +85,51 @@ export declare const userPreferencesCamview: zod.ZodObject<{
|
|
|
85
85
|
index: zod.ZodNumber;
|
|
86
86
|
cameraId: zod.ZodString;
|
|
87
87
|
}, "strip", zod.ZodTypeAny, {
|
|
88
|
-
cameraId: string;
|
|
89
88
|
index: number;
|
|
90
|
-
}, {
|
|
91
89
|
cameraId: string;
|
|
90
|
+
}, {
|
|
92
91
|
index: number;
|
|
92
|
+
cameraId: string;
|
|
93
93
|
}>, "many">;
|
|
94
94
|
type: zod.ZodUnion<[zod.ZodLiteral<"dnd">, zod.ZodLiteral<"view">]>;
|
|
95
95
|
}, "strip", zod.ZodTypeAny, {
|
|
96
|
-
name: string;
|
|
97
96
|
type: "dnd" | "view";
|
|
98
97
|
_id: string;
|
|
99
|
-
|
|
98
|
+
name: string;
|
|
99
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
100
100
|
cameras: {
|
|
101
|
-
cameraId: string;
|
|
102
101
|
index: number;
|
|
102
|
+
cameraId: string;
|
|
103
103
|
}[];
|
|
104
104
|
}, {
|
|
105
|
-
name: string;
|
|
106
105
|
type: "dnd" | "view";
|
|
107
|
-
|
|
106
|
+
name: string;
|
|
107
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
108
108
|
cameras: {
|
|
109
|
-
cameraId: string;
|
|
110
109
|
index: number;
|
|
110
|
+
cameraId: string;
|
|
111
111
|
}[];
|
|
112
112
|
_id?: string | undefined;
|
|
113
113
|
}>, "many">;
|
|
114
114
|
}, "strip", zod.ZodTypeAny, {
|
|
115
115
|
views: {
|
|
116
|
-
name: string;
|
|
117
116
|
type: "dnd" | "view";
|
|
118
117
|
_id: string;
|
|
119
|
-
|
|
118
|
+
name: string;
|
|
119
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
120
120
|
cameras: {
|
|
121
|
-
cameraId: string;
|
|
122
121
|
index: number;
|
|
122
|
+
cameraId: string;
|
|
123
123
|
}[];
|
|
124
124
|
}[];
|
|
125
125
|
}, {
|
|
126
126
|
views: {
|
|
127
|
-
name: string;
|
|
128
127
|
type: "dnd" | "view";
|
|
129
|
-
|
|
128
|
+
name: string;
|
|
129
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
130
130
|
cameras: {
|
|
131
|
-
cameraId: string;
|
|
132
131
|
index: number;
|
|
132
|
+
cameraId: string;
|
|
133
133
|
}[];
|
|
134
134
|
_id?: string | undefined;
|
|
135
135
|
}[];
|
|
@@ -148,18 +148,18 @@ export declare const userPreferencesCameraShortcutLayout: zod.ZodObject<{
|
|
|
148
148
|
_id?: string | undefined;
|
|
149
149
|
}>;
|
|
150
150
|
}, "strip", zod.ZodTypeAny, {
|
|
151
|
-
cameraId: string;
|
|
152
151
|
_id: string;
|
|
153
152
|
coords: {
|
|
154
153
|
_id: string;
|
|
155
154
|
points: [number, number];
|
|
156
155
|
};
|
|
157
|
-
}, {
|
|
158
156
|
cameraId: string;
|
|
157
|
+
}, {
|
|
159
158
|
coords: {
|
|
160
159
|
points: [number, number];
|
|
161
160
|
_id?: string | undefined;
|
|
162
161
|
};
|
|
162
|
+
cameraId: string;
|
|
163
163
|
_id?: string | undefined;
|
|
164
164
|
}>;
|
|
165
165
|
export declare const patchPreferencesCameraShortcutLayout: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -175,17 +175,17 @@ export declare const patchPreferencesCameraShortcutLayout: zod.ZodOptional<zod.Z
|
|
|
175
175
|
_id?: string | undefined;
|
|
176
176
|
}>>;
|
|
177
177
|
}, "strip", zod.ZodTypeAny, {
|
|
178
|
-
cameraId?: string | undefined;
|
|
179
178
|
coords?: {
|
|
180
179
|
_id: string;
|
|
181
180
|
points: [number, number];
|
|
182
181
|
} | undefined;
|
|
183
|
-
}, {
|
|
184
182
|
cameraId?: string | undefined;
|
|
183
|
+
}, {
|
|
185
184
|
coords?: {
|
|
186
185
|
points: [number, number];
|
|
187
186
|
_id?: string | undefined;
|
|
188
187
|
} | undefined;
|
|
188
|
+
cameraId?: string | undefined;
|
|
189
189
|
}>>;
|
|
190
190
|
export declare const userPreferencesCameras: zod.ZodObject<{
|
|
191
191
|
shortcuts: zod.ZodArray<zod.ZodObject<{
|
|
@@ -202,36 +202,36 @@ export declare const userPreferencesCameras: zod.ZodObject<{
|
|
|
202
202
|
_id?: string | undefined;
|
|
203
203
|
}>;
|
|
204
204
|
}, "strip", zod.ZodTypeAny, {
|
|
205
|
-
cameraId: string;
|
|
206
205
|
_id: string;
|
|
207
206
|
coords: {
|
|
208
207
|
_id: string;
|
|
209
208
|
points: [number, number];
|
|
210
209
|
};
|
|
211
|
-
}, {
|
|
212
210
|
cameraId: string;
|
|
211
|
+
}, {
|
|
213
212
|
coords: {
|
|
214
213
|
points: [number, number];
|
|
215
214
|
_id?: string | undefined;
|
|
216
215
|
};
|
|
216
|
+
cameraId: string;
|
|
217
217
|
_id?: string | undefined;
|
|
218
218
|
}>, "many">;
|
|
219
219
|
}, "strip", zod.ZodTypeAny, {
|
|
220
220
|
shortcuts: {
|
|
221
|
-
cameraId: string;
|
|
222
221
|
_id: string;
|
|
223
222
|
coords: {
|
|
224
223
|
_id: string;
|
|
225
224
|
points: [number, number];
|
|
226
225
|
};
|
|
226
|
+
cameraId: string;
|
|
227
227
|
}[];
|
|
228
228
|
}, {
|
|
229
229
|
shortcuts: {
|
|
230
|
-
cameraId: string;
|
|
231
230
|
coords: {
|
|
232
231
|
points: [number, number];
|
|
233
232
|
_id?: string | undefined;
|
|
234
233
|
};
|
|
234
|
+
cameraId: string;
|
|
235
235
|
_id?: string | undefined;
|
|
236
236
|
}[];
|
|
237
237
|
}>;
|
|
@@ -245,51 +245,51 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
245
245
|
index: zod.ZodNumber;
|
|
246
246
|
cameraId: zod.ZodString;
|
|
247
247
|
}, "strip", zod.ZodTypeAny, {
|
|
248
|
-
cameraId: string;
|
|
249
248
|
index: number;
|
|
250
|
-
}, {
|
|
251
249
|
cameraId: string;
|
|
250
|
+
}, {
|
|
252
251
|
index: number;
|
|
252
|
+
cameraId: string;
|
|
253
253
|
}>, "many">;
|
|
254
254
|
type: zod.ZodUnion<[zod.ZodLiteral<"dnd">, zod.ZodLiteral<"view">]>;
|
|
255
255
|
}, "strip", zod.ZodTypeAny, {
|
|
256
|
-
name: string;
|
|
257
256
|
type: "dnd" | "view";
|
|
258
257
|
_id: string;
|
|
259
|
-
|
|
258
|
+
name: string;
|
|
259
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
260
260
|
cameras: {
|
|
261
|
-
cameraId: string;
|
|
262
261
|
index: number;
|
|
262
|
+
cameraId: string;
|
|
263
263
|
}[];
|
|
264
264
|
}, {
|
|
265
|
-
name: string;
|
|
266
265
|
type: "dnd" | "view";
|
|
267
|
-
|
|
266
|
+
name: string;
|
|
267
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
268
268
|
cameras: {
|
|
269
|
-
cameraId: string;
|
|
270
269
|
index: number;
|
|
270
|
+
cameraId: string;
|
|
271
271
|
}[];
|
|
272
272
|
_id?: string | undefined;
|
|
273
273
|
}>, "many">;
|
|
274
274
|
}, "strip", zod.ZodTypeAny, {
|
|
275
275
|
views: {
|
|
276
|
-
name: string;
|
|
277
276
|
type: "dnd" | "view";
|
|
278
277
|
_id: string;
|
|
279
|
-
|
|
278
|
+
name: string;
|
|
279
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
280
280
|
cameras: {
|
|
281
|
-
cameraId: string;
|
|
282
281
|
index: number;
|
|
282
|
+
cameraId: string;
|
|
283
283
|
}[];
|
|
284
284
|
}[];
|
|
285
285
|
}, {
|
|
286
286
|
views: {
|
|
287
|
-
name: string;
|
|
288
287
|
type: "dnd" | "view";
|
|
289
|
-
|
|
288
|
+
name: string;
|
|
289
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
290
290
|
cameras: {
|
|
291
|
-
cameraId: string;
|
|
292
291
|
index: number;
|
|
292
|
+
cameraId: string;
|
|
293
293
|
}[];
|
|
294
294
|
_id?: string | undefined;
|
|
295
295
|
}[];
|
|
@@ -309,81 +309,81 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
309
309
|
_id?: string | undefined;
|
|
310
310
|
}>;
|
|
311
311
|
}, "strip", zod.ZodTypeAny, {
|
|
312
|
-
cameraId: string;
|
|
313
312
|
_id: string;
|
|
314
313
|
coords: {
|
|
315
314
|
_id: string;
|
|
316
315
|
points: [number, number];
|
|
317
316
|
};
|
|
318
|
-
}, {
|
|
319
317
|
cameraId: string;
|
|
318
|
+
}, {
|
|
320
319
|
coords: {
|
|
321
320
|
points: [number, number];
|
|
322
321
|
_id?: string | undefined;
|
|
323
322
|
};
|
|
323
|
+
cameraId: string;
|
|
324
324
|
_id?: string | undefined;
|
|
325
325
|
}>, "many">;
|
|
326
326
|
}, "strip", zod.ZodTypeAny, {
|
|
327
327
|
shortcuts: {
|
|
328
|
-
cameraId: string;
|
|
329
328
|
_id: string;
|
|
330
329
|
coords: {
|
|
331
330
|
_id: string;
|
|
332
331
|
points: [number, number];
|
|
333
332
|
};
|
|
333
|
+
cameraId: string;
|
|
334
334
|
}[];
|
|
335
335
|
}, {
|
|
336
336
|
shortcuts: {
|
|
337
|
-
cameraId: string;
|
|
338
337
|
coords: {
|
|
339
338
|
points: [number, number];
|
|
340
339
|
_id?: string | undefined;
|
|
341
340
|
};
|
|
341
|
+
cameraId: string;
|
|
342
342
|
_id?: string | undefined;
|
|
343
343
|
}[];
|
|
344
344
|
}>>;
|
|
345
345
|
}, "strip", zod.ZodTypeAny, {
|
|
346
346
|
cameras: Record<string, {
|
|
347
347
|
shortcuts: {
|
|
348
|
-
cameraId: string;
|
|
349
348
|
_id: string;
|
|
350
349
|
coords: {
|
|
351
350
|
_id: string;
|
|
352
351
|
points: [number, number];
|
|
353
352
|
};
|
|
353
|
+
cameraId: string;
|
|
354
354
|
}[];
|
|
355
355
|
}>;
|
|
356
356
|
camview: {
|
|
357
357
|
views: {
|
|
358
|
-
name: string;
|
|
359
358
|
type: "dnd" | "view";
|
|
360
359
|
_id: string;
|
|
361
|
-
|
|
360
|
+
name: string;
|
|
361
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
362
362
|
cameras: {
|
|
363
|
-
cameraId: string;
|
|
364
363
|
index: number;
|
|
364
|
+
cameraId: string;
|
|
365
365
|
}[];
|
|
366
366
|
}[];
|
|
367
367
|
};
|
|
368
368
|
}, {
|
|
369
369
|
cameras: Record<string, {
|
|
370
370
|
shortcuts: {
|
|
371
|
-
cameraId: string;
|
|
372
371
|
coords: {
|
|
373
372
|
points: [number, number];
|
|
374
373
|
_id?: string | undefined;
|
|
375
374
|
};
|
|
375
|
+
cameraId: string;
|
|
376
376
|
_id?: string | undefined;
|
|
377
377
|
}[];
|
|
378
378
|
}>;
|
|
379
379
|
camview: {
|
|
380
380
|
views: {
|
|
381
|
-
name: string;
|
|
382
381
|
type: "dnd" | "view";
|
|
383
|
-
|
|
382
|
+
name: string;
|
|
383
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
384
384
|
cameras: {
|
|
385
|
-
cameraId: string;
|
|
386
385
|
index: number;
|
|
386
|
+
cameraId: string;
|
|
387
387
|
}[];
|
|
388
388
|
_id?: string | undefined;
|
|
389
389
|
}[];
|
|
@@ -391,7 +391,7 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
391
391
|
}>;
|
|
392
392
|
export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
393
393
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
394
|
-
username: zod.
|
|
394
|
+
username: zod.ZodString;
|
|
395
395
|
password: zod.ZodString;
|
|
396
396
|
passwordConfirm: zod.ZodString;
|
|
397
397
|
role: zod.ZodUnion<[zod.ZodLiteral<"admin">, zod.ZodLiteral<"user">]>;
|
|
@@ -409,51 +409,51 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
409
409
|
index: zod.ZodNumber;
|
|
410
410
|
cameraId: zod.ZodString;
|
|
411
411
|
}, "strip", zod.ZodTypeAny, {
|
|
412
|
-
cameraId: string;
|
|
413
412
|
index: number;
|
|
414
|
-
}, {
|
|
415
413
|
cameraId: string;
|
|
414
|
+
}, {
|
|
416
415
|
index: number;
|
|
416
|
+
cameraId: string;
|
|
417
417
|
}>, "many">;
|
|
418
418
|
type: zod.ZodUnion<[zod.ZodLiteral<"dnd">, zod.ZodLiteral<"view">]>;
|
|
419
419
|
}, "strip", zod.ZodTypeAny, {
|
|
420
|
-
name: string;
|
|
421
420
|
type: "dnd" | "view";
|
|
422
421
|
_id: string;
|
|
423
|
-
|
|
422
|
+
name: string;
|
|
423
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
424
424
|
cameras: {
|
|
425
|
-
cameraId: string;
|
|
426
425
|
index: number;
|
|
426
|
+
cameraId: string;
|
|
427
427
|
}[];
|
|
428
428
|
}, {
|
|
429
|
-
name: string;
|
|
430
429
|
type: "dnd" | "view";
|
|
431
|
-
|
|
430
|
+
name: string;
|
|
431
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
432
432
|
cameras: {
|
|
433
|
-
cameraId: string;
|
|
434
433
|
index: number;
|
|
434
|
+
cameraId: string;
|
|
435
435
|
}[];
|
|
436
436
|
_id?: string | undefined;
|
|
437
437
|
}>, "many">;
|
|
438
438
|
}, "strip", zod.ZodTypeAny, {
|
|
439
439
|
views: {
|
|
440
|
-
name: string;
|
|
441
440
|
type: "dnd" | "view";
|
|
442
441
|
_id: string;
|
|
443
|
-
|
|
442
|
+
name: string;
|
|
443
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
444
444
|
cameras: {
|
|
445
|
-
cameraId: string;
|
|
446
445
|
index: number;
|
|
446
|
+
cameraId: string;
|
|
447
447
|
}[];
|
|
448
448
|
}[];
|
|
449
449
|
}, {
|
|
450
450
|
views: {
|
|
451
|
-
name: string;
|
|
452
451
|
type: "dnd" | "view";
|
|
453
|
-
|
|
452
|
+
name: string;
|
|
453
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
454
454
|
cameras: {
|
|
455
|
-
cameraId: string;
|
|
456
455
|
index: number;
|
|
456
|
+
cameraId: string;
|
|
457
457
|
}[];
|
|
458
458
|
_id?: string | undefined;
|
|
459
459
|
}[];
|
|
@@ -473,81 +473,81 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
473
473
|
_id?: string | undefined;
|
|
474
474
|
}>;
|
|
475
475
|
}, "strip", zod.ZodTypeAny, {
|
|
476
|
-
cameraId: string;
|
|
477
476
|
_id: string;
|
|
478
477
|
coords: {
|
|
479
478
|
_id: string;
|
|
480
479
|
points: [number, number];
|
|
481
480
|
};
|
|
482
|
-
}, {
|
|
483
481
|
cameraId: string;
|
|
482
|
+
}, {
|
|
484
483
|
coords: {
|
|
485
484
|
points: [number, number];
|
|
486
485
|
_id?: string | undefined;
|
|
487
486
|
};
|
|
487
|
+
cameraId: string;
|
|
488
488
|
_id?: string | undefined;
|
|
489
489
|
}>, "many">;
|
|
490
490
|
}, "strip", zod.ZodTypeAny, {
|
|
491
491
|
shortcuts: {
|
|
492
|
-
cameraId: string;
|
|
493
492
|
_id: string;
|
|
494
493
|
coords: {
|
|
495
494
|
_id: string;
|
|
496
495
|
points: [number, number];
|
|
497
496
|
};
|
|
497
|
+
cameraId: string;
|
|
498
498
|
}[];
|
|
499
499
|
}, {
|
|
500
500
|
shortcuts: {
|
|
501
|
-
cameraId: string;
|
|
502
501
|
coords: {
|
|
503
502
|
points: [number, number];
|
|
504
503
|
_id?: string | undefined;
|
|
505
504
|
};
|
|
505
|
+
cameraId: string;
|
|
506
506
|
_id?: string | undefined;
|
|
507
507
|
}[];
|
|
508
508
|
}>>;
|
|
509
509
|
}, "strip", zod.ZodTypeAny, {
|
|
510
510
|
cameras: Record<string, {
|
|
511
511
|
shortcuts: {
|
|
512
|
-
cameraId: string;
|
|
513
512
|
_id: string;
|
|
514
513
|
coords: {
|
|
515
514
|
_id: string;
|
|
516
515
|
points: [number, number];
|
|
517
516
|
};
|
|
517
|
+
cameraId: string;
|
|
518
518
|
}[];
|
|
519
519
|
}>;
|
|
520
520
|
camview: {
|
|
521
521
|
views: {
|
|
522
|
-
name: string;
|
|
523
522
|
type: "dnd" | "view";
|
|
524
523
|
_id: string;
|
|
525
|
-
|
|
524
|
+
name: string;
|
|
525
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
526
526
|
cameras: {
|
|
527
|
-
cameraId: string;
|
|
528
527
|
index: number;
|
|
528
|
+
cameraId: string;
|
|
529
529
|
}[];
|
|
530
530
|
}[];
|
|
531
531
|
};
|
|
532
532
|
}, {
|
|
533
533
|
cameras: Record<string, {
|
|
534
534
|
shortcuts: {
|
|
535
|
-
cameraId: string;
|
|
536
535
|
coords: {
|
|
537
536
|
points: [number, number];
|
|
538
537
|
_id?: string | undefined;
|
|
539
538
|
};
|
|
539
|
+
cameraId: string;
|
|
540
540
|
_id?: string | undefined;
|
|
541
541
|
}[];
|
|
542
542
|
}>;
|
|
543
543
|
camview: {
|
|
544
544
|
views: {
|
|
545
|
-
name: string;
|
|
546
545
|
type: "dnd" | "view";
|
|
547
|
-
|
|
546
|
+
name: string;
|
|
547
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
548
548
|
cameras: {
|
|
549
|
-
cameraId: string;
|
|
550
549
|
index: number;
|
|
550
|
+
cameraId: string;
|
|
551
551
|
}[];
|
|
552
552
|
_id?: string | undefined;
|
|
553
553
|
}[];
|
|
@@ -558,7 +558,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
558
558
|
_id: string;
|
|
559
559
|
username: string;
|
|
560
560
|
passwordConfirm: string;
|
|
561
|
-
role: "
|
|
561
|
+
role: "admin" | "user";
|
|
562
562
|
sessionTimer: number;
|
|
563
563
|
rememberMe: boolean;
|
|
564
564
|
oneLogin: boolean;
|
|
@@ -566,23 +566,23 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
566
566
|
preferences: {
|
|
567
567
|
cameras: Record<string, {
|
|
568
568
|
shortcuts: {
|
|
569
|
-
cameraId: string;
|
|
570
569
|
_id: string;
|
|
571
570
|
coords: {
|
|
572
571
|
_id: string;
|
|
573
572
|
points: [number, number];
|
|
574
573
|
};
|
|
574
|
+
cameraId: string;
|
|
575
575
|
}[];
|
|
576
576
|
}>;
|
|
577
577
|
camview: {
|
|
578
578
|
views: {
|
|
579
|
-
name: string;
|
|
580
579
|
type: "dnd" | "view";
|
|
581
580
|
_id: string;
|
|
582
|
-
|
|
581
|
+
name: string;
|
|
582
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
583
583
|
cameras: {
|
|
584
|
-
cameraId: string;
|
|
585
584
|
index: number;
|
|
585
|
+
cameraId: string;
|
|
586
586
|
}[];
|
|
587
587
|
}[];
|
|
588
588
|
};
|
|
@@ -591,7 +591,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
591
591
|
password: string;
|
|
592
592
|
username: string;
|
|
593
593
|
passwordConfirm: string;
|
|
594
|
-
role: "
|
|
594
|
+
role: "admin" | "user";
|
|
595
595
|
_id?: string | undefined;
|
|
596
596
|
sessionTimer?: number | undefined;
|
|
597
597
|
rememberMe?: boolean | undefined;
|
|
@@ -600,22 +600,22 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
600
600
|
preferences?: {
|
|
601
601
|
cameras: Record<string, {
|
|
602
602
|
shortcuts: {
|
|
603
|
-
cameraId: string;
|
|
604
603
|
coords: {
|
|
605
604
|
points: [number, number];
|
|
606
605
|
_id?: string | undefined;
|
|
607
606
|
};
|
|
607
|
+
cameraId: string;
|
|
608
608
|
_id?: string | undefined;
|
|
609
609
|
}[];
|
|
610
610
|
}>;
|
|
611
611
|
camview: {
|
|
612
612
|
views: {
|
|
613
|
-
name: string;
|
|
614
613
|
type: "dnd" | "view";
|
|
615
|
-
|
|
614
|
+
name: string;
|
|
615
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
616
616
|
cameras: {
|
|
617
|
-
cameraId: string;
|
|
618
617
|
index: number;
|
|
618
|
+
cameraId: string;
|
|
619
619
|
}[];
|
|
620
620
|
_id?: string | undefined;
|
|
621
621
|
}[];
|
|
@@ -626,7 +626,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
626
626
|
_id: string;
|
|
627
627
|
username: string;
|
|
628
628
|
passwordConfirm: string;
|
|
629
|
-
role: "
|
|
629
|
+
role: "admin" | "user";
|
|
630
630
|
sessionTimer: number;
|
|
631
631
|
rememberMe: boolean;
|
|
632
632
|
oneLogin: boolean;
|
|
@@ -634,23 +634,23 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
634
634
|
preferences: {
|
|
635
635
|
cameras: Record<string, {
|
|
636
636
|
shortcuts: {
|
|
637
|
-
cameraId: string;
|
|
638
637
|
_id: string;
|
|
639
638
|
coords: {
|
|
640
639
|
_id: string;
|
|
641
640
|
points: [number, number];
|
|
642
641
|
};
|
|
642
|
+
cameraId: string;
|
|
643
643
|
}[];
|
|
644
644
|
}>;
|
|
645
645
|
camview: {
|
|
646
646
|
views: {
|
|
647
|
-
name: string;
|
|
648
647
|
type: "dnd" | "view";
|
|
649
648
|
_id: string;
|
|
650
|
-
|
|
649
|
+
name: string;
|
|
650
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
651
651
|
cameras: {
|
|
652
|
-
cameraId: string;
|
|
653
652
|
index: number;
|
|
653
|
+
cameraId: string;
|
|
654
654
|
}[];
|
|
655
655
|
}[];
|
|
656
656
|
};
|
|
@@ -659,7 +659,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
659
659
|
password: string;
|
|
660
660
|
username: string;
|
|
661
661
|
passwordConfirm: string;
|
|
662
|
-
role: "
|
|
662
|
+
role: "admin" | "user";
|
|
663
663
|
_id?: string | undefined;
|
|
664
664
|
sessionTimer?: number | undefined;
|
|
665
665
|
rememberMe?: boolean | undefined;
|
|
@@ -668,22 +668,22 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
668
668
|
preferences?: {
|
|
669
669
|
cameras: Record<string, {
|
|
670
670
|
shortcuts: {
|
|
671
|
-
cameraId: string;
|
|
672
671
|
coords: {
|
|
673
672
|
points: [number, number];
|
|
674
673
|
_id?: string | undefined;
|
|
675
674
|
};
|
|
675
|
+
cameraId: string;
|
|
676
676
|
_id?: string | undefined;
|
|
677
677
|
}[];
|
|
678
678
|
}>;
|
|
679
679
|
camview: {
|
|
680
680
|
views: {
|
|
681
|
-
name: string;
|
|
682
681
|
type: "dnd" | "view";
|
|
683
|
-
|
|
682
|
+
name: string;
|
|
683
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
684
684
|
cameras: {
|
|
685
|
-
cameraId: string;
|
|
686
685
|
index: number;
|
|
686
|
+
cameraId: string;
|
|
687
687
|
}[];
|
|
688
688
|
_id?: string | undefined;
|
|
689
689
|
}[];
|
|
@@ -704,7 +704,7 @@ export declare const loginUserSchema: zod.ZodObject<{
|
|
|
704
704
|
rememberMe?: boolean | undefined;
|
|
705
705
|
}>;
|
|
706
706
|
export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
707
|
-
username: zod.
|
|
707
|
+
username: zod.ZodOptional<zod.ZodString>;
|
|
708
708
|
password: zod.ZodOptional<zod.ZodString>;
|
|
709
709
|
passwordConfirm: zod.ZodOptional<zod.ZodString>;
|
|
710
710
|
role: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"admin">, zod.ZodLiteral<"user">]>>;
|
|
@@ -723,51 +723,51 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
723
723
|
index: zod.ZodNumber;
|
|
724
724
|
cameraId: zod.ZodString;
|
|
725
725
|
}, "strip", zod.ZodTypeAny, {
|
|
726
|
-
cameraId: string;
|
|
727
726
|
index: number;
|
|
728
|
-
}, {
|
|
729
727
|
cameraId: string;
|
|
728
|
+
}, {
|
|
730
729
|
index: number;
|
|
730
|
+
cameraId: string;
|
|
731
731
|
}>, "many">;
|
|
732
732
|
type: zod.ZodUnion<[zod.ZodLiteral<"dnd">, zod.ZodLiteral<"view">]>;
|
|
733
733
|
}, "strip", zod.ZodTypeAny, {
|
|
734
|
-
name: string;
|
|
735
734
|
type: "dnd" | "view";
|
|
736
735
|
_id: string;
|
|
737
|
-
|
|
736
|
+
name: string;
|
|
737
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
738
738
|
cameras: {
|
|
739
|
-
cameraId: string;
|
|
740
739
|
index: number;
|
|
740
|
+
cameraId: string;
|
|
741
741
|
}[];
|
|
742
742
|
}, {
|
|
743
|
-
name: string;
|
|
744
743
|
type: "dnd" | "view";
|
|
745
|
-
|
|
744
|
+
name: string;
|
|
745
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
746
746
|
cameras: {
|
|
747
|
-
cameraId: string;
|
|
748
747
|
index: number;
|
|
748
|
+
cameraId: string;
|
|
749
749
|
}[];
|
|
750
750
|
_id?: string | undefined;
|
|
751
751
|
}>, "many">;
|
|
752
752
|
}, "strip", zod.ZodTypeAny, {
|
|
753
753
|
views: {
|
|
754
|
-
name: string;
|
|
755
754
|
type: "dnd" | "view";
|
|
756
755
|
_id: string;
|
|
757
|
-
|
|
756
|
+
name: string;
|
|
757
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
758
758
|
cameras: {
|
|
759
|
-
cameraId: string;
|
|
760
759
|
index: number;
|
|
760
|
+
cameraId: string;
|
|
761
761
|
}[];
|
|
762
762
|
}[];
|
|
763
763
|
}, {
|
|
764
764
|
views: {
|
|
765
|
-
name: string;
|
|
766
765
|
type: "dnd" | "view";
|
|
767
|
-
|
|
766
|
+
name: string;
|
|
767
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
768
768
|
cameras: {
|
|
769
|
-
cameraId: string;
|
|
770
769
|
index: number;
|
|
770
|
+
cameraId: string;
|
|
771
771
|
}[];
|
|
772
772
|
_id?: string | undefined;
|
|
773
773
|
}[];
|
|
@@ -787,81 +787,81 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
787
787
|
_id?: string | undefined;
|
|
788
788
|
}>;
|
|
789
789
|
}, "strip", zod.ZodTypeAny, {
|
|
790
|
-
cameraId: string;
|
|
791
790
|
_id: string;
|
|
792
791
|
coords: {
|
|
793
792
|
_id: string;
|
|
794
793
|
points: [number, number];
|
|
795
794
|
};
|
|
796
|
-
}, {
|
|
797
795
|
cameraId: string;
|
|
796
|
+
}, {
|
|
798
797
|
coords: {
|
|
799
798
|
points: [number, number];
|
|
800
799
|
_id?: string | undefined;
|
|
801
800
|
};
|
|
801
|
+
cameraId: string;
|
|
802
802
|
_id?: string | undefined;
|
|
803
803
|
}>, "many">;
|
|
804
804
|
}, "strip", zod.ZodTypeAny, {
|
|
805
805
|
shortcuts: {
|
|
806
|
-
cameraId: string;
|
|
807
806
|
_id: string;
|
|
808
807
|
coords: {
|
|
809
808
|
_id: string;
|
|
810
809
|
points: [number, number];
|
|
811
810
|
};
|
|
811
|
+
cameraId: string;
|
|
812
812
|
}[];
|
|
813
813
|
}, {
|
|
814
814
|
shortcuts: {
|
|
815
|
-
cameraId: string;
|
|
816
815
|
coords: {
|
|
817
816
|
points: [number, number];
|
|
818
817
|
_id?: string | undefined;
|
|
819
818
|
};
|
|
819
|
+
cameraId: string;
|
|
820
820
|
_id?: string | undefined;
|
|
821
821
|
}[];
|
|
822
822
|
}>>>;
|
|
823
823
|
}, "strip", zod.ZodTypeAny, {
|
|
824
824
|
cameras?: Record<string, {
|
|
825
825
|
shortcuts: {
|
|
826
|
-
cameraId: string;
|
|
827
826
|
_id: string;
|
|
828
827
|
coords: {
|
|
829
828
|
_id: string;
|
|
830
829
|
points: [number, number];
|
|
831
830
|
};
|
|
831
|
+
cameraId: string;
|
|
832
832
|
}[];
|
|
833
833
|
}> | undefined;
|
|
834
834
|
camview?: {
|
|
835
835
|
views: {
|
|
836
|
-
name: string;
|
|
837
836
|
type: "dnd" | "view";
|
|
838
837
|
_id: string;
|
|
839
|
-
|
|
838
|
+
name: string;
|
|
839
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
840
840
|
cameras: {
|
|
841
|
-
cameraId: string;
|
|
842
841
|
index: number;
|
|
842
|
+
cameraId: string;
|
|
843
843
|
}[];
|
|
844
844
|
}[];
|
|
845
845
|
} | undefined;
|
|
846
846
|
}, {
|
|
847
847
|
cameras?: Record<string, {
|
|
848
848
|
shortcuts: {
|
|
849
|
-
cameraId: string;
|
|
850
849
|
coords: {
|
|
851
850
|
points: [number, number];
|
|
852
851
|
_id?: string | undefined;
|
|
853
852
|
};
|
|
853
|
+
cameraId: string;
|
|
854
854
|
_id?: string | undefined;
|
|
855
855
|
}[];
|
|
856
856
|
}> | undefined;
|
|
857
857
|
camview?: {
|
|
858
858
|
views: {
|
|
859
|
-
name: string;
|
|
860
859
|
type: "dnd" | "view";
|
|
861
|
-
|
|
860
|
+
name: string;
|
|
861
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
862
862
|
cameras: {
|
|
863
|
-
cameraId: string;
|
|
864
863
|
index: number;
|
|
864
|
+
cameraId: string;
|
|
865
865
|
}[];
|
|
866
866
|
_id?: string | undefined;
|
|
867
867
|
}[];
|
|
@@ -872,7 +872,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
872
872
|
upload?: MultipartFile | File | undefined;
|
|
873
873
|
username?: string | undefined;
|
|
874
874
|
passwordConfirm?: string | undefined;
|
|
875
|
-
role?: "
|
|
875
|
+
role?: "admin" | "user" | undefined;
|
|
876
876
|
sessionTimer?: number | undefined;
|
|
877
877
|
rememberMe?: boolean | undefined;
|
|
878
878
|
oneLogin?: boolean | undefined;
|
|
@@ -880,23 +880,23 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
880
880
|
preferences?: {
|
|
881
881
|
cameras?: Record<string, {
|
|
882
882
|
shortcuts: {
|
|
883
|
-
cameraId: string;
|
|
884
883
|
_id: string;
|
|
885
884
|
coords: {
|
|
886
885
|
_id: string;
|
|
887
886
|
points: [number, number];
|
|
888
887
|
};
|
|
888
|
+
cameraId: string;
|
|
889
889
|
}[];
|
|
890
890
|
}> | undefined;
|
|
891
891
|
camview?: {
|
|
892
892
|
views: {
|
|
893
|
-
name: string;
|
|
894
893
|
type: "dnd" | "view";
|
|
895
894
|
_id: string;
|
|
896
|
-
|
|
895
|
+
name: string;
|
|
896
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
897
897
|
cameras: {
|
|
898
|
-
cameraId: string;
|
|
899
898
|
index: number;
|
|
899
|
+
cameraId: string;
|
|
900
900
|
}[];
|
|
901
901
|
}[];
|
|
902
902
|
} | undefined;
|
|
@@ -906,7 +906,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
906
906
|
upload?: MultipartFile | File | undefined;
|
|
907
907
|
username?: string | undefined;
|
|
908
908
|
passwordConfirm?: string | undefined;
|
|
909
|
-
role?: "
|
|
909
|
+
role?: "admin" | "user" | undefined;
|
|
910
910
|
sessionTimer?: number | undefined;
|
|
911
911
|
rememberMe?: boolean | undefined;
|
|
912
912
|
oneLogin?: boolean | undefined;
|
|
@@ -914,22 +914,22 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
914
914
|
preferences?: {
|
|
915
915
|
cameras?: Record<string, {
|
|
916
916
|
shortcuts: {
|
|
917
|
-
cameraId: string;
|
|
918
917
|
coords: {
|
|
919
918
|
points: [number, number];
|
|
920
919
|
_id?: string | undefined;
|
|
921
920
|
};
|
|
921
|
+
cameraId: string;
|
|
922
922
|
_id?: string | undefined;
|
|
923
923
|
}[];
|
|
924
924
|
}> | undefined;
|
|
925
925
|
camview?: {
|
|
926
926
|
views: {
|
|
927
|
-
name: string;
|
|
928
927
|
type: "dnd" | "view";
|
|
929
|
-
|
|
928
|
+
name: string;
|
|
929
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
930
930
|
cameras: {
|
|
931
|
-
cameraId: string;
|
|
932
931
|
index: number;
|
|
932
|
+
cameraId: string;
|
|
933
933
|
}[];
|
|
934
934
|
_id?: string | undefined;
|
|
935
935
|
}[];
|
|
@@ -940,7 +940,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
940
940
|
upload?: MultipartFile | File | undefined;
|
|
941
941
|
username?: string | undefined;
|
|
942
942
|
passwordConfirm?: string | undefined;
|
|
943
|
-
role?: "
|
|
943
|
+
role?: "admin" | "user" | undefined;
|
|
944
944
|
sessionTimer?: number | undefined;
|
|
945
945
|
rememberMe?: boolean | undefined;
|
|
946
946
|
oneLogin?: boolean | undefined;
|
|
@@ -948,23 +948,23 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
948
948
|
preferences?: {
|
|
949
949
|
cameras?: Record<string, {
|
|
950
950
|
shortcuts: {
|
|
951
|
-
cameraId: string;
|
|
952
951
|
_id: string;
|
|
953
952
|
coords: {
|
|
954
953
|
_id: string;
|
|
955
954
|
points: [number, number];
|
|
956
955
|
};
|
|
956
|
+
cameraId: string;
|
|
957
957
|
}[];
|
|
958
958
|
}> | undefined;
|
|
959
959
|
camview?: {
|
|
960
960
|
views: {
|
|
961
|
-
name: string;
|
|
962
961
|
type: "dnd" | "view";
|
|
963
962
|
_id: string;
|
|
964
|
-
|
|
963
|
+
name: string;
|
|
964
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
965
965
|
cameras: {
|
|
966
|
-
cameraId: string;
|
|
967
966
|
index: number;
|
|
967
|
+
cameraId: string;
|
|
968
968
|
}[];
|
|
969
969
|
}[];
|
|
970
970
|
} | undefined;
|
|
@@ -974,7 +974,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
974
974
|
upload?: MultipartFile | File | undefined;
|
|
975
975
|
username?: string | undefined;
|
|
976
976
|
passwordConfirm?: string | undefined;
|
|
977
|
-
role?: "
|
|
977
|
+
role?: "admin" | "user" | undefined;
|
|
978
978
|
sessionTimer?: number | undefined;
|
|
979
979
|
rememberMe?: boolean | undefined;
|
|
980
980
|
oneLogin?: boolean | undefined;
|
|
@@ -982,22 +982,22 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
982
982
|
preferences?: {
|
|
983
983
|
cameras?: Record<string, {
|
|
984
984
|
shortcuts: {
|
|
985
|
-
cameraId: string;
|
|
986
985
|
coords: {
|
|
987
986
|
points: [number, number];
|
|
988
987
|
_id?: string | undefined;
|
|
989
988
|
};
|
|
989
|
+
cameraId: string;
|
|
990
990
|
_id?: string | undefined;
|
|
991
991
|
}[];
|
|
992
992
|
}> | undefined;
|
|
993
993
|
camview?: {
|
|
994
994
|
views: {
|
|
995
|
-
name: string;
|
|
996
995
|
type: "dnd" | "view";
|
|
997
|
-
|
|
996
|
+
name: string;
|
|
997
|
+
viewSize: 1 | 4 | 16 | 10 | 12 | 7 | 6 | 9 | 13 | 15 | 20 | 26;
|
|
998
998
|
cameras: {
|
|
999
|
-
cameraId: string;
|
|
1000
999
|
index: number;
|
|
1000
|
+
cameraId: string;
|
|
1001
1001
|
}[];
|
|
1002
1002
|
_id?: string | undefined;
|
|
1003
1003
|
}[];
|