@camstack/addon-osd-manager 0.1.243 → 0.1.245
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/{MotionZonesSettings-D33EAKv-.mjs → MotionZonesSettings-DLMJWUc6.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BhHKLXkl.mjs → PrivacyMaskSettings-C3B3rP7I.mjs} +4 -4
- package/dist/{SceneMonitorEditor-BechjHQf.mjs → SceneMonitorEditor-CNZFNnAX.mjs} +3 -3
- package/dist/_stub.js +2985 -2934
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-C7G9Y8qi.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CWKUwM9u.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DAgSwKUp.mjs +26 -0
- package/dist/addon-osd-manager.css +1 -1
- package/dist/{hostInit-C_ixqaxz.mjs → hostInit-9xoGIiTH.mjs} +3 -3
- package/dist/index.js +614 -18
- package/dist/index.mjs +614 -18
- package/dist/{player-overlays-BZDAYS9O.mjs → player-overlays-DGUXioJL.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DWwtegbU.mjs → responsive-BHlSXMJE.mjs} +1 -1
- package/dist/{scene-monitor-copy-BGLxak_F.mjs → scene-monitor-copy-CnQEieAy.mjs} +1 -1
- package/dist/{square-CFpzQ33C.mjs → square-B0lxeT8y.mjs} +1 -1
- package/dist/{trash-2-_8r13DVx.mjs → trash-2-BGXNyRy1.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CFhCZpWZ.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-BXh9f7q7.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CGo2CGP3.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -5404,7 +5404,7 @@ var ZodIssueCode = {
|
|
|
5404
5404
|
var ZodFirstPartyTypeKind;
|
|
5405
5405
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5406
5406
|
//#endregion
|
|
5407
|
-
//#region ../types/dist/sleep-
|
|
5407
|
+
//#region ../types/dist/sleep-bZIhUvjd.mjs
|
|
5408
5408
|
/**
|
|
5409
5409
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5410
5410
|
* window to float samples (D455).
|
|
@@ -5521,7 +5521,7 @@ function isKeychainStoredField(field) {
|
|
|
5521
5521
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5522
5522
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5523
5523
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5524
|
-
function isRecord$
|
|
5524
|
+
function isRecord$5(value) {
|
|
5525
5525
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5526
5526
|
}
|
|
5527
5527
|
function makeSecretMarker(ref) {
|
|
@@ -5532,12 +5532,12 @@ function makeSecretMarker(ref) {
|
|
|
5532
5532
|
}
|
|
5533
5533
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5534
5534
|
function isSecretMarker(value) {
|
|
5535
|
-
if (!isRecord$
|
|
5535
|
+
if (!isRecord$5(value)) return false;
|
|
5536
5536
|
const ref = value["$secret"];
|
|
5537
5537
|
return typeof ref === "string" && ref.length > 0;
|
|
5538
5538
|
}
|
|
5539
5539
|
function isSecretClear(value) {
|
|
5540
|
-
return isRecord$
|
|
5540
|
+
return isRecord$5(value) && value["$secretClear"] === true;
|
|
5541
5541
|
}
|
|
5542
5542
|
/**
|
|
5543
5543
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6147,7 +6147,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6147
6147
|
}
|
|
6148
6148
|
};
|
|
6149
6149
|
var KEEP = { kind: "keep" };
|
|
6150
|
-
function isRecord$
|
|
6150
|
+
function isRecord$4(value) {
|
|
6151
6151
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6152
6152
|
}
|
|
6153
6153
|
function defaultMintId() {
|
|
@@ -6160,7 +6160,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6160
6160
|
return out;
|
|
6161
6161
|
}
|
|
6162
6162
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6163
|
-
else if (isRecord$
|
|
6163
|
+
else if (isRecord$4(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6164
6164
|
return out;
|
|
6165
6165
|
}
|
|
6166
6166
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6215,7 +6215,7 @@ function rowId(row, idKey) {
|
|
|
6215
6215
|
return null;
|
|
6216
6216
|
}
|
|
6217
6217
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6218
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6218
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$4) : [];
|
|
6219
6219
|
if (!Array.isArray(incoming)) {
|
|
6220
6220
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6221
6221
|
return {
|
|
@@ -6231,7 +6231,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6231
6231
|
const kept = /* @__PURE__ */ new Set();
|
|
6232
6232
|
const rows = [];
|
|
6233
6233
|
for (const row of incoming) {
|
|
6234
|
-
if (!isRecord$
|
|
6234
|
+
if (!isRecord$4(row)) {
|
|
6235
6235
|
rows.push(row);
|
|
6236
6236
|
continue;
|
|
6237
6237
|
}
|
|
@@ -6256,7 +6256,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6256
6256
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6257
6257
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6258
6258
|
case "object": {
|
|
6259
|
-
if (!isRecord$
|
|
6259
|
+
if (!isRecord$4(incoming)) {
|
|
6260
6260
|
if (incoming === void 0) return KEEP;
|
|
6261
6261
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6262
6262
|
return {
|
|
@@ -6264,7 +6264,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6264
6264
|
value: incoming
|
|
6265
6265
|
};
|
|
6266
6266
|
}
|
|
6267
|
-
const storedObj = isRecord$
|
|
6267
|
+
const storedObj = isRecord$4(stored) ? stored : {};
|
|
6268
6268
|
return {
|
|
6269
6269
|
kind: "value",
|
|
6270
6270
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6387,7 +6387,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6387
6387
|
value: items
|
|
6388
6388
|
};
|
|
6389
6389
|
}
|
|
6390
|
-
if (isRecord$
|
|
6390
|
+
if (isRecord$4(v)) {
|
|
6391
6391
|
const out = {};
|
|
6392
6392
|
for (const [k, child] of Object.entries(v)) {
|
|
6393
6393
|
const s = substitute(child);
|
|
@@ -6419,7 +6419,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6419
6419
|
this.name = "SecretOverwriteRefusedError";
|
|
6420
6420
|
}
|
|
6421
6421
|
};
|
|
6422
|
-
function isRecord(value) {
|
|
6422
|
+
function isRecord$3(value) {
|
|
6423
6423
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6424
6424
|
}
|
|
6425
6425
|
function resolvedValue(pass, marker) {
|
|
@@ -6448,7 +6448,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6448
6448
|
return incoming.map((item, index) => {
|
|
6449
6449
|
const twin = stored[index];
|
|
6450
6450
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6451
|
-
if (isRecord(item) && isRecord(twin)) return inArrayRow(pass, item, twin);
|
|
6451
|
+
if (isRecord$3(item) && isRecord$3(twin)) return inArrayRow(pass, item, twin);
|
|
6452
6452
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6453
6453
|
return item;
|
|
6454
6454
|
});
|
|
@@ -6459,7 +6459,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6459
6459
|
const twin = stored[key];
|
|
6460
6460
|
if (isSecretMarker(twin)) {
|
|
6461
6461
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6462
|
-
} else if (isRecord(value) && isRecord(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6462
|
+
} else if (isRecord$3(value) && isRecord$3(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6463
6463
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6464
6464
|
}
|
|
6465
6465
|
return out;
|
|
@@ -6467,7 +6467,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6467
6467
|
async function walk$1(pass, incoming, stored) {
|
|
6468
6468
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6469
6469
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6470
|
-
if (!isRecord(incoming) || !isRecord(stored)) return incoming;
|
|
6470
|
+
if (!isRecord$3(incoming) || !isRecord$3(stored)) return incoming;
|
|
6471
6471
|
const out = { ...incoming };
|
|
6472
6472
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk$1(pass, value, stored[key]);
|
|
6473
6473
|
return out;
|
|
@@ -6498,7 +6498,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6498
6498
|
function isJsonEqual(a, b) {
|
|
6499
6499
|
if (Object.is(a, b)) return true;
|
|
6500
6500
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6501
|
-
if (isRecord(a) && isRecord(b)) {
|
|
6501
|
+
if (isRecord$3(a) && isRecord$3(b)) {
|
|
6502
6502
|
const keys = Object.keys(a);
|
|
6503
6503
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6504
6504
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6522,7 +6522,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6522
6522
|
}
|
|
6523
6523
|
function nodeFromStored(value, owner) {
|
|
6524
6524
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6525
|
-
if (!isRecord(value)) return null;
|
|
6525
|
+
if (!isRecord$3(value)) return null;
|
|
6526
6526
|
const children = /* @__PURE__ */ new Map();
|
|
6527
6527
|
for (const [key, child] of Object.entries(value)) {
|
|
6528
6528
|
const node = nodeFromStored(child, owner);
|
|
@@ -7310,7 +7310,7 @@ var BaseAddon = class {
|
|
|
7310
7310
|
if (!ctx) return;
|
|
7311
7311
|
const addonId = ctx.id;
|
|
7312
7312
|
setImmediate(() => {
|
|
7313
|
-
ctx.api.addons
|
|
7313
|
+
ctx.api.addons.restartAddon.mutate({ addonId }).then(() => {
|
|
7314
7314
|
ctx.logger.info("addon auto-restart triggered by restart-required setting change", { meta: { changedFields: patchKeys.filter((k) => restartKeys.has(k)) } });
|
|
7315
7315
|
}).catch((err) => {
|
|
7316
7316
|
ctx.logger.error("addon auto-restart failed", { meta: { error: err instanceof Error ? err.message : String(err) } });
|
|
@@ -7804,6 +7804,89 @@ var PeerBytesTicketSchema = object({
|
|
|
7804
7804
|
*/
|
|
7805
7805
|
declaredBytes: number().int().nonnegative().nullable()
|
|
7806
7806
|
});
|
|
7807
|
+
/** Limits and names of `ctx.records` (D881). One authority; the engine and the facade read it. */
|
|
7808
|
+
/** The files a kind may live in. `history` is device-history's (D850), never records. */
|
|
7809
|
+
var RECORD_DATABASES = ["settings", "events"];
|
|
7810
|
+
/** The classes of a kind: the `@durable` vocabulary, one authority (replaces the annotation). */
|
|
7811
|
+
var RECORD_CLASSES = [
|
|
7812
|
+
"config",
|
|
7813
|
+
"ledger",
|
|
7814
|
+
"audit",
|
|
7815
|
+
"mirror",
|
|
7816
|
+
"ephemeral"
|
|
7817
|
+
];
|
|
7818
|
+
var RECORD_DEFAULT_MAX_DATA_BYTES = 64 * 1024;
|
|
7819
|
+
var RECORD_MAX_DATA_BYTES = 1024 * 1024;
|
|
7820
|
+
var RECORD_BATCH_MAX = 1e3;
|
|
7821
|
+
var RECORD_QUERY_MAX = 1e3;
|
|
7822
|
+
/**
|
|
7823
|
+
* Record kinds (D881): the declaration an addon makes of one kind of fact, the
|
|
7824
|
+
* Zod row schema that describes it, and the helper that turns the two into the
|
|
7825
|
+
* JSON the engine stores.
|
|
7826
|
+
*
|
|
7827
|
+
* A kind is declared ONCE, next to the code that owns it, and the engine's
|
|
7828
|
+
* reconciler creates its indexes - nothing creates DDL at runtime from a write.
|
|
7829
|
+
* Everything the generic machinery needs (secret fields, the entry descriptor)
|
|
7830
|
+
* is DERIVED from the Zod schema: `.meta({ secret: true })` marks a credential,
|
|
7831
|
+
* never a field name (D879).
|
|
7832
|
+
*/
|
|
7833
|
+
/** A JSON field path: `trackId`, `auth.accessToken`. Charset-restricted: it is rendered into DDL. */
|
|
7834
|
+
var RecordFieldPathSchema = string().regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}(\.[A-Za-z_][A-Za-z0-9_]{0,63}){0,3}$/);
|
|
7835
|
+
var RecordIndexSchema = object({
|
|
7836
|
+
name: string().regex(/^[a-z][a-z0-9_]{0,31}$/),
|
|
7837
|
+
fields: array(RecordFieldPathSchema).min(1).max(4),
|
|
7838
|
+
unique: boolean().optional()
|
|
7839
|
+
}).strict();
|
|
7840
|
+
var RecordRetentionSchema = union([
|
|
7841
|
+
object({
|
|
7842
|
+
ttlMs: number().int().positive(),
|
|
7843
|
+
from: _enum(["at", "write"])
|
|
7844
|
+
}).strict(),
|
|
7845
|
+
object({
|
|
7846
|
+
maxRows: number().int().positive().optional(),
|
|
7847
|
+
maxRowsPerDevice: number().int().positive().optional()
|
|
7848
|
+
}).strict().refine((r) => r.maxRows !== void 0 || r.maxRowsPerDevice !== void 0, { message: "name maxRows, maxRowsPerDevice or both" }),
|
|
7849
|
+
object({
|
|
7850
|
+
owner: string().min(1),
|
|
7851
|
+
reason: string().min(1)
|
|
7852
|
+
}).strict(),
|
|
7853
|
+
object({ none: string().min(1) }).strict()
|
|
7854
|
+
]);
|
|
7855
|
+
/** The descriptor a generic entries UI reads (D881 "generic entries"). */
|
|
7856
|
+
var EntryDescriptorSchema = object({
|
|
7857
|
+
title: string().min(1),
|
|
7858
|
+
/** The record body field shown as the entry's name. */
|
|
7859
|
+
nameField: string().min(1),
|
|
7860
|
+
/** JSON Schema of the entry body; `secret: true` marks a password field. */
|
|
7861
|
+
fields: record(string(), unknown())
|
|
7862
|
+
}).strict();
|
|
7863
|
+
/** What crosses the wire and sits in the engine's catalog: JSON only, no Zod. */
|
|
7864
|
+
var RecordKindDeclarationSchema = object({
|
|
7865
|
+
database: _enum(RECORD_DATABASES).default("settings"),
|
|
7866
|
+
class: _enum(RECORD_CLASSES),
|
|
7867
|
+
writeTrigger: string().min(1),
|
|
7868
|
+
device: _enum([
|
|
7869
|
+
"required",
|
|
7870
|
+
"optional",
|
|
7871
|
+
"none"
|
|
7872
|
+
]).default("none"),
|
|
7873
|
+
at: _enum(["required", "none"]).default("none"),
|
|
7874
|
+
indexes: array(RecordIndexSchema).max(8).default([]),
|
|
7875
|
+
retention: RecordRetentionSchema,
|
|
7876
|
+
deviceRemoval: _enum(["delete", "none"]).default("none"),
|
|
7877
|
+
maxDataBytes: number().int().positive().max(RECORD_MAX_DATA_BYTES).default(RECORD_DEFAULT_MAX_DATA_BYTES),
|
|
7878
|
+
/** Derived from the Zod schema; never written by hand. */
|
|
7879
|
+
secretPaths: array(string().min(1)).default([]),
|
|
7880
|
+
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7881
|
+
secretArrayKeys: record(string(), string()).default({}),
|
|
7882
|
+
/** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
|
|
7883
|
+
adoptsFrom: string().min(1).optional(),
|
|
7884
|
+
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7885
|
+
transactFamily: string().min(1).optional(),
|
|
7886
|
+
entry: EntryDescriptorSchema.optional()
|
|
7887
|
+
}).strict();
|
|
7888
|
+
/** The kind names: lower-case, dash separated, short enough for an index name. */
|
|
7889
|
+
var RecordKindNameSchema = string().regex(/^[a-z][a-z0-9-]{0,47}$/);
|
|
7807
7890
|
/** Shared Zod schemas used across streaming capabilities. */
|
|
7808
7891
|
var CamProfileSchema = _enum([
|
|
7809
7892
|
"high",
|
|
@@ -15985,6 +16068,222 @@ id: union([string(), number()]) }), {
|
|
|
15985
16068
|
kind: "mutation",
|
|
15986
16069
|
auth: "admin"
|
|
15987
16070
|
});
|
|
16071
|
+
/**
|
|
16072
|
+
* records - an addon's own facts and documents (D881): ledgers, audit rows,
|
|
16073
|
+
* config documents, mirrors. The third storage API next to `ctx.settings`
|
|
16074
|
+
* (operator intent, D870) and device-history (numbers over time, D850).
|
|
16075
|
+
*
|
|
16076
|
+
* Who the OWNER is: `callerAddonId`, stamped by the transport on a call that
|
|
16077
|
+
* crossed a process and stated by a hub in-process caller (`ctx.records` does
|
|
16078
|
+
* that with the addon id closed over). It is deliberately NOT in any input
|
|
16079
|
+
* schema, so a session can never supply it, and a call with no stamp is refused
|
|
16080
|
+
* `records/no-caller`. A kind is readable and writable only by its owner; other
|
|
16081
|
+
* addons go through the owner's capability.
|
|
16082
|
+
*
|
|
16083
|
+
* Every read is three-way: a row, `null`, or the call THROWS. A failed read is
|
|
16084
|
+
* never `[]`. Secret fields are never on the wire: a read shows the
|
|
16085
|
+
* redaction token, `secretRefs` hands the owner's `ctx.secrets` the refs it
|
|
16086
|
+
* resolves itself, and a write may carry only a keychain marker bound to the
|
|
16087
|
+
* row's own ref.
|
|
16088
|
+
*
|
|
16089
|
+
* Internal: addons reach it through `ctx.records`, never directly.
|
|
16090
|
+
*/
|
|
16091
|
+
var RecordIdSchema = string().min(1).max(256);
|
|
16092
|
+
/** A JSON object body. Size is the engine's check (`maxDataBytes`), not a schema's. */
|
|
16093
|
+
var RecordBodySchema = record(string(), unknown());
|
|
16094
|
+
var RecordInputSchema = object({
|
|
16095
|
+
id: RecordIdSchema,
|
|
16096
|
+
/** The device this row belongs to (D865 removal, per-device reads). */
|
|
16097
|
+
deviceId: number().int().optional(),
|
|
16098
|
+
/** The domain clock, ms: observed / created / opened. */
|
|
16099
|
+
at: number().int().optional(),
|
|
16100
|
+
/** Producer-set expiry, ms. Refused on a kind whose retention is an engine TTL. */
|
|
16101
|
+
expiresAt: number().int().optional(),
|
|
16102
|
+
data: RecordBodySchema
|
|
16103
|
+
});
|
|
16104
|
+
var RecordViewSchema = object({
|
|
16105
|
+
id: string(),
|
|
16106
|
+
deviceId: number().int().nullable(),
|
|
16107
|
+
at: number().nullable(),
|
|
16108
|
+
expiresAt: number().nullable(),
|
|
16109
|
+
rev: number().int(),
|
|
16110
|
+
updatedAt: number(),
|
|
16111
|
+
data: RecordBodySchema
|
|
16112
|
+
});
|
|
16113
|
+
/** Declared index fields only. Anything else does not compile, by design. */
|
|
16114
|
+
var RecordWhereSchema = record(RecordFieldPathSchema, union([
|
|
16115
|
+
string(),
|
|
16116
|
+
number(),
|
|
16117
|
+
boolean(),
|
|
16118
|
+
object({ in: array(union([
|
|
16119
|
+
string(),
|
|
16120
|
+
number(),
|
|
16121
|
+
boolean()
|
|
16122
|
+
])).min(1).max(RECORD_BATCH_MAX) }),
|
|
16123
|
+
object({
|
|
16124
|
+
gt: union([string(), number()]).optional(),
|
|
16125
|
+
gte: union([string(), number()]).optional(),
|
|
16126
|
+
lt: union([string(), number()]).optional(),
|
|
16127
|
+
lte: union([string(), number()]).optional()
|
|
16128
|
+
}).refine((r) => Object.keys(r).length > 0, { message: "name at least one bound" })
|
|
16129
|
+
]));
|
|
16130
|
+
var KindShape = { kind: RecordKindNameSchema };
|
|
16131
|
+
var TimeWindowShape = {
|
|
16132
|
+
deviceId: number().int().optional(),
|
|
16133
|
+
atFrom: number().optional(),
|
|
16134
|
+
atTo: number().optional()
|
|
16135
|
+
};
|
|
16136
|
+
var RecordQueryInputSchema = object({
|
|
16137
|
+
...KindShape,
|
|
16138
|
+
...TimeWindowShape,
|
|
16139
|
+
where: RecordWhereSchema.optional(),
|
|
16140
|
+
/** Without `where`: `at` (default for a kind with a clock) or `id`. With `where` the order is the index's. */
|
|
16141
|
+
order: _enum(["at", "id"]).optional(),
|
|
16142
|
+
desc: boolean().optional(),
|
|
16143
|
+
limit: number().int().min(1).max(RECORD_QUERY_MAX).default(100),
|
|
16144
|
+
/** Opaque keyset cursor from a previous answer. There is no offset. */
|
|
16145
|
+
cursor: string().min(1).optional()
|
|
16146
|
+
});
|
|
16147
|
+
var RecordQueryResultSchema = object({
|
|
16148
|
+
records: array(RecordViewSchema),
|
|
16149
|
+
nextCursor: string().nullable()
|
|
16150
|
+
});
|
|
16151
|
+
var RecordKindStateSchema = _enum([
|
|
16152
|
+
"created",
|
|
16153
|
+
"unchanged",
|
|
16154
|
+
"updated"
|
|
16155
|
+
]);
|
|
16156
|
+
var DeclareKindResultSchema = object({
|
|
16157
|
+
kindId: number().int(),
|
|
16158
|
+
state: RecordKindStateSchema,
|
|
16159
|
+
createdIndexes: array(string()),
|
|
16160
|
+
/** The boot guard: the kind is empty while its legacy table still holds rows. */
|
|
16161
|
+
adoptionPending: object({
|
|
16162
|
+
legacyTable: string(),
|
|
16163
|
+
legacyRows: number().int()
|
|
16164
|
+
}).nullable()
|
|
16165
|
+
});
|
|
16166
|
+
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16167
|
+
var SecretRefsList = array(string());
|
|
16168
|
+
var RecordSecretRefsSchema = record(string(), record(string(), string()));
|
|
16169
|
+
method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
|
|
16170
|
+
kind: "mutation",
|
|
16171
|
+
auth: "admin"
|
|
16172
|
+
}), method(object({
|
|
16173
|
+
...KindShape,
|
|
16174
|
+
id: RecordIdSchema
|
|
16175
|
+
}), RecordViewSchema.nullable(), { auth: "admin" }), method(object({
|
|
16176
|
+
...KindShape,
|
|
16177
|
+
ids: array(RecordIdSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16178
|
+
}), array(RecordViewSchema), { auth: "admin" }), method(object({
|
|
16179
|
+
...KindShape,
|
|
16180
|
+
ids: array(RecordIdSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16181
|
+
}), RecordSecretRefsSchema, { auth: "admin" }), method(object({
|
|
16182
|
+
...KindShape,
|
|
16183
|
+
record: RecordInputSchema,
|
|
16184
|
+
/** Compare-and-set. `0` means "the row must not exist". */
|
|
16185
|
+
ifRev: number().int().min(0).optional()
|
|
16186
|
+
}), object({
|
|
16187
|
+
rev: number().int(),
|
|
16188
|
+
releasedRefs: SecretRefsList
|
|
16189
|
+
}), {
|
|
16190
|
+
kind: "mutation",
|
|
16191
|
+
auth: "admin"
|
|
16192
|
+
}), method(object({
|
|
16193
|
+
...KindShape,
|
|
16194
|
+
records: array(RecordInputSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16195
|
+
}), object({
|
|
16196
|
+
count: number().int(),
|
|
16197
|
+
releasedRefs: SecretRefsList
|
|
16198
|
+
}), {
|
|
16199
|
+
kind: "mutation",
|
|
16200
|
+
auth: "admin"
|
|
16201
|
+
}), method(object({
|
|
16202
|
+
...KindShape,
|
|
16203
|
+
id: RecordIdSchema,
|
|
16204
|
+
data: RecordBodySchema,
|
|
16205
|
+
at: number().int().nullable().optional(),
|
|
16206
|
+
expiresAt: number().int().nullable().optional(),
|
|
16207
|
+
ifRev: number().int().min(1).optional()
|
|
16208
|
+
}), object({
|
|
16209
|
+
rev: number().int(),
|
|
16210
|
+
releasedRefs: SecretRefsList
|
|
16211
|
+
}), {
|
|
16212
|
+
kind: "mutation",
|
|
16213
|
+
auth: "admin"
|
|
16214
|
+
}), method(object({
|
|
16215
|
+
...KindShape,
|
|
16216
|
+
id: RecordIdSchema
|
|
16217
|
+
}), object({
|
|
16218
|
+
deleted: boolean(),
|
|
16219
|
+
secretRefs: SecretRefsList
|
|
16220
|
+
}), {
|
|
16221
|
+
kind: "mutation",
|
|
16222
|
+
auth: "admin"
|
|
16223
|
+
}), method(object({
|
|
16224
|
+
...KindShape,
|
|
16225
|
+
ids: array(RecordIdSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16226
|
+
}), object({
|
|
16227
|
+
deleted: number().int(),
|
|
16228
|
+
secretRefs: SecretRefsList
|
|
16229
|
+
}), {
|
|
16230
|
+
kind: "mutation",
|
|
16231
|
+
auth: "admin"
|
|
16232
|
+
}), method(RecordQueryInputSchema, RecordQueryResultSchema, { auth: "admin" }), method(object({
|
|
16233
|
+
...KindShape,
|
|
16234
|
+
...TimeWindowShape,
|
|
16235
|
+
where: RecordWhereSchema.optional()
|
|
16236
|
+
}), object({ count: number().int() }), { auth: "admin" }), method(object({
|
|
16237
|
+
...KindShape,
|
|
16238
|
+
deviceId: number().int().optional(),
|
|
16239
|
+
from: number(),
|
|
16240
|
+
to: number(),
|
|
16241
|
+
bucketMs: number().int().positive()
|
|
16242
|
+
}), object({ buckets: array(object({
|
|
16243
|
+
bucketStart: number(),
|
|
16244
|
+
count: number().int()
|
|
16245
|
+
})) }), { auth: "admin" }), method(object({
|
|
16246
|
+
...KindShape,
|
|
16247
|
+
op: _enum([
|
|
16248
|
+
"sum",
|
|
16249
|
+
"min",
|
|
16250
|
+
"max",
|
|
16251
|
+
"count"
|
|
16252
|
+
]),
|
|
16253
|
+
field: RecordFieldPathSchema.optional(),
|
|
16254
|
+
groupBy: RecordFieldPathSchema.optional(),
|
|
16255
|
+
where: RecordWhereSchema.optional()
|
|
16256
|
+
}), object({ rows: array(object({
|
|
16257
|
+
group: union([
|
|
16258
|
+
string(),
|
|
16259
|
+
number(),
|
|
16260
|
+
_null()
|
|
16261
|
+
]),
|
|
16262
|
+
value: number().nullable()
|
|
16263
|
+
})) }), { auth: "admin" }), method(object({
|
|
16264
|
+
...KindShape,
|
|
16265
|
+
deviceId: number().int().optional(),
|
|
16266
|
+
atBefore: number().optional(),
|
|
16267
|
+
where: RecordWhereSchema.optional()
|
|
16268
|
+
}), object({
|
|
16269
|
+
deleted: number().int(),
|
|
16270
|
+
secretRefs: SecretRefsList
|
|
16271
|
+
}), {
|
|
16272
|
+
kind: "mutation",
|
|
16273
|
+
auth: "admin"
|
|
16274
|
+
}), method(object({
|
|
16275
|
+
deviceId: number().int(),
|
|
16276
|
+
kinds: array(RecordKindNameSchema).optional()
|
|
16277
|
+
}), object({
|
|
16278
|
+
deleted: record(string(), number().int()),
|
|
16279
|
+
secretRefs: SecretRefsList
|
|
16280
|
+
}), {
|
|
16281
|
+
kind: "mutation",
|
|
16282
|
+
auth: "admin"
|
|
16283
|
+
}), method(object(KindShape), object({ id: number().int() }), {
|
|
16284
|
+
kind: "mutation",
|
|
16285
|
+
auth: "admin"
|
|
16286
|
+
});
|
|
15988
16287
|
/** One table of the settings database. */
|
|
15989
16288
|
var StorageTableSchema = object({
|
|
15990
16289
|
/** The table's full name, e.g. `recorder:addon-settings` or `addon-device-settings`. */
|
|
@@ -15997,6 +16296,28 @@ var StorageTableSchema = object({
|
|
|
15997
16296
|
/** Declared by an addon since this engine process started (a running addon claims it). */
|
|
15998
16297
|
declaredThisBoot: boolean()
|
|
15999
16298
|
});
|
|
16299
|
+
/** One declared record kind (D881) as System -> Data shows it. */
|
|
16300
|
+
var StorageKindSchema = object({
|
|
16301
|
+
owner: string(),
|
|
16302
|
+
kind: string(),
|
|
16303
|
+
database: _enum(["settings", "events"]),
|
|
16304
|
+
class: string(),
|
|
16305
|
+
state: _enum([
|
|
16306
|
+
"declared",
|
|
16307
|
+
"orphaned",
|
|
16308
|
+
"dropped"
|
|
16309
|
+
]),
|
|
16310
|
+
/** `null` when the caller asked for no counts (`counts: false`). */
|
|
16311
|
+
rows: number().int().nonnegative().nullable(),
|
|
16312
|
+
/** Rows x the average size of a sample; null for an empty kind. */
|
|
16313
|
+
bytesEstimate: number().int().nonnegative().nullable(),
|
|
16314
|
+
writeTrigger: string(),
|
|
16315
|
+
retention: RecordRetentionSchema,
|
|
16316
|
+
/** `true` when the kind is an entry kind (the generic entries UI lists it). */
|
|
16317
|
+
entry: boolean(),
|
|
16318
|
+
/** The whole declaration, secret paths and entry descriptor included (the entries service builds its handle from it). */
|
|
16319
|
+
declaration: RecordKindDeclarationSchema
|
|
16320
|
+
});
|
|
16000
16321
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
16001
16322
|
collection: string().min(1),
|
|
16002
16323
|
expectRows: number().int().nonnegative()
|
|
@@ -16006,6 +16327,87 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16006
16327
|
}), {
|
|
16007
16328
|
kind: "mutation",
|
|
16008
16329
|
auth: "admin"
|
|
16330
|
+
}), method(object({
|
|
16331
|
+
owner: string().min(1).optional(),
|
|
16332
|
+
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
16333
|
+
counts: boolean().optional()
|
|
16334
|
+
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16335
|
+
owner: string().min(1),
|
|
16336
|
+
kind: RecordKindNameSchema
|
|
16337
|
+
}), RecordQueryResultSchema, { auth: "admin" }), method(object({
|
|
16338
|
+
owner: string().min(1),
|
|
16339
|
+
kind: RecordKindNameSchema,
|
|
16340
|
+
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16341
|
+
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16342
|
+
complete: boolean().optional()
|
|
16343
|
+
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16344
|
+
kind: "mutation",
|
|
16345
|
+
auth: "admin"
|
|
16346
|
+
}), method(object({
|
|
16347
|
+
collection: string().min(1),
|
|
16348
|
+
cursor: string().optional(),
|
|
16349
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
16350
|
+
}), object({
|
|
16351
|
+
rows: array(object({
|
|
16352
|
+
id: string(),
|
|
16353
|
+
data: record(string(), unknown())
|
|
16354
|
+
})),
|
|
16355
|
+
nextCursor: string().nullable()
|
|
16356
|
+
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16357
|
+
/**
|
|
16358
|
+
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16359
|
+
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
16360
|
+
* declares as an ENTRY kind (`entry: { title }` in `defineRecordKinds`).
|
|
16361
|
+
*
|
|
16362
|
+
* The UI is generic. `listEntryKinds` hands it, per kind, the JSON Schema of
|
|
16363
|
+
* the entry body with `secret: true` on every credential field, so a password
|
|
16364
|
+
* field is derived from the schema and never from a name. `putEntry` takes the
|
|
16365
|
+
* redaction token for an untouched secret (the stored value is kept), a string
|
|
16366
|
+
* for a new one, and the clear instruction to remove one. A read never carries
|
|
16367
|
+
* a secret value, and a locked keychain refuses the write with
|
|
16368
|
+
* `records/secret-unavailable` instead of storing plaintext.
|
|
16369
|
+
*
|
|
16370
|
+
* Hub-only, served in-process (it acts for each entry's owner on the keychain).
|
|
16371
|
+
*/
|
|
16372
|
+
var EntryKindInfoSchema = object({
|
|
16373
|
+
owner: string(),
|
|
16374
|
+
kind: RecordKindNameSchema,
|
|
16375
|
+
title: string(),
|
|
16376
|
+
nameField: string(),
|
|
16377
|
+
/** JSON Schema of the body; `secret: true` marks a password field. */
|
|
16378
|
+
fields: record(string(), unknown()),
|
|
16379
|
+
secretPaths: array(string()),
|
|
16380
|
+
rows: number().int().nonnegative()
|
|
16381
|
+
});
|
|
16382
|
+
var EntryViewSchema = object({
|
|
16383
|
+
id: RecordIdSchema,
|
|
16384
|
+
name: string(),
|
|
16385
|
+
rev: number().int(),
|
|
16386
|
+
updatedAt: number(),
|
|
16387
|
+
/** Secret fields hold the redaction token. */
|
|
16388
|
+
data: RecordBodySchema
|
|
16389
|
+
});
|
|
16390
|
+
var EntryAddress = {
|
|
16391
|
+
owner: string().min(1),
|
|
16392
|
+
kind: RecordKindNameSchema
|
|
16393
|
+
};
|
|
16394
|
+
method(object({}), object({ kinds: array(EntryKindInfoSchema) }), { auth: "admin" }), method(object({ ...EntryAddress }), object({ entries: array(EntryViewSchema) }), { auth: "admin" }), method(object({
|
|
16395
|
+
...EntryAddress,
|
|
16396
|
+
id: RecordIdSchema.optional(),
|
|
16397
|
+
data: RecordBodySchema,
|
|
16398
|
+
ifRev: number().int().min(1).optional()
|
|
16399
|
+
}), object({
|
|
16400
|
+
id: string(),
|
|
16401
|
+
rev: number().int()
|
|
16402
|
+
}), {
|
|
16403
|
+
kind: "mutation",
|
|
16404
|
+
auth: "admin"
|
|
16405
|
+
}), method(object({
|
|
16406
|
+
...EntryAddress,
|
|
16407
|
+
id: RecordIdSchema
|
|
16408
|
+
}), object({ deleted: boolean() }), {
|
|
16409
|
+
kind: "mutation",
|
|
16410
|
+
auth: "admin"
|
|
16009
16411
|
});
|
|
16010
16412
|
/**
|
|
16011
16413
|
* `keychain` — the hub's encrypted store of secret values (D787).
|
|
@@ -68050,6 +68452,30 @@ Object.freeze({
|
|
|
68050
68452
|
addonId: null,
|
|
68051
68453
|
access: "create"
|
|
68052
68454
|
},
|
|
68455
|
+
"recordEntries.deleteEntry": {
|
|
68456
|
+
capName: "record-entries",
|
|
68457
|
+
capScope: "system",
|
|
68458
|
+
addonId: null,
|
|
68459
|
+
access: "delete"
|
|
68460
|
+
},
|
|
68461
|
+
"recordEntries.listEntries": {
|
|
68462
|
+
capName: "record-entries",
|
|
68463
|
+
capScope: "system",
|
|
68464
|
+
addonId: null,
|
|
68465
|
+
access: "view"
|
|
68466
|
+
},
|
|
68467
|
+
"recordEntries.listEntryKinds": {
|
|
68468
|
+
capName: "record-entries",
|
|
68469
|
+
capScope: "system",
|
|
68470
|
+
addonId: null,
|
|
68471
|
+
access: "view"
|
|
68472
|
+
},
|
|
68473
|
+
"recordEntries.putEntry": {
|
|
68474
|
+
capName: "record-entries",
|
|
68475
|
+
capScope: "system",
|
|
68476
|
+
addonId: null,
|
|
68477
|
+
access: "create"
|
|
68478
|
+
},
|
|
68053
68479
|
"recording.getAvailability": {
|
|
68054
68480
|
capName: "recording",
|
|
68055
68481
|
capScope: "device",
|
|
@@ -68350,6 +68776,102 @@ Object.freeze({
|
|
|
68350
68776
|
addonId: null,
|
|
68351
68777
|
access: "view"
|
|
68352
68778
|
},
|
|
68779
|
+
"records.aggregate": {
|
|
68780
|
+
capName: "records",
|
|
68781
|
+
capScope: "system",
|
|
68782
|
+
addonId: null,
|
|
68783
|
+
access: "view"
|
|
68784
|
+
},
|
|
68785
|
+
"records.allocateId": {
|
|
68786
|
+
capName: "records",
|
|
68787
|
+
capScope: "system",
|
|
68788
|
+
addonId: null,
|
|
68789
|
+
access: "create"
|
|
68790
|
+
},
|
|
68791
|
+
"records.count": {
|
|
68792
|
+
capName: "records",
|
|
68793
|
+
capScope: "system",
|
|
68794
|
+
addonId: null,
|
|
68795
|
+
access: "view"
|
|
68796
|
+
},
|
|
68797
|
+
"records.declareKinds": {
|
|
68798
|
+
capName: "records",
|
|
68799
|
+
capScope: "system",
|
|
68800
|
+
addonId: null,
|
|
68801
|
+
access: "create"
|
|
68802
|
+
},
|
|
68803
|
+
"records.delete": {
|
|
68804
|
+
capName: "records",
|
|
68805
|
+
capScope: "system",
|
|
68806
|
+
addonId: null,
|
|
68807
|
+
access: "delete"
|
|
68808
|
+
},
|
|
68809
|
+
"records.deleteDevice": {
|
|
68810
|
+
capName: "records",
|
|
68811
|
+
capScope: "system",
|
|
68812
|
+
addonId: null,
|
|
68813
|
+
access: "delete"
|
|
68814
|
+
},
|
|
68815
|
+
"records.deleteMany": {
|
|
68816
|
+
capName: "records",
|
|
68817
|
+
capScope: "system",
|
|
68818
|
+
addonId: null,
|
|
68819
|
+
access: "delete"
|
|
68820
|
+
},
|
|
68821
|
+
"records.deleteWhere": {
|
|
68822
|
+
capName: "records",
|
|
68823
|
+
capScope: "system",
|
|
68824
|
+
addonId: null,
|
|
68825
|
+
access: "delete"
|
|
68826
|
+
},
|
|
68827
|
+
"records.get": {
|
|
68828
|
+
capName: "records",
|
|
68829
|
+
capScope: "system",
|
|
68830
|
+
addonId: null,
|
|
68831
|
+
access: "view"
|
|
68832
|
+
},
|
|
68833
|
+
"records.getMany": {
|
|
68834
|
+
capName: "records",
|
|
68835
|
+
capScope: "system",
|
|
68836
|
+
addonId: null,
|
|
68837
|
+
access: "view"
|
|
68838
|
+
},
|
|
68839
|
+
"records.histogram": {
|
|
68840
|
+
capName: "records",
|
|
68841
|
+
capScope: "system",
|
|
68842
|
+
addonId: null,
|
|
68843
|
+
access: "view"
|
|
68844
|
+
},
|
|
68845
|
+
"records.patch": {
|
|
68846
|
+
capName: "records",
|
|
68847
|
+
capScope: "system",
|
|
68848
|
+
addonId: null,
|
|
68849
|
+
access: "create"
|
|
68850
|
+
},
|
|
68851
|
+
"records.put": {
|
|
68852
|
+
capName: "records",
|
|
68853
|
+
capScope: "system",
|
|
68854
|
+
addonId: null,
|
|
68855
|
+
access: "create"
|
|
68856
|
+
},
|
|
68857
|
+
"records.putMany": {
|
|
68858
|
+
capName: "records",
|
|
68859
|
+
capScope: "system",
|
|
68860
|
+
addonId: null,
|
|
68861
|
+
access: "create"
|
|
68862
|
+
},
|
|
68863
|
+
"records.query": {
|
|
68864
|
+
capName: "records",
|
|
68865
|
+
capScope: "system",
|
|
68866
|
+
addonId: null,
|
|
68867
|
+
access: "view"
|
|
68868
|
+
},
|
|
68869
|
+
"records.secretRefs": {
|
|
68870
|
+
capName: "records",
|
|
68871
|
+
capScope: "system",
|
|
68872
|
+
addonId: null,
|
|
68873
|
+
access: "view"
|
|
68874
|
+
},
|
|
68353
68875
|
"sceneMonitor.captureReference": {
|
|
68354
68876
|
capName: "scene-monitor",
|
|
68355
68877
|
capScope: "device",
|
|
@@ -68782,18 +69304,48 @@ Object.freeze({
|
|
|
68782
69304
|
addonId: null,
|
|
68783
69305
|
access: "create"
|
|
68784
69306
|
},
|
|
69307
|
+
"storageAdmin.adoptRecords": {
|
|
69308
|
+
capName: "storage-admin",
|
|
69309
|
+
capScope: "system",
|
|
69310
|
+
addonId: null,
|
|
69311
|
+
access: "create"
|
|
69312
|
+
},
|
|
68785
69313
|
"storageAdmin.dropCollection": {
|
|
68786
69314
|
capName: "storage-admin",
|
|
68787
69315
|
capScope: "system",
|
|
68788
69316
|
addonId: null,
|
|
68789
69317
|
access: "delete"
|
|
68790
69318
|
},
|
|
69319
|
+
"storageAdmin.isAdoptedLegacyTable": {
|
|
69320
|
+
capName: "storage-admin",
|
|
69321
|
+
capScope: "system",
|
|
69322
|
+
addonId: null,
|
|
69323
|
+
access: "view"
|
|
69324
|
+
},
|
|
69325
|
+
"storageAdmin.listKinds": {
|
|
69326
|
+
capName: "storage-admin",
|
|
69327
|
+
capScope: "system",
|
|
69328
|
+
addonId: null,
|
|
69329
|
+
access: "view"
|
|
69330
|
+
},
|
|
68791
69331
|
"storageAdmin.listTables": {
|
|
68792
69332
|
capName: "storage-admin",
|
|
68793
69333
|
capScope: "system",
|
|
68794
69334
|
addonId: null,
|
|
68795
69335
|
access: "view"
|
|
68796
69336
|
},
|
|
69337
|
+
"storageAdmin.readLegacyCollection": {
|
|
69338
|
+
capName: "storage-admin",
|
|
69339
|
+
capScope: "system",
|
|
69340
|
+
addonId: null,
|
|
69341
|
+
access: "view"
|
|
69342
|
+
},
|
|
69343
|
+
"storageAdmin.readRecords": {
|
|
69344
|
+
capName: "storage-admin",
|
|
69345
|
+
capScope: "system",
|
|
69346
|
+
addonId: null,
|
|
69347
|
+
access: "view"
|
|
69348
|
+
},
|
|
68797
69349
|
"storageEvictable.evict": {
|
|
68798
69350
|
capName: "storage-evictable",
|
|
68799
69351
|
capScope: "system",
|
|
@@ -72388,6 +72940,37 @@ Object.freeze({
|
|
|
72388
72940
|
form: "single",
|
|
72389
72941
|
optional: false
|
|
72390
72942
|
}],
|
|
72943
|
+
"records.count": [{
|
|
72944
|
+
name: "deviceId",
|
|
72945
|
+
form: "single",
|
|
72946
|
+
optional: true
|
|
72947
|
+
}],
|
|
72948
|
+
"records.deleteDevice": [{
|
|
72949
|
+
name: "deviceId",
|
|
72950
|
+
form: "single",
|
|
72951
|
+
optional: false
|
|
72952
|
+
}],
|
|
72953
|
+
"records.deleteWhere": [{
|
|
72954
|
+
name: "deviceId",
|
|
72955
|
+
form: "single",
|
|
72956
|
+
optional: true
|
|
72957
|
+
}],
|
|
72958
|
+
"records.histogram": [{
|
|
72959
|
+
name: "deviceId",
|
|
72960
|
+
form: "single",
|
|
72961
|
+
optional: true
|
|
72962
|
+
}],
|
|
72963
|
+
"records.putMany": [{
|
|
72964
|
+
name: "records",
|
|
72965
|
+
form: "object-array",
|
|
72966
|
+
optional: false,
|
|
72967
|
+
itemField: "deviceId"
|
|
72968
|
+
}],
|
|
72969
|
+
"records.query": [{
|
|
72970
|
+
name: "deviceId",
|
|
72971
|
+
form: "single",
|
|
72972
|
+
optional: true
|
|
72973
|
+
}],
|
|
72391
72974
|
"sceneMonitor.captureReference": [{
|
|
72392
72975
|
name: "deviceId",
|
|
72393
72976
|
form: "single",
|
|
@@ -72504,6 +73087,17 @@ Object.freeze({
|
|
|
72504
73087
|
form: "single",
|
|
72505
73088
|
optional: false
|
|
72506
73089
|
}],
|
|
73090
|
+
"storageAdmin.adoptRecords": [{
|
|
73091
|
+
name: "records",
|
|
73092
|
+
form: "object-array",
|
|
73093
|
+
optional: false,
|
|
73094
|
+
itemField: "deviceId"
|
|
73095
|
+
}],
|
|
73096
|
+
"storageAdmin.readRecords": [{
|
|
73097
|
+
name: "deviceId",
|
|
73098
|
+
form: "single",
|
|
73099
|
+
optional: true
|
|
73100
|
+
}],
|
|
72507
73101
|
"streamBroker.acquireEgressTranscode": [{
|
|
72508
73102
|
name: "deviceId",
|
|
72509
73103
|
form: "single",
|
|
@@ -74929,7 +75523,9 @@ Object.freeze({
|
|
|
74929
75523
|
},
|
|
74930
75524
|
"setDeviceConfig": { "config": { "__nested__": { "bands": [] } } }
|
|
74931
75525
|
},
|
|
75526
|
+
"records": { "query": { "limit": 100 } },
|
|
74932
75527
|
"storage": { "upsertLocation": { "isSystem": false } },
|
|
75528
|
+
"storage-admin": { "readRecords": { "limit": 100 } },
|
|
74933
75529
|
"storage-provider": {
|
|
74934
75530
|
"beginDownload": { "location": { "__nested__": { "isSystem": false } } },
|
|
74935
75531
|
"beginUpload": { "location": { "__nested__": { "isSystem": false } } },
|