@camstack/types 1.2.161 → 1.2.162
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/addon.js +10 -40
- package/dist/addon.mjs +10 -40
- package/dist/capabilities/storage-provider.cap.d.ts +0 -11
- package/dist/capabilities/storage.cap.d.ts +0 -22
- package/dist/generated/addon-api.d.ts +0 -7
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/index.js +717 -699
- package/dist/index.mjs +716 -700
- package/dist/interfaces/storage-location.d.ts +31 -4
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -170,47 +170,17 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
170
170
|
},
|
|
171
171
|
"setDeviceConfig": { "config": { "__nested__": { "bands": [] } } }
|
|
172
172
|
},
|
|
173
|
-
"storage": { "upsertLocation": {
|
|
174
|
-
"isDefault": false,
|
|
175
|
-
"isSystem": false
|
|
176
|
-
} },
|
|
173
|
+
"storage": { "upsertLocation": { "isSystem": false } },
|
|
177
174
|
"storage-provider": {
|
|
178
|
-
"beginDownload": { "location": { "__nested__": {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
} } },
|
|
182
|
-
"
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
} } },
|
|
186
|
-
"
|
|
187
|
-
"isDefault": false,
|
|
188
|
-
"isSystem": false
|
|
189
|
-
} } },
|
|
190
|
-
"exists": { "location": { "__nested__": {
|
|
191
|
-
"isDefault": false,
|
|
192
|
-
"isSystem": false
|
|
193
|
-
} } },
|
|
194
|
-
"getAvailableSpace": { "location": { "__nested__": {
|
|
195
|
-
"isDefault": false,
|
|
196
|
-
"isSystem": false
|
|
197
|
-
} } },
|
|
198
|
-
"list": { "location": { "__nested__": {
|
|
199
|
-
"isDefault": false,
|
|
200
|
-
"isSystem": false
|
|
201
|
-
} } },
|
|
202
|
-
"read": { "location": { "__nested__": {
|
|
203
|
-
"isDefault": false,
|
|
204
|
-
"isSystem": false
|
|
205
|
-
} } },
|
|
206
|
-
"resolve": { "location": { "__nested__": {
|
|
207
|
-
"isDefault": false,
|
|
208
|
-
"isSystem": false
|
|
209
|
-
} } },
|
|
210
|
-
"write": { "location": { "__nested__": {
|
|
211
|
-
"isDefault": false,
|
|
212
|
-
"isSystem": false
|
|
213
|
-
} } }
|
|
175
|
+
"beginDownload": { "location": { "__nested__": { "isSystem": false } } },
|
|
176
|
+
"beginUpload": { "location": { "__nested__": { "isSystem": false } } },
|
|
177
|
+
"delete": { "location": { "__nested__": { "isSystem": false } } },
|
|
178
|
+
"exists": { "location": { "__nested__": { "isSystem": false } } },
|
|
179
|
+
"getAvailableSpace": { "location": { "__nested__": { "isSystem": false } } },
|
|
180
|
+
"list": { "location": { "__nested__": { "isSystem": false } } },
|
|
181
|
+
"read": { "location": { "__nested__": { "isSystem": false } } },
|
|
182
|
+
"resolve": { "location": { "__nested__": { "isSystem": false } } },
|
|
183
|
+
"write": { "location": { "__nested__": { "isSystem": false } } }
|
|
214
184
|
},
|
|
215
185
|
"stream-broker": {
|
|
216
186
|
"produceEventMedia": {
|
package/dist/addon.mjs
CHANGED
|
@@ -169,47 +169,17 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
169
169
|
},
|
|
170
170
|
"setDeviceConfig": { "config": { "__nested__": { "bands": [] } } }
|
|
171
171
|
},
|
|
172
|
-
"storage": { "upsertLocation": {
|
|
173
|
-
"isDefault": false,
|
|
174
|
-
"isSystem": false
|
|
175
|
-
} },
|
|
172
|
+
"storage": { "upsertLocation": { "isSystem": false } },
|
|
176
173
|
"storage-provider": {
|
|
177
|
-
"beginDownload": { "location": { "__nested__": {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
} } },
|
|
181
|
-
"
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
} } },
|
|
185
|
-
"
|
|
186
|
-
"isDefault": false,
|
|
187
|
-
"isSystem": false
|
|
188
|
-
} } },
|
|
189
|
-
"exists": { "location": { "__nested__": {
|
|
190
|
-
"isDefault": false,
|
|
191
|
-
"isSystem": false
|
|
192
|
-
} } },
|
|
193
|
-
"getAvailableSpace": { "location": { "__nested__": {
|
|
194
|
-
"isDefault": false,
|
|
195
|
-
"isSystem": false
|
|
196
|
-
} } },
|
|
197
|
-
"list": { "location": { "__nested__": {
|
|
198
|
-
"isDefault": false,
|
|
199
|
-
"isSystem": false
|
|
200
|
-
} } },
|
|
201
|
-
"read": { "location": { "__nested__": {
|
|
202
|
-
"isDefault": false,
|
|
203
|
-
"isSystem": false
|
|
204
|
-
} } },
|
|
205
|
-
"resolve": { "location": { "__nested__": {
|
|
206
|
-
"isDefault": false,
|
|
207
|
-
"isSystem": false
|
|
208
|
-
} } },
|
|
209
|
-
"write": { "location": { "__nested__": {
|
|
210
|
-
"isDefault": false,
|
|
211
|
-
"isSystem": false
|
|
212
|
-
} } }
|
|
174
|
+
"beginDownload": { "location": { "__nested__": { "isSystem": false } } },
|
|
175
|
+
"beginUpload": { "location": { "__nested__": { "isSystem": false } } },
|
|
176
|
+
"delete": { "location": { "__nested__": { "isSystem": false } } },
|
|
177
|
+
"exists": { "location": { "__nested__": { "isSystem": false } } },
|
|
178
|
+
"getAvailableSpace": { "location": { "__nested__": { "isSystem": false } } },
|
|
179
|
+
"list": { "location": { "__nested__": { "isSystem": false } } },
|
|
180
|
+
"read": { "location": { "__nested__": { "isSystem": false } } },
|
|
181
|
+
"resolve": { "location": { "__nested__": { "isSystem": false } } },
|
|
182
|
+
"write": { "location": { "__nested__": { "isSystem": false } } }
|
|
213
183
|
},
|
|
214
184
|
"stream-broker": {
|
|
215
185
|
"produceEventMedia": {
|
|
@@ -27,7 +27,6 @@ declare const BeginUploadInputSchema: z.ZodObject<{
|
|
|
27
27
|
providerId: z.ZodString;
|
|
28
28
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
29
29
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
30
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
31
30
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
32
31
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
33
32
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -62,7 +61,6 @@ declare const BeginDownloadInputSchema: z.ZodObject<{
|
|
|
62
61
|
providerId: z.ZodString;
|
|
63
62
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
64
63
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
65
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
66
64
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
67
65
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
68
66
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -158,7 +156,6 @@ export declare const storageProviderCapability: {
|
|
|
158
156
|
providerId: z.ZodString;
|
|
159
157
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
160
158
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
161
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
162
159
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
163
160
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
164
161
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -178,7 +175,6 @@ export declare const storageProviderCapability: {
|
|
|
178
175
|
providerId: z.ZodString;
|
|
179
176
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
180
177
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
181
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
182
178
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
183
179
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
184
180
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -199,7 +195,6 @@ export declare const storageProviderCapability: {
|
|
|
199
195
|
providerId: z.ZodString;
|
|
200
196
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
201
197
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
202
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
203
198
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
204
199
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
205
200
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -219,7 +214,6 @@ export declare const storageProviderCapability: {
|
|
|
219
214
|
providerId: z.ZodString;
|
|
220
215
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
221
216
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
222
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
223
217
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
224
218
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
225
219
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -239,7 +233,6 @@ export declare const storageProviderCapability: {
|
|
|
239
233
|
providerId: z.ZodString;
|
|
240
234
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
241
235
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
242
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
243
236
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
244
237
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
245
238
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -259,7 +252,6 @@ export declare const storageProviderCapability: {
|
|
|
259
252
|
providerId: z.ZodString;
|
|
260
253
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
261
254
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
262
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
263
255
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
264
256
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
265
257
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -279,7 +271,6 @@ export declare const storageProviderCapability: {
|
|
|
279
271
|
providerId: z.ZodString;
|
|
280
272
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
281
273
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
282
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
283
274
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
284
275
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
285
276
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -298,7 +289,6 @@ export declare const storageProviderCapability: {
|
|
|
298
289
|
providerId: z.ZodString;
|
|
299
290
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
300
291
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
301
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
302
292
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
303
293
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
304
294
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -332,7 +322,6 @@ export declare const storageProviderCapability: {
|
|
|
332
322
|
providerId: z.ZodString;
|
|
333
323
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
334
324
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
335
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
336
325
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
337
326
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
338
327
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -94,7 +94,6 @@ export declare const storageCapability: {
|
|
|
94
94
|
providerId: z.ZodString;
|
|
95
95
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
96
96
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
97
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
98
97
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
99
98
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
100
99
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -104,25 +103,6 @@ export declare const storageCapability: {
|
|
|
104
103
|
createdAt: z.ZodNumber;
|
|
105
104
|
updatedAt: z.ZodNumber;
|
|
106
105
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
107
|
-
readonly getDefaultLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
108
|
-
type: z.ZodString;
|
|
109
|
-
}, z.core.$strip>, z.ZodNullable<z.ZodObject<{
|
|
110
|
-
id: z.ZodString;
|
|
111
|
-
type: z.ZodString;
|
|
112
|
-
displayName: z.ZodString;
|
|
113
|
-
providerId: z.ZodString;
|
|
114
|
-
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
115
|
-
nodeId: z.ZodOptional<z.ZodString>;
|
|
116
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
117
|
-
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
118
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
-
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
120
|
-
totalBytes: z.ZodNumber;
|
|
121
|
-
availableBytes: z.ZodNumber;
|
|
122
|
-
}, z.core.$strip>>>;
|
|
123
|
-
createdAt: z.ZodNumber;
|
|
124
|
-
updatedAt: z.ZodNumber;
|
|
125
|
-
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
126
106
|
readonly listLocationDeclarations: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
127
107
|
id: z.ZodString;
|
|
128
108
|
displayName: z.ZodString;
|
|
@@ -150,7 +130,6 @@ export declare const storageCapability: {
|
|
|
150
130
|
displayName: z.ZodString;
|
|
151
131
|
providerId: z.ZodString;
|
|
152
132
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
153
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
154
133
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
155
134
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
156
135
|
totalBytes: z.ZodNumber;
|
|
@@ -163,7 +142,6 @@ export declare const storageCapability: {
|
|
|
163
142
|
providerId: z.ZodString;
|
|
164
143
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
165
144
|
nodeId: z.ZodOptional<z.ZodString>;
|
|
166
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
167
145
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
168
146
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
169
147
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -7394,13 +7394,6 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
7394
7394
|
output: z.infer<typeof storageCapability.methods.listLocations.output>;
|
|
7395
7395
|
meta: object;
|
|
7396
7396
|
}>;
|
|
7397
|
-
getDefaultLocation: TRPCQueryProcedure<{
|
|
7398
|
-
input: {
|
|
7399
|
-
[x: string]: unknown;
|
|
7400
|
-
} & z.input<typeof storageCapability.methods.getDefaultLocation.input>;
|
|
7401
|
-
output: z.infer<typeof storageCapability.methods.getDefaultLocation.output>;
|
|
7402
|
-
meta: object;
|
|
7403
|
-
}>;
|
|
7404
7397
|
listLocationDeclarations: TRPCQueryProcedure<{
|
|
7405
7398
|
input: {
|
|
7406
7399
|
nodeId?: string | undefined;
|
|
@@ -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: 1019 method paths across 128 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -91,7 +91,7 @@ export interface SystemProxy {
|
|
|
91
91
|
readonly recordingExport: Pick<InferProvider<typeof recordingExportCapability>, 'createExport' | 'getExport' | 'cancelExport' | 'deleteExport' | 'getDownloadUrl' | 'readExportBytes'>;
|
|
92
92
|
readonly serverManagement: Pick<InferProvider<typeof serverManagementCapability>, 'getServerPackageStatus' | 'checkServerUpdate' | 'applyServerUpdate' | 'rollbackServerUpdate' | 'restartServer'>;
|
|
93
93
|
readonly settingsStore: Pick<InferProvider<typeof settingsStoreCapability>, 'get' | 'set' | 'query' | 'insert' | 'insertMany' | 'update' | 'delete' | 'deleteWhere' | 'updateWhere' | 'count' | 'aggregate' | 'histogram' | 'isEmpty' | 'declareCollection'>;
|
|
94
|
-
readonly storage: Pick<InferProvider<typeof storageCapability>, 'resolve' | 'write' | 'read' | 'exists' | 'list' | 'delete' | 'getAvailableSpace' | 'beginUpload' | 'writeChunk' | 'finalizeUpload' | 'abortUpload' | 'beginDownload' | 'readChunk' | 'endDownload' | 'listLocations' | '
|
|
94
|
+
readonly storage: Pick<InferProvider<typeof storageCapability>, 'resolve' | 'write' | 'read' | 'exists' | 'list' | 'delete' | 'getAvailableSpace' | 'beginUpload' | 'writeChunk' | 'finalizeUpload' | 'abortUpload' | 'beginDownload' | 'readChunk' | 'endDownload' | 'listLocations' | 'listLocationDeclarations' | 'upsertLocation' | 'deleteLocation' | 'testLocation' | 'listProviders' | 'testConfig'>;
|
|
95
95
|
readonly storageMigration: Pick<InferProvider<typeof storageMigrationCapability>, 'plan' | 'start' | 'status' | 'cancel' | 'movers' | 'residue' | 'drain' | 'cleanupStart' | 'cleanupStatus' | 'cleanupCancel' | 'history'>;
|
|
96
96
|
readonly streamBroker: Pick<InferProvider<typeof streamBrokerCapability>, 'fetchEventMedia' | 'listAllCameraStreams' | 'listAllProfileSlots' | 'getBrokerStats' | 'probeStream' | 'listClients' | 'killClient' | 'getStreamUrl' | 'getStreamWithCodec' | 'releaseStreamWithCodec' | 'acquireEgressTranscode' | 'releaseEgressTranscode' | 'subscribeAudioChunks' | 'pullAudioChunks' | 'unsubscribeAudioChunks' | 'subscribeFrames' | 'pullFrameHandles' | 'unsubscribeFrames' | 'setPreBufferDuration' | 'getPreBufferInfo' | 'getRtspPort' | 'getAllRtspEntries' | 'getRtspEntry' | 'regenerateRtspToken' | 'setRtspEnabled' | 'isRtspEnabled'>;
|
|
97
97
|
readonly system: Pick<InferProvider<typeof systemCapability>, 'info' | 'health' | 'featureFlags' | 'networkAddresses' | 'getRetentionConfig' | 'setRetentionConfig' | 'forceRetentionCleanup' | 'getSiteLocation' | 'setSiteLocation' | 'detectSiteLocation' | 'getRequestCensus' | 'getLoadContributions' | 'getFailureContributions' | 'getLoggingSettings' | 'setLoggingSettings'>;
|
package/dist/index.d.ts
CHANGED
|
@@ -60,11 +60,6 @@ export type * from './interfaces/kernel-abstractions.js';
|
|
|
60
60
|
export type * from './interfaces/lifecycle.js';
|
|
61
61
|
export type * from './interfaces/logging.js';
|
|
62
62
|
export { LOG_LEVEL_RANK, logLevelAtMost } from './interfaces/logging.js';
|
|
63
|
-
export type { LogChannelDescriptor, LogChannelWindow, } from './logging/log-channel.js';
|
|
64
|
-
export { LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowSchema, } from './logging/log-channel.js';
|
|
65
|
-
export type { LogChannelApplyInput, LogChannelApplyOut, LogChannelsProviderHandle, LogChannelsProviderOptions, } from './logging/log-channel-provider.js';
|
|
66
|
-
export { createLogChannelsProvider, LOG_CHANNEL_TICK_MS } from './logging/log-channel-provider.js';
|
|
67
|
-
export { __resetLogChannelRegistryForTests, declareLogChannel, getLogChannelRegistry, } from './logging/log-channel.singleton.js';
|
|
68
63
|
export type * from './interfaces/metrics-provider.js';
|
|
69
64
|
export type * from './interfaces/network.js';
|
|
70
65
|
export type * from './interfaces/network-quality.js';
|
|
@@ -91,21 +86,26 @@ export type * from './interfaces/server-analysis.js';
|
|
|
91
86
|
export * from './interfaces/server-analysis.js';
|
|
92
87
|
export type * from './interfaces/server-network.js';
|
|
93
88
|
export type * from './interfaces/storage.js';
|
|
94
|
-
export type { StorageLocation, StorageLocationRef, } from './interfaces/storage-location.js';
|
|
95
|
-
export { StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
|
|
89
|
+
export type { LegacyStorageLocationDefault, StorageLocation, StorageLocationRef, } from './interfaces/storage-location.js';
|
|
90
|
+
export { isLocationEnabled, LegacyStorageLocationDefaultSchema, StorageLocationRefSchema, StorageLocationSchema, StorageLocationTypeSchema, } from './interfaces/storage-location.js';
|
|
96
91
|
export type { StorageAccess, StorageLocationDeclaration, } from './interfaces/storage-location-declaration.js';
|
|
97
92
|
export { STORAGE_ACCESS_FALLBACK, StorageAccessSchema, StorageLocationDeclarationSchema, } from './interfaces/storage-location-declaration.js';
|
|
98
93
|
export * from './interfaces/stream-broker.js';
|
|
99
94
|
export type * from './interfaces/task-handler.js';
|
|
100
95
|
export type { Timezone, TimezoneDstRule, Weekday } from './interfaces/timezones.js';
|
|
101
96
|
export { findTimezone, TIMEZONES } from './interfaces/timezones.js';
|
|
97
|
+
export type { LogChannelDescriptor, LogChannelWindow, } from './logging/log-channel.js';
|
|
98
|
+
export { LogChannelDescriptorSchema, LogChannelGate, LogChannelLevelSchema, LogChannelRegistry, LogChannelWindowSchema, } from './logging/log-channel.js';
|
|
99
|
+
export { __resetLogChannelRegistryForTests, declareLogChannel, getLogChannelRegistry, } from './logging/log-channel.singleton.js';
|
|
100
|
+
export type { LogChannelApplyInput, LogChannelApplyOut, LogChannelsProviderHandle, LogChannelsProviderOptions, } from './logging/log-channel-provider.js';
|
|
101
|
+
export { createLogChannelsProvider, LOG_CHANNEL_TICK_MS } from './logging/log-channel-provider.js';
|
|
102
|
+
export type { FailureCounterSample, FailureObservation, FailureReasonCount, } from './metrics/failure-counters.js';
|
|
103
|
+
export { FailureCounters, failureRate, MAX_KEYS, MAX_REASONS_PER_KEY, OVERFLOW_REASON, } from './metrics/failure-counters.js';
|
|
104
|
+
export type { LoadBucket, LoadBucketKind, LoadPoint, LoadProcessRow, } from './metrics/load-series-fold.js';
|
|
105
|
+
export { foldSnapshotByFunction, ROOT_BUCKET_KEY, reducePoints, resolveBucketMs, UNATTRIBUTED_BUCKET_KEY, } from './metrics/load-series-fold.js';
|
|
102
106
|
export type { AwaitReadyOptions, ReadinessHandler, ReadinessRegistryOptions, ReadinessTransition, } from './readiness/index.js';
|
|
103
107
|
export { emitDownForOwnedCaps, ReadinessRegistry, ReadinessTimeoutError, readinessKey, scopeKey, } from './readiness/index.js';
|
|
104
108
|
export * from './stream-selection.js';
|
|
105
|
-
export { ROOT_BUCKET_KEY, UNATTRIBUTED_BUCKET_KEY, foldSnapshotByFunction, reducePoints, resolveBucketMs, } from './metrics/load-series-fold.js';
|
|
106
|
-
export type { LoadBucket, LoadBucketKind, LoadPoint, LoadProcessRow, } from './metrics/load-series-fold.js';
|
|
107
|
-
export { FailureCounters, MAX_KEYS, MAX_REASONS_PER_KEY, OVERFLOW_REASON, failureRate, } from './metrics/failure-counters.js';
|
|
108
|
-
export type { FailureCounterSample, FailureObservation, FailureReasonCount, } from './metrics/failure-counters.js';
|
|
109
109
|
export type { AgentAddonConfig, AgentPipelineSettings, CameraPipelineSettings, CameraStepOverridePatch, DeviceStepConfig, } from './types/agent-pipeline-settings.js';
|
|
110
110
|
export * from './types/analytics.js';
|
|
111
111
|
export type { CameraPipelineConfig, PipelineTemplate as CameraPipelineTemplate, } from './types/camera-pipeline.js';
|
|
@@ -132,22 +132,20 @@ export * from './capabilities/index.js';
|
|
|
132
132
|
export { APPLE_SA_TO_MACRO, AUDIO_MACRO_LABELS, getAudioMacroClassIds, mapAudioLabelToMacro, YAMNET_TO_MACRO, } from './catalogs/audio-classmap.js';
|
|
133
133
|
export { COCO_80_LABELS, COCO_TO_MACRO, DETECTION_MACRO_CLASSES, isDetectionMacroClass, MACRO_LABELS, } from './catalogs/coco-classmap.js';
|
|
134
134
|
export { DEVICE_STATE_READERS, readDeviceStateFrom, stateVocabularyFor, } from './catalogs/device-state-vocabulary.js';
|
|
135
|
-
export { DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, evaluateSensorEdge, isSourceCap, type SensorEdgeIgnoreReason, type SensorEdgeInput, type SensorEdgeVerdict, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_CAPS, SOURCE_DEVICE_TYPES, sliceActiveValue, sliceChangedAt, } from './catalogs/sensor-active-state.js';
|
|
136
135
|
export { colorForKind, DEFAULT_EVENT_COLOR, EVENT_TAXONOMY, type EventTaxonomyCategory, type EventTaxonomyEntry, type EventTaxonomyLevel, getTaxonomyEntry, subKindsOf, TAXONOMY_COLORS, } from './catalogs/event-taxonomy.js';
|
|
137
136
|
export { buildNcTaxonomy, NC_TAXONOMY, type NcTaxonomy, type NcTaxonomyEntry, NcTaxonomyEntrySchema, NcTaxonomySchema, } from './catalogs/nc-taxonomy.js';
|
|
137
|
+
export { DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, evaluateSensorEdge, isSourceCap, type SensorEdgeIgnoreReason, type SensorEdgeInput, type SensorEdgeVerdict, SOURCE_CAP_ACTIVE_FIELD, SOURCE_CAP_CHANGED_AT_FIELD, SOURCE_CAPS, SOURCE_DEVICE_TYPES, sliceActiveValue, sliceChangedAt, } from './catalogs/sensor-active-state.js';
|
|
138
138
|
export * from './constants.js';
|
|
139
|
-
export { CONTAINER_CHILD_PRIORITY, resolveContainerPrimaryChild, type ContainerChildRef, } from './device/container-primary-child.js';
|
|
140
139
|
export type { AccessoryKindValue } from './device/accessory.js';
|
|
141
140
|
export { ACCESSORY_LABEL, AccessoryKind, accessoryStableId, } from './device/accessory.js';
|
|
142
141
|
export type { AccessoryChildSpec } from './device/base-device.js';
|
|
143
142
|
export { BaseDevice } from './device/base-device.js';
|
|
144
143
|
export type { DeviceRestoreReport, DeviceSummary, DiscoveryCandidate, FieldProbeResult, } from './device/base-device-provider.js';
|
|
145
144
|
export { BaseDeviceProvider, toDeviceSummary } from './device/base-device-provider.js';
|
|
146
|
-
export type { DeviceRestoreRetrySchedulerOptions, InitialRestoreFailure, PermanentRestoreFailure, PermanentRestoreFailureHandler, RestoreAttemptFn, } from './device/device-restore-retry.js';
|
|
147
|
-
export { DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DeviceRestoreRetryScheduler, } from './device/device-restore-retry.js';
|
|
148
145
|
export type { BatteryPresence, BatteryPresenceInput } from './device/battery-presence.js';
|
|
149
146
|
export { BATTERY_UNREACHABLE_AFTER_MS, deriveBatteryPresence, isBatteryPresenceFault, } from './device/battery-presence.js';
|
|
150
147
|
export type { ICameraDevice, StreamSourceEntry } from './device/camera-device.js';
|
|
148
|
+
export { CONTAINER_CHILD_PRIORITY, type ContainerChildRef, resolveContainerPrimaryChild, } from './device/container-primary-child.js';
|
|
151
149
|
export type { DeclarationPlacement, DeclaredDeviceOutcome, DeclaredDevicePorts, DeclaredDeviceRow, DeclaredDevicesResult, DeclaredDevicesSpec, DeclaredIntegrationRow, DeviceDeclaration, } from './device/declared-device.js';
|
|
152
150
|
export { DECLARED_DEVICE_SWEEP_LIMIT, DECLARED_INTEGRATION_FIXED_KEY, DeclaredDevices, declarationOwnerNodeId, } from './device/declared-device.js';
|
|
153
151
|
export type { IDevice } from './device/device.js';
|
|
@@ -159,6 +157,8 @@ export { DEVICE_TYPE_CONTROL_KIND, hasMotionTrigger, isNode, MOTION_TRIGGER_FEAT
|
|
|
159
157
|
export type { ChildLayout, ChildLayoutEntry, CreateDeviceSpec, DeviceCapDisplayOverride, DeviceDiscovery, DeviceDisplayOverride, DeviceManualCreation, DeviceMeta, DiscoveredDevice, InitialDeviceMeta, RoleDisplayDefault, SavedDevice, } from './device/device-management.js';
|
|
160
158
|
export type { DeviceProfile, DeviceProfileDefaults, DeviceProfileMatch, PipelinePhaseMode, } from './device/device-profile.js';
|
|
161
159
|
export { BATTERY_DEVICE_PROFILE, DEVICE_PROFILES, deviceMatchesProfile, resolveDeviceProfile, } from './device/device-profile.js';
|
|
160
|
+
export type { DeviceRestoreRetrySchedulerOptions, InitialRestoreFailure, PermanentRestoreFailure, PermanentRestoreFailureHandler, RestoreAttemptFn, } from './device/device-restore-retry.js';
|
|
161
|
+
export { DEVICE_RESTORE_RETRY_CONCURRENCY, DEVICE_RESTORE_RETRY_DELAYS_MS, DeviceRestoreRetryScheduler, } from './device/device-restore-retry.js';
|
|
162
162
|
export type { IDeviceRuntimeState } from './device/device-runtime-state.js';
|
|
163
163
|
export { DeviceRuntimeState } from './device/device-runtime-state.js';
|
|
164
164
|
export type { SliceEventBus, SliceHandle, SliceHandleApi, SliceHandleSource, } from './device/device-state-handle.js';
|