@camstack/addon-terminal 0.1.143 → 0.1.145
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
|
@@ -5446,7 +5446,7 @@ var ZodIssueCode = {
|
|
|
5446
5446
|
var ZodFirstPartyTypeKind;
|
|
5447
5447
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5448
5448
|
//#endregion
|
|
5449
|
-
//#region ../types/dist/sleep-
|
|
5449
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5450
5450
|
/**
|
|
5451
5451
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5452
5452
|
* window to float samples (D455).
|
|
@@ -5563,7 +5563,7 @@ function isKeychainStoredField(field) {
|
|
|
5563
5563
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5564
5564
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5565
5565
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5566
|
-
function isRecord$
|
|
5566
|
+
function isRecord$6(value) {
|
|
5567
5567
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5568
5568
|
}
|
|
5569
5569
|
function makeSecretMarker(ref) {
|
|
@@ -5574,12 +5574,12 @@ function makeSecretMarker(ref) {
|
|
|
5574
5574
|
}
|
|
5575
5575
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5576
5576
|
function isSecretMarker(value) {
|
|
5577
|
-
if (!isRecord$
|
|
5577
|
+
if (!isRecord$6(value)) return false;
|
|
5578
5578
|
const ref = value["$secret"];
|
|
5579
5579
|
return typeof ref === "string" && ref.length > 0;
|
|
5580
5580
|
}
|
|
5581
5581
|
function isSecretClear(value) {
|
|
5582
|
-
return isRecord$
|
|
5582
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5583
5583
|
}
|
|
5584
5584
|
/**
|
|
5585
5585
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6189,7 +6189,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6189
6189
|
}
|
|
6190
6190
|
};
|
|
6191
6191
|
var KEEP = { kind: "keep" };
|
|
6192
|
-
function isRecord$
|
|
6192
|
+
function isRecord$5(value) {
|
|
6193
6193
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6194
6194
|
}
|
|
6195
6195
|
function defaultMintId() {
|
|
@@ -6202,7 +6202,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6202
6202
|
return out;
|
|
6203
6203
|
}
|
|
6204
6204
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6205
|
-
else if (isRecord$
|
|
6205
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6206
6206
|
return out;
|
|
6207
6207
|
}
|
|
6208
6208
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6257,7 +6257,7 @@ function rowId(row, idKey) {
|
|
|
6257
6257
|
return null;
|
|
6258
6258
|
}
|
|
6259
6259
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6260
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6260
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6261
6261
|
if (!Array.isArray(incoming)) {
|
|
6262
6262
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6263
6263
|
return {
|
|
@@ -6273,7 +6273,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6273
6273
|
const kept = /* @__PURE__ */ new Set();
|
|
6274
6274
|
const rows = [];
|
|
6275
6275
|
for (const row of incoming) {
|
|
6276
|
-
if (!isRecord$
|
|
6276
|
+
if (!isRecord$5(row)) {
|
|
6277
6277
|
rows.push(row);
|
|
6278
6278
|
continue;
|
|
6279
6279
|
}
|
|
@@ -6298,7 +6298,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6298
6298
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6299
6299
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6300
6300
|
case "object": {
|
|
6301
|
-
if (!isRecord$
|
|
6301
|
+
if (!isRecord$5(incoming)) {
|
|
6302
6302
|
if (incoming === void 0) return KEEP;
|
|
6303
6303
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6304
6304
|
return {
|
|
@@ -6306,7 +6306,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6306
6306
|
value: incoming
|
|
6307
6307
|
};
|
|
6308
6308
|
}
|
|
6309
|
-
const storedObj = isRecord$
|
|
6309
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6310
6310
|
return {
|
|
6311
6311
|
kind: "value",
|
|
6312
6312
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6429,7 +6429,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6429
6429
|
value: items
|
|
6430
6430
|
};
|
|
6431
6431
|
}
|
|
6432
|
-
if (isRecord$
|
|
6432
|
+
if (isRecord$5(v)) {
|
|
6433
6433
|
const out = {};
|
|
6434
6434
|
for (const [k, child] of Object.entries(v)) {
|
|
6435
6435
|
const s = substitute(child);
|
|
@@ -6461,7 +6461,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6461
6461
|
this.name = "SecretOverwriteRefusedError";
|
|
6462
6462
|
}
|
|
6463
6463
|
};
|
|
6464
|
-
function isRecord$
|
|
6464
|
+
function isRecord$4(value) {
|
|
6465
6465
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6466
6466
|
}
|
|
6467
6467
|
function resolvedValue(pass, marker) {
|
|
@@ -6490,7 +6490,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6490
6490
|
return incoming.map((item, index) => {
|
|
6491
6491
|
const twin = stored[index];
|
|
6492
6492
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6493
|
-
if (isRecord$
|
|
6493
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6494
6494
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6495
6495
|
return item;
|
|
6496
6496
|
});
|
|
@@ -6501,7 +6501,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6501
6501
|
const twin = stored[key];
|
|
6502
6502
|
if (isSecretMarker(twin)) {
|
|
6503
6503
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6504
|
-
} else if (isRecord$
|
|
6504
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6505
6505
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6506
6506
|
}
|
|
6507
6507
|
return out;
|
|
@@ -6509,7 +6509,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6509
6509
|
async function walk(pass, incoming, stored) {
|
|
6510
6510
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6511
6511
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6512
|
-
if (!isRecord$
|
|
6512
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6513
6513
|
const out = { ...incoming };
|
|
6514
6514
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6515
6515
|
return out;
|
|
@@ -6540,7 +6540,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6540
6540
|
function isJsonEqual(a, b) {
|
|
6541
6541
|
if (Object.is(a, b)) return true;
|
|
6542
6542
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6543
|
-
if (isRecord$
|
|
6543
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6544
6544
|
const keys = Object.keys(a);
|
|
6545
6545
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6546
6546
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6564,7 +6564,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6564
6564
|
}
|
|
6565
6565
|
function nodeFromStored(value, owner) {
|
|
6566
6566
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6567
|
-
if (!isRecord$
|
|
6567
|
+
if (!isRecord$4(value)) return null;
|
|
6568
6568
|
const children = /* @__PURE__ */ new Map();
|
|
6569
6569
|
for (const [key, child] of Object.entries(value)) {
|
|
6570
6570
|
const node = nodeFromStored(child, owner);
|
|
@@ -16926,15 +16926,6 @@ var StorageKindSchema = object({
|
|
|
16926
16926
|
declaration: RecordKindDeclarationSchema
|
|
16927
16927
|
});
|
|
16928
16928
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
16929
|
-
collection: string().min(1),
|
|
16930
|
-
expectRows: number().int().nonnegative()
|
|
16931
|
-
}), object({
|
|
16932
|
-
dropped: literal(true),
|
|
16933
|
-
rows: number().int().nonnegative()
|
|
16934
|
-
}), {
|
|
16935
|
-
kind: "mutation",
|
|
16936
|
-
auth: "admin"
|
|
16937
|
-
}), method(object({
|
|
16938
16929
|
owner: string().min(1).optional(),
|
|
16939
16930
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
16940
16931
|
counts: boolean().optional()
|
|
@@ -43211,6 +43202,15 @@ var NcMediaPolicySchema = object({
|
|
|
43211
43202
|
* Replaces `zoneCrop`.
|
|
43212
43203
|
*/
|
|
43213
43204
|
showTriggerZone: boolean().optional(),
|
|
43205
|
+
/**
|
|
43206
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
43207
|
+
* through the track's positions up to the frame shown, the same path the
|
|
43208
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
43209
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
43210
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
43211
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
43212
|
+
*/
|
|
43213
|
+
showSubjectPath: boolean().optional(),
|
|
43214
43214
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43215
43215
|
attach: _enum([
|
|
43216
43216
|
"best",
|
|
@@ -74009,12 +74009,6 @@ Object.freeze({
|
|
|
74009
74009
|
addonId: null,
|
|
74010
74010
|
access: "create"
|
|
74011
74011
|
},
|
|
74012
|
-
"storageAdmin.dropCollection": {
|
|
74013
|
-
capName: "storage-admin",
|
|
74014
|
-
capScope: "system",
|
|
74015
|
-
addonId: null,
|
|
74016
|
-
access: "delete"
|
|
74017
|
-
},
|
|
74018
74012
|
"storageAdmin.listKinds": {
|
|
74019
74013
|
capName: "storage-admin",
|
|
74020
74014
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -5423,7 +5423,7 @@ var ZodIssueCode = {
|
|
|
5423
5423
|
var ZodFirstPartyTypeKind;
|
|
5424
5424
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5425
5425
|
//#endregion
|
|
5426
|
-
//#region ../types/dist/sleep-
|
|
5426
|
+
//#region ../types/dist/sleep-_sV1BE2f.mjs
|
|
5427
5427
|
/**
|
|
5428
5428
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5429
5429
|
* window to float samples (D455).
|
|
@@ -5540,7 +5540,7 @@ function isKeychainStoredField(field) {
|
|
|
5540
5540
|
var SECRET_CLEAR = { $secretClear: true };
|
|
5541
5541
|
/** The `'***'` token D634 redaction writes for non-admins. */
|
|
5542
5542
|
var LEGACY_DEVICE_REDACTION = "***";
|
|
5543
|
-
function isRecord$
|
|
5543
|
+
function isRecord$6(value) {
|
|
5544
5544
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5545
5545
|
}
|
|
5546
5546
|
function makeSecretMarker(ref) {
|
|
@@ -5551,12 +5551,12 @@ function makeSecretMarker(ref) {
|
|
|
5551
5551
|
}
|
|
5552
5552
|
/** A stored marker: an object whose `$secret` is a non-empty string. */
|
|
5553
5553
|
function isSecretMarker(value) {
|
|
5554
|
-
if (!isRecord$
|
|
5554
|
+
if (!isRecord$6(value)) return false;
|
|
5555
5555
|
const ref = value["$secret"];
|
|
5556
5556
|
return typeof ref === "string" && ref.length > 0;
|
|
5557
5557
|
}
|
|
5558
5558
|
function isSecretClear(value) {
|
|
5559
|
-
return isRecord$
|
|
5559
|
+
return isRecord$6(value) && value["$secretClear"] === true;
|
|
5560
5560
|
}
|
|
5561
5561
|
/**
|
|
5562
5562
|
* The UI view of a stored secret field value: a marker becomes "set", inline
|
|
@@ -6166,7 +6166,7 @@ var KeychainWriteRefusedError = class extends Error {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
};
|
|
6168
6168
|
var KEEP = { kind: "keep" };
|
|
6169
|
-
function isRecord$
|
|
6169
|
+
function isRecord$5(value) {
|
|
6170
6170
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6171
6171
|
}
|
|
6172
6172
|
function defaultMintId() {
|
|
@@ -6179,7 +6179,7 @@ function collectSecretMarkerRefs(value, out = []) {
|
|
|
6179
6179
|
return out;
|
|
6180
6180
|
}
|
|
6181
6181
|
if (Array.isArray(value)) for (const item of value) collectSecretMarkerRefs(item, out);
|
|
6182
|
-
else if (isRecord$
|
|
6182
|
+
else if (isRecord$5(value)) for (const child of Object.values(value)) collectSecretMarkerRefs(child, out);
|
|
6183
6183
|
return out;
|
|
6184
6184
|
}
|
|
6185
6185
|
async function storedValueEquals(secrets, marker, candidate) {
|
|
@@ -6234,7 +6234,7 @@ function rowId(row, idKey) {
|
|
|
6234
6234
|
return null;
|
|
6235
6235
|
}
|
|
6236
6236
|
async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
6237
|
-
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$
|
|
6237
|
+
const storedRows = Array.isArray(stored) ? stored.filter(isRecord$5) : [];
|
|
6238
6238
|
if (!Array.isArray(incoming)) {
|
|
6239
6239
|
ctx.deletes.push(...collectSecretMarkerRefs(storedRows));
|
|
6240
6240
|
return {
|
|
@@ -6250,7 +6250,7 @@ async function writeArray(ctx, node, incoming, stored, fieldPath) {
|
|
|
6250
6250
|
const kept = /* @__PURE__ */ new Set();
|
|
6251
6251
|
const rows = [];
|
|
6252
6252
|
for (const row of incoming) {
|
|
6253
|
-
if (!isRecord$
|
|
6253
|
+
if (!isRecord$5(row)) {
|
|
6254
6254
|
rows.push(row);
|
|
6255
6255
|
continue;
|
|
6256
6256
|
}
|
|
@@ -6275,7 +6275,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6275
6275
|
case "leaf": return writeLeaf(ctx, incoming, stored, fieldPath);
|
|
6276
6276
|
case "array": return writeArray(ctx, node, incoming, stored, fieldPath);
|
|
6277
6277
|
case "object": {
|
|
6278
|
-
if (!isRecord$
|
|
6278
|
+
if (!isRecord$5(incoming)) {
|
|
6279
6279
|
if (incoming === void 0) return KEEP;
|
|
6280
6280
|
ctx.deletes.push(...collectSecretMarkerRefs(stored));
|
|
6281
6281
|
return {
|
|
@@ -6283,7 +6283,7 @@ async function writeNode(ctx, node, incoming, stored, fieldPath) {
|
|
|
6283
6283
|
value: incoming
|
|
6284
6284
|
};
|
|
6285
6285
|
}
|
|
6286
|
-
const storedObj = isRecord$
|
|
6286
|
+
const storedObj = isRecord$5(stored) ? stored : {};
|
|
6287
6287
|
return {
|
|
6288
6288
|
kind: "value",
|
|
6289
6289
|
value: await writeMembers(ctx, node.children, incoming, storedObj, (m) => `${fieldPath}.${m}`)
|
|
@@ -6406,7 +6406,7 @@ async function resolveSecretMarkers(value, secrets, options = {}) {
|
|
|
6406
6406
|
value: items
|
|
6407
6407
|
};
|
|
6408
6408
|
}
|
|
6409
|
-
if (isRecord$
|
|
6409
|
+
if (isRecord$5(v)) {
|
|
6410
6410
|
const out = {};
|
|
6411
6411
|
for (const [k, child] of Object.entries(v)) {
|
|
6412
6412
|
const s = substitute(child);
|
|
@@ -6438,7 +6438,7 @@ var SecretOverwriteRefusedError = class extends Error {
|
|
|
6438
6438
|
this.name = "SecretOverwriteRefusedError";
|
|
6439
6439
|
}
|
|
6440
6440
|
};
|
|
6441
|
-
function isRecord$
|
|
6441
|
+
function isRecord$4(value) {
|
|
6442
6442
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
6443
6443
|
}
|
|
6444
6444
|
function resolvedValue(pass, marker) {
|
|
@@ -6467,7 +6467,7 @@ function inArray(pass, incoming, stored) {
|
|
|
6467
6467
|
return incoming.map((item, index) => {
|
|
6468
6468
|
const twin = stored[index];
|
|
6469
6469
|
if (isSecretMarker(twin)) return typeof item === "string" && item === resolvedValue(pass, twin) ? twin : item;
|
|
6470
|
-
if (isRecord$
|
|
6470
|
+
if (isRecord$4(item) && isRecord$4(twin)) return inArrayRow(pass, item, twin);
|
|
6471
6471
|
if (Array.isArray(item) && Array.isArray(twin)) return inArray(pass, item, twin);
|
|
6472
6472
|
return item;
|
|
6473
6473
|
});
|
|
@@ -6478,7 +6478,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6478
6478
|
const twin = stored[key];
|
|
6479
6479
|
if (isSecretMarker(twin)) {
|
|
6480
6480
|
if (typeof value === "string" && value === resolvedValue(pass, twin)) out[key] = twin;
|
|
6481
|
-
} else if (isRecord$
|
|
6481
|
+
} else if (isRecord$4(value) && isRecord$4(twin)) out[key] = inArrayRow(pass, value, twin);
|
|
6482
6482
|
else if (Array.isArray(value) && Array.isArray(twin)) out[key] = inArray(pass, value, twin);
|
|
6483
6483
|
}
|
|
6484
6484
|
return out;
|
|
@@ -6486,7 +6486,7 @@ function inArrayRow(pass, incoming, stored) {
|
|
|
6486
6486
|
async function walk(pass, incoming, stored) {
|
|
6487
6487
|
if (isSecretMarker(stored)) return atMarker(pass, incoming, stored);
|
|
6488
6488
|
if (Array.isArray(incoming) && Array.isArray(stored)) return inArray(pass, incoming, stored);
|
|
6489
|
-
if (!isRecord$
|
|
6489
|
+
if (!isRecord$4(incoming) || !isRecord$4(stored)) return incoming;
|
|
6490
6490
|
const out = { ...incoming };
|
|
6491
6491
|
for (const [key, value] of Object.entries(incoming)) out[key] = await walk(pass, value, stored[key]);
|
|
6492
6492
|
return out;
|
|
@@ -6517,7 +6517,7 @@ async function restoreUnchangedSecrets(input) {
|
|
|
6517
6517
|
function isJsonEqual(a, b) {
|
|
6518
6518
|
if (Object.is(a, b)) return true;
|
|
6519
6519
|
if (Array.isArray(a)) return Array.isArray(b) && a.length === b.length && a.every((v, i) => isJsonEqual(v, b[i]));
|
|
6520
|
-
if (isRecord$
|
|
6520
|
+
if (isRecord$4(a) && isRecord$4(b)) {
|
|
6521
6521
|
const keys = Object.keys(a);
|
|
6522
6522
|
if (keys.length !== Object.keys(b).length) return false;
|
|
6523
6523
|
return keys.every((k) => Object.prototype.hasOwnProperty.call(b, k) && isJsonEqual(a[k], b[k]));
|
|
@@ -6541,7 +6541,7 @@ function markerKeysOf(blob, owner) {
|
|
|
6541
6541
|
}
|
|
6542
6542
|
function nodeFromStored(value, owner) {
|
|
6543
6543
|
if (isSecretMarker(value)) return isSecretRefOwnedBy(value.$secret, owner) ? { kind: "leaf" } : null;
|
|
6544
|
-
if (!isRecord$
|
|
6544
|
+
if (!isRecord$4(value)) return null;
|
|
6545
6545
|
const children = /* @__PURE__ */ new Map();
|
|
6546
6546
|
for (const [key, child] of Object.entries(value)) {
|
|
6547
6547
|
const node = nodeFromStored(child, owner);
|
|
@@ -16903,15 +16903,6 @@ var StorageKindSchema = object({
|
|
|
16903
16903
|
declaration: RecordKindDeclarationSchema
|
|
16904
16904
|
});
|
|
16905
16905
|
method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: array(StorageTableSchema) }), { auth: "admin" }), method(object({
|
|
16906
|
-
collection: string().min(1),
|
|
16907
|
-
expectRows: number().int().nonnegative()
|
|
16908
|
-
}), object({
|
|
16909
|
-
dropped: literal(true),
|
|
16910
|
-
rows: number().int().nonnegative()
|
|
16911
|
-
}), {
|
|
16912
|
-
kind: "mutation",
|
|
16913
|
-
auth: "admin"
|
|
16914
|
-
}), method(object({
|
|
16915
16906
|
owner: string().min(1).optional(),
|
|
16916
16907
|
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
16917
16908
|
counts: boolean().optional()
|
|
@@ -43188,6 +43179,15 @@ var NcMediaPolicySchema = object({
|
|
|
43188
43179
|
* Replaces `zoneCrop`.
|
|
43189
43180
|
*/
|
|
43190
43181
|
showTriggerZone: boolean().optional(),
|
|
43182
|
+
/**
|
|
43183
|
+
* Draw the SUBJECT'S PATH on the picture — a line in the subject's colour
|
|
43184
|
+
* through the track's positions up to the frame shown, the same path the
|
|
43185
|
+
* debug views draw (`buildSubjectPath`, D903). Every picture mode a subject
|
|
43186
|
+
* is drawn on: a `crop` maps the path into the crop and clips it. Valid only
|
|
43187
|
+
* on a rule whose subject is a tracked object (refused on a sound rule);
|
|
43188
|
+
* dropped on `image: 'none'`. Absent = off.
|
|
43189
|
+
*/
|
|
43190
|
+
showSubjectPath: boolean().optional(),
|
|
43191
43191
|
/** @deprecated D897 — accepted from an editor that predates `image`, folded into it on save. */
|
|
43192
43192
|
attach: _enum([
|
|
43193
43193
|
"best",
|
|
@@ -73986,12 +73986,6 @@ Object.freeze({
|
|
|
73986
73986
|
addonId: null,
|
|
73987
73987
|
access: "create"
|
|
73988
73988
|
},
|
|
73989
|
-
"storageAdmin.dropCollection": {
|
|
73990
|
-
capName: "storage-admin",
|
|
73991
|
-
capScope: "system",
|
|
73992
|
-
addonId: null,
|
|
73993
|
-
access: "delete"
|
|
73994
|
-
},
|
|
73995
73989
|
"storageAdmin.listKinds": {
|
|
73996
73990
|
capName: "storage-admin",
|
|
73997
73991
|
capScope: "system",
|