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