@camstack/types 1.2.601 → 1.2.602
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/CHANGELOG.md +6 -0
- package/dist/addon/base-addon.d.ts +39 -0
- package/dist/addon/instance-switches-unread-error.d.ts +12 -0
- package/dist/addon/instance-switches.d.ts +75 -0
- package/dist/addon/notification-targets.d.ts +0 -2
- package/dist/addon/record-integration-instances.d.ts +29 -13
- package/dist/addon.d.ts +2 -0
- package/dist/addon.js +3 -1
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/integrations.cap.d.ts +43 -6
- package/dist/client.js +2 -0
- package/dist/client.mjs +2 -0
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +92 -186
- package/dist/index.mjs +69 -181
- package/dist/interfaces/addon.d.ts +12 -0
- package/dist/interfaces/integration-registry.d.ts +12 -0
- package/dist/migrations/api/migration-api-ports.d.ts +3 -0
- package/dist/migrations/body-switch-to-registry.d.ts +102 -0
- package/dist/{runtime-capabilities-azf1ve5b.js → runtime-capabilities-D9KsXMv7.js} +726 -24
- package/dist/{runtime-capabilities-B36VcCR6.mjs → runtime-capabilities-ql3VRzQu.mjs} +605 -23
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_runtime_capabilities = require("./runtime-capabilities-
|
|
2
|
+
const require_runtime_capabilities = require("./runtime-capabilities-D9KsXMv7.js");
|
|
3
3
|
const require_event_category = require("./event-category-CMA0-jGW.js");
|
|
4
4
|
const require_composed_stable_id = require("./composed-stable-id-DkF5-kuf.js");
|
|
5
5
|
const require_implemented_methods = require("./implemented-methods-I_l2ENnf.js");
|
|
@@ -1568,7 +1568,7 @@ function targetOfRecord(addonId, kind, id, data) {
|
|
|
1568
1568
|
name,
|
|
1569
1569
|
kind,
|
|
1570
1570
|
addonId,
|
|
1571
|
-
enabled: require_runtime_capabilities.
|
|
1571
|
+
enabled: require_runtime_capabilities.isInstanceOn(id),
|
|
1572
1572
|
config
|
|
1573
1573
|
});
|
|
1574
1574
|
return parsed.success ? parsed.data : null;
|
|
@@ -1653,10 +1653,12 @@ var NotificationTargetStore = class NotificationTargetStore {
|
|
|
1653
1653
|
async upsert(target) {
|
|
1654
1654
|
const own = this.handles.find((entry) => entry.kind === target.kind);
|
|
1655
1655
|
if (own === void 0) throw new Error(`invalid target '${target.id}': unknown kind '${target.kind}'`);
|
|
1656
|
+
const { enabled: _switch, ...data } = targetBody(target);
|
|
1656
1657
|
await own.handle.put({
|
|
1657
1658
|
id: target.id,
|
|
1658
|
-
data
|
|
1659
|
+
data
|
|
1659
1660
|
});
|
|
1661
|
+
require_runtime_capabilities.recordInstanceSwitch(target.id, target.enabled);
|
|
1660
1662
|
for (const other of this.handles) if (other !== own) await other.handle.delete(target.id);
|
|
1661
1663
|
await this.options.legacy?.delete(target.id);
|
|
1662
1664
|
}
|
|
@@ -1664,23 +1666,6 @@ var NotificationTargetStore = class NotificationTargetStore {
|
|
|
1664
1666
|
for (const { handle } of this.handles) await handle.delete(id);
|
|
1665
1667
|
await this.options.legacy?.delete(id);
|
|
1666
1668
|
}
|
|
1667
|
-
/** Flip the switch on an existing target; null when it does not exist. */
|
|
1668
|
-
async setEnabled(id, enabled) {
|
|
1669
|
-
for (const { kind, handle } of this.handles) {
|
|
1670
|
-
if (await handle.get(id) === null) continue;
|
|
1671
|
-
await handle.patch(id, { enabled });
|
|
1672
|
-
const row = await handle.get(id);
|
|
1673
|
-
return row === null ? null : targetOfRecord(this.addonId, kind, row.id, row.data);
|
|
1674
|
-
}
|
|
1675
|
-
const old = (await this.legacyRows()).find((row) => row.id === id);
|
|
1676
|
-
if (old === void 0) return null;
|
|
1677
|
-
const moved = {
|
|
1678
|
-
...targetOfOld(this.addonId, old),
|
|
1679
|
-
enabled
|
|
1680
|
-
};
|
|
1681
|
-
await this.upsert(moved);
|
|
1682
|
-
return moved;
|
|
1683
|
-
}
|
|
1684
1669
|
};
|
|
1685
1670
|
/**
|
|
1686
1671
|
* A probe's answer as the tri-state of `testInstance`: `ok` validated; a refusal that carries an HTTP
|
|
@@ -5870,6 +5855,14 @@ var DEFAULT_FEATURES = {
|
|
|
5870
5855
|
repl: true
|
|
5871
5856
|
};
|
|
5872
5857
|
//#endregion
|
|
5858
|
+
//#region src/interfaces/integration-registry.ts
|
|
5859
|
+
/**
|
|
5860
|
+
* `info` key of a registry row that stands for a SERVICES instance (D1066): every instance of every
|
|
5861
|
+
* role has a row, the one stored switch, but only a row of an instance that brings devices is an
|
|
5862
|
+
* entry of the Integrations list.
|
|
5863
|
+
*/
|
|
5864
|
+
var SERVICE_INSTANCE_INFO_KEY = "serviceInstance";
|
|
5865
|
+
//#endregion
|
|
5873
5866
|
//#region src/interfaces/logging.ts
|
|
5874
5867
|
/**
|
|
5875
5868
|
* Severity ordering. Declared once here because it had already been re-declared
|
|
@@ -66975,14 +66968,8 @@ var IntegrationWithStateSchema = zod.z.object({
|
|
|
66975
66968
|
id: zod.z.string(),
|
|
66976
66969
|
addonId: zod.z.string(),
|
|
66977
66970
|
name: zod.z.string(),
|
|
66978
|
-
/**
|
|
66971
|
+
/** THE switch of the instance: the hub registry row is its only stored copy (D1066). */
|
|
66979
66972
|
enabled: zod.z.boolean(),
|
|
66980
|
-
/**
|
|
66981
|
-
* True when the addon that holds the switch did not answer (down, failed, or keeps no record for
|
|
66982
|
-
* this row): `enabled` is then the stored registry flag, a stale value, not the state. A reader
|
|
66983
|
-
* must not draw it as on or off (D315).
|
|
66984
|
-
*/
|
|
66985
|
-
switchUnknown: zod.z.literal(true).optional(),
|
|
66986
66973
|
info: zod.z.record(zod.z.string(), zod.z.unknown()).readonly(),
|
|
66987
66974
|
/** The discovery candidate this integration was set up from (D984). */
|
|
66988
66975
|
originStableId: zod.z.string().optional(),
|
|
@@ -66994,14 +66981,8 @@ var IntegrationLiteSchema = zod.z.object({
|
|
|
66994
66981
|
id: zod.z.string(),
|
|
66995
66982
|
addonId: zod.z.string(),
|
|
66996
66983
|
name: zod.z.string(),
|
|
66997
|
-
/**
|
|
66984
|
+
/** THE switch of the instance: the hub registry row is its only stored copy (D1066). */
|
|
66998
66985
|
enabled: zod.z.boolean(),
|
|
66999
|
-
/**
|
|
67000
|
-
* True when the addon that holds the switch did not answer (down, failed, or keeps no record for
|
|
67001
|
-
* this row): `enabled` is then the stored registry flag, a stale value, not the state. A reader
|
|
67002
|
-
* must not draw it as on or off (D315).
|
|
67003
|
-
*/
|
|
67004
|
-
switchUnknown: zod.z.literal(true).optional(),
|
|
67005
66986
|
info: zod.z.record(zod.z.string(), zod.z.unknown()).readonly(),
|
|
67006
66987
|
/** The discovery candidate this integration was set up from (D984). */
|
|
67007
66988
|
originStableId: zod.z.string().optional(),
|
|
@@ -67124,7 +67105,44 @@ var integrationsCapability = {
|
|
|
67124
67105
|
methods: {
|
|
67125
67106
|
list: require_runtime_capabilities.method(zod.z.void(), zod.z.array(IntegrationWithStateSchema)),
|
|
67126
67107
|
get: require_runtime_capabilities.method(zod.z.object({ id: zod.z.string() }), IntegrationWithStateSchema),
|
|
67108
|
+
/** The devices-role row of an addon; a services instance row never answers for its addon. */
|
|
67127
67109
|
getByAddonId: require_runtime_capabilities.method(zod.z.object({ addonId: zod.z.string() }), IntegrationLiteSchema.nullable()),
|
|
67110
|
+
/**
|
|
67111
|
+
* Every registry row of one addon, services instances included: the addon reads its own switches
|
|
67112
|
+
* with it at boot (D1066). A pure registry read; the Integrations list (`list`) hides the rows of
|
|
67113
|
+
* a services instance, this does not.
|
|
67114
|
+
*/
|
|
67115
|
+
listByAddon: require_runtime_capabilities.method(zod.z.object({ addonId: zod.z.string() }), zod.z.array(IntegrationLiteSchema)),
|
|
67116
|
+
/**
|
|
67117
|
+
* The one-time move of an addon's switches into the registry (D1066): for each instance record
|
|
67118
|
+
* the addon holds, an absent row is created as a services row under the addon-minted id, and a
|
|
67119
|
+
* row that disagrees with a STATED body switch is corrected (a body that states nothing never
|
|
67120
|
+
* moves an existing row). A row
|
|
67121
|
+
* that belongs to another addon is left alone and returned in `conflicts` (the caller keeps its
|
|
67122
|
+
* own copy of that state), and an addon naming another addon's id is refused FORBIDDEN.
|
|
67123
|
+
* Idempotent: a rerun changes nothing. It never notifies the addon.
|
|
67124
|
+
*/
|
|
67125
|
+
adoptInstanceRows: require_runtime_capabilities.method(zod.z.object({
|
|
67126
|
+
addonId: zod.z.string(),
|
|
67127
|
+
rows: zod.z.array(zod.z.object({
|
|
67128
|
+
id: zod.z.string().min(1),
|
|
67129
|
+
name: zod.z.string(),
|
|
67130
|
+
enabled: zod.z.boolean(),
|
|
67131
|
+
/** True when the record body STATED the switch: only then does it override an existing row. */
|
|
67132
|
+
stated: zod.z.boolean()
|
|
67133
|
+
}))
|
|
67134
|
+
}), zod.z.object({
|
|
67135
|
+
created: zod.z.number().int(),
|
|
67136
|
+
updated: zod.z.number().int(),
|
|
67137
|
+
/** Rows whose id belongs to ANOTHER addon: left untouched, so the caller keeps its own copy. */
|
|
67138
|
+
conflicts: zod.z.array(zod.z.object({
|
|
67139
|
+
id: zod.z.string(),
|
|
67140
|
+
ownerAddonId: zod.z.string()
|
|
67141
|
+
}))
|
|
67142
|
+
}), {
|
|
67143
|
+
kind: "mutation",
|
|
67144
|
+
auth: "admin"
|
|
67145
|
+
}),
|
|
67128
67146
|
update: require_runtime_capabilities.method(UpdateIntegrationInputSchema, IntegrationLiteSchema, {
|
|
67129
67147
|
kind: "mutation",
|
|
67130
67148
|
auth: "admin"
|
|
@@ -115281,152 +115299,6 @@ function accessoryChildrenComplete(children) {
|
|
|
115281
115299
|
};
|
|
115282
115300
|
}
|
|
115283
115301
|
//#endregion
|
|
115284
|
-
//#region src/device/device-restore-retry.ts
|
|
115285
|
-
/**
|
|
115286
|
-
* Delays before retry rounds 1..N — the round count IS the bound.
|
|
115287
|
-
* 10 s catches "the hub was busy for a moment"; the full schedule
|
|
115288
|
-
* (10 + 30 + 90 s of waiting, plus up to one 60 s transport timeout
|
|
115289
|
-
* per attempt) covers a device-manager lock held for minutes — the
|
|
115290
|
-
* 2026-09-04 outage's migration hold was ~3.5 min.
|
|
115291
|
-
*/
|
|
115292
|
-
var DEVICE_RESTORE_RETRY_DELAYS_MS = [
|
|
115293
|
-
1e4,
|
|
115294
|
-
3e4,
|
|
115295
|
-
9e4
|
|
115296
|
-
];
|
|
115297
|
-
/** Lane width for retry rounds. See module docblock — retries are
|
|
115298
|
-
* evidence of congestion, so they never re-stampede full-width. */
|
|
115299
|
-
var DEVICE_RESTORE_RETRY_CONCURRENCY = 4;
|
|
115300
|
-
/** Abortable sleep — resolves early (never rejects) on abort. */
|
|
115301
|
-
function sleep$1(ms, signal) {
|
|
115302
|
-
return new Promise((resolve) => {
|
|
115303
|
-
if (signal.aborted) {
|
|
115304
|
-
resolve();
|
|
115305
|
-
return;
|
|
115306
|
-
}
|
|
115307
|
-
const onAbort = () => {
|
|
115308
|
-
clearTimeout(timer);
|
|
115309
|
-
resolve();
|
|
115310
|
-
};
|
|
115311
|
-
const timer = setTimeout(() => {
|
|
115312
|
-
signal.removeEventListener("abort", onAbort);
|
|
115313
|
-
resolve();
|
|
115314
|
-
}, ms);
|
|
115315
|
-
timer.unref?.();
|
|
115316
|
-
signal.addEventListener("abort", onAbort, { once: true });
|
|
115317
|
-
});
|
|
115318
|
-
}
|
|
115319
|
-
/** Drain `items` through at most `width` concurrent lanes. `fn` must
|
|
115320
|
-
* not reject (callers wrap their own try/catch). */
|
|
115321
|
-
async function runWithConcurrency(items, width, fn) {
|
|
115322
|
-
const queue = [...items];
|
|
115323
|
-
const laneCount = Math.max(1, Math.min(width, queue.length));
|
|
115324
|
-
const lane = async () => {
|
|
115325
|
-
for (;;) {
|
|
115326
|
-
const item = queue.shift();
|
|
115327
|
-
if (item === void 0) return;
|
|
115328
|
-
await fn(item);
|
|
115329
|
-
}
|
|
115330
|
-
};
|
|
115331
|
-
await Promise.all(Array.from({ length: laneCount }, lane));
|
|
115332
|
-
}
|
|
115333
|
-
var DeviceRestoreRetryScheduler = class {
|
|
115334
|
-
#logger;
|
|
115335
|
-
#attempt;
|
|
115336
|
-
#onPermanentFailure;
|
|
115337
|
-
#delaysMs;
|
|
115338
|
-
#concurrency;
|
|
115339
|
-
#now;
|
|
115340
|
-
#abort = new AbortController();
|
|
115341
|
-
constructor(options) {
|
|
115342
|
-
this.#logger = options.logger;
|
|
115343
|
-
this.#attempt = options.attempt;
|
|
115344
|
-
this.#onPermanentFailure = options.onPermanentFailure;
|
|
115345
|
-
this.#delaysMs = options.delaysMs ?? DEVICE_RESTORE_RETRY_DELAYS_MS;
|
|
115346
|
-
this.#concurrency = options.concurrency ?? 4;
|
|
115347
|
-
this.#now = options.now ?? Date.now;
|
|
115348
|
-
}
|
|
115349
|
-
/** Stop retrying (shutdown). Pending entries are NOT marked
|
|
115350
|
-
* permanently failed — the next boot restores them from disk. */
|
|
115351
|
-
cancel() {
|
|
115352
|
-
this.#abort.abort();
|
|
115353
|
-
}
|
|
115354
|
-
/**
|
|
115355
|
-
* Run the bounded retry rounds. Resolves when every entry has either
|
|
115356
|
-
* restored, been marked permanently failed, or the scheduler was
|
|
115357
|
-
* cancelled. Never rejects.
|
|
115358
|
-
*/
|
|
115359
|
-
async run(initialFailures) {
|
|
115360
|
-
let pending = initialFailures.map((failure) => ({
|
|
115361
|
-
saved: failure.saved,
|
|
115362
|
-
lastError: failure.error,
|
|
115363
|
-
attempts: 1
|
|
115364
|
-
}));
|
|
115365
|
-
for (let round = 0; round < this.#delaysMs.length; round += 1) {
|
|
115366
|
-
if (pending.length === 0 || this.#abort.signal.aborted) break;
|
|
115367
|
-
await sleep$1(this.#delaysMs[round] ?? 0, this.#abort.signal);
|
|
115368
|
-
if (this.#abort.signal.aborted) break;
|
|
115369
|
-
pending = await this.#runRound(pending, round);
|
|
115370
|
-
}
|
|
115371
|
-
if (this.#abort.signal.aborted) return [];
|
|
115372
|
-
const terminal = pending.map((entry) => ({
|
|
115373
|
-
deviceId: entry.saved.id,
|
|
115374
|
-
stableId: entry.saved.stableId,
|
|
115375
|
-
type: String(entry.saved.type),
|
|
115376
|
-
attempts: entry.attempts,
|
|
115377
|
-
lastError: entry.lastError,
|
|
115378
|
-
failedAt: this.#now()
|
|
115379
|
-
}));
|
|
115380
|
-
for (const failure of terminal) this.#onPermanentFailure(failure);
|
|
115381
|
-
return terminal;
|
|
115382
|
-
}
|
|
115383
|
-
/** One retry round: parents first (phase 0), then hub-adopted
|
|
115384
|
-
* children (phase 1) — a child's attempt depends on its parent
|
|
115385
|
-
* having landed, exactly like the initial two-pass restore. */
|
|
115386
|
-
async #runRound(pending, round) {
|
|
115387
|
-
const next = [];
|
|
115388
|
-
const parents = pending.filter((entry) => entry.saved.parentDeviceId === null);
|
|
115389
|
-
const children = pending.filter((entry) => entry.saved.parentDeviceId !== null);
|
|
115390
|
-
for (const phase of [parents, children]) await runWithConcurrency(phase, this.#concurrency, async (entry) => {
|
|
115391
|
-
if (this.#abort.signal.aborted) {
|
|
115392
|
-
next.push(entry);
|
|
115393
|
-
return;
|
|
115394
|
-
}
|
|
115395
|
-
const attemptNo = entry.attempts + 1;
|
|
115396
|
-
try {
|
|
115397
|
-
await this.#attempt(entry.saved);
|
|
115398
|
-
this.#logger.info("Device restored on retry", {
|
|
115399
|
-
tags: {
|
|
115400
|
-
deviceId: entry.saved.id,
|
|
115401
|
-
stableId: entry.saved.stableId
|
|
115402
|
-
},
|
|
115403
|
-
meta: { attempt: attemptNo }
|
|
115404
|
-
});
|
|
115405
|
-
} catch (err) {
|
|
115406
|
-
const lastError = err instanceof Error ? err.message : String(err);
|
|
115407
|
-
const remainingRetries = this.#delaysMs.length - (round + 1);
|
|
115408
|
-
this.#logger.warn("Device restore retry failed", {
|
|
115409
|
-
tags: {
|
|
115410
|
-
deviceId: entry.saved.id,
|
|
115411
|
-
stableId: entry.saved.stableId
|
|
115412
|
-
},
|
|
115413
|
-
meta: {
|
|
115414
|
-
attempt: attemptNo,
|
|
115415
|
-
remainingRetries,
|
|
115416
|
-
error: lastError
|
|
115417
|
-
}
|
|
115418
|
-
});
|
|
115419
|
-
next.push({
|
|
115420
|
-
saved: entry.saved,
|
|
115421
|
-
lastError,
|
|
115422
|
-
attempts: attemptNo
|
|
115423
|
-
});
|
|
115424
|
-
}
|
|
115425
|
-
});
|
|
115426
|
-
return next;
|
|
115427
|
-
}
|
|
115428
|
-
};
|
|
115429
|
-
//#endregion
|
|
115430
115302
|
//#region src/device/base-device-provider.ts
|
|
115431
115303
|
/**
|
|
115432
115304
|
* Convert an IDevice to the flat DeviceSummary shape expected by the
|
|
@@ -115624,7 +115496,7 @@ var BaseDeviceProvider = class extends require_runtime_capabilities.BaseAddon {
|
|
|
115624
115496
|
this.ctx.logger.info(`Restored ${restoredCount} ${this.providerName} device(s)`);
|
|
115625
115497
|
}
|
|
115626
115498
|
/** Retry schedule. Overridable (tests use millisecond delays). */
|
|
115627
|
-
restoreRetryDelaysMs = DEVICE_RESTORE_RETRY_DELAYS_MS;
|
|
115499
|
+
restoreRetryDelaysMs = require_runtime_capabilities.DEVICE_RESTORE_RETRY_DELAYS_MS;
|
|
115628
115500
|
/** Retry lane width. See `device-restore-retry.ts` for why retries
|
|
115629
115501
|
* never re-stampede full-width while the initial pass does (D167). */
|
|
115630
115502
|
restoreRetryConcurrency = 4;
|
|
@@ -115728,7 +115600,7 @@ var BaseDeviceProvider = class extends require_runtime_capabilities.BaseAddon {
|
|
|
115728
115600
|
} });
|
|
115729
115601
|
return;
|
|
115730
115602
|
}
|
|
115731
|
-
const scheduler = new DeviceRestoreRetryScheduler({
|
|
115603
|
+
const scheduler = new require_runtime_capabilities.DeviceRestoreRetryScheduler({
|
|
115732
115604
|
logger: this.ctx.logger,
|
|
115733
115605
|
delaysMs: this.restoreRetryDelaysMs,
|
|
115734
115606
|
concurrency: this.restoreRetryConcurrency,
|
|
@@ -124853,6 +124725,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
124853
124725
|
access: "create",
|
|
124854
124726
|
role: "admin"
|
|
124855
124727
|
},
|
|
124728
|
+
"integrations.adoptInstanceRows": {
|
|
124729
|
+
capName: "integrations",
|
|
124730
|
+
capScope: "system",
|
|
124731
|
+
addonId: null,
|
|
124732
|
+
access: "create",
|
|
124733
|
+
role: "admin"
|
|
124734
|
+
},
|
|
124856
124735
|
"integrations.delete": {
|
|
124857
124736
|
capName: "integrations",
|
|
124858
124737
|
capScope: "system",
|
|
@@ -124888,6 +124767,13 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
124888
124767
|
access: "view",
|
|
124889
124768
|
role: "admin"
|
|
124890
124769
|
},
|
|
124770
|
+
"integrations.listByAddon": {
|
|
124771
|
+
capName: "integrations",
|
|
124772
|
+
capScope: "system",
|
|
124773
|
+
addonId: null,
|
|
124774
|
+
access: "view",
|
|
124775
|
+
role: "admin"
|
|
124776
|
+
},
|
|
124891
124777
|
"integrations.update": {
|
|
124892
124778
|
capName: "integrations",
|
|
124893
124779
|
capScope: "system",
|
|
@@ -139042,6 +138928,8 @@ function createSystemProxy(api) {
|
|
|
139042
138928
|
list: (input) => dispatch("integrations", "list", "query", input),
|
|
139043
138929
|
get: (input) => dispatch("integrations", "get", "query", input),
|
|
139044
138930
|
getByAddonId: (input) => dispatch("integrations", "getByAddonId", "query", input),
|
|
138931
|
+
listByAddon: (input) => dispatch("integrations", "listByAddon", "query", input),
|
|
138932
|
+
adoptInstanceRows: (input) => dispatch("integrations", "adoptInstanceRows", "mutation", input),
|
|
139045
138933
|
update: (input) => dispatch("integrations", "update", "mutation", input),
|
|
139046
138934
|
delete: (input) => dispatch("integrations", "delete", "mutation", input),
|
|
139047
138935
|
getAvailableTypes: (input) => dispatch("integrations", "getAvailableTypes", "query", input)
|
|
@@ -152094,8 +151982,8 @@ exports.DEVICE_NONCE_TTL_MS = DEVICE_NONCE_TTL_MS;
|
|
|
152094
151982
|
exports.DEVICE_PROFILES = DEVICE_PROFILES;
|
|
152095
151983
|
exports.DEVICE_RAMP = DEVICE_RAMP;
|
|
152096
151984
|
exports.DEVICE_REFRESH_REFUSAL_PREFIX = DEVICE_REFRESH_REFUSAL_PREFIX;
|
|
152097
|
-
exports.DEVICE_RESTORE_RETRY_CONCURRENCY = DEVICE_RESTORE_RETRY_CONCURRENCY;
|
|
152098
|
-
exports.DEVICE_RESTORE_RETRY_DELAYS_MS = DEVICE_RESTORE_RETRY_DELAYS_MS;
|
|
151985
|
+
exports.DEVICE_RESTORE_RETRY_CONCURRENCY = require_runtime_capabilities.DEVICE_RESTORE_RETRY_CONCURRENCY;
|
|
151986
|
+
exports.DEVICE_RESTORE_RETRY_DELAYS_MS = require_runtime_capabilities.DEVICE_RESTORE_RETRY_DELAYS_MS;
|
|
152099
151987
|
exports.DEVICE_ROLE_ICON = DEVICE_ROLE_ICON;
|
|
152100
151988
|
exports.DEVICE_RUNS_MAX_PAGE = DEVICE_RUNS_MAX_PAGE;
|
|
152101
151989
|
exports.DEVICE_SAN_CREDENTIAL_PREFIX = DEVICE_SAN_CREDENTIAL_PREFIX;
|
|
@@ -152212,7 +152100,7 @@ exports.DeviceRefusalReasonSchema = DeviceRefusalReasonSchema;
|
|
|
152212
152100
|
exports.DeviceRefusalSchema = DeviceRefusalSchema;
|
|
152213
152101
|
exports.DeviceRemovedInputSchema = DeviceRemovedInputSchema;
|
|
152214
152102
|
exports.DeviceRemovedResultSchema = DeviceRemovedResultSchema;
|
|
152215
|
-
exports.DeviceRestoreRetryScheduler = DeviceRestoreRetryScheduler;
|
|
152103
|
+
exports.DeviceRestoreRetryScheduler = require_runtime_capabilities.DeviceRestoreRetryScheduler;
|
|
152216
152104
|
exports.DeviceRole = require_composed_stable_id.DeviceRole;
|
|
152217
152105
|
exports.DeviceRunDetailSchema = DeviceRunDetailSchema;
|
|
152218
152106
|
exports.DeviceRunEnergyMethodSchema = DeviceRunEnergyMethodSchema;
|
|
@@ -152632,6 +152520,7 @@ exports.InstallDesktopUpdateReasonSchema = InstallDesktopUpdateReasonSchema;
|
|
|
152632
152520
|
exports.InstallDesktopUpdateResultSchema = InstallDesktopUpdateResultSchema;
|
|
152633
152521
|
exports.InstalledPackageSchema = InstalledPackageSchema;
|
|
152634
152522
|
exports.InstanceInUseError = InstanceInUseError;
|
|
152523
|
+
exports.InstanceSwitchesUnreadError = require_runtime_capabilities.InstanceSwitchesUnreadError;
|
|
152635
152524
|
exports.IntegralHelperSpecSchema = require_implemented_methods.IntegralHelperSpecSchema;
|
|
152636
152525
|
exports.IntegrationInstanceAddDeviceSchema = IntegrationInstanceAddDeviceSchema;
|
|
152637
152526
|
exports.IntegrationInstanceDescriptionSchema = IntegrationInstanceDescriptionSchema;
|
|
@@ -153736,6 +153625,7 @@ exports.SERIAL_CAPACITY_CAMERA_FPS = SERIAL_CAPACITY_CAMERA_FPS;
|
|
|
153736
153625
|
exports.SERIES_KINDS = require_implemented_methods.SERIES_KINDS;
|
|
153737
153626
|
exports.SERVER_NAME_MAX_LENGTH = SERVER_NAME_MAX_LENGTH;
|
|
153738
153627
|
exports.SERVER_NAME_SETTING_KEY = SERVER_NAME_SETTING_KEY;
|
|
153628
|
+
exports.SERVICE_INSTANCE_INFO_KEY = SERVICE_INSTANCE_INFO_KEY;
|
|
153739
153629
|
exports.SESSION_LOST_ALERT_CATEGORY = SESSION_LOST_ALERT_CATEGORY;
|
|
153740
153630
|
exports.SESSION_PLACEMENT_SETTING_KEY = SESSION_PLACEMENT_SETTING_KEY;
|
|
153741
153631
|
exports.SET_VARS_MAX = SET_VARS_MAX;
|
|
@@ -154338,10 +154228,15 @@ exports.bareAddonId = bareAddonId;
|
|
|
154338
154228
|
exports.baseUnitForQuantity = baseUnitForQuantity;
|
|
154339
154229
|
exports.baseUnitOf = require_runtime_capabilities.baseUnitOf;
|
|
154340
154230
|
exports.batteryCapability = batteryCapability;
|
|
154231
|
+
exports.beginHydration = require_runtime_capabilities.beginHydration;
|
|
154341
154232
|
exports.bestLocationMatch = bestLocationMatch;
|
|
154342
154233
|
exports.binaryCapability = binaryCapability;
|
|
154343
154234
|
exports.bindAddonActions = bindAddonActions;
|
|
154344
154235
|
exports.boardKeySourceCapability = boardKeySourceCapability;
|
|
154236
|
+
exports.bodySwitchPortsOver = require_runtime_capabilities.bodySwitchPortsOver;
|
|
154237
|
+
exports.bodySwitchRecordsOverMigrationApi = require_runtime_capabilities.bodySwitchRecordsOverMigrationApi;
|
|
154238
|
+
exports.bodySwitchToRegistryId = require_runtime_capabilities.bodySwitchToRegistryId;
|
|
154239
|
+
exports.bodySwitchToRegistryMigration = require_runtime_capabilities.bodySwitchToRegistryMigration;
|
|
154345
154240
|
exports.brightnessCapability = brightnessCapability;
|
|
154346
154241
|
exports.brokerCapability = brokerCapability;
|
|
154347
154242
|
exports.brokerLinkPortsOver = brokerLinkPortsOver;
|
|
@@ -154421,6 +154316,7 @@ exports.checkTemplatePayload = checkTemplatePayload;
|
|
|
154421
154316
|
exports.claimDevicesMigration = claimDevicesMigration;
|
|
154422
154317
|
exports.claimDevicesPortsOver = claimDevicesPortsOver;
|
|
154423
154318
|
exports.claimDevicesToDefaultIntegration = claimDevicesToDefaultIntegration;
|
|
154319
|
+
exports.claimInstance = require_runtime_capabilities.claimInstance;
|
|
154424
154320
|
exports.claimedRequestOrigins = claimedRequestOrigins;
|
|
154425
154321
|
exports.classifyBearerPrincipal = classifyBearerPrincipal;
|
|
154426
154322
|
exports.classifyCamerasForBenchmark = classifyCamerasForBenchmark;
|
|
@@ -154431,6 +154327,7 @@ exports.classifySecretWrite = require_runtime_capabilities.classifySecretWrite;
|
|
|
154431
154327
|
exports.classifyStoreError = require_runtime_capabilities.classifyStoreError;
|
|
154432
154328
|
exports.classifyStream = classifyStream;
|
|
154433
154329
|
exports.classifyStreams = classifyStreams;
|
|
154330
|
+
exports.clearInstanceSwitches = require_runtime_capabilities.clearInstanceSwitches;
|
|
154434
154331
|
exports.clearKnownSecrets = require_runtime_capabilities.clearKnownSecrets;
|
|
154435
154332
|
exports.clearModelBoundOverrides = clearModelBoundOverrides;
|
|
154436
154333
|
exports.clearModelBoundSetting = clearModelBoundSetting;
|
|
@@ -154795,6 +154692,7 @@ exports.followSwitchRunningFeature = followSwitchRunningFeature;
|
|
|
154795
154692
|
exports.forEachLeaf = forEachLeaf;
|
|
154796
154693
|
exports.forbiddenError = require_runtime_capabilities.forbiddenError;
|
|
154797
154694
|
exports.foreignCapacityCells = foreignCapacityCells;
|
|
154695
|
+
exports.forgetInstanceSwitch = require_runtime_capabilities.forgetInstanceSwitch;
|
|
154798
154696
|
exports.forgetKnownSecret = require_runtime_capabilities.forgetKnownSecret;
|
|
154799
154697
|
exports.formatDeviceRevoker = formatDeviceRevoker;
|
|
154800
154698
|
exports.formatForRuntime = require_runtime_capabilities.formatForRuntime;
|
|
@@ -154867,6 +154765,7 @@ exports.hubMotionNativeProvider = hubMotionNativeProvider;
|
|
|
154867
154765
|
exports.humidifierCapability = humidifierCapability;
|
|
154868
154766
|
exports.humidityMeasurement = humidityMeasurement;
|
|
154869
154767
|
exports.humiditySensorCapability = humiditySensorCapability;
|
|
154768
|
+
exports.hydrateInstanceSwitches = require_runtime_capabilities.hydrateInstanceSwitches;
|
|
154870
154769
|
exports.hydrateSchema = require_runtime_capabilities.hydrateSchema;
|
|
154871
154770
|
exports.iconCategoryLabel = iconCategoryLabel;
|
|
154872
154771
|
exports.iconEntry = iconEntry;
|
|
@@ -154958,8 +154857,10 @@ exports.isForwardInputRef = require_implemented_methods.isForwardInputRef;
|
|
|
154958
154857
|
exports.isHeldBackTemplateVar = isHeldBackTemplateVar;
|
|
154959
154858
|
exports.isHistoryHelper = require_implemented_methods.isHistoryHelper;
|
|
154960
154859
|
exports.isHubId = isHubId;
|
|
154860
|
+
exports.isHydrationPending = require_runtime_capabilities.isHydrationPending;
|
|
154961
154861
|
exports.isIconKey = isIconKey;
|
|
154962
|
-
exports.
|
|
154862
|
+
exports.isInstanceOn = require_runtime_capabilities.isInstanceOn;
|
|
154863
|
+
exports.isInstanceSwitchesUnreadError = require_runtime_capabilities.isInstanceSwitchesUnreadError;
|
|
154963
154864
|
exports.isInternalActionId = isInternalActionId;
|
|
154964
154865
|
exports.isIsolatedBuiltin = isIsolatedBuiltin;
|
|
154965
154866
|
exports.isKernelDerivedFeature = isKernelDerivedFeature;
|
|
@@ -155131,6 +155032,7 @@ exports.motionDetectionCapability = motionDetectionCapability;
|
|
|
155131
155032
|
exports.motionSourceLabel = motionSourceLabel;
|
|
155132
155033
|
exports.motionTriggerCapability = motionTriggerCapability;
|
|
155133
155034
|
exports.motionZonesCapability = motionZonesCapability;
|
|
155035
|
+
exports.moveBodySwitchToRegistry = require_runtime_capabilities.moveBodySwitchToRegistry;
|
|
155134
155036
|
exports.moveBrokerLinksToConnections = moveBrokerLinksToConnections;
|
|
155135
155037
|
exports.moveCalendarIdsToRecords = moveCalendarIdsToRecords;
|
|
155136
155038
|
exports.moveGroup = moveGroup;
|
|
@@ -155248,6 +155150,7 @@ exports.parseSmtpSinceKey = parseSmtpSinceKey;
|
|
|
155248
155150
|
exports.parseStreamParamsFormPatch = parseStreamParamsFormPatch;
|
|
155249
155151
|
exports.parseTrainingEventLine = parseTrainingEventLine;
|
|
155250
155152
|
exports.patchAudio = patchAudio;
|
|
155153
|
+
exports.pendingHydrationOwners = require_runtime_capabilities.pendingHydrationOwners;
|
|
155251
155154
|
exports.petFeederCapability = petFeederCapability;
|
|
155252
155155
|
exports.petFountainCapability = petFountainCapability;
|
|
155253
155156
|
exports.petFountainFromEntitiesComposition = petFountainFromEntitiesComposition;
|
|
@@ -155362,6 +155265,8 @@ exports.reconcileRemovedDevices = reconcileRemovedDevices;
|
|
|
155362
155265
|
exports.reconcileReportedFeatures = reconcileReportedFeatures;
|
|
155363
155266
|
exports.recordArrayItemPath = require_runtime_capabilities.recordArrayItemPath;
|
|
155364
155267
|
exports.recordEntriesCapability = recordEntriesCapability;
|
|
155268
|
+
exports.recordInstanceSwitch = require_runtime_capabilities.recordInstanceSwitch;
|
|
155269
|
+
exports.recordRegistrySwitch = require_runtime_capabilities.recordRegistrySwitch;
|
|
155365
155270
|
exports.recordSecretCollection = require_runtime_capabilities.recordSecretCollection;
|
|
155366
155271
|
exports.recordSecretRef = require_runtime_capabilities.recordSecretRef;
|
|
155367
155272
|
exports.recordingArchiveCapability = recordingArchiveCapability;
|
|
@@ -155575,6 +155480,7 @@ exports.settingValuesEqual = settingValuesEqual;
|
|
|
155575
155480
|
exports.settingsBelow = settingsBelow;
|
|
155576
155481
|
exports.settingsStoreCapability = settingsStoreCapability;
|
|
155577
155482
|
exports.settleDeviceFeatures = settleDeviceFeatures;
|
|
155483
|
+
exports.settleHydration = require_runtime_capabilities.settleHydration;
|
|
155578
155484
|
exports.shareViewGrantOf = shareViewGrantOf;
|
|
155579
155485
|
exports.sharedActuatorFeatures = sharedActuatorFeatures;
|
|
155580
155486
|
exports.sharedActuatorMethods = sharedActuatorMethods;
|