@camstack/types 1.2.379 → 1.2.381
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.d.ts +3 -0
- package/dist/addon.js +67 -2
- package/dist/addon.mjs +5 -3
- package/dist/capabilities/caller-stamp.d.ts +12 -0
- package/dist/capabilities/index.d.ts +7 -2
- package/dist/capabilities/record-entries.cap.d.ts +84 -0
- package/dist/capabilities/records.cap.d.ts +399 -0
- package/dist/capabilities/storage-admin.cap.d.ts +268 -0
- package/dist/client.js +57 -32
- package/dist/client.mjs +57 -32
- package/dist/device/device-context.d.ts +2 -0
- package/dist/ffmpeg/fmp4-fragment-child.d.ts +2 -2
- package/dist/ffmpeg/process.d.ts +21 -0
- package/dist/generated/addon-api.d.ts +191 -0
- package/dist/generated/cap-input-defaults.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +8 -2
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +2 -2
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/helpers/addon-slice-handle.d.ts +4 -0
- package/dist/helpers/trpc-leaf.d.ts +17 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +724 -32
- package/dist/index.mjs +646 -33
- package/dist/interfaces/addon-peer-bytes.d.ts +19 -2
- package/dist/interfaces/addon.d.ts +13 -0
- package/dist/interfaces/config-ui.d.ts +4 -0
- package/dist/interfaces/event-bus.d.ts +32 -3
- package/dist/interfaces/storage.d.ts +1 -1
- package/dist/node.d.ts +2 -2
- package/dist/node.js +4 -0
- package/dist/node.mjs +4 -1
- package/dist/records/constants.d.ts +23 -0
- package/dist/records/entry-kind.d.ts +31 -0
- package/dist/records/errors.d.ts +81 -0
- package/dist/records/in-memory-records.d.ts +21 -0
- package/dist/records/index.d.ts +9 -0
- package/dist/records/record-kind.d.ts +144 -0
- package/dist/records/records-access.d.ts +153 -0
- package/dist/records/secret-paths.d.ts +52 -0
- package/dist/records/settings-array-adopts-from.d.ts +12 -0
- package/dist/records/settings-brokers-adopts-from.d.ts +10 -0
- package/dist/{sleep-DQYi915G.js → sleep-D8yJVc4r.js} +1971 -290
- package/dist/{sleep-D-Q2_Mcd.mjs → sleep-bZIhUvjd.mjs} +1413 -128
- 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_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-D8yJVc4r.js");
|
|
3
3
|
const require_event_category = require("./event-category-Hoe-mqbd.js");
|
|
4
4
|
const require_composition = require("./composition-CUAOHZ38.js");
|
|
5
5
|
const require_node_color = require("./node-color.js");
|
|
@@ -13949,6 +13949,256 @@ id: zod.z.union([zod.z.string(), zod.z.number()]) }), {
|
|
|
13949
13949
|
}
|
|
13950
13950
|
};
|
|
13951
13951
|
//#endregion
|
|
13952
|
+
//#region src/capabilities/records.cap.ts
|
|
13953
|
+
/**
|
|
13954
|
+
* records - an addon's own facts and documents (D881): ledgers, audit rows,
|
|
13955
|
+
* config documents, mirrors. The third storage API next to `ctx.settings`
|
|
13956
|
+
* (operator intent, D870) and device-history (numbers over time, D850).
|
|
13957
|
+
*
|
|
13958
|
+
* Who the OWNER is: `callerAddonId`, stamped by the transport on a call that
|
|
13959
|
+
* crossed a process and stated by a hub in-process caller (`ctx.records` does
|
|
13960
|
+
* that with the addon id closed over). It is deliberately NOT in any input
|
|
13961
|
+
* schema, so a session can never supply it, and a call with no stamp is refused
|
|
13962
|
+
* `records/no-caller`. A kind is readable and writable only by its owner; other
|
|
13963
|
+
* addons go through the owner's capability.
|
|
13964
|
+
*
|
|
13965
|
+
* Every read is three-way: a row, `null`, or the call THROWS. A failed read is
|
|
13966
|
+
* never `[]`. Secret fields are never on the wire: a read shows the
|
|
13967
|
+
* redaction token, `secretRefs` hands the owner's `ctx.secrets` the refs it
|
|
13968
|
+
* resolves itself, and a write may carry only a keychain marker bound to the
|
|
13969
|
+
* row's own ref.
|
|
13970
|
+
*
|
|
13971
|
+
* Internal: addons reach it through `ctx.records`, never directly.
|
|
13972
|
+
*/
|
|
13973
|
+
var RecordIdSchema = zod.z.string().min(1).max(256);
|
|
13974
|
+
/** A JSON object body. Size is the engine's check (`maxDataBytes`), not a schema's. */
|
|
13975
|
+
var RecordBodySchema = zod.z.record(zod.z.string(), zod.z.unknown());
|
|
13976
|
+
var RecordInputSchema = zod.z.object({
|
|
13977
|
+
id: RecordIdSchema,
|
|
13978
|
+
/** The device this row belongs to (D865 removal, per-device reads). */
|
|
13979
|
+
deviceId: zod.z.number().int().optional(),
|
|
13980
|
+
/** The domain clock, ms: observed / created / opened. */
|
|
13981
|
+
at: zod.z.number().int().optional(),
|
|
13982
|
+
/** Producer-set expiry, ms. Refused on a kind whose retention is an engine TTL. */
|
|
13983
|
+
expiresAt: zod.z.number().int().optional(),
|
|
13984
|
+
data: RecordBodySchema
|
|
13985
|
+
});
|
|
13986
|
+
var RecordViewSchema = zod.z.object({
|
|
13987
|
+
id: zod.z.string(),
|
|
13988
|
+
deviceId: zod.z.number().int().nullable(),
|
|
13989
|
+
at: zod.z.number().nullable(),
|
|
13990
|
+
expiresAt: zod.z.number().nullable(),
|
|
13991
|
+
rev: zod.z.number().int(),
|
|
13992
|
+
updatedAt: zod.z.number(),
|
|
13993
|
+
data: RecordBodySchema
|
|
13994
|
+
});
|
|
13995
|
+
/** One predicate on a declared index field: equality, a set, or a range. */
|
|
13996
|
+
var RecordWhereValueSchema = zod.z.union([
|
|
13997
|
+
zod.z.string(),
|
|
13998
|
+
zod.z.number(),
|
|
13999
|
+
zod.z.boolean(),
|
|
14000
|
+
zod.z.object({ in: zod.z.array(zod.z.union([
|
|
14001
|
+
zod.z.string(),
|
|
14002
|
+
zod.z.number(),
|
|
14003
|
+
zod.z.boolean()
|
|
14004
|
+
])).min(1).max(require_sleep.RECORD_BATCH_MAX) }),
|
|
14005
|
+
zod.z.object({
|
|
14006
|
+
gt: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
14007
|
+
gte: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
14008
|
+
lt: zod.z.union([zod.z.string(), zod.z.number()]).optional(),
|
|
14009
|
+
lte: zod.z.union([zod.z.string(), zod.z.number()]).optional()
|
|
14010
|
+
}).refine((r) => Object.keys(r).length > 0, { message: "name at least one bound" })
|
|
14011
|
+
]);
|
|
14012
|
+
/** Declared index fields only. Anything else does not compile, by design. */
|
|
14013
|
+
var RecordWhereSchema = zod.z.record(require_sleep.RecordFieldPathSchema, RecordWhereValueSchema);
|
|
14014
|
+
var KindShape = { kind: require_sleep.RecordKindNameSchema };
|
|
14015
|
+
var TimeWindowShape = {
|
|
14016
|
+
deviceId: zod.z.number().int().optional(),
|
|
14017
|
+
atFrom: zod.z.number().optional(),
|
|
14018
|
+
atTo: zod.z.number().optional()
|
|
14019
|
+
};
|
|
14020
|
+
var RecordQueryInputSchema = zod.z.object({
|
|
14021
|
+
...KindShape,
|
|
14022
|
+
...TimeWindowShape,
|
|
14023
|
+
where: RecordWhereSchema.optional(),
|
|
14024
|
+
/** Without `where`: `at` (default for a kind with a clock) or `id`. With `where` the order is the index's. */
|
|
14025
|
+
order: zod.z.enum(["at", "id"]).optional(),
|
|
14026
|
+
desc: zod.z.boolean().optional(),
|
|
14027
|
+
limit: zod.z.number().int().min(1).max(require_sleep.RECORD_QUERY_MAX).default(100),
|
|
14028
|
+
/** Opaque keyset cursor from a previous answer. There is no offset. */
|
|
14029
|
+
cursor: zod.z.string().min(1).optional()
|
|
14030
|
+
});
|
|
14031
|
+
var RecordQueryResultSchema = zod.z.object({
|
|
14032
|
+
records: zod.z.array(RecordViewSchema),
|
|
14033
|
+
nextCursor: zod.z.string().nullable()
|
|
14034
|
+
});
|
|
14035
|
+
var RecordKindStateSchema = zod.z.enum([
|
|
14036
|
+
"created",
|
|
14037
|
+
"unchanged",
|
|
14038
|
+
"updated"
|
|
14039
|
+
]);
|
|
14040
|
+
var DeclareKindResultSchema = zod.z.object({
|
|
14041
|
+
kindId: zod.z.number().int(),
|
|
14042
|
+
state: RecordKindStateSchema,
|
|
14043
|
+
createdIndexes: zod.z.array(zod.z.string()),
|
|
14044
|
+
/** The boot guard: the kind is empty while its legacy table still holds rows. */
|
|
14045
|
+
adoptionPending: zod.z.object({
|
|
14046
|
+
legacyTable: zod.z.string(),
|
|
14047
|
+
legacyRows: zod.z.number().int()
|
|
14048
|
+
}).nullable()
|
|
14049
|
+
});
|
|
14050
|
+
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
14051
|
+
var SecretRefsList = zod.z.array(zod.z.string());
|
|
14052
|
+
var RecordSecretRefsSchema = zod.z.record(zod.z.string(), zod.z.record(zod.z.string(), zod.z.string()));
|
|
14053
|
+
var recordsCapability = {
|
|
14054
|
+
name: "records",
|
|
14055
|
+
scope: "system",
|
|
14056
|
+
mode: "singleton",
|
|
14057
|
+
internal: true,
|
|
14058
|
+
methods: {
|
|
14059
|
+
/** Reconcile this addon's kinds: create the catalog rows and the declared indexes. Additive only. */
|
|
14060
|
+
declareKinds: require_sleep.method(zod.z.object({ kinds: zod.z.record(require_sleep.RecordKindNameSchema, require_sleep.RecordKindDeclarationSchema) }), zod.z.object({ kinds: zod.z.record(zod.z.string(), DeclareKindResultSchema) }), {
|
|
14061
|
+
kind: "mutation",
|
|
14062
|
+
auth: "admin"
|
|
14063
|
+
}),
|
|
14064
|
+
get: require_sleep.method(zod.z.object({
|
|
14065
|
+
...KindShape,
|
|
14066
|
+
id: RecordIdSchema
|
|
14067
|
+
}), RecordViewSchema.nullable(), { auth: "admin" }),
|
|
14068
|
+
getMany: require_sleep.method(zod.z.object({
|
|
14069
|
+
...KindShape,
|
|
14070
|
+
ids: zod.z.array(RecordIdSchema).min(1).max(require_sleep.RECORD_BATCH_MAX)
|
|
14071
|
+
}), zod.z.array(RecordViewSchema), { auth: "admin" }),
|
|
14072
|
+
/** The keychain refs of the rows' secret fields, by id and concrete path. For the owner's `ctx.secrets`. */
|
|
14073
|
+
secretRefs: require_sleep.method(zod.z.object({
|
|
14074
|
+
...KindShape,
|
|
14075
|
+
ids: zod.z.array(RecordIdSchema).min(1).max(require_sleep.RECORD_BATCH_MAX)
|
|
14076
|
+
}), RecordSecretRefsSchema, { auth: "admin" }),
|
|
14077
|
+
put: require_sleep.method(zod.z.object({
|
|
14078
|
+
...KindShape,
|
|
14079
|
+
record: RecordInputSchema,
|
|
14080
|
+
/** Compare-and-set. `0` means "the row must not exist". */
|
|
14081
|
+
ifRev: zod.z.number().int().min(0).optional()
|
|
14082
|
+
}), zod.z.object({
|
|
14083
|
+
rev: zod.z.number().int(),
|
|
14084
|
+
releasedRefs: SecretRefsList
|
|
14085
|
+
}), {
|
|
14086
|
+
kind: "mutation",
|
|
14087
|
+
auth: "admin"
|
|
14088
|
+
}),
|
|
14089
|
+
putMany: require_sleep.method(zod.z.object({
|
|
14090
|
+
...KindShape,
|
|
14091
|
+
records: zod.z.array(RecordInputSchema).min(1).max(require_sleep.RECORD_BATCH_MAX)
|
|
14092
|
+
}), zod.z.object({
|
|
14093
|
+
count: zod.z.number().int(),
|
|
14094
|
+
releasedRefs: SecretRefsList
|
|
14095
|
+
}), {
|
|
14096
|
+
kind: "mutation",
|
|
14097
|
+
auth: "admin"
|
|
14098
|
+
}),
|
|
14099
|
+
/** One-statement RFC 7396 merge: `null` removes a field; a merge never reads. */
|
|
14100
|
+
patch: require_sleep.method(zod.z.object({
|
|
14101
|
+
...KindShape,
|
|
14102
|
+
id: RecordIdSchema,
|
|
14103
|
+
data: RecordBodySchema,
|
|
14104
|
+
at: zod.z.number().int().nullable().optional(),
|
|
14105
|
+
expiresAt: zod.z.number().int().nullable().optional(),
|
|
14106
|
+
ifRev: zod.z.number().int().min(1).optional()
|
|
14107
|
+
}), zod.z.object({
|
|
14108
|
+
rev: zod.z.number().int(),
|
|
14109
|
+
releasedRefs: SecretRefsList
|
|
14110
|
+
}), {
|
|
14111
|
+
kind: "mutation",
|
|
14112
|
+
auth: "admin"
|
|
14113
|
+
}),
|
|
14114
|
+
delete: require_sleep.method(zod.z.object({
|
|
14115
|
+
...KindShape,
|
|
14116
|
+
id: RecordIdSchema
|
|
14117
|
+
}), zod.z.object({
|
|
14118
|
+
deleted: zod.z.boolean(),
|
|
14119
|
+
secretRefs: SecretRefsList
|
|
14120
|
+
}), {
|
|
14121
|
+
kind: "mutation",
|
|
14122
|
+
auth: "admin"
|
|
14123
|
+
}),
|
|
14124
|
+
deleteMany: require_sleep.method(zod.z.object({
|
|
14125
|
+
...KindShape,
|
|
14126
|
+
ids: zod.z.array(RecordIdSchema).min(1).max(require_sleep.RECORD_BATCH_MAX)
|
|
14127
|
+
}), zod.z.object({
|
|
14128
|
+
deleted: zod.z.number().int(),
|
|
14129
|
+
secretRefs: SecretRefsList
|
|
14130
|
+
}), {
|
|
14131
|
+
kind: "mutation",
|
|
14132
|
+
auth: "admin"
|
|
14133
|
+
}),
|
|
14134
|
+
query: require_sleep.method(RecordQueryInputSchema, RecordQueryResultSchema, { auth: "admin" }),
|
|
14135
|
+
count: require_sleep.method(zod.z.object({
|
|
14136
|
+
...KindShape,
|
|
14137
|
+
...TimeWindowShape,
|
|
14138
|
+
where: RecordWhereSchema.optional()
|
|
14139
|
+
}), zod.z.object({ count: zod.z.number().int() }), { auth: "admin" }),
|
|
14140
|
+
histogram: require_sleep.method(zod.z.object({
|
|
14141
|
+
...KindShape,
|
|
14142
|
+
deviceId: zod.z.number().int().optional(),
|
|
14143
|
+
from: zod.z.number(),
|
|
14144
|
+
to: zod.z.number(),
|
|
14145
|
+
bucketMs: zod.z.number().int().positive()
|
|
14146
|
+
}), zod.z.object({ buckets: zod.z.array(zod.z.object({
|
|
14147
|
+
bucketStart: zod.z.number(),
|
|
14148
|
+
count: zod.z.number().int()
|
|
14149
|
+
})) }), { auth: "admin" }),
|
|
14150
|
+
/** Index-served only: every field must belong to ONE declared index. */
|
|
14151
|
+
aggregate: require_sleep.method(zod.z.object({
|
|
14152
|
+
...KindShape,
|
|
14153
|
+
op: zod.z.enum([
|
|
14154
|
+
"sum",
|
|
14155
|
+
"min",
|
|
14156
|
+
"max",
|
|
14157
|
+
"count"
|
|
14158
|
+
]),
|
|
14159
|
+
field: require_sleep.RecordFieldPathSchema.optional(),
|
|
14160
|
+
groupBy: require_sleep.RecordFieldPathSchema.optional(),
|
|
14161
|
+
where: RecordWhereSchema.optional()
|
|
14162
|
+
}), zod.z.object({ rows: zod.z.array(zod.z.object({
|
|
14163
|
+
group: zod.z.union([
|
|
14164
|
+
zod.z.string(),
|
|
14165
|
+
zod.z.number(),
|
|
14166
|
+
zod.z.null()
|
|
14167
|
+
]),
|
|
14168
|
+
value: zod.z.number().nullable()
|
|
14169
|
+
})) }), { auth: "admin" }),
|
|
14170
|
+
/** Batched (5 000 rows per statement, yielding between). Needs a predicate: there is no "delete all". */
|
|
14171
|
+
deleteWhere: require_sleep.method(zod.z.object({
|
|
14172
|
+
...KindShape,
|
|
14173
|
+
deviceId: zod.z.number().int().optional(),
|
|
14174
|
+
atBefore: zod.z.number().optional(),
|
|
14175
|
+
where: RecordWhereSchema.optional()
|
|
14176
|
+
}), zod.z.object({
|
|
14177
|
+
deleted: zod.z.number().int(),
|
|
14178
|
+
secretRefs: SecretRefsList
|
|
14179
|
+
}), {
|
|
14180
|
+
kind: "mutation",
|
|
14181
|
+
auth: "admin"
|
|
14182
|
+
}),
|
|
14183
|
+
/** The D865 hook body: every kind of this addon declared `deviceRemoval: 'delete'`. */
|
|
14184
|
+
deleteDevice: require_sleep.method(zod.z.object({
|
|
14185
|
+
deviceId: zod.z.number().int(),
|
|
14186
|
+
kinds: zod.z.array(require_sleep.RecordKindNameSchema).optional()
|
|
14187
|
+
}), zod.z.object({
|
|
14188
|
+
deleted: zod.z.record(zod.z.string(), zod.z.number().int()),
|
|
14189
|
+
secretRefs: SecretRefsList
|
|
14190
|
+
}), {
|
|
14191
|
+
kind: "mutation",
|
|
14192
|
+
auth: "admin"
|
|
14193
|
+
}),
|
|
14194
|
+
/** A monotonically increasing integer per kind (replaces "resume from the highest"). */
|
|
14195
|
+
allocateId: require_sleep.method(zod.z.object(KindShape), zod.z.object({ id: zod.z.number().int() }), {
|
|
14196
|
+
kind: "mutation",
|
|
14197
|
+
auth: "admin"
|
|
14198
|
+
})
|
|
14199
|
+
}
|
|
14200
|
+
};
|
|
14201
|
+
//#endregion
|
|
13952
14202
|
//#region src/capabilities/storage-admin.cap.ts
|
|
13953
14203
|
/** One table of the settings database. */
|
|
13954
14204
|
var StorageTableSchema = zod.z.object({
|
|
@@ -13962,6 +14212,28 @@ var StorageTableSchema = zod.z.object({
|
|
|
13962
14212
|
/** Declared by an addon since this engine process started (a running addon claims it). */
|
|
13963
14213
|
declaredThisBoot: zod.z.boolean()
|
|
13964
14214
|
});
|
|
14215
|
+
/** One declared record kind (D881) as System -> Data shows it. */
|
|
14216
|
+
var StorageKindSchema = zod.z.object({
|
|
14217
|
+
owner: zod.z.string(),
|
|
14218
|
+
kind: zod.z.string(),
|
|
14219
|
+
database: zod.z.enum(["settings", "events"]),
|
|
14220
|
+
class: zod.z.string(),
|
|
14221
|
+
state: zod.z.enum([
|
|
14222
|
+
"declared",
|
|
14223
|
+
"orphaned",
|
|
14224
|
+
"dropped"
|
|
14225
|
+
]),
|
|
14226
|
+
/** `null` when the caller asked for no counts (`counts: false`). */
|
|
14227
|
+
rows: zod.z.number().int().nonnegative().nullable(),
|
|
14228
|
+
/** Rows x the average size of a sample; null for an empty kind. */
|
|
14229
|
+
bytesEstimate: zod.z.number().int().nonnegative().nullable(),
|
|
14230
|
+
writeTrigger: zod.z.string(),
|
|
14231
|
+
retention: require_sleep.RecordRetentionSchema,
|
|
14232
|
+
/** `true` when the kind is an entry kind (the generic entries UI lists it). */
|
|
14233
|
+
entry: zod.z.boolean(),
|
|
14234
|
+
/** The whole declaration, secret paths and entry descriptor included (the entries service builds its handle from it). */
|
|
14235
|
+
declaration: require_sleep.RecordKindDeclarationSchema
|
|
14236
|
+
});
|
|
13965
14237
|
/**
|
|
13966
14238
|
* The collections retired by exact name: the D870 ones (their data became keys
|
|
13967
14239
|
* of the camera's settings) and the three D871 leftovers (the `stats-5m` tables
|
|
@@ -13980,7 +14252,16 @@ var STORAGE_ADMIN_MOVED_COLLECTIONS = [
|
|
|
13980
14252
|
"pipeline-orchestrator:device-features",
|
|
13981
14253
|
"pipeline-analytics:stats-5m",
|
|
13982
14254
|
"pipeline-orchestrator:stats-5m",
|
|
13983
|
-
"vec_object_clip"
|
|
14255
|
+
"vec_object_clip",
|
|
14256
|
+
"addon-devices",
|
|
14257
|
+
"sections",
|
|
14258
|
+
"provider-settings",
|
|
14259
|
+
"device-settings",
|
|
14260
|
+
"ai:budgets",
|
|
14261
|
+
"pipeline-analytics:retrain-dataset-versions",
|
|
14262
|
+
"training:dataset-versions",
|
|
14263
|
+
"benchmark:replay-runs",
|
|
14264
|
+
"viewer-settings-snapshots"
|
|
13984
14265
|
];
|
|
13985
14266
|
/** The per-addon blob tables a scoped name may carry. */
|
|
13986
14267
|
var STORAGE_ADMIN_SCOPED_BASES = [
|
|
@@ -14030,6 +14311,123 @@ var storageAdminCapability = {
|
|
|
14030
14311
|
}), {
|
|
14031
14312
|
kind: "mutation",
|
|
14032
14313
|
auth: "admin"
|
|
14314
|
+
}),
|
|
14315
|
+
/** Every record kind of both files with rows, a size estimate, class and retention (D881). */
|
|
14316
|
+
listKinds: require_sleep.method(zod.z.object({
|
|
14317
|
+
owner: zod.z.string().min(1).optional(),
|
|
14318
|
+
/** `false` skips the per-kind row count (a catalog read only). Default true. */
|
|
14319
|
+
counts: zod.z.boolean().optional()
|
|
14320
|
+
}), zod.z.object({ kinds: zod.z.array(StorageKindSchema) }), { auth: "admin" }),
|
|
14321
|
+
/**
|
|
14322
|
+
* Read-only diagnosis of ANY owner's kind: the same indexed query as the
|
|
14323
|
+
* owner's, secret fields redacted, audited in the engine log.
|
|
14324
|
+
*/
|
|
14325
|
+
readRecords: require_sleep.method(RecordQueryInputSchema.extend({
|
|
14326
|
+
owner: zod.z.string().min(1),
|
|
14327
|
+
kind: require_sleep.RecordKindNameSchema
|
|
14328
|
+
}), RecordQueryResultSchema, { auth: "admin" }),
|
|
14329
|
+
/**
|
|
14330
|
+
* The migration copy path (D881): write rows into a kind AS ITS DECLARED
|
|
14331
|
+
* OWNER. Refused when that owner's manifest does not declare the kind.
|
|
14332
|
+
* Idempotent (a put by id, so a re-run resumes). A secret field carries a
|
|
14333
|
+
* keychain marker bound to the row's own ref - the operator script imports
|
|
14334
|
+
* the value first - and a plain string there is refused.
|
|
14335
|
+
*/
|
|
14336
|
+
adoptRecords: require_sleep.method(zod.z.object({
|
|
14337
|
+
owner: zod.z.string().min(1),
|
|
14338
|
+
kind: require_sleep.RecordKindNameSchema,
|
|
14339
|
+
records: zod.z.array(RecordInputSchema).max(require_sleep.RECORD_BATCH_MAX),
|
|
14340
|
+
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
14341
|
+
complete: zod.z.boolean().optional()
|
|
14342
|
+
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), zod.z.object({ adopted: zod.z.number().int() }), {
|
|
14343
|
+
kind: "mutation",
|
|
14344
|
+
auth: "admin"
|
|
14345
|
+
}),
|
|
14346
|
+
/**
|
|
14347
|
+
* Read rows from a legacy KV table by physical name, without a running
|
|
14348
|
+
* `declareCollection`. Used by `records-adopt.ts` when the owner already
|
|
14349
|
+
* moved to records and the collection door refuses the name.
|
|
14350
|
+
*/
|
|
14351
|
+
readLegacyCollection: require_sleep.method(zod.z.object({
|
|
14352
|
+
collection: zod.z.string().min(1),
|
|
14353
|
+
cursor: zod.z.string().optional(),
|
|
14354
|
+
limit: zod.z.number().int().min(1).max(1e3).optional()
|
|
14355
|
+
}), zod.z.object({
|
|
14356
|
+
rows: zod.z.array(zod.z.object({
|
|
14357
|
+
id: zod.z.string(),
|
|
14358
|
+
data: zod.z.record(zod.z.string(), zod.z.unknown())
|
|
14359
|
+
})),
|
|
14360
|
+
nextCursor: zod.z.string().nullable()
|
|
14361
|
+
}), { auth: "admin" }),
|
|
14362
|
+
/** True when a declared kind lists `collection` as `adoptsFrom` and adoption finished. */
|
|
14363
|
+
isAdoptedLegacyTable: require_sleep.method(zod.z.object({ collection: zod.z.string().min(1) }), zod.z.object({ adopted: zod.z.boolean() }), { auth: "admin" })
|
|
14364
|
+
}
|
|
14365
|
+
};
|
|
14366
|
+
//#endregion
|
|
14367
|
+
//#region src/capabilities/record-entries.cap.ts
|
|
14368
|
+
/**
|
|
14369
|
+
* record-entries - the ONE admin surface for every list of user-created entries
|
|
14370
|
+
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
14371
|
+
* declares as an ENTRY kind (`entry: { title }` in `defineRecordKinds`).
|
|
14372
|
+
*
|
|
14373
|
+
* The UI is generic. `listEntryKinds` hands it, per kind, the JSON Schema of
|
|
14374
|
+
* the entry body with `secret: true` on every credential field, so a password
|
|
14375
|
+
* field is derived from the schema and never from a name. `putEntry` takes the
|
|
14376
|
+
* redaction token for an untouched secret (the stored value is kept), a string
|
|
14377
|
+
* for a new one, and the clear instruction to remove one. A read never carries
|
|
14378
|
+
* a secret value, and a locked keychain refuses the write with
|
|
14379
|
+
* `records/secret-unavailable` instead of storing plaintext.
|
|
14380
|
+
*
|
|
14381
|
+
* Hub-only, served in-process (it acts for each entry's owner on the keychain).
|
|
14382
|
+
*/
|
|
14383
|
+
var EntryKindInfoSchema = zod.z.object({
|
|
14384
|
+
owner: zod.z.string(),
|
|
14385
|
+
kind: require_sleep.RecordKindNameSchema,
|
|
14386
|
+
title: zod.z.string(),
|
|
14387
|
+
nameField: zod.z.string(),
|
|
14388
|
+
/** JSON Schema of the body; `secret: true` marks a password field. */
|
|
14389
|
+
fields: zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
14390
|
+
secretPaths: zod.z.array(zod.z.string()),
|
|
14391
|
+
rows: zod.z.number().int().nonnegative()
|
|
14392
|
+
});
|
|
14393
|
+
var EntryViewSchema = zod.z.object({
|
|
14394
|
+
id: RecordIdSchema,
|
|
14395
|
+
name: zod.z.string(),
|
|
14396
|
+
rev: zod.z.number().int(),
|
|
14397
|
+
updatedAt: zod.z.number(),
|
|
14398
|
+
/** Secret fields hold the redaction token. */
|
|
14399
|
+
data: RecordBodySchema
|
|
14400
|
+
});
|
|
14401
|
+
var EntryAddress = {
|
|
14402
|
+
owner: zod.z.string().min(1),
|
|
14403
|
+
kind: require_sleep.RecordKindNameSchema
|
|
14404
|
+
};
|
|
14405
|
+
var recordEntriesCapability = {
|
|
14406
|
+
name: "record-entries",
|
|
14407
|
+
scope: "system",
|
|
14408
|
+
mode: "singleton",
|
|
14409
|
+
methods: {
|
|
14410
|
+
listEntryKinds: require_sleep.method(zod.z.object({}), zod.z.object({ kinds: zod.z.array(EntryKindInfoSchema) }), { auth: "admin" }),
|
|
14411
|
+
listEntries: require_sleep.method(zod.z.object({ ...EntryAddress }), zod.z.object({ entries: zod.z.array(EntryViewSchema) }), { auth: "admin" }),
|
|
14412
|
+
/** Create (no `id`: one is generated) or edit. `ifRev` guards an edit against a concurrent one. */
|
|
14413
|
+
putEntry: require_sleep.method(zod.z.object({
|
|
14414
|
+
...EntryAddress,
|
|
14415
|
+
id: RecordIdSchema.optional(),
|
|
14416
|
+
data: RecordBodySchema,
|
|
14417
|
+
ifRev: zod.z.number().int().min(1).optional()
|
|
14418
|
+
}), zod.z.object({
|
|
14419
|
+
id: zod.z.string(),
|
|
14420
|
+
rev: zod.z.number().int()
|
|
14421
|
+
}), {
|
|
14422
|
+
kind: "mutation",
|
|
14423
|
+
auth: "admin"
|
|
14424
|
+
}),
|
|
14425
|
+
deleteEntry: require_sleep.method(zod.z.object({
|
|
14426
|
+
...EntryAddress,
|
|
14427
|
+
id: RecordIdSchema
|
|
14428
|
+
}), zod.z.object({ deleted: zod.z.boolean() }), {
|
|
14429
|
+
kind: "mutation",
|
|
14430
|
+
auth: "admin"
|
|
14033
14431
|
})
|
|
14034
14432
|
}
|
|
14035
14433
|
};
|
|
@@ -74826,13 +75224,14 @@ var BaseDevice = class {
|
|
|
74826
75224
|
get state() {
|
|
74827
75225
|
if (!this._stateProxyCache) {
|
|
74828
75226
|
const cache = {};
|
|
74829
|
-
const handler = { get: (
|
|
75227
|
+
const handler = { get: (target, key) => {
|
|
74830
75228
|
const k = key;
|
|
74831
|
-
|
|
75229
|
+
const existing = Reflect.get(target, k);
|
|
75230
|
+
if (existing !== void 0) return existing;
|
|
74832
75231
|
const cap = DEVICE_LOCAL_STATE_CAPS[k];
|
|
74833
75232
|
if (!cap) return void 0;
|
|
74834
75233
|
const proxy = this.sliceProxy(cap);
|
|
74835
|
-
|
|
75234
|
+
Reflect.set(target, k, proxy);
|
|
74836
75235
|
return proxy;
|
|
74837
75236
|
} };
|
|
74838
75237
|
this._stateProxyCache = new Proxy(cache, handler);
|
|
@@ -75031,7 +75430,7 @@ var BaseDevice = class {
|
|
|
75031
75430
|
async updateSourceInfo(patch) {
|
|
75032
75431
|
const next = mergeSourceInfo(this.sourceInfo, patch);
|
|
75033
75432
|
this._sourceInfoCache = Object.freeze({ ...next });
|
|
75034
|
-
const action = this.ctx.api
|
|
75433
|
+
const action = this.ctx.api.deviceManager?.setMetadata;
|
|
75035
75434
|
if (action) try {
|
|
75036
75435
|
await action.mutate({
|
|
75037
75436
|
deviceId: this.id,
|
|
@@ -75066,7 +75465,7 @@ var BaseDevice = class {
|
|
|
75066
75465
|
* device boot on a meta refresh.
|
|
75067
75466
|
*/
|
|
75068
75467
|
async refreshFeatures() {
|
|
75069
|
-
const action = this.ctx.api
|
|
75468
|
+
const action = this.ctx.api.deviceManager?.registerDevice;
|
|
75070
75469
|
if (!action) return;
|
|
75071
75470
|
try {
|
|
75072
75471
|
await action.mutate({
|
|
@@ -76631,6 +77030,12 @@ async function exposeBlockDevices(ctx, input) {
|
|
|
76631
77030
|
}
|
|
76632
77031
|
}
|
|
76633
77032
|
//#endregion
|
|
77033
|
+
//#region src/device/device-context.ts
|
|
77034
|
+
/** Map entry helper — concrete camera/hub classes widen to `DeviceConstructor<IDevice>`. */
|
|
77035
|
+
function widenDeviceConstructor(ctor) {
|
|
77036
|
+
return ctor;
|
|
77037
|
+
}
|
|
77038
|
+
//#endregion
|
|
76634
77039
|
//#region src/device/device-control-resolution.ts
|
|
76635
77040
|
/**
|
|
76636
77041
|
* Device-control RESOLUTION LOGIC — the single, presentation-free source of
|
|
@@ -82713,6 +83118,30 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
82713
83118
|
addonId: null,
|
|
82714
83119
|
access: "create"
|
|
82715
83120
|
},
|
|
83121
|
+
"recordEntries.deleteEntry": {
|
|
83122
|
+
capName: "record-entries",
|
|
83123
|
+
capScope: "system",
|
|
83124
|
+
addonId: null,
|
|
83125
|
+
access: "delete"
|
|
83126
|
+
},
|
|
83127
|
+
"recordEntries.listEntries": {
|
|
83128
|
+
capName: "record-entries",
|
|
83129
|
+
capScope: "system",
|
|
83130
|
+
addonId: null,
|
|
83131
|
+
access: "view"
|
|
83132
|
+
},
|
|
83133
|
+
"recordEntries.listEntryKinds": {
|
|
83134
|
+
capName: "record-entries",
|
|
83135
|
+
capScope: "system",
|
|
83136
|
+
addonId: null,
|
|
83137
|
+
access: "view"
|
|
83138
|
+
},
|
|
83139
|
+
"recordEntries.putEntry": {
|
|
83140
|
+
capName: "record-entries",
|
|
83141
|
+
capScope: "system",
|
|
83142
|
+
addonId: null,
|
|
83143
|
+
access: "create"
|
|
83144
|
+
},
|
|
82716
83145
|
"recording.getAvailability": {
|
|
82717
83146
|
capName: "recording",
|
|
82718
83147
|
capScope: "device",
|
|
@@ -83013,6 +83442,102 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
83013
83442
|
addonId: null,
|
|
83014
83443
|
access: "view"
|
|
83015
83444
|
},
|
|
83445
|
+
"records.aggregate": {
|
|
83446
|
+
capName: "records",
|
|
83447
|
+
capScope: "system",
|
|
83448
|
+
addonId: null,
|
|
83449
|
+
access: "view"
|
|
83450
|
+
},
|
|
83451
|
+
"records.allocateId": {
|
|
83452
|
+
capName: "records",
|
|
83453
|
+
capScope: "system",
|
|
83454
|
+
addonId: null,
|
|
83455
|
+
access: "create"
|
|
83456
|
+
},
|
|
83457
|
+
"records.count": {
|
|
83458
|
+
capName: "records",
|
|
83459
|
+
capScope: "system",
|
|
83460
|
+
addonId: null,
|
|
83461
|
+
access: "view"
|
|
83462
|
+
},
|
|
83463
|
+
"records.declareKinds": {
|
|
83464
|
+
capName: "records",
|
|
83465
|
+
capScope: "system",
|
|
83466
|
+
addonId: null,
|
|
83467
|
+
access: "create"
|
|
83468
|
+
},
|
|
83469
|
+
"records.delete": {
|
|
83470
|
+
capName: "records",
|
|
83471
|
+
capScope: "system",
|
|
83472
|
+
addonId: null,
|
|
83473
|
+
access: "delete"
|
|
83474
|
+
},
|
|
83475
|
+
"records.deleteDevice": {
|
|
83476
|
+
capName: "records",
|
|
83477
|
+
capScope: "system",
|
|
83478
|
+
addonId: null,
|
|
83479
|
+
access: "delete"
|
|
83480
|
+
},
|
|
83481
|
+
"records.deleteMany": {
|
|
83482
|
+
capName: "records",
|
|
83483
|
+
capScope: "system",
|
|
83484
|
+
addonId: null,
|
|
83485
|
+
access: "delete"
|
|
83486
|
+
},
|
|
83487
|
+
"records.deleteWhere": {
|
|
83488
|
+
capName: "records",
|
|
83489
|
+
capScope: "system",
|
|
83490
|
+
addonId: null,
|
|
83491
|
+
access: "delete"
|
|
83492
|
+
},
|
|
83493
|
+
"records.get": {
|
|
83494
|
+
capName: "records",
|
|
83495
|
+
capScope: "system",
|
|
83496
|
+
addonId: null,
|
|
83497
|
+
access: "view"
|
|
83498
|
+
},
|
|
83499
|
+
"records.getMany": {
|
|
83500
|
+
capName: "records",
|
|
83501
|
+
capScope: "system",
|
|
83502
|
+
addonId: null,
|
|
83503
|
+
access: "view"
|
|
83504
|
+
},
|
|
83505
|
+
"records.histogram": {
|
|
83506
|
+
capName: "records",
|
|
83507
|
+
capScope: "system",
|
|
83508
|
+
addonId: null,
|
|
83509
|
+
access: "view"
|
|
83510
|
+
},
|
|
83511
|
+
"records.patch": {
|
|
83512
|
+
capName: "records",
|
|
83513
|
+
capScope: "system",
|
|
83514
|
+
addonId: null,
|
|
83515
|
+
access: "create"
|
|
83516
|
+
},
|
|
83517
|
+
"records.put": {
|
|
83518
|
+
capName: "records",
|
|
83519
|
+
capScope: "system",
|
|
83520
|
+
addonId: null,
|
|
83521
|
+
access: "create"
|
|
83522
|
+
},
|
|
83523
|
+
"records.putMany": {
|
|
83524
|
+
capName: "records",
|
|
83525
|
+
capScope: "system",
|
|
83526
|
+
addonId: null,
|
|
83527
|
+
access: "create"
|
|
83528
|
+
},
|
|
83529
|
+
"records.query": {
|
|
83530
|
+
capName: "records",
|
|
83531
|
+
capScope: "system",
|
|
83532
|
+
addonId: null,
|
|
83533
|
+
access: "view"
|
|
83534
|
+
},
|
|
83535
|
+
"records.secretRefs": {
|
|
83536
|
+
capName: "records",
|
|
83537
|
+
capScope: "system",
|
|
83538
|
+
addonId: null,
|
|
83539
|
+
access: "view"
|
|
83540
|
+
},
|
|
83016
83541
|
"sceneMonitor.captureReference": {
|
|
83017
83542
|
capName: "scene-monitor",
|
|
83018
83543
|
capScope: "device",
|
|
@@ -83445,18 +83970,48 @@ var METHOD_ACCESS_MAP = Object.freeze({
|
|
|
83445
83970
|
addonId: null,
|
|
83446
83971
|
access: "create"
|
|
83447
83972
|
},
|
|
83973
|
+
"storageAdmin.adoptRecords": {
|
|
83974
|
+
capName: "storage-admin",
|
|
83975
|
+
capScope: "system",
|
|
83976
|
+
addonId: null,
|
|
83977
|
+
access: "create"
|
|
83978
|
+
},
|
|
83448
83979
|
"storageAdmin.dropCollection": {
|
|
83449
83980
|
capName: "storage-admin",
|
|
83450
83981
|
capScope: "system",
|
|
83451
83982
|
addonId: null,
|
|
83452
83983
|
access: "delete"
|
|
83453
83984
|
},
|
|
83985
|
+
"storageAdmin.isAdoptedLegacyTable": {
|
|
83986
|
+
capName: "storage-admin",
|
|
83987
|
+
capScope: "system",
|
|
83988
|
+
addonId: null,
|
|
83989
|
+
access: "view"
|
|
83990
|
+
},
|
|
83991
|
+
"storageAdmin.listKinds": {
|
|
83992
|
+
capName: "storage-admin",
|
|
83993
|
+
capScope: "system",
|
|
83994
|
+
addonId: null,
|
|
83995
|
+
access: "view"
|
|
83996
|
+
},
|
|
83454
83997
|
"storageAdmin.listTables": {
|
|
83455
83998
|
capName: "storage-admin",
|
|
83456
83999
|
capScope: "system",
|
|
83457
84000
|
addonId: null,
|
|
83458
84001
|
access: "view"
|
|
83459
84002
|
},
|
|
84003
|
+
"storageAdmin.readLegacyCollection": {
|
|
84004
|
+
capName: "storage-admin",
|
|
84005
|
+
capScope: "system",
|
|
84006
|
+
addonId: null,
|
|
84007
|
+
access: "view"
|
|
84008
|
+
},
|
|
84009
|
+
"storageAdmin.readRecords": {
|
|
84010
|
+
capName: "storage-admin",
|
|
84011
|
+
capScope: "system",
|
|
84012
|
+
addonId: null,
|
|
84013
|
+
access: "view"
|
|
84014
|
+
},
|
|
83460
84015
|
"storageEvictable.evict": {
|
|
83461
84016
|
capName: "storage-evictable",
|
|
83462
84017
|
capScope: "system",
|
|
@@ -85004,11 +85559,13 @@ var KNOWN_CAP_NAMES = [
|
|
|
85004
85559
|
"ptz",
|
|
85005
85560
|
"ptz-autotrack",
|
|
85006
85561
|
"reboot",
|
|
85562
|
+
"record-entries",
|
|
85007
85563
|
"recording",
|
|
85008
85564
|
"recording-archive",
|
|
85009
85565
|
"recording-export",
|
|
85010
85566
|
"recording-onboard",
|
|
85011
85567
|
"recording-signal",
|
|
85568
|
+
"records",
|
|
85012
85569
|
"scene-monitor",
|
|
85013
85570
|
"script-runner",
|
|
85014
85571
|
"server-management",
|
|
@@ -85209,8 +85766,10 @@ var SYSTEM_CAP_NAMES = [
|
|
|
85209
85766
|
"pipeline-runner",
|
|
85210
85767
|
"plate-gallery",
|
|
85211
85768
|
"platform-probe",
|
|
85769
|
+
"record-entries",
|
|
85212
85770
|
"recording-archive",
|
|
85213
85771
|
"recording-export",
|
|
85772
|
+
"records",
|
|
85214
85773
|
"server-management",
|
|
85215
85774
|
"settings-store",
|
|
85216
85775
|
"smtp-provider",
|
|
@@ -86720,9 +87279,10 @@ var SystemMirror = class {
|
|
|
86720
87279
|
for (let i = 0; i < targets.length; i += parallelism) {
|
|
86721
87280
|
const chunk = targets.slice(i, i + parallelism);
|
|
86722
87281
|
const settled = await Promise.allSettled(chunk.map(async (proxy) => {
|
|
86723
|
-
const cap = proxy
|
|
86724
|
-
|
|
86725
|
-
|
|
87282
|
+
const cap = Reflect.get(proxy, capName);
|
|
87283
|
+
const method = typeof cap === "object" && cap !== null ? Reflect.get(cap, methodName) : void 0;
|
|
87284
|
+
if (typeof method !== "function") throw new Error(`device '${proxy.deviceId}' does not expose '${capName}.${methodName}'`);
|
|
87285
|
+
return await Reflect.apply(method, cap, [args]);
|
|
86726
87286
|
}));
|
|
86727
87287
|
for (let j = 0; j < settled.length; j++) {
|
|
86728
87288
|
const proxy = chunk[j];
|
|
@@ -86950,7 +87510,7 @@ function matchesString(haystack, match) {
|
|
|
86950
87510
|
//#region src/device/zod-to-config-ui.ts
|
|
86951
87511
|
/** Access Zod v4 internal .def — not in public typings but stable at runtime */
|
|
86952
87512
|
function zodDef(schema) {
|
|
86953
|
-
return schema
|
|
87513
|
+
return Reflect.get(schema, "def");
|
|
86954
87514
|
}
|
|
86955
87515
|
/** Access internal properties on a Zod schema instance */
|
|
86956
87516
|
function zodInternals(schema) {
|
|
@@ -87278,11 +87838,13 @@ var CAPABILITY_NAMES = {
|
|
|
87278
87838
|
ptz: "ptz",
|
|
87279
87839
|
ptzAutotrack: "ptz-autotrack",
|
|
87280
87840
|
reboot: "reboot",
|
|
87841
|
+
recordEntries: "record-entries",
|
|
87281
87842
|
recording: "recording",
|
|
87282
87843
|
recordingArchive: "recording-archive",
|
|
87283
87844
|
recordingExport: "recording-export",
|
|
87284
87845
|
recordingOnboard: "recording-onboard",
|
|
87285
87846
|
recordingSignal: "recording-signal",
|
|
87847
|
+
records: "records",
|
|
87286
87848
|
sceneMonitor: "scene-monitor",
|
|
87287
87849
|
scriptRunner: "script-runner",
|
|
87288
87850
|
serverManagement: "server-management",
|
|
@@ -87840,6 +88402,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
87840
88402
|
key: "reboot",
|
|
87841
88403
|
name: "reboot"
|
|
87842
88404
|
},
|
|
88405
|
+
{
|
|
88406
|
+
key: "recordEntries",
|
|
88407
|
+
name: "record-entries"
|
|
88408
|
+
},
|
|
87843
88409
|
{
|
|
87844
88410
|
key: "recording",
|
|
87845
88411
|
name: "recording"
|
|
@@ -87860,6 +88426,10 @@ var CAPABILITY_ROUTER_KEYS = [
|
|
|
87860
88426
|
key: "recordingSignal",
|
|
87861
88427
|
name: "recording-signal"
|
|
87862
88428
|
},
|
|
88429
|
+
{
|
|
88430
|
+
key: "records",
|
|
88431
|
+
name: "records"
|
|
88432
|
+
},
|
|
87863
88433
|
{
|
|
87864
88434
|
key: "sceneMonitor",
|
|
87865
88435
|
name: "scene-monitor"
|
|
@@ -88167,11 +88737,13 @@ var ALL_CAPABILITY_DEFINITIONS = [
|
|
|
88167
88737
|
ptzCapability,
|
|
88168
88738
|
ptzAutotrackCapability,
|
|
88169
88739
|
rebootCapability,
|
|
88740
|
+
recordEntriesCapability,
|
|
88170
88741
|
recordingCapability,
|
|
88171
88742
|
recordingArchiveCapability,
|
|
88172
88743
|
recordingExportCapability,
|
|
88173
88744
|
recordingOnboardCapability,
|
|
88174
88745
|
recordingSignalCapability,
|
|
88746
|
+
recordsCapability,
|
|
88175
88747
|
sceneMonitorCapability,
|
|
88176
88748
|
scriptRunnerCapability,
|
|
88177
88749
|
serverManagementCapability,
|
|
@@ -90392,6 +90964,37 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
90392
90964
|
form: "single",
|
|
90393
90965
|
optional: false
|
|
90394
90966
|
}],
|
|
90967
|
+
"records.count": [{
|
|
90968
|
+
name: "deviceId",
|
|
90969
|
+
form: "single",
|
|
90970
|
+
optional: true
|
|
90971
|
+
}],
|
|
90972
|
+
"records.deleteDevice": [{
|
|
90973
|
+
name: "deviceId",
|
|
90974
|
+
form: "single",
|
|
90975
|
+
optional: false
|
|
90976
|
+
}],
|
|
90977
|
+
"records.deleteWhere": [{
|
|
90978
|
+
name: "deviceId",
|
|
90979
|
+
form: "single",
|
|
90980
|
+
optional: true
|
|
90981
|
+
}],
|
|
90982
|
+
"records.histogram": [{
|
|
90983
|
+
name: "deviceId",
|
|
90984
|
+
form: "single",
|
|
90985
|
+
optional: true
|
|
90986
|
+
}],
|
|
90987
|
+
"records.putMany": [{
|
|
90988
|
+
name: "records",
|
|
90989
|
+
form: "object-array",
|
|
90990
|
+
optional: false,
|
|
90991
|
+
itemField: "deviceId"
|
|
90992
|
+
}],
|
|
90993
|
+
"records.query": [{
|
|
90994
|
+
name: "deviceId",
|
|
90995
|
+
form: "single",
|
|
90996
|
+
optional: true
|
|
90997
|
+
}],
|
|
90395
90998
|
"sceneMonitor.captureReference": [{
|
|
90396
90999
|
name: "deviceId",
|
|
90397
91000
|
form: "single",
|
|
@@ -90508,6 +91111,17 @@ var METHOD_DEVICE_SELECTORS = Object.freeze({
|
|
|
90508
91111
|
form: "single",
|
|
90509
91112
|
optional: false
|
|
90510
91113
|
}],
|
|
91114
|
+
"storageAdmin.adoptRecords": [{
|
|
91115
|
+
name: "records",
|
|
91116
|
+
form: "object-array",
|
|
91117
|
+
optional: false,
|
|
91118
|
+
itemField: "deviceId"
|
|
91119
|
+
}],
|
|
91120
|
+
"storageAdmin.readRecords": [{
|
|
91121
|
+
name: "deviceId",
|
|
91122
|
+
form: "single",
|
|
91123
|
+
optional: true
|
|
91124
|
+
}],
|
|
90511
91125
|
"streamBroker.acquireEgressTranscode": [{
|
|
90512
91126
|
name: "deviceId",
|
|
90513
91127
|
form: "single",
|
|
@@ -91036,6 +91650,14 @@ var SYSTEM_SCOPE_DEVICE_METHODS = [
|
|
|
91036
91650
|
"recordingArchive.startStorageMigrationMove",
|
|
91037
91651
|
"recordingExport.createExport",
|
|
91038
91652
|
"recordingExport.listExports",
|
|
91653
|
+
"records.count",
|
|
91654
|
+
"records.deleteDevice",
|
|
91655
|
+
"records.deleteWhere",
|
|
91656
|
+
"records.histogram",
|
|
91657
|
+
"records.putMany",
|
|
91658
|
+
"records.query",
|
|
91659
|
+
"storageAdmin.adoptRecords",
|
|
91660
|
+
"storageAdmin.readRecords",
|
|
91039
91661
|
"streamBroker.acquireEgressTranscode",
|
|
91040
91662
|
"streamBroker.applyDeviceSettingsPatch",
|
|
91041
91663
|
"streamBroker.assignProfile",
|
|
@@ -91933,21 +92555,8 @@ var SCOPE_PRESETS = [
|
|
|
91933
92555
|
* dropping the reference.
|
|
91934
92556
|
*/
|
|
91935
92557
|
function createSystemProxy(api) {
|
|
91936
|
-
const typedApi = api;
|
|
91937
|
-
/**
|
|
91938
|
-
* Invoke `api.<capProp>.<method>.{query|mutate|subscribe}(input)`.
|
|
91939
|
-
* Returns `any` so the caller-side per-method declaration assigns
|
|
91940
|
-
* cleanly into the strongly-typed `Pick<InferProvider<...>, ...>`
|
|
91941
|
-
* shape on the `SystemProxy` interface — the proxy's contract is
|
|
91942
|
-
* enforced by the interface, not the dispatch helper.
|
|
91943
|
-
*/
|
|
91944
92558
|
function dispatch(capProp, method, kind, input, push) {
|
|
91945
|
-
|
|
91946
|
-
if (!leaf) throw new Error(`SystemProxy: api has no '${capProp}.${method}'`);
|
|
91947
|
-
const fn = leaf;
|
|
91948
|
-
if (kind === "mutation") return fn.mutate(input);
|
|
91949
|
-
if (kind === "subscription") return fn.subscribe(input, push);
|
|
91950
|
-
return fn.query(input);
|
|
92559
|
+
return require_sleep.invokeTrpcLeaf(api, capProp, method, kind, input, push);
|
|
91951
92560
|
}
|
|
91952
92561
|
return {
|
|
91953
92562
|
addonPages: { listPages: (input) => dispatch("addonPages", "listPages", "query", input) },
|
|
@@ -92520,6 +93129,12 @@ function createSystemProxy(api) {
|
|
|
92520
93129
|
assignPlates: (input) => dispatch("plateGallery", "assignPlates", "mutation", input),
|
|
92521
93130
|
unassignPlates: (input) => dispatch("plateGallery", "unassignPlates", "mutation", input)
|
|
92522
93131
|
},
|
|
93132
|
+
recordEntries: {
|
|
93133
|
+
listEntryKinds: (input) => dispatch("recordEntries", "listEntryKinds", "query", input),
|
|
93134
|
+
listEntries: (input) => dispatch("recordEntries", "listEntries", "query", input),
|
|
93135
|
+
putEntry: (input) => dispatch("recordEntries", "putEntry", "mutation", input),
|
|
93136
|
+
deleteEntry: (input) => dispatch("recordEntries", "deleteEntry", "mutation", input)
|
|
93137
|
+
},
|
|
92523
93138
|
recordingArchive: {
|
|
92524
93139
|
getAvailabilityBatch: (input) => dispatch("recordingArchive", "getAvailabilityBatch", "query", input),
|
|
92525
93140
|
getDaysWithRecordingsBatch: (input) => dispatch("recordingArchive", "getDaysWithRecordingsBatch", "query", input),
|
|
@@ -101042,13 +101657,11 @@ function pointInPolygon(point, polygon) {
|
|
|
101042
101657
|
*/
|
|
101043
101658
|
function bindAddonActions(api, addonId, catalog) {
|
|
101044
101659
|
const out = {};
|
|
101045
|
-
for (const action of Object.keys(catalog)) out[action] = (input) => {
|
|
101046
|
-
|
|
101047
|
-
|
|
101048
|
-
|
|
101049
|
-
|
|
101050
|
-
});
|
|
101051
|
-
};
|
|
101660
|
+
for (const action of Object.keys(catalog)) out[action] = (input) => api.addons.custom.mutate({
|
|
101661
|
+
addonId,
|
|
101662
|
+
action,
|
|
101663
|
+
input
|
|
101664
|
+
});
|
|
101052
101665
|
return out;
|
|
101053
101666
|
}
|
|
101054
101667
|
//#endregion
|
|
@@ -101429,6 +102042,7 @@ exports.AdoptionJobStateSchema = AdoptionJobStateSchema;
|
|
|
101429
102042
|
exports.AdoptionListCandidatesInputSchema = ListCandidatesInputSchema;
|
|
101430
102043
|
exports.AdoptionListCandidatesOutputSchema = ListCandidatesOutputSchema;
|
|
101431
102044
|
exports.AdoptionOutcomeSchema = AdoptionOutcomeSchema;
|
|
102045
|
+
exports.AdoptionPendingError = require_sleep.AdoptionPendingError;
|
|
101432
102046
|
exports.AdoptionReleaseInputSchema = ReleaseInputSchema;
|
|
101433
102047
|
exports.AdoptionStatusSchema = AdoptionStatusSchema;
|
|
101434
102048
|
exports.AgentLoadSummarySchema = AgentLoadSummarySchema;
|
|
@@ -101515,6 +102129,7 @@ exports.BackupTriggerResultSchema = BackupTriggerResultSchema;
|
|
|
101515
102129
|
exports.BaseAddon = require_sleep.BaseAddon;
|
|
101516
102130
|
exports.BaseDevice = BaseDevice;
|
|
101517
102131
|
exports.BaseDeviceProvider = BaseDeviceProvider;
|
|
102132
|
+
exports.BatchTooLargeError = require_sleep.BatchTooLargeError;
|
|
101518
102133
|
exports.BatteryStatusSchema = BatteryStatusSchema;
|
|
101519
102134
|
exports.BinaryStatusSchema = BinaryStatusSchema;
|
|
101520
102135
|
exports.BirthDecisionQueryInputSchema = BirthDecisionQueryInputSchema;
|
|
@@ -101544,6 +102159,7 @@ exports.BrokerTestConnectionResultSchema = TestConnectionResultSchema;
|
|
|
101544
102159
|
exports.BrokerUnsubscribeInputSchema = UnsubscribeInputSchema;
|
|
101545
102160
|
exports.BucketAccumulator = BucketAccumulator;
|
|
101546
102161
|
exports.BulkRecordSchema = BulkRecordSchema;
|
|
102162
|
+
exports.CALLER_STAMPED_CAPABILITIES = require_sleep.CALLER_STAMPED_CAPABILITIES;
|
|
101547
102163
|
exports.CAMERA_SENSORS_NOT_LOADED = CAMERA_SENSORS_NOT_LOADED;
|
|
101548
102164
|
exports.CAMERA_SENSORS_SETTINGS_KEY = CAMERA_SENSORS_SETTINGS_KEY;
|
|
101549
102165
|
exports.CAMERA_SWITCH_CATALOG = CAMERA_SWITCH_CATALOG;
|
|
@@ -101854,7 +102470,9 @@ exports.DayNightModeSchema = DayNightModeSchema;
|
|
|
101854
102470
|
exports.DayNightOptionsSchema = DayNightOptionsSchema;
|
|
101855
102471
|
exports.DayNightSettingsPatchSchema = DayNightSettingsPatchSchema;
|
|
101856
102472
|
exports.DayNightStatusSchema = DayNightStatusSchema;
|
|
102473
|
+
exports.DeclarationRefusedError = require_sleep.DeclarationRefusedError;
|
|
101857
102474
|
exports.DeclareCollectionInputSchema = DeclareCollectionInputSchema;
|
|
102475
|
+
exports.DeclareKindResultSchema = DeclareKindResultSchema;
|
|
101858
102476
|
exports.DeclaredDevices = DeclaredDevices;
|
|
101859
102477
|
exports.DecodedAudioChunkSchema = require_sleep.DecodedAudioChunkSchema;
|
|
101860
102478
|
exports.DeleteIntegrationResultSchema = DeleteIntegrationResultSchema;
|
|
@@ -101954,6 +102572,9 @@ exports.EmbeddingTowerSchema = EmbeddingTowerSchema;
|
|
|
101954
102572
|
exports.EncodeProfileSchema = EncodeProfileSchema;
|
|
101955
102573
|
exports.EnrichedWidgetMetadataSchema = EnrichedWidgetMetadataSchema;
|
|
101956
102574
|
exports.EnrollSelfInputSchema = EnrollSelfInputSchema;
|
|
102575
|
+
exports.EntryDescriptorSchema = require_sleep.EntryDescriptorSchema;
|
|
102576
|
+
exports.EntryKindInfoSchema = EntryKindInfoSchema;
|
|
102577
|
+
exports.EntryViewSchema = EntryViewSchema;
|
|
101957
102578
|
exports.EnumSensorDateTimeFormatSchema = EnumSensorDateTimeFormatSchema;
|
|
101958
102579
|
exports.EnumSensorStatusSchema = EnumSensorStatusSchema;
|
|
101959
102580
|
exports.ErrorCodeSchema = require_sleep.ErrorCodeSchema;
|
|
@@ -102036,8 +102657,10 @@ exports.FeatureManifestSchema = FeatureManifestSchema;
|
|
|
102036
102657
|
exports.FeatureProbeStatusSchema = FeatureProbeStatusSchema;
|
|
102037
102658
|
exports.FieldClaimModeSchema = FieldClaimModeSchema;
|
|
102038
102659
|
exports.FieldClaimSchema = FieldClaimSchema;
|
|
102660
|
+
exports.FilterRequiredError = require_sleep.FilterRequiredError;
|
|
102039
102661
|
exports.FloodStatusSchema = FloodStatusSchema;
|
|
102040
102662
|
exports.Fmp4BoxSplitter = require_composition.Fmp4BoxSplitter;
|
|
102663
|
+
exports.ForeignSecretMarkerError = require_sleep.ForeignSecretMarkerError;
|
|
102041
102664
|
exports.FrameHandleSchema = require_sleep.FrameHandleSchema;
|
|
102042
102665
|
exports.FrameInputSchema = FrameInputSchema;
|
|
102043
102666
|
exports.FrameLazyCountersSchema = FrameLazyCountersSchema;
|
|
@@ -102102,6 +102725,7 @@ exports.IntegrationLiteSchema = IntegrationLiteSchema;
|
|
|
102102
102725
|
exports.IntegrationWithStateSchema = IntegrationWithStateSchema;
|
|
102103
102726
|
exports.IntercomAbilitySchema = IntercomAbilitySchema;
|
|
102104
102727
|
exports.IntercomStatusSchema = IntercomStatusSchema;
|
|
102728
|
+
exports.InvalidRecordError = require_sleep.InvalidRecordError;
|
|
102105
102729
|
exports.KEYCHAIN_MAX_REFS_PER_CALL = KEYCHAIN_MAX_REFS_PER_CALL;
|
|
102106
102730
|
exports.KEYCHAIN_RESET_CONFIRMATION = KEYCHAIN_RESET_CONFIRMATION;
|
|
102107
102731
|
exports.KEYCHAIN_RESET_TRIGGER_ACTOR = KEYCHAIN_RESET_TRIGGER_ACTOR;
|
|
@@ -102530,6 +103154,7 @@ exports.NetworkAddressSchema = NetworkAddressSchema;
|
|
|
102530
103154
|
exports.NetworkEndpointSchema = NetworkEndpointSchema;
|
|
102531
103155
|
exports.NetworkLinkStatusSchema = NetworkLinkStatusSchema;
|
|
102532
103156
|
exports.NetworkTunnelStartedDataSchema = NetworkTunnelStartedDataSchema;
|
|
103157
|
+
exports.NoCallerError = require_sleep.NoCallerError;
|
|
102533
103158
|
exports.NodeBenchCellSchema = NodeBenchCellSchema;
|
|
102534
103159
|
exports.NodeBenchClipSchema = NodeBenchClipSchema;
|
|
102535
103160
|
exports.NodeBenchDeviceCellSchema = NodeBenchDeviceCellSchema;
|
|
@@ -102658,6 +103283,7 @@ exports.PlacementDeviceStatsSchema = PlacementDeviceStatsSchema;
|
|
|
102658
103283
|
exports.PlacementNodeStatsSchema = PlacementNodeStatsSchema;
|
|
102659
103284
|
exports.PlacementStatsInputSchema = PlacementStatsInputSchema;
|
|
102660
103285
|
exports.PlacementStatsSchema = PlacementStatsSchema;
|
|
103286
|
+
exports.PlaintextSecretError = require_sleep.PlaintextSecretError;
|
|
102661
103287
|
exports.PolygonPointSchema = PolygonPointSchema;
|
|
102662
103288
|
exports.PoolMemoryWatchdog = PoolMemoryWatchdog;
|
|
102663
103289
|
exports.PowerMeterStatusSchema = PowerMeterStatusSchema;
|
|
@@ -102701,9 +103327,25 @@ exports.RECORDING_EXPORT_MAX_READ_BYTES = RECORDING_EXPORT_MAX_READ_BYTES;
|
|
|
102701
103327
|
exports.RECORDING_SOURCE_CAMSTACK = RECORDING_SOURCE_CAMSTACK;
|
|
102702
103328
|
exports.RECORDING_SOURCE_CAMSTACK_ADDON = RECORDING_SOURCE_CAMSTACK_ADDON;
|
|
102703
103329
|
exports.RECORDING_TIMELINE_BATCH_MAX = RECORDING_TIMELINE_BATCH_MAX;
|
|
103330
|
+
exports.RECORDS_ERROR_CODES = require_sleep.RECORDS_ERROR_CODES;
|
|
103331
|
+
exports.RECORD_BATCH_MAX = require_sleep.RECORD_BATCH_MAX;
|
|
103332
|
+
exports.RECORD_BATCH_MAX_BYTES = require_sleep.RECORD_BATCH_MAX_BYTES;
|
|
103333
|
+
exports.RECORD_CLASSES = require_sleep.RECORD_CLASSES;
|
|
103334
|
+
exports.RECORD_DATABASES = require_sleep.RECORD_DATABASES;
|
|
103335
|
+
exports.RECORD_DEFAULT_MAX_DATA_BYTES = require_sleep.RECORD_DEFAULT_MAX_DATA_BYTES;
|
|
103336
|
+
exports.RECORD_DELETE_BATCH = require_sleep.RECORD_DELETE_BATCH;
|
|
103337
|
+
exports.RECORD_ID_MAX_LENGTH = require_sleep.RECORD_ID_MAX_LENGTH;
|
|
103338
|
+
exports.RECORD_MAX_DATA_BYTES = require_sleep.RECORD_MAX_DATA_BYTES;
|
|
103339
|
+
exports.RECORD_MAX_INDEXES = require_sleep.RECORD_MAX_INDEXES;
|
|
103340
|
+
exports.RECORD_MAX_INDEX_FIELDS = require_sleep.RECORD_MAX_INDEX_FIELDS;
|
|
103341
|
+
exports.RECORD_QUERY_MAX = require_sleep.RECORD_QUERY_MAX;
|
|
103342
|
+
exports.RECORD_SECRET_COLLECTION_PREFIX = require_sleep.RECORD_SECRET_COLLECTION_PREFIX;
|
|
103343
|
+
exports.RECORD_SETTINGS_MAX_ROWS = require_sleep.RECORD_SETTINGS_MAX_ROWS;
|
|
103344
|
+
exports.RECORD_SWEEP_INTERVAL_MS = require_sleep.RECORD_SWEEP_INTERVAL_MS;
|
|
102704
103345
|
exports.REDACTED_SECRET = require_sleep.REDACTED_SECRET;
|
|
102705
103346
|
exports.REMOVAL_RECONCILE_INTERVAL_MS = REMOVAL_RECONCILE_INTERVAL_MS;
|
|
102706
103347
|
exports.REMOVED_MODEL_IDS = REMOVED_MODEL_IDS;
|
|
103348
|
+
exports.REMOVE_LEAF = require_sleep.REMOVE_LEAF;
|
|
102707
103349
|
exports.RESERVED_BINDING_NAMES = require_composition.RESERVED_BINDING_NAMES;
|
|
102708
103350
|
exports.RESERVED_COLLECTION_SOURCES = RESERVED_COLLECTION_SOURCES;
|
|
102709
103351
|
exports.RESTORED_CAP_NAMES = RESTORED_CAP_NAMES;
|
|
@@ -102736,7 +103378,24 @@ exports.RebuildObjectEmbeddingsRefusalSchema = RebuildObjectEmbeddingsRefusalSch
|
|
|
102736
103378
|
exports.RecentTracksPageSchema = RecentTracksPageSchema;
|
|
102737
103379
|
exports.RecentTracksQueryInput = RecentTracksQueryInput;
|
|
102738
103380
|
exports.RecommendationReasonSchema = RecommendationReasonSchema;
|
|
103381
|
+
exports.RecordBodySchema = RecordBodySchema;
|
|
103382
|
+
exports.RecordFieldPathSchema = require_sleep.RecordFieldPathSchema;
|
|
103383
|
+
exports.RecordIdSchema = RecordIdSchema;
|
|
103384
|
+
exports.RecordIndexSchema = require_sleep.RecordIndexSchema;
|
|
103385
|
+
exports.RecordInputSchema = RecordInputSchema;
|
|
103386
|
+
exports.RecordKindDeclarationSchema = require_sleep.RecordKindDeclarationSchema;
|
|
103387
|
+
exports.RecordKindNameSchema = require_sleep.RecordKindNameSchema;
|
|
103388
|
+
exports.RecordNotFoundError = require_sleep.RecordNotFoundError;
|
|
103389
|
+
exports.RecordQueryInputSchema = RecordQueryInputSchema;
|
|
103390
|
+
exports.RecordQueryResultSchema = RecordQueryResultSchema;
|
|
103391
|
+
exports.RecordRetentionSchema = require_sleep.RecordRetentionSchema;
|
|
103392
|
+
exports.RecordSecretRefsSchema = RecordSecretRefsSchema;
|
|
103393
|
+
exports.RecordSecretUnavailableError = require_sleep.RecordSecretUnavailableError;
|
|
103394
|
+
exports.RecordTooLargeError = require_sleep.RecordTooLargeError;
|
|
102739
103395
|
exports.RecordTriggerSchema = RecordTriggerSchema;
|
|
103396
|
+
exports.RecordUniqueViolationError = require_sleep.RecordUniqueViolationError;
|
|
103397
|
+
exports.RecordViewSchema = RecordViewSchema;
|
|
103398
|
+
exports.RecordWhereSchema = RecordWhereSchema;
|
|
102740
103399
|
exports.RecordWindowSchema = RecordWindowSchema;
|
|
102741
103400
|
exports.RecordingAvailabilityForDeviceSchema = RecordingAvailabilityForDeviceSchema;
|
|
102742
103401
|
exports.RecordingAvailabilitySchema = RecordingAvailabilitySchema;
|
|
@@ -102773,6 +103432,7 @@ exports.RecordingStorageModeSchema = RecordingStorageModeSchema;
|
|
|
102773
103432
|
exports.RecordingStorageUsageSchema = RecordingStorageUsageSchema;
|
|
102774
103433
|
exports.RecordingTriggersSchema = RecordingTriggersSchema;
|
|
102775
103434
|
exports.RecordingWeekdaySchema = RecordingWeekdaySchema;
|
|
103435
|
+
exports.RecordsError = require_sleep.RecordsError;
|
|
102776
103436
|
exports.RedirectLoginMethodSchema = RedirectLoginMethodSchema;
|
|
102777
103437
|
exports.RelocatableMediaCountInputSchema = RelocatableMediaCountInputSchema;
|
|
102778
103438
|
exports.RelocatableMediaCountSchema = RelocatableMediaCountSchema;
|
|
@@ -102837,6 +103497,7 @@ exports.RetrainTrackSchema = RetrainTrackSchema;
|
|
|
102837
103497
|
exports.RetrainTrainingCorpusResolveResultSchema = RetrainTrainingCorpusResolveResultSchema;
|
|
102838
103498
|
exports.RetrainTrainingCorpusSelectionSchema = RetrainTrainingCorpusSelectionSchema;
|
|
102839
103499
|
exports.RetrainTransitionResultSchema = RetrainTransitionResultSchema;
|
|
103500
|
+
exports.RevConflictError = require_sleep.RevConflictError;
|
|
102840
103501
|
exports.RevokeOwnDeviceCertificateResultSchema = RevokeOwnDeviceCertificateResultSchema;
|
|
102841
103502
|
exports.RingBuffer = RingBuffer;
|
|
102842
103503
|
exports.RootStepSupplySchema = RootStepSupplySchema;
|
|
@@ -102870,6 +103531,8 @@ exports.SENSOR_MAP = SENSOR_MAP;
|
|
|
102870
103531
|
exports.SERVER_NAME_MAX_LENGTH = SERVER_NAME_MAX_LENGTH;
|
|
102871
103532
|
exports.SERVER_NAME_SETTING_KEY = SERVER_NAME_SETTING_KEY;
|
|
102872
103533
|
exports.SESSION_PLACEMENT_SETTING_KEY = SESSION_PLACEMENT_SETTING_KEY;
|
|
103534
|
+
exports.SETTINGS_ARRAY_ADOPTS_PREFIX = require_sleep.SETTINGS_ARRAY_ADOPTS_PREFIX;
|
|
103535
|
+
exports.SETTINGS_BROKERS_ADOPTS_PREFIX = require_sleep.SETTINGS_BROKERS_ADOPTS_PREFIX;
|
|
102873
103536
|
exports.SHARE_SOURCE_SETTING_KEY = SHARE_SOURCE_SETTING_KEY;
|
|
102874
103537
|
exports.SHARE_VIEW_KINDS = require_sleep.SHARE_VIEW_KINDS;
|
|
102875
103538
|
exports.SINGLE_HUB_ADDRESS_ROLES = SINGLE_HUB_ADDRESS_ROLES;
|
|
@@ -102965,6 +103628,7 @@ exports.StorageDrainProgressSchema = StorageDrainProgressSchema;
|
|
|
102965
103628
|
exports.StorageEndDownloadInputSchema = EndDownloadInputSchema;
|
|
102966
103629
|
exports.StorageEvictionPolicySchema = StorageEvictionPolicySchema;
|
|
102967
103630
|
exports.StorageFinalizeUploadInputSchema = FinalizeUploadInputSchema;
|
|
103631
|
+
exports.StorageKindSchema = StorageKindSchema;
|
|
102968
103632
|
exports.StorageLocationDeclarationSchema = StorageLocationDeclarationSchema;
|
|
102969
103633
|
exports.StorageLocationModeSchema = StorageLocationModeSchema;
|
|
102970
103634
|
exports.StorageLocationRefSchema = StorageLocationRefSchema;
|
|
@@ -103110,10 +103774,12 @@ exports.UNIT_TABLE = UNIT_TABLE;
|
|
|
103110
103774
|
exports.USE_ROOT_MODEL_DEFAULTS = USE_ROOT_MODEL_DEFAULTS;
|
|
103111
103775
|
exports.USE_ROOT_MODEL_SETTING_KEY = USE_ROOT_MODEL_SETTING_KEY;
|
|
103112
103776
|
exports.UnifiedBrokerInfoSchema = BrokerInfoSchema;
|
|
103777
|
+
exports.UnindexedFilterError = require_sleep.UnindexedFilterError;
|
|
103113
103778
|
exports.UninstallNodeOutcomeSchema = UninstallNodeOutcomeSchema;
|
|
103114
103779
|
exports.UninstallNodeResultSchema = UninstallNodeResultSchema;
|
|
103115
103780
|
exports.UninstallPackageResultSchema = UninstallPackageResultSchema;
|
|
103116
103781
|
exports.UnitConversionError = UnitConversionError;
|
|
103782
|
+
exports.UnknownRecordKindError = require_sleep.UnknownRecordKindError;
|
|
103117
103783
|
exports.UnstampedEventMediaCountSchema = UnstampedEventMediaCountSchema;
|
|
103118
103784
|
exports.UnstampedRowsSchema = UnstampedRowsSchema;
|
|
103119
103785
|
exports.UpdateBlockerSchema = UpdateBlockerSchema;
|
|
@@ -103225,8 +103891,10 @@ exports.asBoolean = require_sleep.asBoolean;
|
|
|
103225
103891
|
exports.asJsonArray = require_sleep.asJsonArray;
|
|
103226
103892
|
exports.asJsonObject = require_sleep.asJsonObject;
|
|
103227
103893
|
exports.asNumber = require_sleep.asNumber;
|
|
103894
|
+
exports.asRecordsError = require_sleep.asRecordsError;
|
|
103228
103895
|
exports.asString = require_sleep.asString;
|
|
103229
103896
|
exports.assertTimelapseCadences = assertTimelapseCadences;
|
|
103897
|
+
exports.assertValidDeclaration = require_sleep.assertValidDeclaration;
|
|
103230
103898
|
exports.assignNodeColorId = require_node_color.assignNodeColorId;
|
|
103231
103899
|
exports.audioAnalysisCapability = audioAnalysisCapability;
|
|
103232
103900
|
exports.audioAnalyzerCapability = audioAnalyzerCapability;
|
|
@@ -103318,6 +103986,7 @@ exports.collectHydratedFieldValues = require_sleep.collectHydratedFieldValues;
|
|
|
103318
103986
|
exports.collectKeychainStoredKeys = require_sleep.collectKeychainStoredKeys;
|
|
103319
103987
|
exports.collectModelBoundKeys = collectModelBoundKeys;
|
|
103320
103988
|
exports.collectSecretConfigKeys = require_sleep.collectSecretConfigKeys;
|
|
103989
|
+
exports.collectSecretLeaves = require_sleep.collectSecretLeaves;
|
|
103321
103990
|
exports.collectSecretMarkerRefs = require_sleep.collectSecretMarkerRefs;
|
|
103322
103991
|
exports.collectZodSecretPaths = require_sleep.collectZodSecretPaths;
|
|
103323
103992
|
exports.colorCapability = colorCapability;
|
|
@@ -103370,6 +104039,7 @@ exports.createHwAccelCache = createHwAccelCache;
|
|
|
103370
104039
|
exports.createLazyTrpcSource = require_sleep.createLazyTrpcSource;
|
|
103371
104040
|
exports.createLogChannelsProvider = createLogChannelsProvider;
|
|
103372
104041
|
exports.createMirrorSource = require_sleep.createMirrorSource;
|
|
104042
|
+
exports.createRecordsAccess = require_sleep.createRecordsAccess;
|
|
103373
104043
|
exports.createRuntimeStateBridge = createRuntimeStateBridge;
|
|
103374
104044
|
exports.createSecretsAccess = require_sleep.createSecretsAccess;
|
|
103375
104045
|
exports.createSliceHandle = require_sleep.createSliceHandle;
|
|
@@ -103382,13 +104052,18 @@ exports.databaseSnapshotCapability = databaseSnapshotCapability;
|
|
|
103382
104052
|
exports.dayNightCapability = dayNightCapability;
|
|
103383
104053
|
exports.dayOfWeekToIndex = dayOfWeekToIndex;
|
|
103384
104054
|
exports.declarationOwnerNodeId = declarationOwnerNodeId;
|
|
104055
|
+
exports.declarationsOf = require_sleep.declarationsOf;
|
|
103385
104056
|
exports.declareLogChannel = declareLogChannel;
|
|
103386
104057
|
exports.decodeVectorBase64 = decodeVectorBase64;
|
|
103387
104058
|
exports.decoderCapability = decoderCapability;
|
|
103388
104059
|
exports.defaultDeliveryForSection = defaultDeliveryForSection;
|
|
103389
104060
|
exports.defaultDeviceFor = defaultDeviceFor;
|
|
103390
104061
|
exports.defineCustomActions = require_sleep.defineCustomActions;
|
|
104062
|
+
exports.defineEntryKind = require_sleep.defineEntryKind;
|
|
103391
104063
|
exports.defineExtensionSlotProvider = defineExtensionSlotProvider;
|
|
104064
|
+
exports.defineRecordKinds = require_sleep.defineRecordKinds;
|
|
104065
|
+
exports.dehydrateConfigField = require_sleep.dehydrateConfigField;
|
|
104066
|
+
exports.dehydrateSchema = require_sleep.dehydrateSchema;
|
|
103392
104067
|
exports.deleteAlarmProfile = deleteAlarmProfile;
|
|
103393
104068
|
exports.deriveBatteryPresence = deriveBatteryPresence;
|
|
103394
104069
|
exports.deriveCameraSwitches = deriveCameraSwitches;
|
|
@@ -103453,6 +104128,7 @@ exports.emitsCollectionSelector = emitsCollectionSelector;
|
|
|
103453
104128
|
exports.encodeProfileFromStreamShape = encodeProfileFromStreamShape;
|
|
103454
104129
|
exports.encodeVectorBase64 = encodeVectorBase64;
|
|
103455
104130
|
exports.ensureAlarmProfiles = ensureAlarmProfiles;
|
|
104131
|
+
exports.entryBody = require_sleep.entryBody;
|
|
103456
104132
|
exports.enumSensorCapability = enumSensorCapability;
|
|
103457
104133
|
exports.enumerateInferenceDevices = enumerateInferenceDevices;
|
|
103458
104134
|
exports.enumerateItemArrayFields = enumerateItemArrayFields;
|
|
@@ -103649,10 +104325,12 @@ exports.logDestinationCapability = logDestinationCapability;
|
|
|
103649
104325
|
exports.logLevelAtMost = logLevelAtMost;
|
|
103650
104326
|
exports.loginMethodCapability = loginMethodCapability;
|
|
103651
104327
|
exports.looseSchema = looseSchema;
|
|
104328
|
+
exports.makeInMemoryRecords = require_sleep.makeInMemoryRecords;
|
|
103652
104329
|
exports.makeProfileBrokerId = require_sleep.makeProfileBrokerId;
|
|
103653
104330
|
exports.makeSecretMarker = require_sleep.makeSecretMarker;
|
|
103654
104331
|
exports.makeSourceBrokerId = require_sleep.makeSourceBrokerId;
|
|
103655
104332
|
exports.mapAudioLabelToMacro = mapAudioLabelToMacro;
|
|
104333
|
+
exports.mapSecretLeaves = require_sleep.mapSecretLeaves;
|
|
103656
104334
|
exports.markdownToHtmlLite = markdownToHtmlLite;
|
|
103657
104335
|
exports.markdownToText = markdownToText;
|
|
103658
104336
|
exports.maskUrlCredentials = require_sleep.maskUrlCredentials;
|
|
@@ -103734,9 +104412,12 @@ exports.parseProcStatus = parseProcStatus;
|
|
|
103734
104412
|
exports.parseProfileBrokerId = require_sleep.parseProfileBrokerId;
|
|
103735
104413
|
exports.parseRetrainRevisionConflict = parseRetrainRevisionConflict;
|
|
103736
104414
|
exports.parseRuleSection = parseRuleSection;
|
|
104415
|
+
exports.parseSecretPath = require_sleep.parseSecretPath;
|
|
103737
104416
|
exports.parseSecretRef = require_sleep.parseSecretRef;
|
|
103738
104417
|
exports.parseSecretStatePath = require_sleep.parseSecretStatePath;
|
|
103739
104418
|
exports.parseSessionPlacementPolicy = parseSessionPlacementPolicy;
|
|
104419
|
+
exports.parseSettingsArrayAdoptsFrom = require_sleep.parseSettingsArrayAdoptsFrom;
|
|
104420
|
+
exports.parseSettingsBrokersAdoptsFrom = require_sleep.parseSettingsBrokersAdoptsFrom;
|
|
103740
104421
|
exports.parseShareSource = parseShareSource;
|
|
103741
104422
|
exports.parseStreamParamsFormPatch = parseStreamParamsFormPatch;
|
|
103742
104423
|
exports.parseTrainingEventLine = parseTrainingEventLine;
|
|
@@ -103798,11 +104479,17 @@ exports.rebootCapability = rebootCapability;
|
|
|
103798
104479
|
exports.recommendNode = recommendNode;
|
|
103799
104480
|
exports.reconcileBlockDevices = reconcileBlockDevices;
|
|
103800
104481
|
exports.reconcileRemovedDevices = reconcileRemovedDevices;
|
|
104482
|
+
exports.recordArrayItemPath = require_sleep.recordArrayItemPath;
|
|
104483
|
+
exports.recordEntriesCapability = recordEntriesCapability;
|
|
104484
|
+
exports.recordSecretCollection = require_sleep.recordSecretCollection;
|
|
104485
|
+
exports.recordSecretRef = require_sleep.recordSecretRef;
|
|
103801
104486
|
exports.recordingArchiveCapability = recordingArchiveCapability;
|
|
103802
104487
|
exports.recordingCapability = recordingCapability;
|
|
103803
104488
|
exports.recordingExportCapability = recordingExportCapability;
|
|
103804
104489
|
exports.recordingOnboardCapability = recordingOnboardCapability;
|
|
103805
104490
|
exports.recordingSignalCapability = recordingSignalCapability;
|
|
104491
|
+
exports.recordsCapability = recordsCapability;
|
|
104492
|
+
exports.recordsErrorFromMessage = require_sleep.recordsErrorFromMessage;
|
|
103806
104493
|
exports.rectsToCells = rectsToCells;
|
|
103807
104494
|
exports.reducePoints = reducePoints;
|
|
103808
104495
|
exports.registerKnownSecret = require_sleep.registerKnownSecret;
|
|
@@ -103889,6 +104576,7 @@ exports.scoreRuntimes = scoreRuntimes;
|
|
|
103889
104576
|
exports.scriptRunnerCapability = scriptRunnerCapability;
|
|
103890
104577
|
exports.scrubKnownSecrets = require_sleep.scrubKnownSecrets;
|
|
103891
104578
|
exports.searchIcons = searchIcons;
|
|
104579
|
+
exports.secretArrayPrefixes = require_sleep.secretArrayPrefixes;
|
|
103892
104580
|
exports.secretTreeFromPaths = require_sleep.secretTreeFromPaths;
|
|
103893
104581
|
exports.secretTreeFromSchema = require_sleep.secretTreeFromSchema;
|
|
103894
104582
|
exports.secureActuationFor = secureActuationFor;
|
|
@@ -103903,7 +104591,9 @@ exports.servedTemplateVars = servedTemplateVars;
|
|
|
103903
104591
|
exports.serverManagementCapability = serverManagementCapability;
|
|
103904
104592
|
exports.setByPath = setByPath;
|
|
103905
104593
|
exports.settingValuesEqual = settingValuesEqual;
|
|
104594
|
+
exports.settingsArrayAdoptsFrom = require_sleep.settingsArrayAdoptsFrom;
|
|
103906
104595
|
exports.settingsBelow = settingsBelow;
|
|
104596
|
+
exports.settingsBrokersAdoptsFrom = require_sleep.settingsBrokersAdoptsFrom;
|
|
103907
104597
|
exports.settingsStoreCapability = settingsStoreCapability;
|
|
103908
104598
|
exports.shortHostname = shortHostname;
|
|
103909
104599
|
exports.shortSecretRefHash = require_sleep.shortSecretRefHash;
|
|
@@ -104017,6 +104707,7 @@ exports.webrtcSessionCapability = webrtcSessionCapability;
|
|
|
104017
104707
|
exports.weeklyMaskIndex = weeklyMaskIndex;
|
|
104018
104708
|
exports.weeklyMaskIsUniform = weeklyMaskIsUniform;
|
|
104019
104709
|
exports.weeklyMaskToWindows = weeklyMaskToWindows;
|
|
104710
|
+
exports.widenDeviceConstructor = widenDeviceConstructor;
|
|
104020
104711
|
exports.windowsToWeeklyMask = windowsToWeeklyMask;
|
|
104021
104712
|
exports.wiringAddonHealthSchema = wiringAddonHealthSchema;
|
|
104022
104713
|
exports.wiringHealthSnapshotSchema = wiringHealthSnapshotSchema;
|
|
@@ -104025,6 +104716,7 @@ exports.wiringProbeKindSchema = wiringProbeKindSchema;
|
|
|
104025
104716
|
exports.wiringProbeResultSchema = wiringProbeResultSchema;
|
|
104026
104717
|
exports.withFieldFrom = withFieldFrom;
|
|
104027
104718
|
exports.withLocationMode = withLocationMode;
|
|
104719
|
+
exports.withoutCallerStamp = require_sleep.withoutCallerStamp;
|
|
104028
104720
|
exports.withoutField = withoutField;
|
|
104029
104721
|
exports.writeModelBoundSetting = writeModelBoundSetting;
|
|
104030
104722
|
exports.zodEntriesToConfigUI = zodEntriesToConfigUI;
|