@camera.ui/browser 0.0.73 → 0.0.74
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/cameraDevice.d.ts +1 -1
- package/dist/types/packages/client/browser/src/types.d.ts +2 -2
- package/dist/types/server/src/api/index.d.ts +13 -7
- package/dist/types/server/src/api.d.ts +4 -4
- package/dist/types/server/src/{devices/camera → camera}/cameraDevice.d.ts +1 -1
- package/dist/types/server/src/{devices/camera → camera}/controller/index.d.ts +7 -4
- package/dist/types/server/src/{devices/camera → camera}/controller/types.d.ts +28 -16
- package/dist/types/server/src/{devices/camera → camera}/index.d.ts +22 -13
- package/dist/types/server/src/{devices/camera → camera}/streaming/peer-connection.d.ts +2 -2
- package/dist/types/server/src/{devices/camera → camera}/streaming/streaming-session.d.ts +1 -1
- package/dist/types/server/src/{devices/camera → camera}/streaming/webrtc-connection.d.ts +2 -2
- package/dist/types/server/src/decoder/ffmpeg.d.ts +2 -1
- package/dist/types/server/src/decoder/index.d.ts +2 -2
- package/dist/types/server/src/decoder/types.d.ts +15 -4
- package/dist/types/server/src/decoder/{worker/index.d.ts → worker.d.ts} +3 -3
- package/dist/types/server/src/nats/index.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/cameraDevice.d.ts +8 -15
- package/dist/types/server/src/nats/proxy/deviceManager.d.ts +1 -1
- package/dist/types/server/src/nats/proxy/pluginsManager.d.ts +1 -1
- package/dist/types/server/src/nats/types.d.ts +11 -16
- package/dist/types/server/src/nats/websocket.d.ts +1 -1
- package/dist/types/server/src/plugins/base.d.ts +1 -1
- package/dist/types/server/src/plugins/plugin.d.ts +1 -1
- package/dist/types/server/src/plugins/worker.d.ts +5 -1
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/api.d.ts +2 -2
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/cameraStorage.d.ts +1 -1
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/config.d.ts +1 -1
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/proxy/cameraDevice.d.ts +5 -5
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/proxy/deviceManager.d.ts +3 -3
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/proxy/pluginsManager.d.ts +1 -1
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/proxy/queue.d.ts +2 -2
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/proxy/systemManager.d.ts +1 -1
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/schema.d.ts +2 -2
- package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/storageController.d.ts +1 -1
- package/dist/types/server/src/utils/pythonInstaller.d.ts +1 -1
- package/dist/types/shared/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/server/src/api/plugins/logger.plugin.d.ts +0 -7
- package/dist/types/server/src/plugins/worker-ipc.d.ts +0 -25
- /package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/logger.d.ts +0 -0
- /package/dist/types/server/src/{plugins/node → polyglot/node/plugins}/proxy/index.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z, type ZodTypeAny } from 'zod';
|
|
2
|
-
import type { JsonSchema, JsonSchemaAnyOf, JsonSchemaArray, JsonSchemaBoolean, JsonSchemaButton, JsonSchemaEnum, JsonSchemaNumber, JsonSchemaObject, JsonSchemaObjectWithButtons, JsonSchemaString, PluginJsonSchema, PluginJsonSchemaForm, PluginRootSchema, RootSchema } from '
|
|
2
|
+
import type { JsonSchema, JsonSchemaAnyOf, JsonSchemaArray, JsonSchemaBoolean, JsonSchemaButton, JsonSchemaEnum, JsonSchemaNumber, JsonSchemaObject, JsonSchemaObjectWithButtons, JsonSchemaString, PluginJsonSchema, PluginJsonSchemaForm, PluginRootSchema, RootSchema } from '../../../plugins/types.js';
|
|
3
3
|
type RootZodSchema = z.ZodObject<Record<string, ZodTypeAny>, 'strict', ZodTypeAny, {
|
|
4
4
|
[x: string]: any;
|
|
5
5
|
}, {
|
|
@@ -92,7 +92,7 @@ export declare const schemaPathToConfigPath: (schemaPath: string) => string;
|
|
|
92
92
|
* @param path - The key path to search for.
|
|
93
93
|
* @returns - The value of the searched key path, if found, otherwise undefined.
|
|
94
94
|
*/
|
|
95
|
-
export declare const getValueByPath: (obj: any, path: string) => any;
|
|
95
|
+
export declare const getValueByPath: (obj: Record<any, any> | undefined, path: string) => any;
|
|
96
96
|
/**
|
|
97
97
|
* Generates a Zod schema from a given JSON schema.
|
|
98
98
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CameraStorage } from './cameraStorage.js';
|
|
2
|
-
import type { PluginJsonSchemaForm } from '
|
|
2
|
+
import type { PluginJsonSchemaForm } from '../../../plugins/types.js';
|
|
3
3
|
import type { PluginAPI } from './api.js';
|
|
4
4
|
export declare class StorageController {
|
|
5
5
|
private api;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PortablePython } from '@bjia56/portable-python';
|
|
2
|
-
import { PluginLogger } from '../
|
|
2
|
+
import { PluginLogger } from '../polyglot/node/plugins/logger.js';
|
|
3
3
|
export declare const SERVER_PY_VERSION = "3.11";
|
|
4
4
|
export declare class PythonInstaller {
|
|
5
5
|
static readonly versions: string[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export type * from '../../server/src/api/database/types.js';
|
|
2
2
|
export type * from '../../server/src/api/types/index.js';
|
|
3
3
|
export type * from '../../server/src/api/websocket/types.js';
|
|
4
|
+
export type * from '../../server/src/camera/controller/types.js';
|
|
4
5
|
export type * from '../../server/src/decoder/types.js';
|
|
5
|
-
export type * from '../../server/src/devices/camera/controller/types.js';
|
|
6
6
|
export * from '../../server/src/go2rtc/types.js';
|
|
7
7
|
export type * from '../../server/src/nats/types.js';
|
|
8
8
|
export * from '../../server/src/plugins/types.js';
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
2
|
-
import { EventEmitter } from 'node:events';
|
|
3
|
-
import type { Logger } from '../services/logger/index.js';
|
|
4
|
-
import type { ProcessMessage, ProcessResponse } from './types.js';
|
|
5
|
-
export declare interface WorkerIPC {
|
|
6
|
-
on(event: 'message', listener: (message: ProcessResponse) => void): this;
|
|
7
|
-
}
|
|
8
|
-
export declare class WorkerIPC extends EventEmitter {
|
|
9
|
-
private logger;
|
|
10
|
-
private publisher?;
|
|
11
|
-
private subscriber?;
|
|
12
|
-
private name;
|
|
13
|
-
private id;
|
|
14
|
-
private subject;
|
|
15
|
-
private targetSubject;
|
|
16
|
-
private auth;
|
|
17
|
-
constructor(name: string, id: string, auth: {
|
|
18
|
-
user: string;
|
|
19
|
-
pass: string;
|
|
20
|
-
}, logger: Logger);
|
|
21
|
-
listen(): Promise<void>;
|
|
22
|
-
close(): Promise<void>;
|
|
23
|
-
sendMessage(message: ProcessMessage): void;
|
|
24
|
-
private listenToMessages;
|
|
25
|
-
}
|
|
File without changes
|
|
File without changes
|