@camstack/types 1.2.21 → 1.2.23
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/capabilities/data-store-provider.cap.d.ts +26 -0
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/recording-export.cap.d.ts +7 -7
- package/dist/capabilities/settings-store.cap.d.ts +60 -1
- package/dist/generated/addon-api.d.ts +28 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.js +96 -1
- package/dist/index.mjs +96 -2
- package/dist/interfaces/storage.d.ts +0 -24
- package/package.json +1 -1
|
@@ -111,6 +111,31 @@ export declare const dataStoreProviderCapability: {
|
|
|
111
111
|
collection: z.ZodString;
|
|
112
112
|
key: z.ZodString;
|
|
113
113
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
114
|
+
/** Delete every record matching `filter`, in one statement. */
|
|
115
|
+
readonly deleteWhere: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
116
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
117
|
+
collection: z.ZodString;
|
|
118
|
+
filter: z.ZodObject<{
|
|
119
|
+
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
120
|
+
whereIn: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnknown>>>;
|
|
121
|
+
whereBetween: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>>>;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
124
|
+
deleted: z.ZodNumber;
|
|
125
|
+
}, z.core.$strip>, "mutation">;
|
|
126
|
+
/** Apply `data` to every record matching `filter`, in one statement. */
|
|
127
|
+
readonly updateWhere: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
128
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
129
|
+
collection: z.ZodString;
|
|
130
|
+
filter: z.ZodObject<{
|
|
131
|
+
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
132
|
+
whereIn: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnknown>>>;
|
|
133
|
+
whereBetween: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
136
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
137
|
+
updated: z.ZodNumber;
|
|
138
|
+
}, z.core.$strip>, "mutation">;
|
|
114
139
|
/** Count entries in a collection, optionally filtered. */
|
|
115
140
|
readonly count: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
116
141
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -176,6 +201,7 @@ export declare const dataStoreProviderCapability: {
|
|
|
176
201
|
primaryKey: z.ZodOptional<z.ZodBoolean>;
|
|
177
202
|
notNull: z.ZodOptional<z.ZodBoolean>;
|
|
178
203
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
179
205
|
}, z.core.$strip>>>;
|
|
180
206
|
indexes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
181
207
|
name: z.ZodString;
|
|
@@ -89,7 +89,7 @@ export type { CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire, Fr
|
|
|
89
89
|
export { BrokerStatsSchema, BrokerStatusSchema, CAM_PROFILE_ORDER, CameraStreamSchema, CamProfileSchema, CamStreamKindSchema, CamStreamResolutionSchema, DecodedAudioChunkSchema, DecodedFrameSchema, EncodedPacketSchema, FrameHandleFormatSchema, FrameHandleSchema, makeProfileBrokerId, makeSourceBrokerId, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, parseProfileBrokerId, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, selectAssignedProfileSlots, } from './schemas/streaming-shared.js';
|
|
90
90
|
export { buildEventKindDescriptor, EVENT_KIND_BY_CAP, EVENTFUL_CAP_NAMES, type SensorEventKindDescriptor, } from './sensor-event-kinds.js';
|
|
91
91
|
export { type ImageContract, ImageContractSchema, type ImageContractState, ImageContractStateSchema, type IServerManagementProvider, type ServerBootMode, ServerBootModeSchema, type ServerPackageStatus, ServerPackageStatusSchema, type ServerRollbackInfo, ServerRollbackInfoSchema, type ServerUpdateActionResult, ServerUpdateActionResultSchema, type ServerUpdateCheckResult, ServerUpdateCheckResultSchema, type ServerUpdateState, ServerUpdateStateSchema, serverManagementCapability, } from './server-management.cap.js';
|
|
92
|
-
export { type CollectionColumn, CollectionColumnSchema, type CollectionIndex, CollectionIndexSchema, type ISettingsStoreProvider, QueryFilterSchema, SettingsRecordSchema, type SettingsStoreClient, settingsStoreCapability, } from './settings-store.cap.js';
|
|
92
|
+
export { type CollectionColumn, CollectionColumnSchema, type CollectionIndex, CollectionIndexSchema, type ISettingsStoreProvider, type MutationFilter, MutationFilterSchema, QueryFilterSchema, SettingsRecordSchema, type SettingsStoreClient, settingsStoreCapability, } from './settings-store.cap.js';
|
|
93
93
|
export type { ISmtpProvider } from './smtp-provider.cap.js';
|
|
94
94
|
export { SendEmailInputSchema, SendEmailResultSchema, SmtpStatusSchema, smtpProviderCapability, } from './smtp-provider.cap.js';
|
|
95
95
|
export { type ISnapshotOrchestrator, SnapshotImageSchema, snapshotCapability, } from './snapshot.cap.js';
|
|
@@ -42,8 +42,8 @@ export type ExportOptions = z.infer<typeof ExportOptionsSchema>;
|
|
|
42
42
|
export declare const ExportStateSchema: z.ZodEnum<{
|
|
43
43
|
queued: "queued";
|
|
44
44
|
failed: "failed";
|
|
45
|
-
ready: "ready";
|
|
46
45
|
deleted: "deleted";
|
|
46
|
+
ready: "ready";
|
|
47
47
|
rendering: "rendering";
|
|
48
48
|
expired: "expired";
|
|
49
49
|
}>;
|
|
@@ -69,8 +69,8 @@ export declare const ExportRecordSchema: z.ZodObject<{
|
|
|
69
69
|
state: z.ZodEnum<{
|
|
70
70
|
queued: "queued";
|
|
71
71
|
failed: "failed";
|
|
72
|
-
ready: "ready";
|
|
73
72
|
deleted: "deleted";
|
|
73
|
+
ready: "ready";
|
|
74
74
|
rendering: "rendering";
|
|
75
75
|
expired: "expired";
|
|
76
76
|
}>;
|
|
@@ -133,8 +133,8 @@ export declare const recordingExportCapability: {
|
|
|
133
133
|
state: z.ZodEnum<{
|
|
134
134
|
queued: "queued";
|
|
135
135
|
failed: "failed";
|
|
136
|
-
ready: "ready";
|
|
137
136
|
deleted: "deleted";
|
|
137
|
+
ready: "ready";
|
|
138
138
|
rendering: "rendering";
|
|
139
139
|
expired: "expired";
|
|
140
140
|
}>;
|
|
@@ -170,8 +170,8 @@ export declare const recordingExportCapability: {
|
|
|
170
170
|
state: z.ZodEnum<{
|
|
171
171
|
queued: "queued";
|
|
172
172
|
failed: "failed";
|
|
173
|
-
ready: "ready";
|
|
174
173
|
deleted: "deleted";
|
|
174
|
+
ready: "ready";
|
|
175
175
|
rendering: "rendering";
|
|
176
176
|
expired: "expired";
|
|
177
177
|
}>;
|
|
@@ -206,8 +206,8 @@ export declare const recordingExportCapability: {
|
|
|
206
206
|
state: z.ZodEnum<{
|
|
207
207
|
queued: "queued";
|
|
208
208
|
failed: "failed";
|
|
209
|
-
ready: "ready";
|
|
210
209
|
deleted: "deleted";
|
|
210
|
+
ready: "ready";
|
|
211
211
|
rendering: "rendering";
|
|
212
212
|
expired: "expired";
|
|
213
213
|
}>;
|
|
@@ -243,8 +243,8 @@ export declare const recordingExportCapability: {
|
|
|
243
243
|
state: z.ZodEnum<{
|
|
244
244
|
queued: "queued";
|
|
245
245
|
failed: "failed";
|
|
246
|
-
ready: "ready";
|
|
247
246
|
deleted: "deleted";
|
|
247
|
+
ready: "ready";
|
|
248
248
|
rendering: "rendering";
|
|
249
249
|
expired: "expired";
|
|
250
250
|
}>;
|
|
@@ -280,8 +280,8 @@ export declare const recordingExportCapability: {
|
|
|
280
280
|
state: z.ZodEnum<{
|
|
281
281
|
queued: "queued";
|
|
282
282
|
failed: "failed";
|
|
283
|
-
ready: "ready";
|
|
284
283
|
deleted: "deleted";
|
|
284
|
+
ready: "ready";
|
|
285
285
|
rendering: "rendering";
|
|
286
286
|
expired: "expired";
|
|
287
287
|
}>;
|
|
@@ -17,6 +17,20 @@ declare const QueryFilterSchema: z.ZodObject<{
|
|
|
17
17
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
18
18
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
|
+
/**
|
|
21
|
+
* The predicate half of a filter, for BULK MUTATIONS.
|
|
22
|
+
*
|
|
23
|
+
* Deliberately not `QueryFilterSchema`: `orderBy` / `limit` / `offset` have no
|
|
24
|
+
* meaning for a statement that rewrites a set, and accepting them would invite
|
|
25
|
+
* a caller to believe `limit` bounds the damage. Every field is optional here
|
|
26
|
+
* only so the shape stays composable — the implementation REJECTS a filter
|
|
27
|
+
* that compiles to no predicate, because that is the whole collection.
|
|
28
|
+
*/
|
|
29
|
+
declare const MutationFilterSchema: z.ZodObject<{
|
|
30
|
+
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31
|
+
whereIn: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnknown>>>;
|
|
32
|
+
whereBetween: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
20
34
|
/** A single stored record: `{ id, data }`. */
|
|
21
35
|
declare const SettingsRecordSchema: z.ZodObject<{
|
|
22
36
|
id: z.ZodString;
|
|
@@ -43,6 +57,7 @@ declare const CollectionColumnSchema: z.ZodObject<{
|
|
|
43
57
|
primaryKey: z.ZodOptional<z.ZodBoolean>;
|
|
44
58
|
notNull: z.ZodOptional<z.ZodBoolean>;
|
|
45
59
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
46
61
|
}, z.core.$strip>;
|
|
47
62
|
declare const CollectionIndexSchema: z.ZodObject<{
|
|
48
63
|
name: z.ZodString;
|
|
@@ -141,6 +156,48 @@ export declare const settingsStoreCapability: {
|
|
|
141
156
|
collection: z.ZodString;
|
|
142
157
|
key: z.ZodString;
|
|
143
158
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
159
|
+
/**
|
|
160
|
+
* Delete every record matching `filter`, in ONE statement, returning how
|
|
161
|
+
* many rows went. This exists because its absence made every retention
|
|
162
|
+
* path in the system an N+1 drain loop: `delete` takes a key, so a sweep
|
|
163
|
+
* had to SELECT a page of full rows — every column, including the fat
|
|
164
|
+
* ones — purely to learn their ids, then issue one call per row.
|
|
165
|
+
*
|
|
166
|
+
* **The filter is required and must resolve.** A predicate naming
|
|
167
|
+
* something the collection cannot express is an ERROR here, not a
|
|
168
|
+
* widening as it is on `query`, and a filter with no predicates is an
|
|
169
|
+
* error rather than "every row". Deleting a whole collection is a
|
|
170
|
+
* legitimate intent, but it must be asked for by name — not reached by
|
|
171
|
+
* an empty object.
|
|
172
|
+
*/
|
|
173
|
+
readonly deleteWhere: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
174
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
175
|
+
collection: z.ZodString;
|
|
176
|
+
filter: z.ZodObject<{
|
|
177
|
+
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
178
|
+
whereIn: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnknown>>>;
|
|
179
|
+
whereBetween: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>>>;
|
|
180
|
+
}, z.core.$strip>;
|
|
181
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
182
|
+
deleted: z.ZodNumber;
|
|
183
|
+
}, z.core.$strip>, "mutation">;
|
|
184
|
+
/**
|
|
185
|
+
* Apply `data` to every record matching `filter`, in one statement,
|
|
186
|
+
* returning how many rows changed. Same filter contract as
|
|
187
|
+
* {@link deleteWhere} — an unresolvable predicate is an error.
|
|
188
|
+
*/
|
|
189
|
+
readonly updateWhere: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
190
|
+
namespace: z.ZodOptional<z.ZodString>;
|
|
191
|
+
collection: z.ZodString;
|
|
192
|
+
filter: z.ZodObject<{
|
|
193
|
+
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
194
|
+
whereIn: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodUnknown>>>;
|
|
195
|
+
whereBetween: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodTuple<[z.ZodUnknown, z.ZodUnknown], null>>>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
199
|
+
updated: z.ZodNumber;
|
|
200
|
+
}, z.core.$strip>, "mutation">;
|
|
144
201
|
/** Count entries in a collection, optionally filtered. */
|
|
145
202
|
readonly count: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
146
203
|
namespace: z.ZodOptional<z.ZodString>;
|
|
@@ -220,6 +277,7 @@ export declare const settingsStoreCapability: {
|
|
|
220
277
|
primaryKey: z.ZodOptional<z.ZodBoolean>;
|
|
221
278
|
notNull: z.ZodOptional<z.ZodBoolean>;
|
|
222
279
|
unique: z.ZodOptional<z.ZodBoolean>;
|
|
280
|
+
defaultValue: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
223
281
|
}, z.core.$strip>>>;
|
|
224
282
|
indexes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
225
283
|
name: z.ZodString;
|
|
@@ -236,6 +294,7 @@ export type ISettingsStoreProvider = InferProvider<typeof settingsStoreCapabilit
|
|
|
236
294
|
* Methods are accessed as `client.get.query(input)`, `client.set.mutate(input)`, etc.
|
|
237
295
|
*/
|
|
238
296
|
export type SettingsStoreClient = import('../generated/addon-api.js').AddonApi['settingsStore'];
|
|
239
|
-
export { QueryFilterSchema, SettingsRecordSchema, CollectionColumnSchema, CollectionIndexSchema };
|
|
297
|
+
export { QueryFilterSchema, MutationFilterSchema, SettingsRecordSchema, CollectionColumnSchema, CollectionIndexSchema, };
|
|
298
|
+
export type MutationFilter = z.infer<typeof MutationFilterSchema>;
|
|
240
299
|
export type CollectionColumn = z.infer<typeof CollectionColumnSchema>;
|
|
241
300
|
export type CollectionIndex = z.infer<typeof CollectionIndexSchema>;
|
|
@@ -1510,6 +1510,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
1510
1510
|
output: z.infer<typeof dataStoreProviderCapability.methods.delete.output>;
|
|
1511
1511
|
meta: object;
|
|
1512
1512
|
}>;
|
|
1513
|
+
deleteWhere: TRPCMutationProcedure<{
|
|
1514
|
+
input: {
|
|
1515
|
+
[x: string]: unknown;
|
|
1516
|
+
} & z.input<typeof dataStoreProviderCapability.methods.deleteWhere.input>;
|
|
1517
|
+
output: z.infer<typeof dataStoreProviderCapability.methods.deleteWhere.output>;
|
|
1518
|
+
meta: object;
|
|
1519
|
+
}>;
|
|
1520
|
+
updateWhere: TRPCMutationProcedure<{
|
|
1521
|
+
input: {
|
|
1522
|
+
[x: string]: unknown;
|
|
1523
|
+
} & z.input<typeof dataStoreProviderCapability.methods.updateWhere.input>;
|
|
1524
|
+
output: z.infer<typeof dataStoreProviderCapability.methods.updateWhere.output>;
|
|
1525
|
+
meta: object;
|
|
1526
|
+
}>;
|
|
1513
1527
|
count: TRPCQueryProcedure<{
|
|
1514
1528
|
input: {
|
|
1515
1529
|
[x: string]: unknown;
|
|
@@ -6080,6 +6094,20 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
6080
6094
|
output: z.infer<typeof settingsStoreCapability.methods.delete.output>;
|
|
6081
6095
|
meta: object;
|
|
6082
6096
|
}>;
|
|
6097
|
+
deleteWhere: TRPCMutationProcedure<{
|
|
6098
|
+
input: {
|
|
6099
|
+
[x: string]: unknown;
|
|
6100
|
+
} & z.input<typeof settingsStoreCapability.methods.deleteWhere.input>;
|
|
6101
|
+
output: z.infer<typeof settingsStoreCapability.methods.deleteWhere.output>;
|
|
6102
|
+
meta: object;
|
|
6103
|
+
}>;
|
|
6104
|
+
updateWhere: TRPCMutationProcedure<{
|
|
6105
|
+
input: {
|
|
6106
|
+
[x: string]: unknown;
|
|
6107
|
+
} & z.input<typeof settingsStoreCapability.methods.updateWhere.input>;
|
|
6108
|
+
output: z.infer<typeof settingsStoreCapability.methods.updateWhere.output>;
|
|
6109
|
+
meta: object;
|
|
6110
|
+
}>;
|
|
6083
6111
|
count: TRPCQueryProcedure<{
|
|
6084
6112
|
input: {
|
|
6085
6113
|
[x: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 841 method paths across 118 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -85,7 +85,7 @@ export interface SystemProxy {
|
|
|
85
85
|
readonly recording: Pick<InferProvider<typeof recordingCapability>, 'getStorageUsage' | 'listOpsLog' | 'relocateFootage' | 'getRelocateStatus' | 'cancelRelocate'>;
|
|
86
86
|
readonly recordingExport: Pick<InferProvider<typeof recordingExportCapability>, 'getExport' | 'cancelExport' | 'deleteExport' | 'getDownloadUrl'>;
|
|
87
87
|
readonly serverManagement: Pick<InferProvider<typeof serverManagementCapability>, 'getServerPackageStatus' | 'checkServerUpdate' | 'applyServerUpdate' | 'rollbackServerUpdate' | 'restartServer'>;
|
|
88
|
-
readonly settingsStore: Pick<InferProvider<typeof settingsStoreCapability>, 'get' | 'set' | 'query' | 'insert' | 'update' | 'delete' | 'count' | 'histogram' | 'isEmpty' | 'declareCollection'>;
|
|
88
|
+
readonly settingsStore: Pick<InferProvider<typeof settingsStoreCapability>, 'get' | 'set' | 'query' | 'insert' | 'update' | 'delete' | 'deleteWhere' | 'updateWhere' | 'count' | 'histogram' | 'isEmpty' | 'declareCollection'>;
|
|
89
89
|
readonly storage: Pick<InferProvider<typeof storageCapability>, 'resolve' | 'write' | 'read' | 'exists' | 'list' | 'delete' | 'getAvailableSpace' | 'beginUpload' | 'writeChunk' | 'finalizeUpload' | 'abortUpload' | 'beginDownload' | 'readChunk' | 'endDownload' | 'listLocations' | 'getDefaultLocation' | 'listLocationDeclarations' | 'upsertLocation' | 'deleteLocation' | 'testLocation' | 'listProviders' | 'testConfig'>;
|
|
90
90
|
readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, 'listAllCameraStreams' | 'listAllProfileSlots' | 'getBrokerStats' | 'probeStream' | 'listClients' | 'killClient' | 'getStreamUrl' | 'getStreamWithCodec' | 'releaseStreamWithCodec' | 'subscribeAudioChunks' | 'pullAudioChunks' | 'unsubscribeAudioChunks' | 'subscribeFrames' | 'pullFrameHandles' | 'unsubscribeFrames' | 'setPreBufferDuration' | 'getPreBufferInfo' | 'getRtspPort' | 'getAllRtspEntries' | 'getRtspEntry' | 'regenerateRtspToken' | 'setRtspEnabled' | 'isRtspEnabled'>;
|
|
91
91
|
readonly system: Pick<InferProvider<typeof systemCapability>, 'info' | 'health' | 'featureFlags' | 'networkAddresses' | 'getRetentionConfig' | 'setRetentionConfig' | 'forceRetentionCleanup'>;
|
package/dist/index.js
CHANGED
|
@@ -14921,6 +14921,8 @@ function createSystemProxy(api) {
|
|
|
14921
14921
|
insert: (input) => dispatch("settingsStore", "insert", "mutation", input),
|
|
14922
14922
|
update: (input) => dispatch("settingsStore", "update", "mutation", input),
|
|
14923
14923
|
delete: (input) => dispatch("settingsStore", "delete", "mutation", input),
|
|
14924
|
+
deleteWhere: (input) => dispatch("settingsStore", "deleteWhere", "mutation", input),
|
|
14925
|
+
updateWhere: (input) => dispatch("settingsStore", "updateWhere", "mutation", input),
|
|
14924
14926
|
count: (input) => dispatch("settingsStore", "count", "query", input),
|
|
14925
14927
|
histogram: (input) => dispatch("settingsStore", "histogram", "query", input),
|
|
14926
14928
|
isEmpty: (input) => dispatch("settingsStore", "isEmpty", "query", input),
|
|
@@ -17439,6 +17441,20 @@ var QueryFilterSchema = zod.z.object({
|
|
|
17439
17441
|
limit: zod.z.number().optional(),
|
|
17440
17442
|
offset: zod.z.number().optional()
|
|
17441
17443
|
});
|
|
17444
|
+
/**
|
|
17445
|
+
* The predicate half of a filter, for BULK MUTATIONS.
|
|
17446
|
+
*
|
|
17447
|
+
* Deliberately not `QueryFilterSchema`: `orderBy` / `limit` / `offset` have no
|
|
17448
|
+
* meaning for a statement that rewrites a set, and accepting them would invite
|
|
17449
|
+
* a caller to believe `limit` bounds the damage. Every field is optional here
|
|
17450
|
+
* only so the shape stays composable — the implementation REJECTS a filter
|
|
17451
|
+
* that compiles to no predicate, because that is the whole collection.
|
|
17452
|
+
*/
|
|
17453
|
+
var MutationFilterSchema = zod.z.object({
|
|
17454
|
+
where: zod.z.record(zod.z.string(), zod.z.unknown()).optional(),
|
|
17455
|
+
whereIn: zod.z.record(zod.z.string(), zod.z.array(zod.z.unknown())).optional(),
|
|
17456
|
+
whereBetween: zod.z.record(zod.z.string(), zod.z.tuple([zod.z.unknown(), zod.z.unknown()])).optional()
|
|
17457
|
+
});
|
|
17442
17458
|
/** A single stored record: `{ id, data }`. */
|
|
17443
17459
|
var SettingsRecordSchema = zod.z.object({
|
|
17444
17460
|
id: zod.z.string(),
|
|
@@ -17464,7 +17480,18 @@ var CollectionColumnSchema = zod.z.object({
|
|
|
17464
17480
|
]),
|
|
17465
17481
|
primaryKey: zod.z.boolean().optional(),
|
|
17466
17482
|
notNull: zod.z.boolean().optional(),
|
|
17467
|
-
unique: zod.z.boolean().optional()
|
|
17483
|
+
unique: zod.z.boolean().optional(),
|
|
17484
|
+
/**
|
|
17485
|
+
* Column DEFAULT. Required for B2: the four `ensureTable` consumers declare
|
|
17486
|
+
* columns like `enabled INTEGER NOT NULL DEFAULT 1`, and without this the
|
|
17487
|
+
* collection surface simply cannot express their existing tables — which is
|
|
17488
|
+
* why they were still on the uncapped `table*` API.
|
|
17489
|
+
*/
|
|
17490
|
+
defaultValue: zod.z.union([
|
|
17491
|
+
zod.z.string(),
|
|
17492
|
+
zod.z.number(),
|
|
17493
|
+
zod.z.boolean()
|
|
17494
|
+
]).optional()
|
|
17468
17495
|
});
|
|
17469
17496
|
var CollectionIndexSchema = zod.z.object({
|
|
17470
17497
|
name: zod.z.string(),
|
|
@@ -17544,6 +17571,36 @@ var settingsStoreCapability = {
|
|
|
17544
17571
|
collection: zod.z.string(),
|
|
17545
17572
|
key: zod.z.string()
|
|
17546
17573
|
}), zod.z.void(), { kind: "mutation" }),
|
|
17574
|
+
/**
|
|
17575
|
+
* Delete every record matching `filter`, in ONE statement, returning how
|
|
17576
|
+
* many rows went. This exists because its absence made every retention
|
|
17577
|
+
* path in the system an N+1 drain loop: `delete` takes a key, so a sweep
|
|
17578
|
+
* had to SELECT a page of full rows — every column, including the fat
|
|
17579
|
+
* ones — purely to learn their ids, then issue one call per row.
|
|
17580
|
+
*
|
|
17581
|
+
* **The filter is required and must resolve.** A predicate naming
|
|
17582
|
+
* something the collection cannot express is an ERROR here, not a
|
|
17583
|
+
* widening as it is on `query`, and a filter with no predicates is an
|
|
17584
|
+
* error rather than "every row". Deleting a whole collection is a
|
|
17585
|
+
* legitimate intent, but it must be asked for by name — not reached by
|
|
17586
|
+
* an empty object.
|
|
17587
|
+
*/
|
|
17588
|
+
deleteWhere: require_sleep.method(zod.z.object({
|
|
17589
|
+
namespace: zod.z.string().optional(),
|
|
17590
|
+
collection: zod.z.string(),
|
|
17591
|
+
filter: MutationFilterSchema
|
|
17592
|
+
}), zod.z.object({ deleted: zod.z.number().int() }), { kind: "mutation" }),
|
|
17593
|
+
/**
|
|
17594
|
+
* Apply `data` to every record matching `filter`, in one statement,
|
|
17595
|
+
* returning how many rows changed. Same filter contract as
|
|
17596
|
+
* {@link deleteWhere} — an unresolvable predicate is an error.
|
|
17597
|
+
*/
|
|
17598
|
+
updateWhere: require_sleep.method(zod.z.object({
|
|
17599
|
+
namespace: zod.z.string().optional(),
|
|
17600
|
+
collection: zod.z.string(),
|
|
17601
|
+
filter: MutationFilterSchema,
|
|
17602
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
17603
|
+
}), zod.z.object({ updated: zod.z.number().int() }), { kind: "mutation" }),
|
|
17547
17604
|
/** Count entries in a collection, optionally filtered. */
|
|
17548
17605
|
count: require_sleep.method(zod.z.object({
|
|
17549
17606
|
namespace: zod.z.string().optional(),
|
|
@@ -17681,6 +17738,19 @@ var dataStoreProviderCapability = {
|
|
|
17681
17738
|
collection: zod.z.string(),
|
|
17682
17739
|
key: zod.z.string()
|
|
17683
17740
|
}), zod.z.void(), { kind: "mutation" }),
|
|
17741
|
+
/** Delete every record matching `filter`, in one statement. */
|
|
17742
|
+
deleteWhere: require_sleep.method(zod.z.object({
|
|
17743
|
+
namespace: zod.z.string().optional(),
|
|
17744
|
+
collection: zod.z.string(),
|
|
17745
|
+
filter: MutationFilterSchema
|
|
17746
|
+
}), zod.z.object({ deleted: zod.z.number().int() }), { kind: "mutation" }),
|
|
17747
|
+
/** Apply `data` to every record matching `filter`, in one statement. */
|
|
17748
|
+
updateWhere: require_sleep.method(zod.z.object({
|
|
17749
|
+
namespace: zod.z.string().optional(),
|
|
17750
|
+
collection: zod.z.string(),
|
|
17751
|
+
filter: MutationFilterSchema,
|
|
17752
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
17753
|
+
}), zod.z.object({ updated: zod.z.number().int() }), { kind: "mutation" }),
|
|
17684
17754
|
/** Count entries in a collection, optionally filtered. */
|
|
17685
17755
|
count: require_sleep.method(zod.z.object({
|
|
17686
17756
|
namespace: zod.z.string().optional(),
|
|
@@ -28782,6 +28852,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28782
28852
|
addonId: null,
|
|
28783
28853
|
access: "delete"
|
|
28784
28854
|
},
|
|
28855
|
+
"dataStoreProvider.deleteWhere": {
|
|
28856
|
+
capName: "data-store-provider",
|
|
28857
|
+
capScope: "system",
|
|
28858
|
+
addonId: null,
|
|
28859
|
+
access: "delete"
|
|
28860
|
+
},
|
|
28785
28861
|
"dataStoreProvider.get": {
|
|
28786
28862
|
capName: "data-store-provider",
|
|
28787
28863
|
capScope: "system",
|
|
@@ -28830,6 +28906,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28830
28906
|
addonId: null,
|
|
28831
28907
|
access: "create"
|
|
28832
28908
|
},
|
|
28909
|
+
"dataStoreProvider.updateWhere": {
|
|
28910
|
+
capName: "data-store-provider",
|
|
28911
|
+
capScope: "system",
|
|
28912
|
+
addonId: null,
|
|
28913
|
+
access: "create"
|
|
28914
|
+
},
|
|
28833
28915
|
"dayNight.getOptions": {
|
|
28834
28916
|
capName: "day-night",
|
|
28835
28917
|
capScope: "device",
|
|
@@ -31908,6 +31990,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
31908
31990
|
addonId: null,
|
|
31909
31991
|
access: "delete"
|
|
31910
31992
|
},
|
|
31993
|
+
"settingsStore.deleteWhere": {
|
|
31994
|
+
capName: "settings-store",
|
|
31995
|
+
capScope: "system",
|
|
31996
|
+
addonId: null,
|
|
31997
|
+
access: "delete"
|
|
31998
|
+
},
|
|
31911
31999
|
"settingsStore.get": {
|
|
31912
32000
|
capName: "settings-store",
|
|
31913
32001
|
capScope: "system",
|
|
@@ -31950,6 +32038,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
31950
32038
|
addonId: null,
|
|
31951
32039
|
access: "create"
|
|
31952
32040
|
},
|
|
32041
|
+
"settingsStore.updateWhere": {
|
|
32042
|
+
capName: "settings-store",
|
|
32043
|
+
capScope: "system",
|
|
32044
|
+
addonId: null,
|
|
32045
|
+
access: "create"
|
|
32046
|
+
},
|
|
31953
32047
|
"smtpProvider.getStatus": {
|
|
31954
32048
|
capName: "smtp-provider",
|
|
31955
32049
|
capScope: "system",
|
|
@@ -34170,6 +34264,7 @@ exports.MotionZonePatchSchema = MotionZonePatchSchema;
|
|
|
34170
34264
|
exports.MotionZoneRegionSchema = MotionZoneRegionSchema;
|
|
34171
34265
|
exports.MotionZoneStatusSchema = MotionZoneStatusSchema;
|
|
34172
34266
|
exports.MqttBrokerStatusSchema = StatusSchema;
|
|
34267
|
+
exports.MutationFilterSchema = MutationFilterSchema;
|
|
34173
34268
|
exports.NC_BASE_CONDITION_KEYS = NC_BASE_CONDITION_KEYS;
|
|
34174
34269
|
exports.NC_CONDITION_CATALOG = NC_CONDITION_CATALOG;
|
|
34175
34270
|
exports.NC_HISTORY_LIMIT_DEFAULT = NC_HISTORY_LIMIT_DEFAULT;
|
package/dist/index.mjs
CHANGED
|
@@ -14920,6 +14920,8 @@ function createSystemProxy(api) {
|
|
|
14920
14920
|
insert: (input) => dispatch("settingsStore", "insert", "mutation", input),
|
|
14921
14921
|
update: (input) => dispatch("settingsStore", "update", "mutation", input),
|
|
14922
14922
|
delete: (input) => dispatch("settingsStore", "delete", "mutation", input),
|
|
14923
|
+
deleteWhere: (input) => dispatch("settingsStore", "deleteWhere", "mutation", input),
|
|
14924
|
+
updateWhere: (input) => dispatch("settingsStore", "updateWhere", "mutation", input),
|
|
14923
14925
|
count: (input) => dispatch("settingsStore", "count", "query", input),
|
|
14924
14926
|
histogram: (input) => dispatch("settingsStore", "histogram", "query", input),
|
|
14925
14927
|
isEmpty: (input) => dispatch("settingsStore", "isEmpty", "query", input),
|
|
@@ -17438,6 +17440,20 @@ var QueryFilterSchema = z.object({
|
|
|
17438
17440
|
limit: z.number().optional(),
|
|
17439
17441
|
offset: z.number().optional()
|
|
17440
17442
|
});
|
|
17443
|
+
/**
|
|
17444
|
+
* The predicate half of a filter, for BULK MUTATIONS.
|
|
17445
|
+
*
|
|
17446
|
+
* Deliberately not `QueryFilterSchema`: `orderBy` / `limit` / `offset` have no
|
|
17447
|
+
* meaning for a statement that rewrites a set, and accepting them would invite
|
|
17448
|
+
* a caller to believe `limit` bounds the damage. Every field is optional here
|
|
17449
|
+
* only so the shape stays composable — the implementation REJECTS a filter
|
|
17450
|
+
* that compiles to no predicate, because that is the whole collection.
|
|
17451
|
+
*/
|
|
17452
|
+
var MutationFilterSchema = z.object({
|
|
17453
|
+
where: z.record(z.string(), z.unknown()).optional(),
|
|
17454
|
+
whereIn: z.record(z.string(), z.array(z.unknown())).optional(),
|
|
17455
|
+
whereBetween: z.record(z.string(), z.tuple([z.unknown(), z.unknown()])).optional()
|
|
17456
|
+
});
|
|
17441
17457
|
/** A single stored record: `{ id, data }`. */
|
|
17442
17458
|
var SettingsRecordSchema = z.object({
|
|
17443
17459
|
id: z.string(),
|
|
@@ -17463,7 +17479,18 @@ var CollectionColumnSchema = z.object({
|
|
|
17463
17479
|
]),
|
|
17464
17480
|
primaryKey: z.boolean().optional(),
|
|
17465
17481
|
notNull: z.boolean().optional(),
|
|
17466
|
-
unique: z.boolean().optional()
|
|
17482
|
+
unique: z.boolean().optional(),
|
|
17483
|
+
/**
|
|
17484
|
+
* Column DEFAULT. Required for B2: the four `ensureTable` consumers declare
|
|
17485
|
+
* columns like `enabled INTEGER NOT NULL DEFAULT 1`, and without this the
|
|
17486
|
+
* collection surface simply cannot express their existing tables — which is
|
|
17487
|
+
* why they were still on the uncapped `table*` API.
|
|
17488
|
+
*/
|
|
17489
|
+
defaultValue: z.union([
|
|
17490
|
+
z.string(),
|
|
17491
|
+
z.number(),
|
|
17492
|
+
z.boolean()
|
|
17493
|
+
]).optional()
|
|
17467
17494
|
});
|
|
17468
17495
|
var CollectionIndexSchema = z.object({
|
|
17469
17496
|
name: z.string(),
|
|
@@ -17543,6 +17570,36 @@ var settingsStoreCapability = {
|
|
|
17543
17570
|
collection: z.string(),
|
|
17544
17571
|
key: z.string()
|
|
17545
17572
|
}), z.void(), { kind: "mutation" }),
|
|
17573
|
+
/**
|
|
17574
|
+
* Delete every record matching `filter`, in ONE statement, returning how
|
|
17575
|
+
* many rows went. This exists because its absence made every retention
|
|
17576
|
+
* path in the system an N+1 drain loop: `delete` takes a key, so a sweep
|
|
17577
|
+
* had to SELECT a page of full rows — every column, including the fat
|
|
17578
|
+
* ones — purely to learn their ids, then issue one call per row.
|
|
17579
|
+
*
|
|
17580
|
+
* **The filter is required and must resolve.** A predicate naming
|
|
17581
|
+
* something the collection cannot express is an ERROR here, not a
|
|
17582
|
+
* widening as it is on `query`, and a filter with no predicates is an
|
|
17583
|
+
* error rather than "every row". Deleting a whole collection is a
|
|
17584
|
+
* legitimate intent, but it must be asked for by name — not reached by
|
|
17585
|
+
* an empty object.
|
|
17586
|
+
*/
|
|
17587
|
+
deleteWhere: method(z.object({
|
|
17588
|
+
namespace: z.string().optional(),
|
|
17589
|
+
collection: z.string(),
|
|
17590
|
+
filter: MutationFilterSchema
|
|
17591
|
+
}), z.object({ deleted: z.number().int() }), { kind: "mutation" }),
|
|
17592
|
+
/**
|
|
17593
|
+
* Apply `data` to every record matching `filter`, in one statement,
|
|
17594
|
+
* returning how many rows changed. Same filter contract as
|
|
17595
|
+
* {@link deleteWhere} — an unresolvable predicate is an error.
|
|
17596
|
+
*/
|
|
17597
|
+
updateWhere: method(z.object({
|
|
17598
|
+
namespace: z.string().optional(),
|
|
17599
|
+
collection: z.string(),
|
|
17600
|
+
filter: MutationFilterSchema,
|
|
17601
|
+
data: z.record(z.string(), z.unknown())
|
|
17602
|
+
}), z.object({ updated: z.number().int() }), { kind: "mutation" }),
|
|
17546
17603
|
/** Count entries in a collection, optionally filtered. */
|
|
17547
17604
|
count: method(z.object({
|
|
17548
17605
|
namespace: z.string().optional(),
|
|
@@ -17680,6 +17737,19 @@ var dataStoreProviderCapability = {
|
|
|
17680
17737
|
collection: z.string(),
|
|
17681
17738
|
key: z.string()
|
|
17682
17739
|
}), z.void(), { kind: "mutation" }),
|
|
17740
|
+
/** Delete every record matching `filter`, in one statement. */
|
|
17741
|
+
deleteWhere: method(z.object({
|
|
17742
|
+
namespace: z.string().optional(),
|
|
17743
|
+
collection: z.string(),
|
|
17744
|
+
filter: MutationFilterSchema
|
|
17745
|
+
}), z.object({ deleted: z.number().int() }), { kind: "mutation" }),
|
|
17746
|
+
/** Apply `data` to every record matching `filter`, in one statement. */
|
|
17747
|
+
updateWhere: method(z.object({
|
|
17748
|
+
namespace: z.string().optional(),
|
|
17749
|
+
collection: z.string(),
|
|
17750
|
+
filter: MutationFilterSchema,
|
|
17751
|
+
data: z.record(z.string(), z.unknown())
|
|
17752
|
+
}), z.object({ updated: z.number().int() }), { kind: "mutation" }),
|
|
17683
17753
|
/** Count entries in a collection, optionally filtered. */
|
|
17684
17754
|
count: method(z.object({
|
|
17685
17755
|
namespace: z.string().optional(),
|
|
@@ -28781,6 +28851,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28781
28851
|
addonId: null,
|
|
28782
28852
|
access: "delete"
|
|
28783
28853
|
},
|
|
28854
|
+
"dataStoreProvider.deleteWhere": {
|
|
28855
|
+
capName: "data-store-provider",
|
|
28856
|
+
capScope: "system",
|
|
28857
|
+
addonId: null,
|
|
28858
|
+
access: "delete"
|
|
28859
|
+
},
|
|
28784
28860
|
"dataStoreProvider.get": {
|
|
28785
28861
|
capName: "data-store-provider",
|
|
28786
28862
|
capScope: "system",
|
|
@@ -28829,6 +28905,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
28829
28905
|
addonId: null,
|
|
28830
28906
|
access: "create"
|
|
28831
28907
|
},
|
|
28908
|
+
"dataStoreProvider.updateWhere": {
|
|
28909
|
+
capName: "data-store-provider",
|
|
28910
|
+
capScope: "system",
|
|
28911
|
+
addonId: null,
|
|
28912
|
+
access: "create"
|
|
28913
|
+
},
|
|
28832
28914
|
"dayNight.getOptions": {
|
|
28833
28915
|
capName: "day-night",
|
|
28834
28916
|
capScope: "device",
|
|
@@ -31907,6 +31989,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
31907
31989
|
addonId: null,
|
|
31908
31990
|
access: "delete"
|
|
31909
31991
|
},
|
|
31992
|
+
"settingsStore.deleteWhere": {
|
|
31993
|
+
capName: "settings-store",
|
|
31994
|
+
capScope: "system",
|
|
31995
|
+
addonId: null,
|
|
31996
|
+
access: "delete"
|
|
31997
|
+
},
|
|
31910
31998
|
"settingsStore.get": {
|
|
31911
31999
|
capName: "settings-store",
|
|
31912
32000
|
capScope: "system",
|
|
@@ -31949,6 +32037,12 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
31949
32037
|
addonId: null,
|
|
31950
32038
|
access: "create"
|
|
31951
32039
|
},
|
|
32040
|
+
"settingsStore.updateWhere": {
|
|
32041
|
+
capName: "settings-store",
|
|
32042
|
+
capScope: "system",
|
|
32043
|
+
addonId: null,
|
|
32044
|
+
access: "create"
|
|
32045
|
+
},
|
|
31952
32046
|
"smtpProvider.getStatus": {
|
|
31953
32047
|
capName: "smtp-provider",
|
|
31954
32048
|
capScope: "system",
|
|
@@ -33806,4 +33900,4 @@ function enumerateInferenceDevices(hw) {
|
|
|
33806
33900
|
return out;
|
|
33807
33901
|
}
|
|
33808
33902
|
//#endregion
|
|
33809
|
-
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
33903
|
+
export { ACCESSORY_LABEL, ALL_CAPABILITY_DEFINITIONS, APPLE_SA_TO_MACRO, AUDIO_BACKEND_CHOICES, AUDIO_MACRO_LABELS, AccessoriesStatusSchema, AccessoryKind, AddBrokerInputSchema, AddonAutoUpdateSchema, AddonListItemSchema, AddonPageDeclarationSchema, AddonPageInfoSchema, AdoptInputSchema as AdoptionAdoptInputSchema, AdoptResultSchema as AdoptionAdoptResultSchema, AdoptionFilterSchema, GetCandidateInputSchema as AdoptionGetCandidateInputSchema, ListCandidatesInputSchema as AdoptionListCandidatesInputSchema, ListCandidatesOutputSchema as AdoptionListCandidatesOutputSchema, ReleaseInputSchema as AdoptionReleaseInputSchema, AdoptionStatusSchema, AgentLoadSummarySchema, AirQualitySensorStatusSchema, AlarmArmModeSchema, AlarmPanelStatusSchema, AlarmStateSchema, AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, AmbientLightSensorStatusSchema, ApiKeyRecordSchema, ApiKeySummarySchema, ArchiveEntrySchema, ArchiveManifestSchema, AttachmentMediaTypeSchema, AttachmentSchema, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioChunkInputSchema, AudioClassSummarySchema, AudioClassificationLabelSchema, AudioClassificationResultSchema, AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodeSchema, AudioEncodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEventSchema, AudioLevelSchema, AudioMetricsHistoryPointSchema, AudioMetricsHistorySchema, AudioMetricsSnapshotSchema, AudioPcmChunkSchema, AuthResultSchema, AutoUpdateSettingsSchema, AutomationControlStatusSchema, AvailableIntegrationTypeSchema, BACKEND_TO_FORMAT, BATTERY_DEVICE_PROFILE, BacklightModeSchema, BackupDestinationInfoSchema, BackupEntrySchema, BaseAddon, BaseDevice, BaseDeviceProvider, BatteryStatusSchema, BinaryStatusSchema, BoundingBoxSchema, BrightnessStatusSchema, AddInputSchema as BrokerAddInputSchema, BrokerAudioClientSchema, BrokerClientsSchema, BrokerConnectionDetailsSchema, BrokerConsumerAttributionSchema, BrokerConsumerKindSchema, BrokerDecodedClientSchema, BrokerEncodedClientSchema, GetStateInputSchema as BrokerGetStateInputSchema, BrokerInfoSchema, BrokerProviderInfoSchema, PublishInputSchema as BrokerPublishInputSchema, RegistryStatusSchema as BrokerRegistryStatusSchema, BrokerRtspClientSchema, BrokerStatsSchema, BrokerStatusEnum, BrokerStatusSchema, SubscribeInputSchema as BrokerSubscribeInputSchema, SubscribeResultSchema as BrokerSubscribeResultSchema, TestConnectionResultSchema as BrokerTestConnectionResultSchema, UnsubscribeInputSchema as BrokerUnsubscribeInputSchema, CAM_PROFILE_ORDER, CAPABILITY_NAMES, CAPABILITY_ROUTER_KEYS, CAP_NAMES_WITH_STATUS, CAP_NODE_PIN_CONTEXT_KEY, CAP_PROVIDER_KIND_MAP, COCO_80_LABELS, COCO_TO_MACRO, CamProfileSchema, CamStreamDescriptorSchema, CamStreamKindSchema, CamStreamResolutionSchema, CameraAssignmentStatusSchema, CameraAudioStatusSchema, CameraBrokerProfileSchema, CameraBrokerStatusSchema, CameraCredentialsSchema, CameraCredentialsStatusSchema, CameraDecoderShmSchema, CameraDecoderStatusSchema, CameraDetectionPhaseSchema, CameraDetectionProvisioningSchema, CameraDetectionProvisioningStateSchema, CameraDetectionStatusSchema, CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, CameraMotionStatusSchema, CameraRecordingModeSchema, CameraRecordingStatusSchema, CameraSourceStatusSchema, CameraSourceStreamSchema, CameraStatusSchema, CameraStreamSchema, CandidateQueryFilterSchema, CapScopeSchema, CapabilityBindingsSchema, CarbonMonoxideStatusSchema, ChargingStatus, ClientNetworkStatsSchema, ClimateControlStatusSchema, ClipPlaybackSchema, ClipSchema, ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, CollectionColumnSchema, CollectionIndexSchema, ColorStatusSchema, ConfigEntrySchema, ConfigSectionWithValuesSchema, ConfigTabDeclarationSchema, ConnectivityStatusSchema, ConsumableItemSchema, ConsumablesStatusSchema, ContactStatusSchema, ControlKindSchema, ControlStatusSchema, ConvertArtifactSchema, ConvertResultSchema, ConvertTargetSchema, CoverStateSchema, CoverStatusSchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateIntegrationInputSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, CustomActionInputSchema, CustomModelDescriptorSchema, DATAPLANE_SECRET_HEADER, DEFAULT_ADDON_PLACEMENT, DEFAULT_AUDIO_ANALYZER_CONFIG, DEFAULT_DECODER_HWACCEL_CONFIG, DEFAULT_EVENT_COLOR, DEFAULT_FEATURES, DEFAULT_RETENTION, DEFAULT_SCRUB_THUMBNAIL_PRESET, DEVICE_BACKEND_TO_FORMAT, DEVICE_CAP_NAMES, DEVICE_PROFILES, DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, DEVICE_TYPE_CONTROL_KIND, DEVICE_TYPE_INFO, EngineInfoSchema as DataStoreEngineInfoSchema, DayNightModeSchema, DayNightOptionsSchema, DayNightSettingsPatchSchema, DayNightStatusSchema, DecodedAudioChunkSchema, DecodedFrameSchema, DecoderSessionConfigSchema, DecoderStatsSchema, DeleteIntegrationResultSchema, DetectionSourceSchema, DeviceCodeSeveritySchema, DeviceConfig, DeviceDiscoveryStatusSchema, ExposeInputSchema as DeviceExportExposeInputSchema, DeviceExportStatusSchema, UnexposeInputSchema as DeviceExportUnexposeInputSchema, DeviceFeature, DeviceInfoSchema, DeviceLinkModeSchema, DeviceNetworkStatsSchema, DeviceRole, DeviceRuntimeState, DeviceStatusSchema, DeviceType, DiscoveredChildDeviceSchema, DiscoveredChildStatusSchema, DiscoveredDeviceSchema, DiscoveredTargetSchema, DisposerChain, DoorbellPressEventSchema, DoorbellStatusSchema, EVENTFUL_CAP_NAMES, EVENT_KIND_BY_CAP, EVENT_PAD_MS, EVENT_TAXONOMY, EXPRESSION_BUILTINS, EXPRESSION_BUILTIN_NAMES, EXPRESSION_COMPILE_CACHE_CAPACITY, EXPRESSION_IDENTIFIER_RE, EXPRESSION_INJECTED_NOW, ElementConfigStore, EmbeddingInfoSchema, EmbeddingResultSchema, EncodeProfileSchema, EncodedPacketSchema, EnrichedWidgetMetadataSchema, EnumSensorDateTimeFormatSchema, EnumSensorStatusSchema, EventCategory, EventEmitterStatusSchema, EventFireSchema, EventItemSchema, EventKindCategorySchema, EventKindDescriptorSchema, EventKindIconSchema, EventKindSchema, EventSourceType, ExportDownloadSchema, ExportOptionsSchema, ExportRecordSchema, ExportSetupFieldSchema, ExportSetupSchema, ExportSpeedSchema, ExportStateSchema, ExportTimelapseSchema, ExposedDeviceSchema, ExposureModeSchema, ExpressionEvalError, ExpressionParseError, FanControlStatusSchema, FanDirectionSchema, FeatureManifestSchema, FeatureProbeStatusSchema, FloodStatusSchema, FrameHandleFormatSchema, FrameHandleSchema, FrameInputSchema, GasStatusSchema, GetStreamWithCodecInputSchema, GlobalMetricsSchema, HF_BASE_URL, HF_REPO, HWACCEL_OPTIONS, HealthStatusSchema, HistoryPointSchema, HistoryResolutionEnum, HumidifierStatusSchema, HumiditySensorStatusSchema, HvacModeSchema, ImageContractSchema, ImageContractStateSchema, ImageRotateSchema, ImageSettingsOptionsSchema, ImageSettingsPatchSchema, ImageSettingsStatusSchema, ImageStatusSchema, IngestOwnerSchema, InstalledPackageSchema, IntegrationLiteSchema, IntegrationWithStateSchema, IntercomAbilitySchema, IntercomStatusSchema, KNOWN_CAP_NAMES, KeyEventSchema, LOG_LEVEL_RANK, LabelDefinitionSchema, LawnMowerActivitySchema, LawnMowerControlStatusSchema, LinkedDeviceSchema, LlmDefaultSchema, LlmDefaultSelectorSchema, LlmErrorCodeSchema, LlmGenerateBaseInputSchema, LlmGenerateErrSchema, LlmGenerateOkSchema, LlmGenerateResultSchema, LlmImageSchema, LlmNodeModelSchema, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, LlmRuntimeCompleteInputSchema, LlmRuntimeDiskUsageSchema, LlmRuntimeNodeSchema, LlmRuntimeStatusSchema, LlmUsageRollupSchema, LlmUsageSchema, LocateSegmentResultSchema, LocationStatSchema, LockControlStatusSchema, LockStateSchema, LogEntrySchema, LogLevelSchema, LogStreamEntrySchema, LoginMethodContributionSchema, LoginStageEnum, MACRO_LABELS, MAX_EXPRESSION_AST_NODES, MAX_EXPRESSION_BINDINGS, MAX_EXPRESSION_CALL_ARGS, MAX_EXPRESSION_EVAL_STEPS, MAX_EXPRESSION_SOURCE_LENGTH, METHOD_ACCESS_MAP, MODEL_FORMATS, MOTION_TRIGGER_FEATURE, ManagedModelCatalogEntrySchema, ManagedModelRefSchema, ManagedRuntimeConfigSchema, MaskGridDimsSchema, MaskGridShapeSchema, MaskLineShapeSchema, MaskPointSchema, MaskPolygonShapeSchema, MaskPolygonVerticesSchema, MaskRectShapeSchema, MaskShapeKindSchema, MaskShapeSchema, MediaFileSchema, MediaPlayerRepeatSchema, MediaPlayerStateSchema, MediaPlayerStatusSchema, MeshPeerSchema, MeshStatusSchema, MethodAccessSchema, ModelCatalogEntrySchema, ModelConvertInputSchema, ModelConvertMetadataSchema, ModelDistributeInputSchema, ModelDistributeResultSchema, ModelExtraFileSchema, ModelFormatEntrySchema, ModelFormatsSchema, ModelSubstitutionSchema, ModelVariantGroupSchema, MotionAnalysisResultSchema, MotionEventSchema, MotionOnMotionChangedDataSchema, MotionRegionSchema, MotionSourceEnum, MotionSourcesSchema, MotionStatusSchema, MotionTriggerRuntimeStateSchema, MotionTriggerStatusSchema, MotionZoneOptionsSchema, MotionZonePatchSchema, MotionZoneRegionSchema, MotionZoneStatusSchema, StatusSchema as MqttBrokerStatusSchema, MutationFilterSchema, NC_BASE_CONDITION_KEYS, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_TAXONOMY, NativeCropBboxSchema, NativeCropRefSchema, NativeCropResultSchema, NativeDetectionSchema, NativeObjectClassEnum, NativeObjectDetectionRuntimeStateSchema, NativeObjectDetectionStatusSchema, NcConditionDescriptorSchema, NcConditionsSchema, NcCrossingSchema, NcDeliverySchema, NcHistoryEntrySchema, NcHistoryFilterSchema, NcHistoryRecordKindSchema, NcHistoryStatusSchema, NcHistorySubjectSchema, NcMediaFrameSchema, NcMediaPolicySchema, NcOccupancyConditionSchema, NcPlateMatcherSchema, NcRuleInputSchema, NcRulePatchSchema, NcRuleSchema, NcRuleTargetSchema, NcScheduleSchema, NcScheduleWindowSchema, NcTaxonomyEntrySchema, NcTaxonomySchema, NcTestResultSchema, NcThrottleGranularitySchema, NcThrottleSchema, NcZoneConditionSchema, NetworkAccessStatusSchema, NetworkAddressSchema, NetworkEndpointSchema, NotificationActionSchema, NotificationFormatSchema, NotificationSchema, NotifierStatusSchema, NumericSensorStatusSchema, OPS_LOG_DEFAULT_LIMIT, OPS_LOG_RING_DEFAULT_MAX, OauthIntegrationDescriptorSchema, ObjectEventSchema, OpsLogDomainSchema, OpsLogEntrySchema, OpsLogOpSchema, OpsLogQueryInputSchema, OpsLogReasonSchema, OrchestratorMetricsSchema, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, OsdPositionEnum, OsdStatusSchema, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, PIPELINE_FLOW_CAPABILITY_NAMES, PIPELINE_OWNER_CAPABILITY_NAMES, PROVIDER_KIND_CAP_NAMES, PYTHON_SCRIPT, PackageUpdateSchema, PackageVersionInfoSchema, PasskeyLoginMethodSchema, PasskeySummarySchema, PcmSampleFormatSchema, PerScopeBreakdownSchema, PetFeederStatusSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, PickedCamStreamSchema, PipelineAssignmentSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, PlaceholderReasonSchema, PolygonPointSchema, PowerMeterStatusSchema, PresenceStatusSchema, PressureSensorStatusSchema, PrivacyMaskOptionsSchema, PrivacyMaskPatchSchema, PrivacyMaskRegionSchema, PrivacyMaskShapeSchema, PrivacyMaskStatusSchema, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, ProviderStatusSchema, PtzAutotrackRuntimeStateSchema, PtzAutotrackSettingsSchema, PtzAutotrackStatusSchema, PtzAutotrackTargetOptionSchema, PtzMoveCommandSchema, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, PtzStatusSchema, QueryFilterSchema, REACHABILITY_FAILURES_TO_OFFLINE, REACHABILITY_POLL_INTERVAL_MS, REACHABILITY_PROBE_TIMEOUT_MS, RECOGNITION_TYPES, RESERVED_BINDING_NAMES, RUNTIME_DEFAULTS, RUNTIME_TO_FORMAT, RawStateResultSchema, ReadSegmentBytesResultSchema, ReadinessRegistry, ReadinessTimeoutError, RecentTracksPageSchema, RecentTracksQueryInput, RecordingAvailabilitySchema, RecordingBandModeSchema, RecordingBandSchema, RecordingBandTriggersSchema, RecordingConfigSchema, RecordingDaysSchema, RecordingDeviceUsageSchema, RecordingLocationUsageSchema, RecordingManifestSchema, RecordingRangeSchema, RecordingRetentionSchema, RecordingStatusSchema, RecordingStorageModeSchema, RecordingStorageUsageSchema, RecordingTriggersSchema, RecordingWeekdaySchema, RedirectLoginMethodSchema, RelocateFootageInputSchema, RelocateJobSchema, RelocateJobStateSchema, RelocateMediaInputSchema, RenderedAsSchema, ReportMotionInputSchema, RingBuffer, RtpSourceSchema, RtspRestreamEntrySchema, RunnerCameraConfigSchema, RunnerCameraDeviceUIFields, RunnerFrameSourceSchema, RunnerInferenceDeviceSchema, RunnerLocalLoadSchema, RunnerLocalMetricsSchema, SCOPE_PRESETS, SCRUB_THUMBNAIL_PRESETS, SCRUB_THUMBNAIL_PRESET_LABELS, SCRUB_THUMBNAIL_PRESET_ORDER, SENSOR_FEATURES, SENSOR_MAP, SOURCE_INFO_METADATA_KEY, STREAM_PROFILE_META, STREAM_QUALITY_LABELS, SUB_DETECTION_TYPES, SYSTEM_CAP_NAMES, SceneCheckSchema, SceneConditionSchema, SceneMonitorSchema, SceneMonitorStateSchema, SceneMonitorStatusSchema, SceneReferenceSchema, ScopedTokenSchema, ScopedTokenSummarySchema, ScoredObjectEventSchema, ScriptRunnerStatusSchema, ScrubThumbnailPresetSchema, SearchResultSchema, SendEmailInputSchema, SendEmailResultSchema, SendResultSchema, SensorEventSchema, ServerBootModeSchema, ServerPackageStatusSchema, ServerRollbackInfoSchema, ServerUpdateActionResultSchema, ServerUpdateCheckResultSchema, ServerUpdateStateSchema, SettingsPatchSchema, SettingsRecordSchema, SettingsSchemaWithValuesSchema, SettingsUpdateResultSchema, ShmRingStatsSchema, SmokeStatusSchema, SmtpStatusSchema, SnapshotImageSchema, SourceInfoSchema, SpatialDetectionSchema, SsoBridgeClaimsSchema, StartEmbeddedInputSchema, StationaryObjectSchema, AbortUploadInputSchema as StorageAbortUploadInputSchema, BeginDownloadInputSchema as StorageBeginDownloadInputSchema, BeginDownloadResultSchema as StorageBeginDownloadResultSchema, BeginUploadInputSchema as StorageBeginUploadInputSchema, BeginUploadResultSchema as StorageBeginUploadResultSchema, EndDownloadInputSchema as StorageEndDownloadInputSchema, FinalizeUploadInputSchema as StorageFinalizeUploadInputSchema, StorageLocationDeclarationSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, ProviderInfoSchema as StorageProviderInfoSchema, ReadChunkInputSchema as StorageReadChunkInputSchema, TestLocationResultSchema as StorageTestLocationResultSchema, WriteChunkInputSchema as StorageWriteChunkInputSchema, StreamCodecSchema, StreamFormatSchema, StreamNetworkStatsSchema, StreamParamsOptionsSchema, StreamParamsStatusSchema, StreamProfileConfigSchema, StreamProfileOptionsSchema, StreamProfilePatchSchema, StreamProfileSchema, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, SwitchStatusSchema, SystemMetricsSchema, SystemMirror, TAXONOMY_COLORS, TIMEZONES, TamperStatusSchema, TankStatusSchema, TargetKindCapsSchema, TargetKindLevelSchema, TargetKindSchema, TargetSchema, TemperatureSensorStatusSchema, TerminalProfileInfoSchema, TerminalSessionInfoSchema, TestConnectionResultSchema$1 as TestConnectionResultSchema, TestResultSchema, TimelapseRuleInputSchema, TimelapseRulePatchSchema, TimelapseRuleSchema, TimelapseTemplateSchema, ToastSchema, TokenScopeSchema, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, TrackCascadeCountsSchema, TrackEnvelopeSchema, TrackProjectionSchema, TrackSchema, TrackStateSchema, TrackZoneFilterSchema, TrackedDetectionSchema, TurnServerSchema, UNIT_TABLE, BrokerInfoSchema$1 as UnifiedBrokerInfoSchema, UnitConversionError, UpdateIntegrationInputSchema, UpdateStatusSchema, UpdateUserInputSchema, UserRecordSchema, UserSummarySchema, VacuumControlStatusSchema, VacuumStateSchema, ValveStateSchema, ValveStatusSchema, VibrationStatusSchema, VideoEncodeSchema, WELL_KNOWN_TABS, WELL_KNOWN_TAB_MAP, WaterHeaterStatusSchema, WeatherStatusSchema, WebrtcStreamChoiceSchema, WebrtcStreamTargetSchema, WhiteBalanceModeSchema, WidgetHostEnum, WidgetLoginMethodSchema, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, YAMNET_TO_MACRO, ZoneCrossingDirectionSchema, ZoneCrossingSchema, ZoneKindEnum, ZoneRuleModeEnum, ZoneRuleSchema, ZoneRuleStageEnum, ZoneRulesArraySchema, ZoneSchema, ZoneScopeBreakdownSchema, accessoriesCapability, accessoryStableId, addonPagesCapability, addonPagesSourceCapability, addonRoutesCapability, addonSettingsCapability, addonWidgetsCapability, addonWidgetsSourceCapability, addonsCapability, adminUiCapability, airQualitySensorCapability, alarmPanelCapability, alertsCapability, ambientLightSensorCapability, applyTransform, asBoolean, asJsonArray, asJsonObject, asNumber, asString, audioAnalysisCapability, audioAnalyzerCapability, audioCodecCapability, audioMetricsCapability, authProviderCapability, autoAssignProfiles, automationControlCapability, backupCapability, batteryCapability, bestLocationMatch, binaryCapability, bindAddonActions, brightnessCapability, brokerCapability, buildAddonRouteProvider, buildEventKindDescriptor, buildModelVariantGroups, buildNcTaxonomy, buildStreamParamsConfigSchema, buttonCapability, cameraCredentialsCapability, cameraPipelineConfigCapability, cameraStreamsCapability, canConvertUnit, carbonMonoxideCapability, cellsToRects, classifyStream, classifyStreams, climateControlCapability, collectHydratedFieldEntries, collectHydratedFieldValues, colorCapability, colorForKind, compileExpression, compileExpressionSafe, connectivityCapability, consumablesCapability, contactCapability, controlCapability, convertUnit, cosineSimilarity, coverCapability, createDeviceProxy, createDurableState, createEvent, createExpressionScope, createLazyTrpcSource, createMirrorSource, createRuntimeStateBridge, createSliceHandle, createSystemProxy, customAction, customModelRegistryCapability, dataStoreProviderCapability, dayNightCapability, decoderCapability, defaultDeviceFor, defineCustomActions, deriveRecordingMode, describeModelVariant, detectionPipelineCapability, deviceAdoptionCapability, deviceBackendToFormat, deviceCustomAction, deviceDiscoveryCapability, deviceExportCapability, deviceManagerCapability, deviceMatchesProfile, deviceOpsCapability, deviceProviderCapability, deviceStateCapability, deviceStatusCapability, doorbellCapability, embeddingEncoderCapability, emitDownForOwnedCaps, emitReadiness, encodeProfileFromStreamShape, enumSensorCapability, enumerateInferenceDevices, enumerateItemArrayFields, enumerateSchemaFields, errMsg, evaluateAst, evaluateLinkExpression, evaluateZoneRules, event, eventEmitterCapability, eventsCapability, expandCapMethods, extractNestedAddonId, extractSourceInfoFromMetadata, faceGalleryCapability, fanControlCapability, featureProbeCapability, filesystemBrowseCapability, findTimezone, floodCapability, formatForBackend, formatForRuntime, gasCapability, getAudioMacroClassIds, getByPath, getCapsByProviderKind, getTaxonomyEntry, hasMotionTrigger, hfModelUrl, htmlToText, humidifierCapability, humiditySensorCapability, hydrateSchema, imageCapability, imageSettingsCapability, integrationsCapability, intercomCapability, isAgentOnlyPlacement, isArrayOutputSchema, isBaseConditionKey, isCollectionArrayMethod, isDeployableToAgent, isDeviceConfigCap, isEvent, isNode, isObjectInput, isVoidInput, jobKindSchema, kebabToCamel, knownValues, lawnMowerControlCapability, lifecycleJobSchema, lifecycleJobScopeSchema, lifecycleJobStateSchema, lifecycleTaskSchema, llmCapability, llmRuntimeCapability, localNetworkCapability, locationSimilarity, lockControlCapability, logDestinationCapability, logLevelAtMost, loginMethodCapability, looseSchema, makeProfileBrokerId, makeSourceBrokerId, mapAudioLabelToMacro, markdownToHtmlLite, markdownToText, maskUrlCredentials, mediaPlayerCapability, mergeSourceInfo, meshNetworkCapability, method, metricsProviderCapability, modelConvertCapability, modelDistributorCapability, modelFormatForRuntime, motionCapability, motionDetectionCapability, motionTriggerCapability, motionZonesCapability, mqttBrokerCapability, nativeObjectDetectionCapability, networkAccessCapability, networkQualityCapability, nodePin, nodesCapability, normalizeAddonInitResult, normalizeUnit, notificationOutputCapability, notificationRulesCapability, notifierCapability, numericSensorCapability, oauthIntegrationCapability, objectInputDeclaresAddonId, osdCapability, parseCameraStreamConfig, parseExpression, parseJsonArray, parseJsonObject, parseJsonUnknown, parseProfileBrokerId, parseStreamParamsFormPatch, petFeederCapability, pickAccessoryControl, pickPreferredRtspEntry, pickerForCondition, pipelineAnalyticsCapability, pipelineExecutorCapability, pipelineOrchestratorCapability, pipelineRunnerCapability, plateGalleryCapability, platformProbeCapability, powerMeterCapability, prepareNotification, presenceCapability, pressureSensorCapability, privacyMaskCapability, procedureAuthKey, ptzAutotrackCapability, ptzCapability, pythonScriptForBackend, readNodePin, readinessKey, rebootCapability, recordingCapability, recordingExportCapability, rectsToCells, requiresPython, resolveAddonExecution, resolveAddonGroup, resolveAddonPlacement, resolveAddonRuntime, resolveCapMount, resolveDetectionRuntime, resolveDeviceControlKind, resolveDeviceProfile, resolveFormat, resolveHydratedFieldValue, resolveModelFormat, resolveMutate, resolveRunnerId, resolveScrubThumbnailGeometry, resolveVariantModelId, runInferenceStep, runtimeDevices, sceneMonitorCapability, scopeKey, scoreRuntimes, scriptRunnerCapability, selectAssignedProfileSlots, serverManagementCapability, setByPath, settingsStoreCapability, sleep, sleepCancellable, smokeCapability, smtpProviderCapability, snapshotCapability, ssoBridgeCapability, startReachabilityPoll, storageCapability, storageEvictableCapability, storageProviderCapability, streamBrokerCapability, streamCatalogCapability, streamParamsCapability, streamPixels, streamQualityLabel, subKindsOf, supportedRuntimes, switchCapability, synthesizeSourceInfo, systemCapability, tamperCapability, taskLogEntrySchema, taskPhaseSchema, taskTargetSchema, temperatureSensorCapability, terminalSessionCapability, textToHtml, toDeviceSummary, toExpressionValue, toStreamSourceEntry, toastCapability, tokenize, transcodeBody, tryConvertUnit, turnProviderCapability, unitDimension, unitsForDimension, updateCapability, userManagementCapability, userPasskeysCapability, vacuumControlCapability, validateExpressionSource, valveCapability, vibrationCapability, videoclipsCapability, viewerUiCapability, waterHeaterCapability, weatherCapability, webrtcClientHintsSchema, webrtcSessionCapability, wiringAddonHealthSchema, wiringHealthSnapshotSchema, wiringNodeHealthSchema, wiringProbeKindSchema, wiringProbeResultSchema, zodEntriesToConfigUI, zoneAnalyticsCapability, zoneRulesCapability, zonesCapability };
|
|
@@ -142,20 +142,6 @@ export interface ISettingsBackend {
|
|
|
142
142
|
columns: readonly import('../capabilities/settings-store.cap.js').CollectionColumn[];
|
|
143
143
|
indexes?: readonly import('../capabilities/settings-store.cap.js').CollectionIndex[];
|
|
144
144
|
}): Promise<void>;
|
|
145
|
-
/** Ensure a structured table exists (CREATE TABLE IF NOT EXISTS) */
|
|
146
|
-
ensureTable?(table: string, schema: TableSchema): Promise<void>;
|
|
147
|
-
/** Insert a row into a structured table */
|
|
148
|
-
tableInsert?(table: string, row: Record<string, unknown>): Promise<void>;
|
|
149
|
-
/** Update rows matching a filter */
|
|
150
|
-
tableUpdate?(table: string, filter: Record<string, unknown>, updates: Record<string, unknown>): Promise<number>;
|
|
151
|
-
/** Delete rows matching a filter. Returns count of deleted rows. */
|
|
152
|
-
tableDelete?(table: string, filter: Record<string, unknown>): Promise<number>;
|
|
153
|
-
/** Query rows from a structured table */
|
|
154
|
-
tableQuery?(table: string, options?: TableQueryOptions): Promise<readonly Record<string, unknown>[]>;
|
|
155
|
-
/** Get a single row by primary key or filter */
|
|
156
|
-
tableGet?(table: string, filter: Record<string, unknown>): Promise<Record<string, unknown> | null>;
|
|
157
|
-
/** Count rows matching a filter */
|
|
158
|
-
tableCount?(table: string, filter?: Record<string, unknown>): Promise<number>;
|
|
159
145
|
}
|
|
160
146
|
export interface SettingsRecord<T extends object = Record<string, unknown>> {
|
|
161
147
|
readonly id: string;
|
|
@@ -205,16 +191,6 @@ export interface TableIndexSchema {
|
|
|
205
191
|
readonly columns: readonly string[];
|
|
206
192
|
readonly unique?: boolean;
|
|
207
193
|
}
|
|
208
|
-
/** Query options for structured tables */
|
|
209
|
-
export interface TableQueryOptions {
|
|
210
|
-
readonly where?: Record<string, unknown>;
|
|
211
|
-
readonly orderBy?: {
|
|
212
|
-
field: string;
|
|
213
|
-
direction: 'asc' | 'desc';
|
|
214
|
-
};
|
|
215
|
-
readonly limit?: number;
|
|
216
|
-
readonly offset?: number;
|
|
217
|
-
}
|
|
218
194
|
/**
|
|
219
195
|
* Embeddings backend — vector storage with approximate nearest neighbor search.
|
|
220
196
|
* Used for CLIP frame search, face recognition, plate matching.
|