@camstack/addon-provider-homematic 1.2.147 → 1.2.149
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
|
@@ -5556,7 +5556,7 @@ var ZodIssueCode = {
|
|
|
5556
5556
|
var ZodFirstPartyTypeKind;
|
|
5557
5557
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5558
5558
|
//#endregion
|
|
5559
|
-
//#region ../types/dist/sleep-
|
|
5559
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5560
5560
|
/**
|
|
5561
5561
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5562
5562
|
* window to float samples (D455).
|
|
@@ -5673,7 +5673,7 @@ function isKeychainStoredField(field) {
|
|
|
5673
5673
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5674
5674
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5675
5675
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5676
|
-
function isRecord$
|
|
5676
|
+
function isRecord$6(value) {
|
|
5677
5677
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5678
5678
|
}
|
|
5679
5679
|
function makeSecretMarker(ref) {
|
|
@@ -5684,12 +5684,12 @@ function makeSecretMarker(ref) {
|
|
|
5684
5684
|
}
|
|
5685
5685
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5686
5686
|
function isSecretMarker(value) {
|
|
5687
|
-
if (!isRecord$
|
|
5687
|
+
if (!isRecord$6(value)) return false;
|
|
5688
5688
|
const ref = value["$secret"];
|
|
5689
5689
|
return typeof ref === "string" && ref.length > 0;
|
|
5690
5690
|
}
|
|
5691
5691
|
function isSecretClear(value) {
|
|
5692
|
-
return isRecord$
|
|
5692
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5693
5693
|
}
|
|
5694
5694
|
/**
|
|
5695
5695
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6299,7 +6299,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6299
6299
|
}
|
|
6300
6300
|
};
|
|
6301
6301
|
var KEEP = { kind: "keep" };
|
|
6302
|
-
function isRecord$
|
|
6302
|
+
function isRecord$5(value) {
|
|
6303
6303
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6304
6304
|
}
|
|
6305
6305
|
function defaultMintId() {
|
|
@@ -6312,7 +6312,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6312
6312
|
return out;
|
|
6313
6313
|
}
|
|
6314
6314
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6315
|
-
else if (isRecord$
|
|
6315
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6316
6316
|
return out;
|
|
6317
6317
|
}
|
|
6318
6318
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6367,7 +6367,7 @@ function rowId(row, idKey) {
|
|
|
6367
6367
|
return null;
|
|
6368
6368
|
}
|
|
6369
6369
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6370
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6370
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6371
6371
|
if (!Array.isArray(incoming)) {
|
|
6372
6372
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6373
6373
|
return {
|
|
@@ -6383,7 +6383,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6383
6383
|
const kept = /* @__PURE__ */ new Set();
|
|
6384
6384
|
const rows = [];
|
|
6385
6385
|
for (const row of incoming) {
|
|
6386
|
-
if (!isRecord$
|
|
6386
|
+
if (!isRecord$5(row)) {
|
|
6387
6387
|
rows.push(row);
|
|
6388
6388
|
continue;
|
|
6389
6389
|
}
|
|
@@ -6408,7 +6408,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6408
6408
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6409
6409
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6410
6410
|
case "object": {
|
|
6411
|
-
if (!isRecord$
|
|
6411
|
+
if (!isRecord$5(incoming)) {
|
|
6412
6412
|
if (incoming === void 0) return KEEP;
|
|
6413
6413
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6414
6414
|
return {
|
|
@@ -6416,7 +6416,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6416
6416
|
value: incoming
|
|
6417
6417
|
};
|
|
6418
6418
|
}
|
|
6419
|
-
const storedObj = isRecord$
|
|
6419
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6420
6420
|
return {
|
|
6421
6421
|
kind: "value",
|
|
6422
6422
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6539,7 +6539,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6539
6539
|
value: items
|
|
6540
6540
|
};
|
|
6541
6541
|
}
|
|
6542
|
-
if (isRecord$
|
|
6542
|
+
if (isRecord$5(v)) {
|
|
6543
6543
|
const out = {};
|
|
6544
6544
|
for (const [k, child] of Object.entries(v)) {
|
|
6545
6545
|
const s = substitute(child);
|
|
@@ -6571,7 +6571,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6571
6571
|
this.name = "SecretOverwriteRefusedError";
|
|
6572
6572
|
}
|
|
6573
6573
|
};
|
|
6574
|
-
function isRecord$
|
|
6574
|
+
function isRecord$4(value) {
|
|
6575
6575
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6576
6576
|
}
|
|
6577
6577
|
function resolvedValue(pass, marker) {
|
|
@@ -6600,7 +6600,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6600
6600
|
return incoming.map((item, index) => {
|
|
6601
6601
|
const twin = stored[index];
|
|
6602
6602
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6603
|
-
if (isRecord$
|
|
6603
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6604
6604
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6605
6605
|
return item;
|
|
6606
6606
|
});
|
|
@@ -6611,7 +6611,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6611
6611
|
const twin = stored[key];
|
|
6612
6612
|
if (isSecretMarker(twin)) {
|
|
6613
6613
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6614
|
-
} else if (isRecord$
|
|
6614
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6615
6615
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6616
6616
|
}
|
|
6617
6617
|
return out;
|
|
@@ -6619,7 +6619,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6619
6619
|
async function walk(pass, incoming, stored) {
|
|
6620
6620
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6621
6621
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6622
|
-
if (!isRecord$
|
|
6622
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6623
6623
|
const out = { ...incoming };
|
|
6624
6624
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6625
6625
|
return out;
|
|
@@ -6650,7 +6650,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6650
6650
|
function isJsonEqual(a, b) {
|
|
6651
6651
|
if (Object.is(a, b)) return true;
|
|
6652
6652
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6653
|
-
if (isRecord$
|
|
6653
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6654
6654
|
const keys = Object.keys(a);
|
|
6655
6655
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6656
6656
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6674,7 +6674,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6674
6674
|
}
|
|
6675
6675
|
function nodeFromStored(value, owner) {
|
|
6676
6676
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6677
|
-
if (!isRecord$
|
|
6677
|
+
if (!isRecord$4(value)) return null;
|
|
6678
6678
|
const children = /* @__PURE__ */ new Map();
|
|
6679
6679
|
for (const [key, child] of Object.entries(value)) {
|
|
6680
6680
|
const node = nodeFromStored(child, owner);
|
|
@@ -17182,15 +17182,6 @@ var StorageKindSchema = object({
|
|
|
17182
17182
|
declaration: RecordKindDeclarationSchema
|
|
17183
17183
|
});
|
|
17184
17184
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
17185
|
-
collection: string().min(1),
|
|
17186
|
-
expectRows: number().int().nonnegative()
|
|
17187
|
-
}), object({
|
|
17188
|
-
dropped: literal(true),
|
|
17189
|
-
rows: number().int().nonnegative()
|
|
17190
|
-
}), {
|
|
17191
|
-
kind: "mutation",
|
|
17192
|
-
auth: "admin"
|
|
17193
|
-
}), method(object({
|
|
17194
17185
|
owner: string().min(1).optional(),
|
|
17195
17186
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
17196
17187
|
counts: boolean().optional()
|
|
@@ -43678,6 +43669,15 @@ var NcMediaPolicySchema = object({
|
|
|
43678
43669
|
* Replaces `zoneCrop`.
|
|
43679
43670
|
*/
|
|
43680
43671
|
showTriggerZone: boolean().optional(),
|
|
43672
|
+
/**
|
|
43673
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
43674
|
+
* through the track's positions up to the frame shown, the same path the
|
|
43675
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
43676
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
43677
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
43678
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
43679
|
+
*/
|
|
43680
|
+
showSubjectPath: boolean().optional(),
|
|
43681
43681
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43682
43682
|
attach: _enum([
|
|
43683
43683
|
"best",
|
|
@@ -74811,12 +74811,6 @@ Object.freeze({
|
|
|
74811
74811
|
addonId: null,
|
|
74812
74812
|
access: "create"
|
|
74813
74813
|
},
|
|
74814
|
-
"storageAdmin.dropCollection": {
|
|
74815
|
-
capName: "storage-admin",
|
|
74816
|
-
capScope: "system",
|
|
74817
|
-
addonId: null,
|
|
74818
|
-
access: "delete"
|
|
74819
|
-
},
|
|
74820
74814
|
"storageAdmin.listKinds": {
|
|
74821
74815
|
capName: "storage-admin",
|
|
74822
74816
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -5557,7 +5557,7 @@ var ZodIssueCode = {
|
|
|
5557
5557
|
var ZodFirstPartyTypeKind;
|
|
5558
5558
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5559
5559
|
//#endregion
|
|
5560
|
-
//#region ../types/dist/sleep-
|
|
5560
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5561
5561
|
/**
|
|
5562
5562
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5563
5563
|
* window to float samples (D455).
|
|
@@ -5674,7 +5674,7 @@ function isKeychainStoredField(field) {
|
|
|
5674
5674
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5675
5675
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5676
5676
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5677
|
-
function isRecord$
|
|
5677
|
+
function isRecord$6(value) {
|
|
5678
5678
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5679
5679
|
}
|
|
5680
5680
|
function makeSecretMarker(ref) {
|
|
@@ -5685,12 +5685,12 @@ function makeSecretMarker(ref) {
|
|
|
5685
5685
|
}
|
|
5686
5686
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5687
5687
|
function isSecretMarker(value) {
|
|
5688
|
-
if (!isRecord$
|
|
5688
|
+
if (!isRecord$6(value)) return false;
|
|
5689
5689
|
const ref = value["$secret"];
|
|
5690
5690
|
return typeof ref === "string" && ref.length > 0;
|
|
5691
5691
|
}
|
|
5692
5692
|
function isSecretClear(value) {
|
|
5693
|
-
return isRecord$
|
|
5693
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5694
5694
|
}
|
|
5695
5695
|
/**
|
|
5696
5696
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6300,7 +6300,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6300
6300
|
}
|
|
6301
6301
|
};
|
|
6302
6302
|
var KEEP = { kind: "keep" };
|
|
6303
|
-
function isRecord$
|
|
6303
|
+
function isRecord$5(value) {
|
|
6304
6304
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6305
6305
|
}
|
|
6306
6306
|
function defaultMintId() {
|
|
@@ -6313,7 +6313,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6313
6313
|
return out;
|
|
6314
6314
|
}
|
|
6315
6315
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6316
|
-
else if (isRecord$
|
|
6316
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6317
6317
|
return out;
|
|
6318
6318
|
}
|
|
6319
6319
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6368,7 +6368,7 @@ function rowId(row, idKey) {
|
|
|
6368
6368
|
return null;
|
|
6369
6369
|
}
|
|
6370
6370
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6371
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6371
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6372
6372
|
if (!Array.isArray(incoming)) {
|
|
6373
6373
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6374
6374
|
return {
|
|
@@ -6384,7 +6384,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6384
6384
|
const kept = /* @__PURE__ */ new Set();
|
|
6385
6385
|
const rows = [];
|
|
6386
6386
|
for (const row of incoming) {
|
|
6387
|
-
if (!isRecord$
|
|
6387
|
+
if (!isRecord$5(row)) {
|
|
6388
6388
|
rows.push(row);
|
|
6389
6389
|
continue;
|
|
6390
6390
|
}
|
|
@@ -6409,7 +6409,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6409
6409
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6410
6410
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6411
6411
|
case "object": {
|
|
6412
|
-
if (!isRecord$
|
|
6412
|
+
if (!isRecord$5(incoming)) {
|
|
6413
6413
|
if (incoming === void 0) return KEEP;
|
|
6414
6414
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6415
6415
|
return {
|
|
@@ -6417,7 +6417,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6417
6417
|
value: incoming
|
|
6418
6418
|
};
|
|
6419
6419
|
}
|
|
6420
|
-
const storedObj = isRecord$
|
|
6420
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6421
6421
|
return {
|
|
6422
6422
|
kind: "value",
|
|
6423
6423
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6540,7 +6540,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6540
6540
|
value: items
|
|
6541
6541
|
};
|
|
6542
6542
|
}
|
|
6543
|
-
if (isRecord$
|
|
6543
|
+
if (isRecord$5(v)) {
|
|
6544
6544
|
const out = {};
|
|
6545
6545
|
for (const [k, child] of Object.entries(v)) {
|
|
6546
6546
|
const s = substitute(child);
|
|
@@ -6572,7 +6572,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6572
6572
|
this.name = "SecretOverwriteRefusedError";
|
|
6573
6573
|
}
|
|
6574
6574
|
};
|
|
6575
|
-
function isRecord$
|
|
6575
|
+
function isRecord$4(value) {
|
|
6576
6576
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6577
6577
|
}
|
|
6578
6578
|
function resolvedValue(pass, marker) {
|
|
@@ -6601,7 +6601,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6601
6601
|
return incoming.map((item, index) => {
|
|
6602
6602
|
const twin = stored[index];
|
|
6603
6603
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6604
|
-
if (isRecord$
|
|
6604
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6605
6605
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6606
6606
|
return item;
|
|
6607
6607
|
});
|
|
@@ -6612,7 +6612,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6612
6612
|
const twin = stored[key];
|
|
6613
6613
|
if (isSecretMarker(twin)) {
|
|
6614
6614
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6615
|
-
} else if (isRecord$
|
|
6615
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6616
6616
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6617
6617
|
}
|
|
6618
6618
|
return out;
|
|
@@ -6620,7 +6620,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6620
6620
|
async function walk(pass, incoming, stored) {
|
|
6621
6621
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6622
6622
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6623
|
-
if (!isRecord$
|
|
6623
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6624
6624
|
const out = { ...incoming };
|
|
6625
6625
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6626
6626
|
return out;
|
|
@@ -6651,7 +6651,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6651
6651
|
function isJsonEqual(a, b) {
|
|
6652
6652
|
if (Object.is(a, b)) return true;
|
|
6653
6653
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6654
|
-
if (isRecord$
|
|
6654
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6655
6655
|
const keys = Object.keys(a);
|
|
6656
6656
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6657
6657
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6675,7 +6675,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6675
6675
|
}
|
|
6676
6676
|
function nodeFromStored(value, owner) {
|
|
6677
6677
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6678
|
-
if (!isRecord$
|
|
6678
|
+
if (!isRecord$4(value)) return null;
|
|
6679
6679
|
const children = /* @__PURE__ */ new Map();
|
|
6680
6680
|
for (const [key, child] of Object.entries(value)) {
|
|
6681
6681
|
const node = nodeFromStored(child, owner);
|
|
@@ -17183,15 +17183,6 @@ var StorageKindSchema = object({
|
|
|
17183
17183
|
declaration: RecordKindDeclarationSchema
|
|
17184
17184
|
});
|
|
17185
17185
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
17186
|
-
collection: string().min(1),
|
|
17187
|
-
expectRows: number().int().nonnegative()
|
|
17188
|
-
}), object({
|
|
17189
|
-
dropped: literal(true),
|
|
17190
|
-
rows: number().int().nonnegative()
|
|
17191
|
-
}), {
|
|
17192
|
-
kind: "mutation",
|
|
17193
|
-
auth: "admin"
|
|
17194
|
-
}), method(object({
|
|
17195
17186
|
owner: string().min(1).optional(),
|
|
17196
17187
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
17197
17188
|
counts: boolean().optional()
|
|
@@ -43679,6 +43670,15 @@ var NcMediaPolicySchema = object({
|
|
|
43679
43670
|
* Replaces `zoneCrop`.
|
|
43680
43671
|
*/
|
|
43681
43672
|
showTriggerZone: boolean().optional(),
|
|
43673
|
+
/**
|
|
43674
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
43675
|
+
* through the track's positions up to the frame shown, the same path the
|
|
43676
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
43677
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
43678
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
43679
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
43680
|
+
*/
|
|
43681
|
+
showSubjectPath: boolean().optional(),
|
|
43682
43682
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43683
43683
|
attach: _enum([
|
|
43684
43684
|
"best",
|
|
@@ -74812,12 +74812,6 @@ Object.freeze({
|
|
|
74812
74812
|
addonId: null,
|
|
74813
74813
|
access: "create"
|
|
74814
74814
|
},
|
|
74815
|
-
"storageAdmin.dropCollection": {
|
|
74816
|
-
capName: "storage-admin",
|
|
74817
|
-
capScope: "system",
|
|
74818
|
-
addonId: null,
|
|
74819
|
-
access: "delete"
|
|
74820
|
-
},
|
|
74821
74815
|
"storageAdmin.listKinds": {
|
|
74822
74816
|
capName: "storage-admin",
|
|
74823
74817
|
capScope: "system",
|
package/package.json
CHANGED