@camstack/addon-provider-onvif 1.2.139 → 1.2.141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +26 -32
- package/dist/addon.mjs +26 -32
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5417,7 +5417,7 @@ var ZodIssueCode = {
|
|
|
5417
5417
|
var ZodFirstPartyTypeKind;
|
|
5418
5418
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5419
5419
|
//#endregion
|
|
5420
|
-
//#region ../types/dist/sleep-
|
|
5420
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5421
5421
|
/**
|
|
5422
5422
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5423
5423
|
* window to float samples (D455).
|
|
@@ -5534,7 +5534,7 @@ function isKeychainStoredField(field) {
|
|
|
5534
5534
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5535
5535
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5536
5536
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5537
|
-
function isRecord$
|
|
5537
|
+
function isRecord$6(value) {
|
|
5538
5538
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5539
5539
|
}
|
|
5540
5540
|
function makeSecretMarker(ref) {
|
|
@@ -5545,12 +5545,12 @@ function makeSecretMarker(ref) {
|
|
|
5545
5545
|
}
|
|
5546
5546
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5547
5547
|
function isSecretMarker(value) {
|
|
5548
|
-
if (!isRecord$
|
|
5548
|
+
if (!isRecord$6(value)) return false;
|
|
5549
5549
|
const ref = value["$secret"];
|
|
5550
5550
|
return typeof ref === "string" && ref.length > 0;
|
|
5551
5551
|
}
|
|
5552
5552
|
function isSecretClear(value) {
|
|
5553
|
-
return isRecord$
|
|
5553
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5554
5554
|
}
|
|
5555
5555
|
/**
|
|
5556
5556
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6160,7 +6160,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6160
6160
|
}
|
|
6161
6161
|
};
|
|
6162
6162
|
var KEEP = { kind: "keep" };
|
|
6163
|
-
function isRecord$
|
|
6163
|
+
function isRecord$5(value) {
|
|
6164
6164
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6165
6165
|
}
|
|
6166
6166
|
function defaultMintId() {
|
|
@@ -6173,7 +6173,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6173
6173
|
return out;
|
|
6174
6174
|
}
|
|
6175
6175
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6176
|
-
else if (isRecord$
|
|
6176
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6177
6177
|
return out;
|
|
6178
6178
|
}
|
|
6179
6179
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6228,7 +6228,7 @@ function rowId(row, idKey) {
|
|
|
6228
6228
|
return null;
|
|
6229
6229
|
}
|
|
6230
6230
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6231
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6231
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6232
6232
|
if (!Array.isArray(incoming)) {
|
|
6233
6233
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6234
6234
|
return {
|
|
@@ -6244,7 +6244,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6244
6244
|
const kept = /* @__PURE__ */ new Set();
|
|
6245
6245
|
const rows = [];
|
|
6246
6246
|
for (const row of incoming) {
|
|
6247
|
-
if (!isRecord$
|
|
6247
|
+
if (!isRecord$5(row)) {
|
|
6248
6248
|
rows.push(row);
|
|
6249
6249
|
continue;
|
|
6250
6250
|
}
|
|
@@ -6269,7 +6269,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6269
6269
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6270
6270
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6271
6271
|
case "object": {
|
|
6272
|
-
if (!isRecord$
|
|
6272
|
+
if (!isRecord$5(incoming)) {
|
|
6273
6273
|
if (incoming === void 0) return KEEP;
|
|
6274
6274
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6275
6275
|
return {
|
|
@@ -6277,7 +6277,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6277
6277
|
value: incoming
|
|
6278
6278
|
};
|
|
6279
6279
|
}
|
|
6280
|
-
const storedObj = isRecord$
|
|
6280
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6281
6281
|
return {
|
|
6282
6282
|
kind: "value",
|
|
6283
6283
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6400,7 +6400,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6400
6400
|
value: items
|
|
6401
6401
|
};
|
|
6402
6402
|
}
|
|
6403
|
-
if (isRecord$
|
|
6403
|
+
if (isRecord$5(v)) {
|
|
6404
6404
|
const out = {};
|
|
6405
6405
|
for (const [k, child] of Object.entries(v)) {
|
|
6406
6406
|
const s = substitute(child);
|
|
@@ -6432,7 +6432,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6432
6432
|
this.name = "SecretOverwriteRefusedError";
|
|
6433
6433
|
}
|
|
6434
6434
|
};
|
|
6435
|
-
function isRecord$
|
|
6435
|
+
function isRecord$4(value) {
|
|
6436
6436
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6437
6437
|
}
|
|
6438
6438
|
function resolvedValue(pass, marker) {
|
|
@@ -6461,7 +6461,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6461
6461
|
return incoming.map((item, index) => {
|
|
6462
6462
|
const twin = stored[index];
|
|
6463
6463
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6464
|
-
if (isRecord$
|
|
6464
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6465
6465
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6466
6466
|
return item;
|
|
6467
6467
|
});
|
|
@@ -6472,7 +6472,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6472
6472
|
const twin = stored[key];
|
|
6473
6473
|
if (isSecretMarker(twin)) {
|
|
6474
6474
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6475
|
-
} else if (isRecord$
|
|
6475
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6476
6476
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6477
6477
|
}
|
|
6478
6478
|
return out;
|
|
@@ -6480,7 +6480,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6480
6480
|
async function walk(pass, incoming, stored) {
|
|
6481
6481
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6482
6482
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6483
|
-
if (!isRecord$
|
|
6483
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6484
6484
|
const out = { ...incoming };
|
|
6485
6485
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6486
6486
|
return out;
|
|
@@ -6511,7 +6511,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6511
6511
|
function isJsonEqual(a, b) {
|
|
6512
6512
|
if (Object.is(a, b)) return true;
|
|
6513
6513
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6514
|
-
if (isRecord$
|
|
6514
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6515
6515
|
const keys = Object.keys(a);
|
|
6516
6516
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6517
6517
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6535,7 +6535,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6535
6535
|
}
|
|
6536
6536
|
function nodeFromStored(value, owner) {
|
|
6537
6537
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6538
|
-
if (!isRecord$
|
|
6538
|
+
if (!isRecord$4(value)) return null;
|
|
6539
6539
|
const children = /* @__PURE__ */ new Map();
|
|
6540
6540
|
for (const [key, child] of Object.entries(value)) {
|
|
6541
6541
|
const node = nodeFromStored(child, owner);
|
|
@@ -16629,15 +16629,6 @@ var StorageKindSchema = object({
|
|
|
16629
16629
|
declaration: RecordKindDeclarationSchema
|
|
16630
16630
|
});
|
|
16631
16631
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
16632
|
-
collection: string().min(1),
|
|
16633
|
-
expectRows: number().int().nonnegative()
|
|
16634
|
-
}), object({
|
|
16635
|
-
dropped: literal(true),
|
|
16636
|
-
rows: number().int().nonnegative()
|
|
16637
|
-
}), {
|
|
16638
|
-
kind: "mutation",
|
|
16639
|
-
auth: "admin"
|
|
16640
|
-
}), method(object({
|
|
16641
16632
|
owner: string().min(1).optional(),
|
|
16642
16633
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
16643
16634
|
counts: boolean().optional()
|
|
@@ -42953,6 +42944,15 @@ var NcMediaPolicySchema = object({
|
|
|
42953
42944
|
* Replaces `zoneCrop`.
|
|
42954
42945
|
*/
|
|
42955
42946
|
showTriggerZone: boolean().optional(),
|
|
42947
|
+
/**
|
|
42948
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
42949
|
+
* through the track's positions up to the frame shown, the same path the
|
|
42950
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
42951
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
42952
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
42953
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
42954
|
+
*/
|
|
42955
|
+
showSubjectPath: boolean().optional(),
|
|
42956
42956
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42957
42957
|
attach: _enum([
|
|
42958
42958
|
"best",
|
|
@@ -70264,12 +70264,6 @@ Object.freeze({
|
|
|
70264
70264
|
addonId: null,
|
|
70265
70265
|
access: "create"
|
|
70266
70266
|
},
|
|
70267
|
-
"storageAdmin.dropCollection": {
|
|
70268
|
-
capName: "storage-admin",
|
|
70269
|
-
capScope: "system",
|
|
70270
|
-
addonId: null,
|
|
70271
|
-
access: "delete"
|
|
70272
|
-
},
|
|
70273
70267
|
"storageAdmin.listKinds": {
|
|
70274
70268
|
capName: "storage-admin",
|
|
70275
70269
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -5418,7 +5418,7 @@ var ZodIssueCode = {
|
|
|
5418
5418
|
var ZodFirstPartyTypeKind;
|
|
5419
5419
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5420
5420
|
//#endregion
|
|
5421
|
-
//#region ../types/dist/sleep-
|
|
5421
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5422
5422
|
/**
|
|
5423
5423
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5424
5424
|
* window to float samples (D455).
|
|
@@ -5535,7 +5535,7 @@ function isKeychainStoredField(field) {
|
|
|
5535
5535
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5536
5536
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5537
5537
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5538
|
-
function isRecord$
|
|
5538
|
+
function isRecord$6(value) {
|
|
5539
5539
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5540
5540
|
}
|
|
5541
5541
|
function makeSecretMarker(ref) {
|
|
@@ -5546,12 +5546,12 @@ function makeSecretMarker(ref) {
|
|
|
5546
5546
|
}
|
|
5547
5547
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5548
5548
|
function isSecretMarker(value) {
|
|
5549
|
-
if (!isRecord$
|
|
5549
|
+
if (!isRecord$6(value)) return false;
|
|
5550
5550
|
const ref = value["$secret"];
|
|
5551
5551
|
return typeof ref === "string" && ref.length > 0;
|
|
5552
5552
|
}
|
|
5553
5553
|
function isSecretClear(value) {
|
|
5554
|
-
return isRecord$
|
|
5554
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5555
5555
|
}
|
|
5556
5556
|
/**
|
|
5557
5557
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6161,7 +6161,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6161
6161
|
}
|
|
6162
6162
|
};
|
|
6163
6163
|
var KEEP = { kind: "keep" };
|
|
6164
|
-
function isRecord$
|
|
6164
|
+
function isRecord$5(value) {
|
|
6165
6165
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6166
6166
|
}
|
|
6167
6167
|
function defaultMintId() {
|
|
@@ -6174,7 +6174,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6174
6174
|
return out;
|
|
6175
6175
|
}
|
|
6176
6176
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6177
|
-
else if (isRecord$
|
|
6177
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6178
6178
|
return out;
|
|
6179
6179
|
}
|
|
6180
6180
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6229,7 +6229,7 @@ function rowId(row, idKey) {
|
|
|
6229
6229
|
return null;
|
|
6230
6230
|
}
|
|
6231
6231
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6232
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6232
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6233
6233
|
if (!Array.isArray(incoming)) {
|
|
6234
6234
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6235
6235
|
return {
|
|
@@ -6245,7 +6245,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6245
6245
|
const kept = /* @__PURE__ */ new Set();
|
|
6246
6246
|
const rows = [];
|
|
6247
6247
|
for (const row of incoming) {
|
|
6248
|
-
if (!isRecord$
|
|
6248
|
+
if (!isRecord$5(row)) {
|
|
6249
6249
|
rows.push(row);
|
|
6250
6250
|
continue;
|
|
6251
6251
|
}
|
|
@@ -6270,7 +6270,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6270
6270
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6271
6271
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6272
6272
|
case "object": {
|
|
6273
|
-
if (!isRecord$
|
|
6273
|
+
if (!isRecord$5(incoming)) {
|
|
6274
6274
|
if (incoming === void 0) return KEEP;
|
|
6275
6275
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6276
6276
|
return {
|
|
@@ -6278,7 +6278,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6278
6278
|
value: incoming
|
|
6279
6279
|
};
|
|
6280
6280
|
}
|
|
6281
|
-
const storedObj = isRecord$
|
|
6281
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6282
6282
|
return {
|
|
6283
6283
|
kind: "value",
|
|
6284
6284
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6401,7 +6401,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6401
6401
|
value: items
|
|
6402
6402
|
};
|
|
6403
6403
|
}
|
|
6404
|
-
if (isRecord$
|
|
6404
|
+
if (isRecord$5(v)) {
|
|
6405
6405
|
const out = {};
|
|
6406
6406
|
for (const [k, child] of Object.entries(v)) {
|
|
6407
6407
|
const s = substitute(child);
|
|
@@ -6433,7 +6433,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6433
6433
|
this.name = "SecretOverwriteRefusedError";
|
|
6434
6434
|
}
|
|
6435
6435
|
};
|
|
6436
|
-
function isRecord$
|
|
6436
|
+
function isRecord$4(value) {
|
|
6437
6437
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6438
6438
|
}
|
|
6439
6439
|
function resolvedValue(pass, marker) {
|
|
@@ -6462,7 +6462,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6462
6462
|
return incoming.map((item, index) => {
|
|
6463
6463
|
const twin = stored[index];
|
|
6464
6464
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6465
|
-
if (isRecord$
|
|
6465
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6466
6466
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6467
6467
|
return item;
|
|
6468
6468
|
});
|
|
@@ -6473,7 +6473,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6473
6473
|
const twin = stored[key];
|
|
6474
6474
|
if (isSecretMarker(twin)) {
|
|
6475
6475
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6476
|
-
} else if (isRecord$
|
|
6476
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6477
6477
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6478
6478
|
}
|
|
6479
6479
|
return out;
|
|
@@ -6481,7 +6481,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6481
6481
|
async function walk(pass, incoming, stored) {
|
|
6482
6482
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6483
6483
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6484
|
-
if (!isRecord$
|
|
6484
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6485
6485
|
const out = { ...incoming };
|
|
6486
6486
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6487
6487
|
return out;
|
|
@@ -6512,7 +6512,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6512
6512
|
function isJsonEqual(a, b) {
|
|
6513
6513
|
if (Object.is(a, b)) return true;
|
|
6514
6514
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6515
|
-
if (isRecord$
|
|
6515
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6516
6516
|
const keys = Object.keys(a);
|
|
6517
6517
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6518
6518
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6536,7 +6536,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6536
6536
|
}
|
|
6537
6537
|
function nodeFromStored(value, owner) {
|
|
6538
6538
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6539
|
-
if (!isRecord$
|
|
6539
|
+
if (!isRecord$4(value)) return null;
|
|
6540
6540
|
const children = /* @__PURE__ */ new Map();
|
|
6541
6541
|
for (const [key, child] of Object.entries(value)) {
|
|
6542
6542
|
const node = nodeFromStored(child, owner);
|
|
@@ -16630,15 +16630,6 @@ var StorageKindSchema = object({
|
|
|
16630
16630
|
declaration: RecordKindDeclarationSchema
|
|
16631
16631
|
});
|
|
16632
16632
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
16633
|
-
collection: string().min(1),
|
|
16634
|
-
expectRows: number().int().nonnegative()
|
|
16635
|
-
}), object({
|
|
16636
|
-
dropped: literal(true),
|
|
16637
|
-
rows: number().int().nonnegative()
|
|
16638
|
-
}), {
|
|
16639
|
-
kind: "mutation",
|
|
16640
|
-
auth: "admin"
|
|
16641
|
-
}), method(object({
|
|
16642
16633
|
owner: string().min(1).optional(),
|
|
16643
16634
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
16644
16635
|
counts: boolean().optional()
|
|
@@ -42954,6 +42945,15 @@ var NcMediaPolicySchema = object({
|
|
|
42954
42945
|
* Replaces `zoneCrop`.
|
|
42955
42946
|
*/
|
|
42956
42947
|
showTriggerZone: boolean().optional(),
|
|
42948
|
+
/**
|
|
42949
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
42950
|
+
* through the track's positions up to the frame shown, the same path the
|
|
42951
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
42952
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
42953
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
42954
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
42955
|
+
*/
|
|
42956
|
+
showSubjectPath: boolean().optional(),
|
|
42957
42957
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
42958
42958
|
attach: _enum([
|
|
42959
42959
|
"best",
|
|
@@ -70265,12 +70265,6 @@ Object.freeze({
|
|
|
70265
70265
|
addonId: null,
|
|
70266
70266
|
access: "create"
|
|
70267
70267
|
},
|
|
70268
|
-
"storageAdmin.dropCollection": {
|
|
70269
|
-
capName: "storage-admin",
|
|
70270
|
-
capScope: "system",
|
|
70271
|
-
addonId: null,
|
|
70272
|
-
access: "delete"
|
|
70273
|
-
},
|
|
70274
70268
|
"storageAdmin.listKinds": {
|
|
70275
70269
|
capName: "storage-admin",
|
|
70276
70270
|
capScope: "system",
|