@awarevue/api-types 2.0.20 → 2.0.21
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/package.json +1 -1
- package/dist/queries/all.d.ts +3 -3
- package/dist/queries/all.js +1 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/queries/all.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { CameraQueryRequestMap, CameraQueryResponseMap } from './camera';
|
|
|
3
3
|
import { NvrAnalyticsQueryRequestMap, NvrAnalyticsQueryResponseMap } from './nvr-analytics-server';
|
|
4
4
|
import { NvrExporterQueryRequestMap, NvrExporterQueryResponseMap } from './nvr-exporter';
|
|
5
5
|
import { NvrRecorderQueryRequestMap, NvrRecorderQueryResponseMap } from './nvr-recorder';
|
|
6
|
-
export declare const sEventCapsQueryArgs: {}
|
|
7
|
-
export type EventCapsQueryArgs = typeof sEventCapsQueryArgs
|
|
6
|
+
export declare const sEventCapsQueryArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
7
|
+
export type EventCapsQueryArgs = z.infer<typeof sEventCapsQueryArgs>;
|
|
8
8
|
export declare const QUERY_EVENT_CAPS = "device:event-caps";
|
|
9
9
|
export declare const sEventCapsQueryResponse: z.ZodArray<z.ZodString, "many">;
|
|
10
10
|
export type EventCapsQueryResponse = z.infer<typeof sEventCapsQueryResponse>;
|
|
11
11
|
export declare const requestSchemasByType: {
|
|
12
|
-
readonly "device:event-caps": {}
|
|
12
|
+
readonly "device:event-caps": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
13
13
|
readonly "cctv:rtsp-data": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
14
14
|
readonly "cctv:media-search": z.ZodObject<{
|
|
15
15
|
devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
package/dist/queries/all.js
CHANGED
|
@@ -7,7 +7,7 @@ const nvr_analytics_server_1 = require("./nvr-analytics-server");
|
|
|
7
7
|
const nvr_exporter_1 = require("./nvr-exporter");
|
|
8
8
|
const nvr_recorder_1 = require("./nvr-recorder");
|
|
9
9
|
// queries that apply to all devices
|
|
10
|
-
exports.sEventCapsQueryArgs = {};
|
|
10
|
+
exports.sEventCapsQueryArgs = zod_1.z.object({});
|
|
11
11
|
exports.QUERY_EVENT_CAPS = 'device:event-caps';
|
|
12
12
|
exports.sEventCapsQueryResponse = zod_1.z.array(zod_1.z.string());
|
|
13
13
|
// Dictionary of request schemas by query type
|