@camstack/addon-model-studio 1.1.266 → 1.1.268
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-QEoTPmcr.mjs → MotionZonesSettings-Bbrx9VW1.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-BbohzLpq.mjs → PrivacyMaskSettings-Bc3Nh1vj.mjs} +4 -4
- package/dist/{SceneMonitorEditor-9Q681ceG.mjs → SceneMonitorEditor-DoqQ-nbD.mjs} +3 -3
- package/dist/_stub.js +18 -18
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BuCDA9zD.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-BalgjE7Q.mjs} +3 -3
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-D4LoTU4p.mjs +26 -0
- package/dist/{hostInit-CAAwjy3-.mjs → hostInit-BxoVlAJO.mjs} +2 -2
- package/dist/model-studio.addon.js +633 -47
- package/dist/model-studio.addon.mjs +633 -47
- package/dist/{player-overlays-6oZdPigo.mjs → player-overlays-DqOjIJBM.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-DKuK9SrM.mjs → responsive-DMQNbXa7.mjs} +1 -1
- package/dist/{scene-monitor-copy-BZutPHjt.mjs → scene-monitor-copy-D7Oz3W2_.mjs} +1 -1
- package/dist/{square-BoehEjTT.mjs → square-cSGFDS5x.mjs} +1 -1
- package/dist/{trash-2-BTKS3ae6.mjs → trash-2-8LnhGolp.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-C0irhDNf.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-BbWnFACc.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_model_studio_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CVsfrcvP.mjs +0 -26
|
@@ -5774,7 +5774,7 @@ var ZodIssueCode = {
|
|
|
5774
5774
|
var ZodFirstPartyTypeKind;
|
|
5775
5775
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5776
5776
|
//#endregion
|
|
5777
|
-
//#region ../types/dist/sleep-
|
|
5777
|
+
//#region ../types/dist/sleep-WsrozGDL.mjs
|
|
5778
5778
|
/**
|
|
5779
5779
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5780
5780
|
* window to float samples (D455).
|
|
@@ -5891,7 +5891,7 @@ function isKeychainStoredField(field) {
|
|
|
5891
5891
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5892
5892
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5893
5893
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5894
|
-
function isRecord$
|
|
5894
|
+
function isRecord$4(value) {
|
|
5895
5895
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5896
5896
|
}
|
|
5897
5897
|
function makeSecretMarker(ref) {
|
|
@@ -5902,12 +5902,12 @@ function makeSecretMarker(ref) {
|
|
|
5902
5902
|
}
|
|
5903
5903
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5904
5904
|
function isSecretMarker(value) {
|
|
5905
|
-
if (!isRecord$
|
|
5905
|
+
if (!isRecord$4(value)) return false;
|
|
5906
5906
|
const ref = value["$secret"];
|
|
5907
5907
|
return typeof ref === "string" && ref.length > 0;
|
|
5908
5908
|
}
|
|
5909
5909
|
function isSecretClear(value) {
|
|
5910
|
-
return isRecord$
|
|
5910
|
+
return isRecord$4(value) && value["$secretClear"] === true;
|
|
5911
5911
|
}
|
|
5912
5912
|
/**
|
|
5913
5913
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6517,7 +6517,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6517
6517
|
}
|
|
6518
6518
|
};
|
|
6519
6519
|
var KEEP = { kind: "keep" };
|
|
6520
|
-
function isRecord$
|
|
6520
|
+
function isRecord$3(value) {
|
|
6521
6521
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6522
6522
|
}
|
|
6523
6523
|
function defaultMintId() {
|
|
@@ -6530,7 +6530,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6530
6530
|
return out;
|
|
6531
6531
|
}
|
|
6532
6532
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6533
|
-
else if (isRecord$
|
|
6533
|
+
else if (isRecord$3(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6534
6534
|
return out;
|
|
6535
6535
|
}
|
|
6536
6536
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6585,7 +6585,7 @@ function rowId(row, idKey) {
|
|
|
6585
6585
|
return null;
|
|
6586
6586
|
}
|
|
6587
6587
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6588
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6588
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$3) : [];
|
|
6589
6589
|
if (!Array.isArray(incoming)) {
|
|
6590
6590
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6591
6591
|
return {
|
|
@@ -6601,7 +6601,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6601
6601
|
const kept = /* @__PURE__ */ new Set();
|
|
6602
6602
|
const rows = [];
|
|
6603
6603
|
for (const row of incoming) {
|
|
6604
|
-
if (!isRecord$
|
|
6604
|
+
if (!isRecord$3(row)) {
|
|
6605
6605
|
rows.push(row);
|
|
6606
6606
|
continue;
|
|
6607
6607
|
}
|
|
@@ -6626,7 +6626,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6626
6626
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6627
6627
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6628
6628
|
case "object": {
|
|
6629
|
-
if (!isRecord$
|
|
6629
|
+
if (!isRecord$3(incoming)) {
|
|
6630
6630
|
if (incoming === void 0) return KEEP;
|
|
6631
6631
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6632
6632
|
return {
|
|
@@ -6634,7 +6634,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6634
6634
|
value: incoming
|
|
6635
6635
|
};
|
|
6636
6636
|
}
|
|
6637
|
-
const storedObj = isRecord$
|
|
6637
|
+
const storedObj = isRecord$3(stored) ? stored : {};
|
|
6638
6638
|
return {
|
|
6639
6639
|
kind: "value",
|
|
6640
6640
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6757,7 +6757,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6757
6757
|
value: items
|
|
6758
6758
|
};
|
|
6759
6759
|
}
|
|
6760
|
-
if (isRecord$
|
|
6760
|
+
if (isRecord$3(v)) {
|
|
6761
6761
|
const out = {};
|
|
6762
6762
|
for (const [k, child] of Object.entries(v)) {
|
|
6763
6763
|
const s = substitute(child);
|
|
@@ -6789,7 +6789,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6789
6789
|
this.name = "SecretOverwriteRefusedError";
|
|
6790
6790
|
}
|
|
6791
6791
|
};
|
|
6792
|
-
function isRecord$
|
|
6792
|
+
function isRecord$2(value) {
|
|
6793
6793
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6794
6794
|
}
|
|
6795
6795
|
function resolvedValue(pass, marker) {
|
|
@@ -6818,7 +6818,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6818
6818
|
return incoming.map((item, index) => {
|
|
6819
6819
|
const twin = stored[index];
|
|
6820
6820
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6821
|
-
if (isRecord$
|
|
6821
|
+
if (isRecord$2(item) && isRecord$2(twin)) return inArrayRow(pass, item, twin);
|
|
6822
6822
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6823
6823
|
return item;
|
|
6824
6824
|
});
|
|
@@ -6829,7 +6829,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6829
6829
|
const twin = stored[key];
|
|
6830
6830
|
if (isSecretMarker(twin)) {
|
|
6831
6831
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6832
|
-
} else if (isRecord$
|
|
6832
|
+
} else if (isRecord$2(value) && isRecord$2(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6833
6833
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6834
6834
|
}
|
|
6835
6835
|
return out;
|
|
@@ -6837,7 +6837,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6837
6837
|
async function walk(pass, incoming, stored) {
|
|
6838
6838
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6839
6839
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6840
|
-
if (!isRecord$
|
|
6840
|
+
if (!isRecord$2(incoming) || !isRecord$2(stored)) return incoming;
|
|
6841
6841
|
const out = { ...incoming };
|
|
6842
6842
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6843
6843
|
return out;
|
|
@@ -6868,7 +6868,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6868
6868
|
function isJsonEqual(a, b) {
|
|
6869
6869
|
if (Object.is(a, b)) return true;
|
|
6870
6870
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6871
|
-
if (isRecord$
|
|
6871
|
+
if (isRecord$2(a) && isRecord$2(b)) {
|
|
6872
6872
|
const keys = Object.keys(a);
|
|
6873
6873
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6874
6874
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6892,7 +6892,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6892
6892
|
}
|
|
6893
6893
|
function nodeFromStored(value, owner) {
|
|
6894
6894
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6895
|
-
if (!isRecord$
|
|
6895
|
+
if (!isRecord$2(value)) return null;
|
|
6896
6896
|
const children = /* @__PURE__ */ new Map();
|
|
6897
6897
|
for (const [key, child] of Object.entries(value)) {
|
|
6898
6898
|
const node = nodeFromStored(child, owner);
|
|
@@ -8174,6 +8174,89 @@ var PeerBytesTicketSchema = object({
|
|
|
8174
8174
|
*/
|
|
8175
8175
|
declaredBytes: number().int().nonnegative().nullable()
|
|
8176
8176
|
});
|
|
8177
|
+
/** Limits and names of `ctx.records` (D881). One authority; the engine and the facade read it. */
|
|
8178
|
+
/** The files a kind may live in. `history` is device-history's (D850), never records. */
|
|
8179
|
+
var RECORD_DATABASES = ["settings", "events"];
|
|
8180
|
+
/** The classes of a kind: the `@durable` vocabulary, one authority (replaces the annotation). */
|
|
8181
|
+
var RECORD_CLASSES = [
|
|
8182
|
+
"config",
|
|
8183
|
+
"ledger",
|
|
8184
|
+
"audit",
|
|
8185
|
+
"mirror",
|
|
8186
|
+
"ephemeral"
|
|
8187
|
+
];
|
|
8188
|
+
var RECORD_DEFAULT_MAX_DATA_BYTES = 64 * 1024;
|
|
8189
|
+
var RECORD_MAX_DATA_BYTES = 1024 * 1024;
|
|
8190
|
+
var RECORD_BATCH_MAX = 1e3;
|
|
8191
|
+
var RECORD_QUERY_MAX = 1e3;
|
|
8192
|
+
/**
|
|
8193
|
+
* Record kinds (D881): the declaration an addon makes of one kind of fact, the
|
|
8194
|
+
* Zod row schema that describes it, and the helper that turns the two into the
|
|
8195
|
+
* JSON the engine stores.
|
|
8196
|
+
*
|
|
8197
|
+
* A kind is declared ONCE, next to the code that owns it, and the engine's
|
|
8198
|
+
* reconciler creates its indexes - nothing creates DDL at runtime from a write.
|
|
8199
|
+
* Everything the generic machinery needs (secret fields, the entry descriptor)
|
|
8200
|
+
* is DERIVED from the Zod schema: `.meta({ secret: true })` marks a credential,
|
|
8201
|
+
* never a field name (D879).
|
|
8202
|
+
*/
|
|
8203
|
+
/** A JSON field path: `trackId`, `auth.accessToken`. Charset-restricted: it is rendered into DDL. */
|
|
8204
|
+
var RecordFieldPathSchema = string().regex(/^[A-Za-z_][A-Za-z0-9_]{0,63}(\.[A-Za-z_][A-Za-z0-9_]{0,63}){0,3}$/);
|
|
8205
|
+
var RecordIndexSchema = object({
|
|
8206
|
+
name: string().regex(/^[a-z][a-z0-9_]{0,31}$/),
|
|
8207
|
+
fields: array(RecordFieldPathSchema).min(1).max(4),
|
|
8208
|
+
unique: boolean().optional()
|
|
8209
|
+
}).strict();
|
|
8210
|
+
var RecordRetentionSchema = union([
|
|
8211
|
+
object({
|
|
8212
|
+
ttlMs: number().int().positive(),
|
|
8213
|
+
from: _enum(["at", "write"])
|
|
8214
|
+
}).strict(),
|
|
8215
|
+
object({
|
|
8216
|
+
maxRows: number().int().positive().optional(),
|
|
8217
|
+
maxRowsPerDevice: number().int().positive().optional()
|
|
8218
|
+
}).strict().refine((r) => r.maxRows !== void 0 || r.maxRowsPerDevice !== void 0, { message: "name maxRows, maxRowsPerDevice or both" }),
|
|
8219
|
+
object({
|
|
8220
|
+
owner: string().min(1),
|
|
8221
|
+
reason: string().min(1)
|
|
8222
|
+
}).strict(),
|
|
8223
|
+
object({ none: string().min(1) }).strict()
|
|
8224
|
+
]);
|
|
8225
|
+
/** The descriptor a generic entries UI reads (D881 "generic entries"). */
|
|
8226
|
+
var EntryDescriptorSchema = object({
|
|
8227
|
+
title: string().min(1),
|
|
8228
|
+
/** The record body field shown as the entry's name. */
|
|
8229
|
+
nameField: string().min(1),
|
|
8230
|
+
/** JSON Schema of the entry body; `secret: true` marks a password field. */
|
|
8231
|
+
fields: record(string(), unknown())
|
|
8232
|
+
}).strict();
|
|
8233
|
+
/** What crosses the wire and sits in the engine's catalog: JSON only, no Zod. */
|
|
8234
|
+
var RecordKindDeclarationSchema = object({
|
|
8235
|
+
database: _enum(RECORD_DATABASES).default("settings"),
|
|
8236
|
+
class: _enum(RECORD_CLASSES),
|
|
8237
|
+
writeTrigger: string().min(1),
|
|
8238
|
+
device: _enum([
|
|
8239
|
+
"required",
|
|
8240
|
+
"optional",
|
|
8241
|
+
"none"
|
|
8242
|
+
]).default("none"),
|
|
8243
|
+
at: _enum(["required", "none"]).default("none"),
|
|
8244
|
+
indexes: array(RecordIndexSchema).max(8).default([]),
|
|
8245
|
+
retention: RecordRetentionSchema,
|
|
8246
|
+
deviceRemoval: _enum(["delete", "none"]).default("none"),
|
|
8247
|
+
maxDataBytes: number().int().positive().max(RECORD_MAX_DATA_BYTES).default(RECORD_DEFAULT_MAX_DATA_BYTES),
|
|
8248
|
+
/** Derived from the Zod schema; never written by hand. */
|
|
8249
|
+
secretPaths: array(string().min(1)).default([]),
|
|
8250
|
+
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
8251
|
+
secretArrayKeys: record(string(), string()).default({}),
|
|
8252
|
+
/** The legacy table this kind adopts from; the boot guard reads it (D853: no migration code). */
|
|
8253
|
+
adoptsFrom: string().min(1).optional(),
|
|
8254
|
+
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8255
|
+
transactFamily: string().min(1).optional(),
|
|
8256
|
+
entry: EntryDescriptorSchema.optional()
|
|
8257
|
+
}).strict();
|
|
8258
|
+
/** The kind names: lower-case, dash separated, short enough for an index name. */
|
|
8259
|
+
var RecordKindNameSchema = string().regex(/^[a-z][a-z0-9-]{0,47}$/);
|
|
8177
8260
|
/** Shared Zod schemas used across streaming capabilities. */
|
|
8178
8261
|
var CamProfileSchema = _enum([
|
|
8179
8262
|
"high",
|
|
@@ -16049,6 +16132,41 @@ var ComposableCapabilitiesSchema = object({ caps: array(object({
|
|
|
16049
16132
|
keyField: string()
|
|
16050
16133
|
}).optional()
|
|
16051
16134
|
})) });
|
|
16135
|
+
/**
|
|
16136
|
+
* The report of a one-shot "move this owner's plaintext secrets into the
|
|
16137
|
+
* keychain" run (D878). COUNTS only - never a value, never a ref.
|
|
16138
|
+
*
|
|
16139
|
+
* The owner runs it on its own rows, through its own write path; an operator
|
|
16140
|
+
* script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
|
|
16141
|
+
* Dry run (`apply: false`) reports what WOULD move and changes nothing.
|
|
16142
|
+
*/
|
|
16143
|
+
var RawSecretMigrationInputSchema = object({
|
|
16144
|
+
/** `false` (the default of the script) = report only. */
|
|
16145
|
+
apply: boolean() });
|
|
16146
|
+
var RawSecretMigrationReportSchema = object({
|
|
16147
|
+
apply: boolean(),
|
|
16148
|
+
/** Rows that can carry a secret (a profile, an enrolment). */
|
|
16149
|
+
rows: number().int(),
|
|
16150
|
+
/** Rows whose secret was plaintext when the run started. */
|
|
16151
|
+
raw: number().int(),
|
|
16152
|
+
/** Rows that already held a keychain marker when the run started. */
|
|
16153
|
+
markers: number().int(),
|
|
16154
|
+
/** Plaintext rows moved by THIS run (always 0 on a dry run). */
|
|
16155
|
+
migrated: number().int(),
|
|
16156
|
+
/** Plaintext rows left in place because the move or its read-back failed. */
|
|
16157
|
+
failed: number().int(),
|
|
16158
|
+
/** After the run: rows still holding plaintext. */
|
|
16159
|
+
remainingRaw: number().int(),
|
|
16160
|
+
/** After the run: markers the keychain could not resolve right now. */
|
|
16161
|
+
unresolvedMarkers: number().int(),
|
|
16162
|
+
/**
|
|
16163
|
+
* A second, redundant copy of the secrets' rows that the run found (and, on
|
|
16164
|
+
* `apply`, deleted after verifying the first). Owners with a single copy omit it.
|
|
16165
|
+
*/
|
|
16166
|
+
redundantCopies: number().int().optional(),
|
|
16167
|
+
/** True when nothing is raw and every marker resolves. */
|
|
16168
|
+
verified: boolean()
|
|
16169
|
+
});
|
|
16052
16170
|
/** Where a block runs. The operator chooses — a block driving a device on an
|
|
16053
16171
|
* agent is the reason placement is not fixed to the hub. */
|
|
16054
16172
|
var CoreBlockPlacementSchema = union([literal("hub"), string().min(1)]);
|
|
@@ -16275,6 +16393,9 @@ method(object({}), object({ blocks: array(CoreBlockSchema) }), { auth: "admin" }
|
|
|
16275
16393
|
}), SettingsUpdateResultSchema, {
|
|
16276
16394
|
kind: "mutation",
|
|
16277
16395
|
auth: "admin"
|
|
16396
|
+
}), method(RawSecretMigrationInputSchema, RawSecretMigrationReportSchema, {
|
|
16397
|
+
kind: "mutation",
|
|
16398
|
+
auth: "admin"
|
|
16278
16399
|
}), method(object({}), object({ libs: array(object({
|
|
16279
16400
|
filePath: string(),
|
|
16280
16401
|
content: string()
|
|
@@ -16565,6 +16686,222 @@ id: union([string(), number()]) }), {
|
|
|
16565
16686
|
kind: "mutation",
|
|
16566
16687
|
auth: "admin"
|
|
16567
16688
|
});
|
|
16689
|
+
/**
|
|
16690
|
+
* records - an addon's own facts and documents (D881): ledgers, audit rows,
|
|
16691
|
+
* config documents, mirrors. The third storage API next to `ctx.settings`
|
|
16692
|
+
* (operator intent, D870) and device-history (numbers over time, D850).
|
|
16693
|
+
*
|
|
16694
|
+
* Who the OWNER is: `callerAddonId`, stamped by the transport on a call that
|
|
16695
|
+
* crossed a process and stated by a hub in-process caller (`ctx.records` does
|
|
16696
|
+
* that with the addon id closed over). It is deliberately NOT in any input
|
|
16697
|
+
* schema, so a session can never supply it, and a call with no stamp is refused
|
|
16698
|
+
* `records/no-caller`. A kind is readable and writable only by its owner; other
|
|
16699
|
+
* addons go through the owner's capability.
|
|
16700
|
+
*
|
|
16701
|
+
* Every read is three-way: a row, `null`, or the call THROWS. A failed read is
|
|
16702
|
+
* never `[]`. Secret fields are never on the wire: a read shows the
|
|
16703
|
+
* redaction token, `secretRefs` hands the owner's `ctx.secrets` the refs it
|
|
16704
|
+
* resolves itself, and a write may carry only a keychain marker bound to the
|
|
16705
|
+
* row's own ref.
|
|
16706
|
+
*
|
|
16707
|
+
* Internal: addons reach it through `ctx.records`, never directly.
|
|
16708
|
+
*/
|
|
16709
|
+
var RecordIdSchema = string().min(1).max(256);
|
|
16710
|
+
/** A JSON object body. Size is the engine's check (`maxDataBytes`), not a schema's. */
|
|
16711
|
+
var RecordBodySchema = record(string(), unknown());
|
|
16712
|
+
var RecordInputSchema = object({
|
|
16713
|
+
id: RecordIdSchema,
|
|
16714
|
+
/** The device this row belongs to (D865 removal, per-device reads). */
|
|
16715
|
+
deviceId: number().int().optional(),
|
|
16716
|
+
/** The domain clock, ms: observed / created / opened. */
|
|
16717
|
+
at: number().int().optional(),
|
|
16718
|
+
/** Producer-set expiry, ms. Refused on a kind whose retention is an engine TTL. */
|
|
16719
|
+
expiresAt: number().int().optional(),
|
|
16720
|
+
data: RecordBodySchema
|
|
16721
|
+
});
|
|
16722
|
+
var RecordViewSchema = object({
|
|
16723
|
+
id: string(),
|
|
16724
|
+
deviceId: number().int().nullable(),
|
|
16725
|
+
at: number().nullable(),
|
|
16726
|
+
expiresAt: number().nullable(),
|
|
16727
|
+
rev: number().int(),
|
|
16728
|
+
updatedAt: number(),
|
|
16729
|
+
data: RecordBodySchema
|
|
16730
|
+
});
|
|
16731
|
+
/** Declared index fields only. Anything else does not compile, by design. */
|
|
16732
|
+
var RecordWhereSchema = record(RecordFieldPathSchema, union([
|
|
16733
|
+
string(),
|
|
16734
|
+
number(),
|
|
16735
|
+
boolean(),
|
|
16736
|
+
object({ in: array(union([
|
|
16737
|
+
string(),
|
|
16738
|
+
number(),
|
|
16739
|
+
boolean()
|
|
16740
|
+
])).min(1).max(RECORD_BATCH_MAX) }),
|
|
16741
|
+
object({
|
|
16742
|
+
gt: union([string(), number()]).optional(),
|
|
16743
|
+
gte: union([string(), number()]).optional(),
|
|
16744
|
+
lt: union([string(), number()]).optional(),
|
|
16745
|
+
lte: union([string(), number()]).optional()
|
|
16746
|
+
}).refine((r) => Object.keys(r).length > 0, { message: "name at least one bound" })
|
|
16747
|
+
]));
|
|
16748
|
+
var KindShape = { kind: RecordKindNameSchema };
|
|
16749
|
+
var TimeWindowShape = {
|
|
16750
|
+
deviceId: number().int().optional(),
|
|
16751
|
+
atFrom: number().optional(),
|
|
16752
|
+
atTo: number().optional()
|
|
16753
|
+
};
|
|
16754
|
+
var RecordQueryInputSchema = object({
|
|
16755
|
+
...KindShape,
|
|
16756
|
+
...TimeWindowShape,
|
|
16757
|
+
where: RecordWhereSchema.optional(),
|
|
16758
|
+
/** Without `where`: `at` (default for a kind with a clock) or `id`. With `where` the order is the index's. */
|
|
16759
|
+
order: _enum(["at", "id"]).optional(),
|
|
16760
|
+
desc: boolean().optional(),
|
|
16761
|
+
limit: number().int().min(1).max(RECORD_QUERY_MAX).default(100),
|
|
16762
|
+
/** Opaque keyset cursor from a previous answer. There is no offset. */
|
|
16763
|
+
cursor: string().min(1).optional()
|
|
16764
|
+
});
|
|
16765
|
+
var RecordQueryResultSchema = object({
|
|
16766
|
+
records: array(RecordViewSchema),
|
|
16767
|
+
nextCursor: string().nullable()
|
|
16768
|
+
});
|
|
16769
|
+
var RecordKindStateSchema = _enum([
|
|
16770
|
+
"created",
|
|
16771
|
+
"unchanged",
|
|
16772
|
+
"updated"
|
|
16773
|
+
]);
|
|
16774
|
+
var DeclareKindResultSchema = object({
|
|
16775
|
+
kindId: number().int(),
|
|
16776
|
+
state: RecordKindStateSchema,
|
|
16777
|
+
createdIndexes: array(string()),
|
|
16778
|
+
/** The boot guard: the kind is empty while its legacy table still holds rows. */
|
|
16779
|
+
adoptionPending: object({
|
|
16780
|
+
legacyTable: string(),
|
|
16781
|
+
legacyRows: number().int()
|
|
16782
|
+
}).nullable()
|
|
16783
|
+
});
|
|
16784
|
+
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16785
|
+
var SecretRefsList = array(string());
|
|
16786
|
+
var RecordSecretRefsSchema = record(string(), record(string(), string()));
|
|
16787
|
+
method(object({ kinds: record(RecordKindNameSchema, RecordKindDeclarationSchema) }), object({ kinds: record(string(), DeclareKindResultSchema) }), {
|
|
16788
|
+
kind: "mutation",
|
|
16789
|
+
auth: "admin"
|
|
16790
|
+
}), method(object({
|
|
16791
|
+
...KindShape,
|
|
16792
|
+
id: RecordIdSchema
|
|
16793
|
+
}), RecordViewSchema.nullable(), { auth: "admin" }), method(object({
|
|
16794
|
+
...KindShape,
|
|
16795
|
+
ids: array(RecordIdSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16796
|
+
}), array(RecordViewSchema), { auth: "admin" }), method(object({
|
|
16797
|
+
...KindShape,
|
|
16798
|
+
ids: array(RecordIdSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16799
|
+
}), RecordSecretRefsSchema, { auth: "admin" }), method(object({
|
|
16800
|
+
...KindShape,
|
|
16801
|
+
record: RecordInputSchema,
|
|
16802
|
+
/** Compare-and-set. `0` means "the row must not exist". */
|
|
16803
|
+
ifRev: number().int().min(0).optional()
|
|
16804
|
+
}), object({
|
|
16805
|
+
rev: number().int(),
|
|
16806
|
+
releasedRefs: SecretRefsList
|
|
16807
|
+
}), {
|
|
16808
|
+
kind: "mutation",
|
|
16809
|
+
auth: "admin"
|
|
16810
|
+
}), method(object({
|
|
16811
|
+
...KindShape,
|
|
16812
|
+
records: array(RecordInputSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16813
|
+
}), object({
|
|
16814
|
+
count: number().int(),
|
|
16815
|
+
releasedRefs: SecretRefsList
|
|
16816
|
+
}), {
|
|
16817
|
+
kind: "mutation",
|
|
16818
|
+
auth: "admin"
|
|
16819
|
+
}), method(object({
|
|
16820
|
+
...KindShape,
|
|
16821
|
+
id: RecordIdSchema,
|
|
16822
|
+
data: RecordBodySchema,
|
|
16823
|
+
at: number().int().nullable().optional(),
|
|
16824
|
+
expiresAt: number().int().nullable().optional(),
|
|
16825
|
+
ifRev: number().int().min(1).optional()
|
|
16826
|
+
}), object({
|
|
16827
|
+
rev: number().int(),
|
|
16828
|
+
releasedRefs: SecretRefsList
|
|
16829
|
+
}), {
|
|
16830
|
+
kind: "mutation",
|
|
16831
|
+
auth: "admin"
|
|
16832
|
+
}), method(object({
|
|
16833
|
+
...KindShape,
|
|
16834
|
+
id: RecordIdSchema
|
|
16835
|
+
}), object({
|
|
16836
|
+
deleted: boolean(),
|
|
16837
|
+
secretRefs: SecretRefsList
|
|
16838
|
+
}), {
|
|
16839
|
+
kind: "mutation",
|
|
16840
|
+
auth: "admin"
|
|
16841
|
+
}), method(object({
|
|
16842
|
+
...KindShape,
|
|
16843
|
+
ids: array(RecordIdSchema).min(1).max(RECORD_BATCH_MAX)
|
|
16844
|
+
}), object({
|
|
16845
|
+
deleted: number().int(),
|
|
16846
|
+
secretRefs: SecretRefsList
|
|
16847
|
+
}), {
|
|
16848
|
+
kind: "mutation",
|
|
16849
|
+
auth: "admin"
|
|
16850
|
+
}), method(RecordQueryInputSchema, RecordQueryResultSchema, { auth: "admin" }), method(object({
|
|
16851
|
+
...KindShape,
|
|
16852
|
+
...TimeWindowShape,
|
|
16853
|
+
where: RecordWhereSchema.optional()
|
|
16854
|
+
}), object({ count: number().int() }), { auth: "admin" }), method(object({
|
|
16855
|
+
...KindShape,
|
|
16856
|
+
deviceId: number().int().optional(),
|
|
16857
|
+
from: number(),
|
|
16858
|
+
to: number(),
|
|
16859
|
+
bucketMs: number().int().positive()
|
|
16860
|
+
}), object({ buckets: array(object({
|
|
16861
|
+
bucketStart: number(),
|
|
16862
|
+
count: number().int()
|
|
16863
|
+
})) }), { auth: "admin" }), method(object({
|
|
16864
|
+
...KindShape,
|
|
16865
|
+
op: _enum([
|
|
16866
|
+
"sum",
|
|
16867
|
+
"min",
|
|
16868
|
+
"max",
|
|
16869
|
+
"count"
|
|
16870
|
+
]),
|
|
16871
|
+
field: RecordFieldPathSchema.optional(),
|
|
16872
|
+
groupBy: RecordFieldPathSchema.optional(),
|
|
16873
|
+
where: RecordWhereSchema.optional()
|
|
16874
|
+
}), object({ rows: array(object({
|
|
16875
|
+
group: union([
|
|
16876
|
+
string(),
|
|
16877
|
+
number(),
|
|
16878
|
+
_null()
|
|
16879
|
+
]),
|
|
16880
|
+
value: number().nullable()
|
|
16881
|
+
})) }), { auth: "admin" }), method(object({
|
|
16882
|
+
...KindShape,
|
|
16883
|
+
deviceId: number().int().optional(),
|
|
16884
|
+
atBefore: number().optional(),
|
|
16885
|
+
where: RecordWhereSchema.optional()
|
|
16886
|
+
}), object({
|
|
16887
|
+
deleted: number().int(),
|
|
16888
|
+
secretRefs: SecretRefsList
|
|
16889
|
+
}), {
|
|
16890
|
+
kind: "mutation",
|
|
16891
|
+
auth: "admin"
|
|
16892
|
+
}), method(object({
|
|
16893
|
+
deviceId: number().int(),
|
|
16894
|
+
kinds: array(RecordKindNameSchema).optional()
|
|
16895
|
+
}), object({
|
|
16896
|
+
deleted: record(string(), number().int()),
|
|
16897
|
+
secretRefs: SecretRefsList
|
|
16898
|
+
}), {
|
|
16899
|
+
kind: "mutation",
|
|
16900
|
+
auth: "admin"
|
|
16901
|
+
}), method(object(KindShape), object({ id: number().int() }), {
|
|
16902
|
+
kind: "mutation",
|
|
16903
|
+
auth: "admin"
|
|
16904
|
+
});
|
|
16568
16905
|
/** One table of the settings database. */
|
|
16569
16906
|
var StorageTableSchema = object({
|
|
16570
16907
|
/** The table's full name, e.g. `recorder:addon-settings` or `addon-device-settings`. */
|
|
@@ -16577,6 +16914,28 @@ var StorageTableSchema = object({
|
|
|
16577
16914
|
/** Declared by an addon since this engine process started (a running addon claims it). */
|
|
16578
16915
|
declaredThisBoot: boolean()
|
|
16579
16916
|
});
|
|
16917
|
+
/** One declared record kind (D881) as System -> Data shows it. */
|
|
16918
|
+
var StorageKindSchema = object({
|
|
16919
|
+
owner: string(),
|
|
16920
|
+
kind: string(),
|
|
16921
|
+
database: _enum(["settings", "events"]),
|
|
16922
|
+
class: string(),
|
|
16923
|
+
state: _enum([
|
|
16924
|
+
"declared",
|
|
16925
|
+
"orphaned",
|
|
16926
|
+
"dropped"
|
|
16927
|
+
]),
|
|
16928
|
+
/** `null` when the caller asked for no counts (`counts: false`). */
|
|
16929
|
+
rows: number().int().nonnegative().nullable(),
|
|
16930
|
+
/** Rows x the average size of a sample; null for an empty kind. */
|
|
16931
|
+
bytesEstimate: number().int().nonnegative().nullable(),
|
|
16932
|
+
writeTrigger: string(),
|
|
16933
|
+
retention: RecordRetentionSchema,
|
|
16934
|
+
/** `true` when the kind is an entry kind (the generic entries UI lists it). */
|
|
16935
|
+
entry: boolean(),
|
|
16936
|
+
/** The whole declaration, secret paths and entry descriptor included (the entries service builds its handle from it). */
|
|
16937
|
+
declaration: RecordKindDeclarationSchema
|
|
16938
|
+
});
|
|
16580
16939
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
16581
16940
|
collection: string().min(1),
|
|
16582
16941
|
expectRows: number().int().nonnegative()
|
|
@@ -16586,6 +16945,77 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16586
16945
|
}), {
|
|
16587
16946
|
kind: "mutation",
|
|
16588
16947
|
auth: "admin"
|
|
16948
|
+
}), method(object({
|
|
16949
|
+
owner: string().min(1).optional(),
|
|
16950
|
+
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
16951
|
+
counts: boolean().optional()
|
|
16952
|
+
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16953
|
+
owner: string().min(1),
|
|
16954
|
+
kind: RecordKindNameSchema
|
|
16955
|
+
}), RecordQueryResultSchema, { auth: "admin" }), method(object({
|
|
16956
|
+
owner: string().min(1),
|
|
16957
|
+
kind: RecordKindNameSchema,
|
|
16958
|
+
records: array(RecordInputSchema).min(1).max(RECORD_BATCH_MAX),
|
|
16959
|
+
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16960
|
+
complete: boolean().optional()
|
|
16961
|
+
}), object({ adopted: number().int() }), {
|
|
16962
|
+
kind: "mutation",
|
|
16963
|
+
auth: "admin"
|
|
16964
|
+
});
|
|
16965
|
+
/**
|
|
16966
|
+
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16967
|
+
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
16968
|
+
* declares as an ENTRY kind (`entry: { title }` in `defineRecordKinds`).
|
|
16969
|
+
*
|
|
16970
|
+
* The UI is generic. `listEntryKinds` hands it, per kind, the JSON Schema of
|
|
16971
|
+
* the entry body with `secret: true` on every credential field, so a password
|
|
16972
|
+
* field is derived from the schema and never from a name. `putEntry` takes the
|
|
16973
|
+
* redaction token for an untouched secret (the stored value is kept), a string
|
|
16974
|
+
* for a new one, and the clear instruction to remove one. A read never carries
|
|
16975
|
+
* a secret value, and a locked keychain refuses the write with
|
|
16976
|
+
* `records/secret-unavailable` instead of storing plaintext.
|
|
16977
|
+
*
|
|
16978
|
+
* Hub-only, served in-process (it acts for each entry's owner on the keychain).
|
|
16979
|
+
*/
|
|
16980
|
+
var EntryKindInfoSchema = object({
|
|
16981
|
+
owner: string(),
|
|
16982
|
+
kind: RecordKindNameSchema,
|
|
16983
|
+
title: string(),
|
|
16984
|
+
nameField: string(),
|
|
16985
|
+
/** JSON Schema of the body; `secret: true` marks a password field. */
|
|
16986
|
+
fields: record(string(), unknown()),
|
|
16987
|
+
secretPaths: array(string()),
|
|
16988
|
+
rows: number().int().nonnegative()
|
|
16989
|
+
});
|
|
16990
|
+
var EntryViewSchema = object({
|
|
16991
|
+
id: RecordIdSchema,
|
|
16992
|
+
name: string(),
|
|
16993
|
+
rev: number().int(),
|
|
16994
|
+
updatedAt: number(),
|
|
16995
|
+
/** Secret fields hold the redaction token. */
|
|
16996
|
+
data: RecordBodySchema
|
|
16997
|
+
});
|
|
16998
|
+
var EntryAddress = {
|
|
16999
|
+
owner: string().min(1),
|
|
17000
|
+
kind: RecordKindNameSchema
|
|
17001
|
+
};
|
|
17002
|
+
method(object({}), object({ kinds: array(EntryKindInfoSchema) }), { auth: "admin" }), method(object({ ...EntryAddress }), object({ entries: array(EntryViewSchema) }), { auth: "admin" }), method(object({
|
|
17003
|
+
...EntryAddress,
|
|
17004
|
+
id: RecordIdSchema.optional(),
|
|
17005
|
+
data: RecordBodySchema,
|
|
17006
|
+
ifRev: number().int().min(1).optional()
|
|
17007
|
+
}), object({
|
|
17008
|
+
id: string(),
|
|
17009
|
+
rev: number().int()
|
|
17010
|
+
}), {
|
|
17011
|
+
kind: "mutation",
|
|
17012
|
+
auth: "admin"
|
|
17013
|
+
}), method(object({
|
|
17014
|
+
...EntryAddress,
|
|
17015
|
+
id: RecordIdSchema
|
|
17016
|
+
}), object({ deleted: boolean() }), {
|
|
17017
|
+
kind: "mutation",
|
|
17018
|
+
auth: "admin"
|
|
16589
17019
|
});
|
|
16590
17020
|
/**
|
|
16591
17021
|
* `keychain` — the hub's encrypted store of secret values (D787).
|
|
@@ -39423,36 +39853,6 @@ method(LlmRuntimeCompleteInputSchema, LlmGenerateResultSchema, {
|
|
|
39423
39853
|
timeoutMs: AI_CAP_TRANSPORT_TIMEOUT_MS
|
|
39424
39854
|
});
|
|
39425
39855
|
/**
|
|
39426
|
-
* The report of a one-shot "move this owner's plaintext secrets into the
|
|
39427
|
-
* keychain" run (D878). COUNTS only - never a value, never a ref.
|
|
39428
|
-
*
|
|
39429
|
-
* The owner runs it on its own rows, through its own write path; an operator
|
|
39430
|
-
* script (`scripts/hub/migrate-raw-secrets.ts`) calls the owner's cap method.
|
|
39431
|
-
* Dry run (`apply: false`) reports what WOULD move and changes nothing.
|
|
39432
|
-
*/
|
|
39433
|
-
var RawSecretMigrationInputSchema = object({
|
|
39434
|
-
/** `false` (the default of the script) = report only. */
|
|
39435
|
-
apply: boolean() });
|
|
39436
|
-
var RawSecretMigrationReportSchema = object({
|
|
39437
|
-
apply: boolean(),
|
|
39438
|
-
/** Rows that can carry a secret (a profile, an enrolment). */
|
|
39439
|
-
rows: number().int(),
|
|
39440
|
-
/** Rows whose secret was plaintext when the run started. */
|
|
39441
|
-
raw: number().int(),
|
|
39442
|
-
/** Rows that already held a keychain marker when the run started. */
|
|
39443
|
-
markers: number().int(),
|
|
39444
|
-
/** Plaintext rows moved by THIS run (always 0 on a dry run). */
|
|
39445
|
-
migrated: number().int(),
|
|
39446
|
-
/** Plaintext rows left in place because the move or its read-back failed. */
|
|
39447
|
-
failed: number().int(),
|
|
39448
|
-
/** After the run: rows still holding plaintext. */
|
|
39449
|
-
remainingRaw: number().int(),
|
|
39450
|
-
/** After the run: markers the keychain could not resolve right now. */
|
|
39451
|
-
unresolvedMarkers: number().int(),
|
|
39452
|
-
/** True when nothing is raw and every marker resolves. */
|
|
39453
|
-
verified: boolean()
|
|
39454
|
-
});
|
|
39455
|
-
/**
|
|
39456
39856
|
* `llm` — consumer-facing LLM surface (spec §1-§3). Collection-mode: array
|
|
39457
39857
|
* methods concat-fan across providers; single-row methods route to ONE
|
|
39458
39858
|
* provider by the `addonId` in the call input (the notification-output
|
|
@@ -63015,6 +63415,12 @@ Object.freeze({
|
|
|
63015
63415
|
addonId: null,
|
|
63016
63416
|
access: "view"
|
|
63017
63417
|
},
|
|
63418
|
+
"coreBlocks.migrateRawSecrets": {
|
|
63419
|
+
capName: "core-blocks",
|
|
63420
|
+
capScope: "system",
|
|
63421
|
+
addonId: null,
|
|
63422
|
+
access: "create"
|
|
63423
|
+
},
|
|
63018
63424
|
"coreBlocks.restart": {
|
|
63019
63425
|
capName: "core-blocks",
|
|
63020
63426
|
capScope: "system",
|
|
@@ -67767,6 +68173,30 @@ Object.freeze({
|
|
|
67767
68173
|
addonId: null,
|
|
67768
68174
|
access: "create"
|
|
67769
68175
|
},
|
|
68176
|
+
"recordEntries.deleteEntry": {
|
|
68177
|
+
capName: "record-entries",
|
|
68178
|
+
capScope: "system",
|
|
68179
|
+
addonId: null,
|
|
68180
|
+
access: "delete"
|
|
68181
|
+
},
|
|
68182
|
+
"recordEntries.listEntries": {
|
|
68183
|
+
capName: "record-entries",
|
|
68184
|
+
capScope: "system",
|
|
68185
|
+
addonId: null,
|
|
68186
|
+
access: "view"
|
|
68187
|
+
},
|
|
68188
|
+
"recordEntries.listEntryKinds": {
|
|
68189
|
+
capName: "record-entries",
|
|
68190
|
+
capScope: "system",
|
|
68191
|
+
addonId: null,
|
|
68192
|
+
access: "view"
|
|
68193
|
+
},
|
|
68194
|
+
"recordEntries.putEntry": {
|
|
68195
|
+
capName: "record-entries",
|
|
68196
|
+
capScope: "system",
|
|
68197
|
+
addonId: null,
|
|
68198
|
+
access: "create"
|
|
68199
|
+
},
|
|
67770
68200
|
"recording.getAvailability": {
|
|
67771
68201
|
capName: "recording",
|
|
67772
68202
|
capScope: "device",
|
|
@@ -68067,6 +68497,102 @@ Object.freeze({
|
|
|
68067
68497
|
addonId: null,
|
|
68068
68498
|
access: "view"
|
|
68069
68499
|
},
|
|
68500
|
+
"records.aggregate": {
|
|
68501
|
+
capName: "records",
|
|
68502
|
+
capScope: "system",
|
|
68503
|
+
addonId: null,
|
|
68504
|
+
access: "view"
|
|
68505
|
+
},
|
|
68506
|
+
"records.allocateId": {
|
|
68507
|
+
capName: "records",
|
|
68508
|
+
capScope: "system",
|
|
68509
|
+
addonId: null,
|
|
68510
|
+
access: "create"
|
|
68511
|
+
},
|
|
68512
|
+
"records.count": {
|
|
68513
|
+
capName: "records",
|
|
68514
|
+
capScope: "system",
|
|
68515
|
+
addonId: null,
|
|
68516
|
+
access: "view"
|
|
68517
|
+
},
|
|
68518
|
+
"records.declareKinds": {
|
|
68519
|
+
capName: "records",
|
|
68520
|
+
capScope: "system",
|
|
68521
|
+
addonId: null,
|
|
68522
|
+
access: "create"
|
|
68523
|
+
},
|
|
68524
|
+
"records.delete": {
|
|
68525
|
+
capName: "records",
|
|
68526
|
+
capScope: "system",
|
|
68527
|
+
addonId: null,
|
|
68528
|
+
access: "delete"
|
|
68529
|
+
},
|
|
68530
|
+
"records.deleteDevice": {
|
|
68531
|
+
capName: "records",
|
|
68532
|
+
capScope: "system",
|
|
68533
|
+
addonId: null,
|
|
68534
|
+
access: "delete"
|
|
68535
|
+
},
|
|
68536
|
+
"records.deleteMany": {
|
|
68537
|
+
capName: "records",
|
|
68538
|
+
capScope: "system",
|
|
68539
|
+
addonId: null,
|
|
68540
|
+
access: "delete"
|
|
68541
|
+
},
|
|
68542
|
+
"records.deleteWhere": {
|
|
68543
|
+
capName: "records",
|
|
68544
|
+
capScope: "system",
|
|
68545
|
+
addonId: null,
|
|
68546
|
+
access: "delete"
|
|
68547
|
+
},
|
|
68548
|
+
"records.get": {
|
|
68549
|
+
capName: "records",
|
|
68550
|
+
capScope: "system",
|
|
68551
|
+
addonId: null,
|
|
68552
|
+
access: "view"
|
|
68553
|
+
},
|
|
68554
|
+
"records.getMany": {
|
|
68555
|
+
capName: "records",
|
|
68556
|
+
capScope: "system",
|
|
68557
|
+
addonId: null,
|
|
68558
|
+
access: "view"
|
|
68559
|
+
},
|
|
68560
|
+
"records.histogram": {
|
|
68561
|
+
capName: "records",
|
|
68562
|
+
capScope: "system",
|
|
68563
|
+
addonId: null,
|
|
68564
|
+
access: "view"
|
|
68565
|
+
},
|
|
68566
|
+
"records.patch": {
|
|
68567
|
+
capName: "records",
|
|
68568
|
+
capScope: "system",
|
|
68569
|
+
addonId: null,
|
|
68570
|
+
access: "create"
|
|
68571
|
+
},
|
|
68572
|
+
"records.put": {
|
|
68573
|
+
capName: "records",
|
|
68574
|
+
capScope: "system",
|
|
68575
|
+
addonId: null,
|
|
68576
|
+
access: "create"
|
|
68577
|
+
},
|
|
68578
|
+
"records.putMany": {
|
|
68579
|
+
capName: "records",
|
|
68580
|
+
capScope: "system",
|
|
68581
|
+
addonId: null,
|
|
68582
|
+
access: "create"
|
|
68583
|
+
},
|
|
68584
|
+
"records.query": {
|
|
68585
|
+
capName: "records",
|
|
68586
|
+
capScope: "system",
|
|
68587
|
+
addonId: null,
|
|
68588
|
+
access: "view"
|
|
68589
|
+
},
|
|
68590
|
+
"records.secretRefs": {
|
|
68591
|
+
capName: "records",
|
|
68592
|
+
capScope: "system",
|
|
68593
|
+
addonId: null,
|
|
68594
|
+
access: "view"
|
|
68595
|
+
},
|
|
68070
68596
|
"sceneMonitor.captureReference": {
|
|
68071
68597
|
capName: "scene-monitor",
|
|
68072
68598
|
capScope: "device",
|
|
@@ -68499,18 +69025,36 @@ Object.freeze({
|
|
|
68499
69025
|
addonId: null,
|
|
68500
69026
|
access: "create"
|
|
68501
69027
|
},
|
|
69028
|
+
"storageAdmin.adoptRecords": {
|
|
69029
|
+
capName: "storage-admin",
|
|
69030
|
+
capScope: "system",
|
|
69031
|
+
addonId: null,
|
|
69032
|
+
access: "create"
|
|
69033
|
+
},
|
|
68502
69034
|
"storageAdmin.dropCollection": {
|
|
68503
69035
|
capName: "storage-admin",
|
|
68504
69036
|
capScope: "system",
|
|
68505
69037
|
addonId: null,
|
|
68506
69038
|
access: "delete"
|
|
68507
69039
|
},
|
|
69040
|
+
"storageAdmin.listKinds": {
|
|
69041
|
+
capName: "storage-admin",
|
|
69042
|
+
capScope: "system",
|
|
69043
|
+
addonId: null,
|
|
69044
|
+
access: "view"
|
|
69045
|
+
},
|
|
68508
69046
|
"storageAdmin.listTables": {
|
|
68509
69047
|
capName: "storage-admin",
|
|
68510
69048
|
capScope: "system",
|
|
68511
69049
|
addonId: null,
|
|
68512
69050
|
access: "view"
|
|
68513
69051
|
},
|
|
69052
|
+
"storageAdmin.readRecords": {
|
|
69053
|
+
capName: "storage-admin",
|
|
69054
|
+
capScope: "system",
|
|
69055
|
+
addonId: null,
|
|
69056
|
+
access: "view"
|
|
69057
|
+
},
|
|
68514
69058
|
"storageEvictable.evict": {
|
|
68515
69059
|
capName: "storage-evictable",
|
|
68516
69060
|
capScope: "system",
|
|
@@ -72105,6 +72649,37 @@ Object.freeze({
|
|
|
72105
72649
|
form: "single",
|
|
72106
72650
|
optional: false
|
|
72107
72651
|
}],
|
|
72652
|
+
"records.count": [{
|
|
72653
|
+
name: "deviceId",
|
|
72654
|
+
form: "single",
|
|
72655
|
+
optional: true
|
|
72656
|
+
}],
|
|
72657
|
+
"records.deleteDevice": [{
|
|
72658
|
+
name: "deviceId",
|
|
72659
|
+
form: "single",
|
|
72660
|
+
optional: false
|
|
72661
|
+
}],
|
|
72662
|
+
"records.deleteWhere": [{
|
|
72663
|
+
name: "deviceId",
|
|
72664
|
+
form: "single",
|
|
72665
|
+
optional: true
|
|
72666
|
+
}],
|
|
72667
|
+
"records.histogram": [{
|
|
72668
|
+
name: "deviceId",
|
|
72669
|
+
form: "single",
|
|
72670
|
+
optional: true
|
|
72671
|
+
}],
|
|
72672
|
+
"records.putMany": [{
|
|
72673
|
+
name: "records",
|
|
72674
|
+
form: "object-array",
|
|
72675
|
+
optional: false,
|
|
72676
|
+
itemField: "deviceId"
|
|
72677
|
+
}],
|
|
72678
|
+
"records.query": [{
|
|
72679
|
+
name: "deviceId",
|
|
72680
|
+
form: "single",
|
|
72681
|
+
optional: true
|
|
72682
|
+
}],
|
|
72108
72683
|
"sceneMonitor.captureReference": [{
|
|
72109
72684
|
name: "deviceId",
|
|
72110
72685
|
form: "single",
|
|
@@ -72221,6 +72796,17 @@ Object.freeze({
|
|
|
72221
72796
|
form: "single",
|
|
72222
72797
|
optional: false
|
|
72223
72798
|
}],
|
|
72799
|
+
"storageAdmin.adoptRecords": [{
|
|
72800
|
+
name: "records",
|
|
72801
|
+
form: "object-array",
|
|
72802
|
+
optional: false,
|
|
72803
|
+
itemField: "deviceId"
|
|
72804
|
+
}],
|
|
72805
|
+
"storageAdmin.readRecords": [{
|
|
72806
|
+
name: "deviceId",
|
|
72807
|
+
form: "single",
|
|
72808
|
+
optional: true
|
|
72809
|
+
}],
|
|
72224
72810
|
"streamBroker.acquireEgressTranscode": [{
|
|
72225
72811
|
name: "deviceId",
|
|
72226
72812
|
form: "single",
|