@camera.ui/browser 0.0.98 → 0.0.100
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/proxy/coreManager.d.ts +1 -1
- package/dist/types/packages/client/browser/src/streaming/go2rts-session.d.ts +5 -1
- package/dist/types/packages/client/browser/src/types.d.ts +1 -1
- package/dist/types/packages/plugineer/src/polyglot/node/camera/index.d.ts +2 -2
- package/dist/types/packages/plugineer/src/polyglot/node/camera/iou.d.ts +1 -1
- package/dist/types/packages/plugineer/src/polyglot/node/camera/polygon.d.ts +1 -1
- package/dist/types/packages/plugineer/src/polyglot/node/plugins/types.d.ts +1 -1
- package/dist/types/packages/types/src/index.d.ts +6 -4
- package/dist/types/server/src/api/database/index.d.ts +1 -1
- package/dist/types/server/src/api/database/types.d.ts +2 -1
- package/dist/types/server/src/api/go2rtc/api/streams.d.ts +1 -1
- package/dist/types/server/src/api/go2rtc/types.d.ts +2 -18
- package/dist/types/server/src/api/schemas/cameras.schema.d.ts +29 -15
- package/dist/types/server/src/api/schemas/users.schema.d.ts +34 -34
- package/dist/types/server/src/api/types/index.d.ts +7 -0
- package/dist/types/server/src/api/websocket/nsp/server.d.ts +8 -3
- package/dist/types/server/src/camera/controller.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/coreManager.d.ts +1 -1
- package/dist/types/server/src/plugins/index.d.ts +1 -0
- package/dist/types/server/src/plugins/worker.d.ts +1 -0
- package/dist/types/shared/types/index.d.ts +1 -0
- package/package.json +6 -6
|
@@ -2,7 +2,7 @@ import type { Observable, Subject } from 'rxjs';
|
|
|
2
2
|
import type { BaseCameraDevice } from '../../../../packages/plugineer/src/polyglot/node/camera/index.js';
|
|
3
3
|
import type { VideoStreamingMode } from '../../../../shared/types/index.js';
|
|
4
4
|
import type { Go2RTCSession } from './streaming/go2rts-session.js';
|
|
5
|
-
export type { AudioSetEvent, AudioState, BatterySetEvent, BatteryState, CameraActivitySettings, CameraSource, CameraZone, Container, Detection, DetectionZone, DoorbellState, LightSetEvent, LightState, MotionSetEvent, MotionState, ObjectSetEvent, ObjectState, Point, PrebufferState, SirenSetEvent, SirenState, ZoneFilter, ZoneType, } from '../../../../shared/types/index.js';
|
|
5
|
+
export type { AudioSetEvent, AudioState, BatterySetEvent, BatteryState, CameraActivitySettings, CameraRoles, CameraSource, CameraZone, Container, Detection, DetectionZone, DoorbellState, LightSetEvent, LightState, MotionSetEvent, MotionState, ObjectSetEvent, ObjectState, Point, PrebufferState, SirenSetEvent, SirenState, VideoStreamingMode, ZoneFilter, ZoneType, } from '../../../../shared/types/index.js';
|
|
6
6
|
export type { Go2RTCSession } from './streaming/go2rts-session.js';
|
|
7
7
|
export type CameraUiClientConfig = WithCredentials | WithToken;
|
|
8
8
|
export interface BasicBrowserPeerConnection {
|
|
@@ -73,8 +73,8 @@ export declare abstract class BaseCameraDevice extends Subscribed {
|
|
|
73
73
|
protected removeAllListeners(): void;
|
|
74
74
|
protected updateCamera(updatedCamera: Camera): void;
|
|
75
75
|
protected updateCameraState(state: boolean): void;
|
|
76
|
-
protected updateStateInternal<T extends keyof SetValues>(stateName: T, eventData: SetValues[T], skipCheck?: boolean): void;
|
|
77
|
-
protected checkStateInternal<T extends keyof SetValues>(stateName: T, event: SetValues[T]): {
|
|
76
|
+
protected updateStateInternal<T extends keyof SetValues>(stateName: T, eventData: SetValues[T], skipCheck?: boolean, skipDetectionsCheck?: boolean): void;
|
|
77
|
+
protected checkStateInternal<T extends keyof SetValues>(stateName: T, event: SetValues[T], skipDetectionsCheck?: boolean): {
|
|
78
78
|
changed: boolean;
|
|
79
79
|
event: StateValues[T];
|
|
80
80
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Detection } from '@camera.ui/types';
|
|
2
|
-
export declare
|
|
2
|
+
export declare function mergeDetections(detections: Detection[], iouThreshold?: number): Detection[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { CameraActivitySettings, Detection, DetectionZone } from '@camera.ui/types';
|
|
2
2
|
export declare const convertZonePointsToPixels: (zone: DetectionZone, detection: Detection) => DetectionZone;
|
|
3
3
|
export declare const convertBoundingBoxToPixels: (detection: Detection) => Detection;
|
|
4
|
-
export declare const areObjectDetectionsValid: (detections: Detection[], zones: DetectionZone[], activitySettings: CameraActivitySettings) => Detection[];
|
|
5
4
|
export declare const areMotionDetectionsValid: (detections: Detection[], zones: DetectionZone[], activitySettings: CameraActivitySettings) => Detection[];
|
|
5
|
+
export declare const areObjectDetectionsValid: (detections: Detection[], zones: DetectionZone[], activitySettings: CameraActivitySettings) => Detection[];
|
|
@@ -121,7 +121,7 @@ export interface CameraDeviceProxyMethods {
|
|
|
121
121
|
addCameraSource(source: CameraConfigInputSettings): Promise<void>;
|
|
122
122
|
updateCameraSource(sourceId: string, source: Partial<CameraConfigInputSettings>): Promise<void>;
|
|
123
123
|
removeCameraSource(sourceId: string): Promise<void>;
|
|
124
|
-
probeStream(sourceId: string): Promise<ProbeStream | undefined>;
|
|
124
|
+
probeStream(sourceId: string, refresh: boolean): Promise<ProbeStream | undefined>;
|
|
125
125
|
}
|
|
126
126
|
export interface CameraDeviceListenerStatePayload<K extends keyof StateValues> {
|
|
127
127
|
stateName: K;
|
|
@@ -19,7 +19,7 @@ export type ImageInputFormat = 'yuv' | 'rgb' | 'rgba' | 'gray';
|
|
|
19
19
|
export type ImageOutputFormat = 'rgb' | 'rgba' | 'gray';
|
|
20
20
|
export type CameraExtension = 'hub' | 'prebuffer' | 'motionDetection' | 'objectDetection' | 'audioDetection' | 'ptz';
|
|
21
21
|
export type CameraFrameWorkerDecoder = 'pillow' | 'wasm';
|
|
22
|
-
export type CameraFrameWorkerResolution = 640 | 480 | 320;
|
|
22
|
+
export type CameraFrameWorkerResolution = '640' | '480' | '320' | 'native';
|
|
23
23
|
export type AudioCodec = 'PCMU' | 'PCMA' | 'MPEG4-GENERIC' | 'opus' | 'G722' | 'MPA' | 'PCM' | 'FLAC';
|
|
24
24
|
export type AudioFFmpegCodec = 'pcm_mulaw' | 'pcm_alaw' | 'aac' | 'libopus' | 'g722' | 'mp3' | 'pcm_s16be' | 'pcm_s16le' | 'flac';
|
|
25
25
|
export type VideoCodec = 'H264' | 'H265' | 'VP8' | 'VP9' | 'AV1' | 'JPEG' | 'RAW';
|
|
@@ -306,7 +306,7 @@ export interface CameraDelegates {
|
|
|
306
306
|
}
|
|
307
307
|
export interface CameraSource extends CameraInput {
|
|
308
308
|
getPrebufferingState(container: Container): Promise<PrebufferState | undefined>;
|
|
309
|
-
probeStream(): Promise<ProbeStream | undefined>;
|
|
309
|
+
probeStream(refresh?: boolean): Promise<ProbeStream | undefined>;
|
|
310
310
|
}
|
|
311
311
|
export interface CameraInternalSource extends CameraSource {
|
|
312
312
|
type: 'aac' | 'opus' | 'pcma';
|
|
@@ -470,14 +470,16 @@ export interface DeviceManager {
|
|
|
470
470
|
}
|
|
471
471
|
export interface CoreManager {
|
|
472
472
|
getFFmpegPath(): Promise<string>;
|
|
473
|
-
getHwaccelInfo(): Promise<FfmpegArgs>;
|
|
473
|
+
getHwaccelInfo(targetCodec: 'h264' | 'h265'): Promise<FfmpegArgs>;
|
|
474
474
|
getServerAddresses(): Promise<string[]>;
|
|
475
475
|
getIceServers(): Promise<IceServer[]>;
|
|
476
476
|
}
|
|
477
477
|
export interface FfmpegArgs {
|
|
478
|
+
codec: string;
|
|
478
479
|
hwaccel: string;
|
|
479
480
|
hwaccelArgs: string[];
|
|
480
|
-
|
|
481
|
+
hwaccelFilters: string[];
|
|
482
|
+
hwDeviceArgs: string[];
|
|
481
483
|
threads: string;
|
|
482
484
|
}
|
|
483
485
|
export interface IceServer {
|
|
@@ -2,7 +2,7 @@ import type { FastifyInstance } from 'fastify';
|
|
|
2
2
|
import type { Database as DB, RootDatabase as RootDB } from 'lmdb';
|
|
3
3
|
import type { DBAuth, DBCamera, DBPlugin, DBSettings, DBSystem, DBUser } from './types.js';
|
|
4
4
|
export declare class Database {
|
|
5
|
-
static readonly VERSION = "1.0.
|
|
5
|
+
static readonly VERSION = "1.0.2";
|
|
6
6
|
authDB: RootDB<DBAuth, 'auth'>;
|
|
7
7
|
camerasDB: DB<DBCamera[], 'cameras'>;
|
|
8
8
|
pluginsDB: DB<DBPlugin[], 'plugins'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UsableNetworkAddress } from '@camera.ui/common/network';
|
|
2
|
-
import type { BaseCamera, CameraInputSettings, ZoneCoord } from '@camera.ui/types';
|
|
2
|
+
import type { BaseCamera, CameraInputSettings, CameraRoles, ZoneCoord } from '@camera.ui/types';
|
|
3
3
|
import type { Database as DB } from 'lmdb';
|
|
4
4
|
import type { CamviewSettingsLayoutMode, ClientData, JwtTokenEncoded } from '../types/index.js';
|
|
5
5
|
import type { CAMERAS_ID, PLUGINS_ID, SETTINGS_ID, USERS_ID } from './constants.js';
|
|
@@ -93,6 +93,7 @@ export interface CameraRecordingSettings {
|
|
|
93
93
|
}
|
|
94
94
|
export interface CameraUiSettings {
|
|
95
95
|
streamingMode: VideoStreamingMode;
|
|
96
|
+
streamingSource: Exclude<CameraRoles, 'snapshot'>;
|
|
96
97
|
}
|
|
97
98
|
export type VideoStreamingMode = 'webrtc' | 'mse' | 'webrtc/tcp' | 'mjpeg' | 'hls' | 'mp4';
|
|
98
99
|
export interface SystemInfo extends DBSystem {
|
|
@@ -5,7 +5,7 @@ export declare class StreamsApi {
|
|
|
5
5
|
constructor(requestQueue: RequestQueue);
|
|
6
6
|
createStream(data: CreateStreamData): Promise<void>;
|
|
7
7
|
deleteStream(data: SourceData): Promise<void>;
|
|
8
|
-
getStreamInfo(data: SourceData): Promise<
|
|
8
|
+
getStreamInfo(data: SourceData): Promise<Go2RTCProbe>;
|
|
9
9
|
updateStreamSource(data: UpdateStreamData): Promise<void>;
|
|
10
10
|
probeStreamSource(data: SourceData): Promise<Go2RTCProbe>;
|
|
11
11
|
}
|
|
@@ -1,30 +1,14 @@
|
|
|
1
1
|
export interface ApplicationResponse {
|
|
2
2
|
config_path: string;
|
|
3
3
|
host: string;
|
|
4
|
-
rtsp:
|
|
4
|
+
rtsp: RTSPInfo;
|
|
5
5
|
version: string;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface RTSPInfo {
|
|
8
8
|
listen: string;
|
|
9
9
|
default_query: string;
|
|
10
10
|
PacketSize: number;
|
|
11
11
|
}
|
|
12
|
-
export interface StreamInfoResponse {
|
|
13
|
-
producers: Consumer[];
|
|
14
|
-
consumers: Consumer[];
|
|
15
|
-
}
|
|
16
|
-
export interface Consumer {
|
|
17
|
-
type: string;
|
|
18
|
-
url: string;
|
|
19
|
-
remote_addr: string;
|
|
20
|
-
user_agent: string;
|
|
21
|
-
sdp: string;
|
|
22
|
-
medias: string[];
|
|
23
|
-
senders?: string[];
|
|
24
|
-
send?: number;
|
|
25
|
-
receivers?: string[];
|
|
26
|
-
recv?: number;
|
|
27
|
-
}
|
|
28
12
|
export interface HomeKitResponse {
|
|
29
13
|
sources: HomeKitSource[];
|
|
30
14
|
}
|
|
@@ -151,6 +151,7 @@ export declare const activitySettingsSchema: zod.ZodObject<{
|
|
|
151
151
|
};
|
|
152
152
|
}>;
|
|
153
153
|
export declare const inputRoleSchema: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">, zod.ZodLiteral<"snapshot">]>;
|
|
154
|
+
export declare const streamingSourceRole: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
|
|
154
155
|
export declare const inputProtocolSchema: zod.ZodUnion<[zod.ZodLiteral<"bubble://">, zod.ZodLiteral<"dvrip://">, zod.ZodLiteral<"echo:">, zod.ZodLiteral<"exec:">, zod.ZodLiteral<"expr:">, zod.ZodLiteral<"ffmpeg:">, zod.ZodLiteral<"gopro://">, zod.ZodLiteral<"hass:">, zod.ZodLiteral<"homekit://">, zod.ZodLiteral<"http://">, zod.ZodLiteral<"https://">, zod.ZodLiteral<"httpx://">, zod.ZodLiteral<"isapi://">, zod.ZodLiteral<"ivideon:">, zod.ZodLiteral<"kasa://">, zod.ZodLiteral<"nest:">, zod.ZodLiteral<"onvif://">, zod.ZodLiteral<"roborock://">, zod.ZodLiteral<"rtmp://">, zod.ZodLiteral<"rtsp://">, zod.ZodLiteral<"rtspx://">, zod.ZodLiteral<"tapo://">, zod.ZodLiteral<"tcp://">, zod.ZodLiteral<"webrtc:">, zod.ZodLiteral<"webtorrent:">]>;
|
|
155
156
|
export declare const inputSchema: zod.ZodObject<{
|
|
156
157
|
_id: zod.ZodEffects<zod.ZodDefault<zod.ZodString>, string, string | undefined>;
|
|
@@ -219,23 +220,26 @@ export declare const streamingModeSchema: zod.ZodUnion<[zod.ZodLiteral<"mse">, z
|
|
|
219
220
|
export declare const frameWorkerSettingsSchema: zod.ZodObject<{
|
|
220
221
|
decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>;
|
|
221
222
|
fps: zod.ZodNumber;
|
|
222
|
-
resolution: zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>;
|
|
223
|
+
resolution: zod.ZodUnion<[zod.ZodLiteral<"640">, zod.ZodLiteral<"480">, zod.ZodLiteral<"320">, zod.ZodLiteral<"native">]>;
|
|
223
224
|
}, "strip", zod.ZodTypeAny, {
|
|
224
225
|
decoder: "pillow" | "wasm";
|
|
225
226
|
fps: number;
|
|
226
|
-
resolution: 640 | 480 | 320;
|
|
227
|
+
resolution: "native" | "640" | "480" | "320";
|
|
227
228
|
}, {
|
|
228
229
|
decoder: "pillow" | "wasm";
|
|
229
230
|
fps: number;
|
|
230
|
-
resolution: 640 | 480 | 320;
|
|
231
|
+
resolution: "native" | "640" | "480" | "320";
|
|
231
232
|
}>;
|
|
232
233
|
export declare const cameraTypeSchema: zod.ZodUnion<[zod.ZodLiteral<"camera">, zod.ZodLiteral<"doorbell">]>;
|
|
233
234
|
export declare const interfaceSettingsSchema: zod.ZodObject<{
|
|
234
235
|
streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
|
|
236
|
+
streamingSource: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
|
|
235
237
|
}, "strip", zod.ZodTypeAny, {
|
|
236
238
|
streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
|
|
239
|
+
streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
|
|
237
240
|
}, {
|
|
238
241
|
streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
|
|
242
|
+
streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
|
|
239
243
|
}>;
|
|
240
244
|
export declare const cameraInfoSchema: zod.ZodObject<{
|
|
241
245
|
model: zod.ZodOptional<zod.ZodString>;
|
|
@@ -359,10 +363,13 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
359
363
|
}>>;
|
|
360
364
|
interface: zod.ZodDefault<zod.ZodObject<{
|
|
361
365
|
streamingMode: zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>;
|
|
366
|
+
streamingSource: zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>;
|
|
362
367
|
}, "strip", zod.ZodTypeAny, {
|
|
363
368
|
streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
|
|
369
|
+
streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
|
|
364
370
|
}, {
|
|
365
371
|
streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
|
|
372
|
+
streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
|
|
366
373
|
}>>;
|
|
367
374
|
activityZones: zod.ZodDefault<zod.ZodArray<zod.ZodObject<{
|
|
368
375
|
name: zod.ZodString;
|
|
@@ -463,15 +470,15 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
463
470
|
frameWorkerSettings: zod.ZodDefault<zod.ZodObject<{
|
|
464
471
|
decoder: zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>;
|
|
465
472
|
fps: zod.ZodNumber;
|
|
466
|
-
resolution: zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>;
|
|
473
|
+
resolution: zod.ZodUnion<[zod.ZodLiteral<"640">, zod.ZodLiteral<"480">, zod.ZodLiteral<"320">, zod.ZodLiteral<"native">]>;
|
|
467
474
|
}, "strip", zod.ZodTypeAny, {
|
|
468
475
|
decoder: "pillow" | "wasm";
|
|
469
476
|
fps: number;
|
|
470
|
-
resolution: 640 | 480 | 320;
|
|
477
|
+
resolution: "native" | "640" | "480" | "320";
|
|
471
478
|
}, {
|
|
472
479
|
decoder: "pillow" | "wasm";
|
|
473
480
|
fps: number;
|
|
474
|
-
resolution: 640 | 480 | 320;
|
|
481
|
+
resolution: "native" | "640" | "480" | "320";
|
|
475
482
|
}>>;
|
|
476
483
|
}, "strict", zod.ZodTypeAny, {
|
|
477
484
|
pluginId: string;
|
|
@@ -518,7 +525,7 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
518
525
|
frameWorkerSettings: {
|
|
519
526
|
decoder: "pillow" | "wasm";
|
|
520
527
|
fps: number;
|
|
521
|
-
resolution: 640 | 480 | 320;
|
|
528
|
+
resolution: "native" | "640" | "480" | "320";
|
|
522
529
|
};
|
|
523
530
|
sources: {
|
|
524
531
|
_id: string;
|
|
@@ -541,6 +548,7 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
541
548
|
};
|
|
542
549
|
interface: {
|
|
543
550
|
streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
|
|
551
|
+
streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
|
|
544
552
|
};
|
|
545
553
|
nativeId?: string | undefined;
|
|
546
554
|
}, {
|
|
@@ -596,7 +604,7 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
596
604
|
frameWorkerSettings?: {
|
|
597
605
|
decoder: "pillow" | "wasm";
|
|
598
606
|
fps: number;
|
|
599
|
-
resolution: 640 | 480 | 320;
|
|
607
|
+
resolution: "native" | "640" | "480" | "320";
|
|
600
608
|
} | undefined;
|
|
601
609
|
extensions?: {
|
|
602
610
|
plugins: string[];
|
|
@@ -612,13 +620,14 @@ export declare const createCameraSchema: zod.ZodObject<{
|
|
|
612
620
|
} | undefined;
|
|
613
621
|
interface?: {
|
|
614
622
|
streamingMode: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls";
|
|
623
|
+
streamingSource: "high-resolution" | "mid-resolution" | "low-resolution";
|
|
615
624
|
} | undefined;
|
|
616
625
|
}>;
|
|
617
626
|
export declare const patchCameraSchema: zod.ZodObject<{
|
|
618
627
|
disabled: zod.ZodOptional<zod.ZodBoolean>;
|
|
619
628
|
type: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"camera">, zod.ZodLiteral<"doorbell">]>>;
|
|
620
629
|
name: zod.ZodOptional<zod.ZodString>;
|
|
621
|
-
snapshotTTL: zod.
|
|
630
|
+
snapshotTTL: zod.ZodOptional<zod.ZodNumber>;
|
|
622
631
|
info: zod.ZodOptional<zod.ZodObject<{
|
|
623
632
|
model: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
624
633
|
manufacturer: zod.ZodOptional<zod.ZodOptional<zod.ZodString>>;
|
|
@@ -699,10 +708,13 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
699
708
|
}>>;
|
|
700
709
|
interface: zod.ZodOptional<zod.ZodObject<{
|
|
701
710
|
streamingMode: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"mse">, zod.ZodLiteral<"webrtc">, zod.ZodLiteral<"webrtc/tcp">, zod.ZodLiteral<"mjpeg">, zod.ZodLiteral<"hls">, zod.ZodLiteral<"mp4">]>>;
|
|
711
|
+
streamingSource: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"high-resolution">, zod.ZodLiteral<"mid-resolution">, zod.ZodLiteral<"low-resolution">]>>;
|
|
702
712
|
}, "strip", zod.ZodTypeAny, {
|
|
703
713
|
streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
|
|
714
|
+
streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
|
|
704
715
|
}, {
|
|
705
716
|
streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
|
|
717
|
+
streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
|
|
706
718
|
}>>;
|
|
707
719
|
recording: zod.ZodOptional<zod.ZodObject<{
|
|
708
720
|
enabled: zod.ZodOptional<zod.ZodDefault<zod.ZodBoolean>>;
|
|
@@ -810,18 +822,17 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
810
822
|
frameWorkerSettings: zod.ZodOptional<zod.ZodObject<{
|
|
811
823
|
decoder: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"pillow">, zod.ZodLiteral<"wasm">]>>;
|
|
812
824
|
fps: zod.ZodOptional<zod.ZodNumber>;
|
|
813
|
-
resolution: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<640>, zod.ZodLiteral<480>, zod.ZodLiteral<320>]>>;
|
|
825
|
+
resolution: zod.ZodOptional<zod.ZodUnion<[zod.ZodLiteral<"640">, zod.ZodLiteral<"480">, zod.ZodLiteral<"320">, zod.ZodLiteral<"native">]>>;
|
|
814
826
|
}, "strip", zod.ZodTypeAny, {
|
|
815
827
|
decoder?: "pillow" | "wasm" | undefined;
|
|
816
828
|
fps?: number | undefined;
|
|
817
|
-
resolution?: 640 | 480 | 320 | undefined;
|
|
829
|
+
resolution?: "native" | "640" | "480" | "320" | undefined;
|
|
818
830
|
}, {
|
|
819
831
|
decoder?: "pillow" | "wasm" | undefined;
|
|
820
832
|
fps?: number | undefined;
|
|
821
|
-
resolution?: 640 | 480 | 320 | undefined;
|
|
833
|
+
resolution?: "native" | "640" | "480" | "320" | undefined;
|
|
822
834
|
}>>;
|
|
823
835
|
}, "strict", zod.ZodTypeAny, {
|
|
824
|
-
snapshotTTL: number;
|
|
825
836
|
type?: "camera" | "doorbell" | undefined;
|
|
826
837
|
disabled?: boolean | undefined;
|
|
827
838
|
name?: string | undefined;
|
|
@@ -847,6 +858,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
847
858
|
firmwareVersion?: string | undefined;
|
|
848
859
|
supportUrl?: string | undefined;
|
|
849
860
|
} | undefined;
|
|
861
|
+
snapshotTTL?: number | undefined;
|
|
850
862
|
activitySettings?: {
|
|
851
863
|
object?: {
|
|
852
864
|
confidence: number;
|
|
@@ -858,7 +870,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
858
870
|
frameWorkerSettings?: {
|
|
859
871
|
decoder?: "pillow" | "wasm" | undefined;
|
|
860
872
|
fps?: number | undefined;
|
|
861
|
-
resolution?: 640 | 480 | 320 | undefined;
|
|
873
|
+
resolution?: "native" | "640" | "480" | "320" | undefined;
|
|
862
874
|
} | undefined;
|
|
863
875
|
sources?: {
|
|
864
876
|
_id: string;
|
|
@@ -881,6 +893,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
881
893
|
} | undefined;
|
|
882
894
|
interface?: {
|
|
883
895
|
streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
|
|
896
|
+
streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
|
|
884
897
|
} | undefined;
|
|
885
898
|
}, {
|
|
886
899
|
type?: "camera" | "doorbell" | undefined;
|
|
@@ -920,7 +933,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
920
933
|
frameWorkerSettings?: {
|
|
921
934
|
decoder?: "pillow" | "wasm" | undefined;
|
|
922
935
|
fps?: number | undefined;
|
|
923
|
-
resolution?: 640 | 480 | 320 | undefined;
|
|
936
|
+
resolution?: "native" | "640" | "480" | "320" | undefined;
|
|
924
937
|
} | undefined;
|
|
925
938
|
sources?: {
|
|
926
939
|
name: string;
|
|
@@ -943,6 +956,7 @@ export declare const patchCameraSchema: zod.ZodObject<{
|
|
|
943
956
|
} | undefined;
|
|
944
957
|
interface?: {
|
|
945
958
|
streamingMode?: "mp4" | "mjpeg" | "mse" | "webrtc" | "webrtc/tcp" | "hls" | undefined;
|
|
959
|
+
streamingSource?: "high-resolution" | "mid-resolution" | "low-resolution" | undefined;
|
|
946
960
|
} | undefined;
|
|
947
961
|
}>;
|
|
948
962
|
export declare const patchExtensionsSchema: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
@@ -33,7 +33,7 @@ export declare const userPreferencesCamviewViewsLayout: zod.ZodObject<{
|
|
|
33
33
|
type: "dnd" | "view";
|
|
34
34
|
_id: string;
|
|
35
35
|
name: string;
|
|
36
|
-
viewSize: 1 | 4 |
|
|
36
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
37
37
|
cameras: {
|
|
38
38
|
cameraId: string;
|
|
39
39
|
index: number;
|
|
@@ -41,7 +41,7 @@ export declare const userPreferencesCamviewViewsLayout: zod.ZodObject<{
|
|
|
41
41
|
}, {
|
|
42
42
|
type: "dnd" | "view";
|
|
43
43
|
name: string;
|
|
44
|
-
viewSize: 1 | 4 |
|
|
44
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
45
45
|
cameras: {
|
|
46
46
|
cameraId: string;
|
|
47
47
|
index: number;
|
|
@@ -63,14 +63,14 @@ export declare const patchPreferencesCamviewViewsLayout: zod.ZodOptional<zod.Zod
|
|
|
63
63
|
}>, "many">>;
|
|
64
64
|
}, "strip", zod.ZodTypeAny, {
|
|
65
65
|
name?: string | undefined;
|
|
66
|
-
viewSize?: 1 | 4 |
|
|
66
|
+
viewSize?: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26 | undefined;
|
|
67
67
|
cameras?: {
|
|
68
68
|
cameraId: string;
|
|
69
69
|
index: number;
|
|
70
70
|
}[] | undefined;
|
|
71
71
|
}, {
|
|
72
72
|
name?: string | undefined;
|
|
73
|
-
viewSize?: 1 | 4 |
|
|
73
|
+
viewSize?: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26 | undefined;
|
|
74
74
|
cameras?: {
|
|
75
75
|
cameraId: string;
|
|
76
76
|
index: number;
|
|
@@ -96,7 +96,7 @@ export declare const userPreferencesCamview: zod.ZodObject<{
|
|
|
96
96
|
type: "dnd" | "view";
|
|
97
97
|
_id: string;
|
|
98
98
|
name: string;
|
|
99
|
-
viewSize: 1 | 4 |
|
|
99
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
100
100
|
cameras: {
|
|
101
101
|
cameraId: string;
|
|
102
102
|
index: number;
|
|
@@ -104,7 +104,7 @@ export declare const userPreferencesCamview: zod.ZodObject<{
|
|
|
104
104
|
}, {
|
|
105
105
|
type: "dnd" | "view";
|
|
106
106
|
name: string;
|
|
107
|
-
viewSize: 1 | 4 |
|
|
107
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
108
108
|
cameras: {
|
|
109
109
|
cameraId: string;
|
|
110
110
|
index: number;
|
|
@@ -116,7 +116,7 @@ export declare const userPreferencesCamview: zod.ZodObject<{
|
|
|
116
116
|
type: "dnd" | "view";
|
|
117
117
|
_id: string;
|
|
118
118
|
name: string;
|
|
119
|
-
viewSize: 1 | 4 |
|
|
119
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
120
120
|
cameras: {
|
|
121
121
|
cameraId: string;
|
|
122
122
|
index: number;
|
|
@@ -126,7 +126,7 @@ export declare const userPreferencesCamview: zod.ZodObject<{
|
|
|
126
126
|
views: {
|
|
127
127
|
type: "dnd" | "view";
|
|
128
128
|
name: string;
|
|
129
|
-
viewSize: 1 | 4 |
|
|
129
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
130
130
|
cameras: {
|
|
131
131
|
cameraId: string;
|
|
132
132
|
index: number;
|
|
@@ -256,7 +256,7 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
256
256
|
type: "dnd" | "view";
|
|
257
257
|
_id: string;
|
|
258
258
|
name: string;
|
|
259
|
-
viewSize: 1 | 4 |
|
|
259
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
260
260
|
cameras: {
|
|
261
261
|
cameraId: string;
|
|
262
262
|
index: number;
|
|
@@ -264,7 +264,7 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
264
264
|
}, {
|
|
265
265
|
type: "dnd" | "view";
|
|
266
266
|
name: string;
|
|
267
|
-
viewSize: 1 | 4 |
|
|
267
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
268
268
|
cameras: {
|
|
269
269
|
cameraId: string;
|
|
270
270
|
index: number;
|
|
@@ -276,7 +276,7 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
276
276
|
type: "dnd" | "view";
|
|
277
277
|
_id: string;
|
|
278
278
|
name: string;
|
|
279
|
-
viewSize: 1 | 4 |
|
|
279
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
280
280
|
cameras: {
|
|
281
281
|
cameraId: string;
|
|
282
282
|
index: number;
|
|
@@ -286,7 +286,7 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
286
286
|
views: {
|
|
287
287
|
type: "dnd" | "view";
|
|
288
288
|
name: string;
|
|
289
|
-
viewSize: 1 | 4 |
|
|
289
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
290
290
|
cameras: {
|
|
291
291
|
cameraId: string;
|
|
292
292
|
index: number;
|
|
@@ -358,7 +358,7 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
358
358
|
type: "dnd" | "view";
|
|
359
359
|
_id: string;
|
|
360
360
|
name: string;
|
|
361
|
-
viewSize: 1 | 4 |
|
|
361
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
362
362
|
cameras: {
|
|
363
363
|
cameraId: string;
|
|
364
364
|
index: number;
|
|
@@ -380,7 +380,7 @@ export declare const userPreferences: zod.ZodObject<{
|
|
|
380
380
|
views: {
|
|
381
381
|
type: "dnd" | "view";
|
|
382
382
|
name: string;
|
|
383
|
-
viewSize: 1 | 4 |
|
|
383
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
384
384
|
cameras: {
|
|
385
385
|
cameraId: string;
|
|
386
386
|
index: number;
|
|
@@ -420,7 +420,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
420
420
|
type: "dnd" | "view";
|
|
421
421
|
_id: string;
|
|
422
422
|
name: string;
|
|
423
|
-
viewSize: 1 | 4 |
|
|
423
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
424
424
|
cameras: {
|
|
425
425
|
cameraId: string;
|
|
426
426
|
index: number;
|
|
@@ -428,7 +428,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
428
428
|
}, {
|
|
429
429
|
type: "dnd" | "view";
|
|
430
430
|
name: string;
|
|
431
|
-
viewSize: 1 | 4 |
|
|
431
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
432
432
|
cameras: {
|
|
433
433
|
cameraId: string;
|
|
434
434
|
index: number;
|
|
@@ -440,7 +440,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
440
440
|
type: "dnd" | "view";
|
|
441
441
|
_id: string;
|
|
442
442
|
name: string;
|
|
443
|
-
viewSize: 1 | 4 |
|
|
443
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
444
444
|
cameras: {
|
|
445
445
|
cameraId: string;
|
|
446
446
|
index: number;
|
|
@@ -450,7 +450,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
450
450
|
views: {
|
|
451
451
|
type: "dnd" | "view";
|
|
452
452
|
name: string;
|
|
453
|
-
viewSize: 1 | 4 |
|
|
453
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
454
454
|
cameras: {
|
|
455
455
|
cameraId: string;
|
|
456
456
|
index: number;
|
|
@@ -522,7 +522,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
522
522
|
type: "dnd" | "view";
|
|
523
523
|
_id: string;
|
|
524
524
|
name: string;
|
|
525
|
-
viewSize: 1 | 4 |
|
|
525
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
526
526
|
cameras: {
|
|
527
527
|
cameraId: string;
|
|
528
528
|
index: number;
|
|
@@ -544,7 +544,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
544
544
|
views: {
|
|
545
545
|
type: "dnd" | "view";
|
|
546
546
|
name: string;
|
|
547
|
-
viewSize: 1 | 4 |
|
|
547
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
548
548
|
cameras: {
|
|
549
549
|
cameraId: string;
|
|
550
550
|
index: number;
|
|
@@ -579,7 +579,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
579
579
|
type: "dnd" | "view";
|
|
580
580
|
_id: string;
|
|
581
581
|
name: string;
|
|
582
|
-
viewSize: 1 | 4 |
|
|
582
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
583
583
|
cameras: {
|
|
584
584
|
cameraId: string;
|
|
585
585
|
index: number;
|
|
@@ -612,7 +612,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
612
612
|
views: {
|
|
613
613
|
type: "dnd" | "view";
|
|
614
614
|
name: string;
|
|
615
|
-
viewSize: 1 | 4 |
|
|
615
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
616
616
|
cameras: {
|
|
617
617
|
cameraId: string;
|
|
618
618
|
index: number;
|
|
@@ -647,7 +647,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
647
647
|
type: "dnd" | "view";
|
|
648
648
|
_id: string;
|
|
649
649
|
name: string;
|
|
650
|
-
viewSize: 1 | 4 |
|
|
650
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
651
651
|
cameras: {
|
|
652
652
|
cameraId: string;
|
|
653
653
|
index: number;
|
|
@@ -680,7 +680,7 @@ export declare const createUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
680
680
|
views: {
|
|
681
681
|
type: "dnd" | "view";
|
|
682
682
|
name: string;
|
|
683
|
-
viewSize: 1 | 4 |
|
|
683
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
684
684
|
cameras: {
|
|
685
685
|
cameraId: string;
|
|
686
686
|
index: number;
|
|
@@ -734,7 +734,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
734
734
|
type: "dnd" | "view";
|
|
735
735
|
_id: string;
|
|
736
736
|
name: string;
|
|
737
|
-
viewSize: 1 | 4 |
|
|
737
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
738
738
|
cameras: {
|
|
739
739
|
cameraId: string;
|
|
740
740
|
index: number;
|
|
@@ -742,7 +742,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
742
742
|
}, {
|
|
743
743
|
type: "dnd" | "view";
|
|
744
744
|
name: string;
|
|
745
|
-
viewSize: 1 | 4 |
|
|
745
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
746
746
|
cameras: {
|
|
747
747
|
cameraId: string;
|
|
748
748
|
index: number;
|
|
@@ -754,7 +754,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
754
754
|
type: "dnd" | "view";
|
|
755
755
|
_id: string;
|
|
756
756
|
name: string;
|
|
757
|
-
viewSize: 1 | 4 |
|
|
757
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
758
758
|
cameras: {
|
|
759
759
|
cameraId: string;
|
|
760
760
|
index: number;
|
|
@@ -764,7 +764,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
764
764
|
views: {
|
|
765
765
|
type: "dnd" | "view";
|
|
766
766
|
name: string;
|
|
767
|
-
viewSize: 1 | 4 |
|
|
767
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
768
768
|
cameras: {
|
|
769
769
|
cameraId: string;
|
|
770
770
|
index: number;
|
|
@@ -836,7 +836,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
836
836
|
type: "dnd" | "view";
|
|
837
837
|
_id: string;
|
|
838
838
|
name: string;
|
|
839
|
-
viewSize: 1 | 4 |
|
|
839
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
840
840
|
cameras: {
|
|
841
841
|
cameraId: string;
|
|
842
842
|
index: number;
|
|
@@ -858,7 +858,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
858
858
|
views: {
|
|
859
859
|
type: "dnd" | "view";
|
|
860
860
|
name: string;
|
|
861
|
-
viewSize: 1 | 4 |
|
|
861
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
862
862
|
cameras: {
|
|
863
863
|
cameraId: string;
|
|
864
864
|
index: number;
|
|
@@ -893,7 +893,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
893
893
|
type: "dnd" | "view";
|
|
894
894
|
_id: string;
|
|
895
895
|
name: string;
|
|
896
|
-
viewSize: 1 | 4 |
|
|
896
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
897
897
|
cameras: {
|
|
898
898
|
cameraId: string;
|
|
899
899
|
index: number;
|
|
@@ -926,7 +926,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
926
926
|
views: {
|
|
927
927
|
type: "dnd" | "view";
|
|
928
928
|
name: string;
|
|
929
|
-
viewSize: 1 | 4 |
|
|
929
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
930
930
|
cameras: {
|
|
931
931
|
cameraId: string;
|
|
932
932
|
index: number;
|
|
@@ -961,7 +961,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
961
961
|
type: "dnd" | "view";
|
|
962
962
|
_id: string;
|
|
963
963
|
name: string;
|
|
964
|
-
viewSize: 1 | 4 |
|
|
964
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
965
965
|
cameras: {
|
|
966
966
|
cameraId: string;
|
|
967
967
|
index: number;
|
|
@@ -994,7 +994,7 @@ export declare const patchUserSchema: zod.ZodEffects<zod.ZodObject<{
|
|
|
994
994
|
views: {
|
|
995
995
|
type: "dnd" | "view";
|
|
996
996
|
name: string;
|
|
997
|
-
viewSize: 1 | 4 |
|
|
997
|
+
viewSize: 1 | 4 | 6 | 16 | 20 | 12 | 10 | 7 | 9 | 13 | 15 | 26;
|
|
998
998
|
cameras: {
|
|
999
999
|
cameraId: string;
|
|
1000
1000
|
index: number;
|