@camstack/addon-provider-wyze 0.2.145 → 0.2.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +21 -51
- package/dist/addon.mjs +21 -51
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5446,7 +5446,7 @@ var ZodIssueCode = {
|
|
|
5446
5446
|
var ZodFirstPartyTypeKind;
|
|
5447
5447
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5448
5448
|
//#endregion
|
|
5449
|
-
//#region ../types/dist/sleep-
|
|
5449
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5450
5450
|
/**
|
|
5451
5451
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5452
5452
|
* window to float samples (D455).
|
|
@@ -7994,7 +7994,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7994
7994
|
secretPaths: array(string().min(1)).default([]),
|
|
7995
7995
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7996
7996
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7997
|
-
/**
|
|
7997
|
+
/**
|
|
7998
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7999
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
8000
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
8001
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
8002
|
+
* removal still sends it. Never set it.
|
|
8003
|
+
*/
|
|
7998
8004
|
adoptsFrom: string().min(1).optional(),
|
|
7999
8005
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
8000
8006
|
transactFamily: string().min(1).optional(),
|
|
@@ -16700,11 +16706,12 @@ var DeclareKindResultSchema = object({
|
|
|
16700
16706
|
kindId: number().int(),
|
|
16701
16707
|
state: RecordKindStateSchema,
|
|
16702
16708
|
createdIndexes: array(string()),
|
|
16703
|
-
/**
|
|
16704
|
-
|
|
16705
|
-
|
|
16706
|
-
|
|
16707
|
-
|
|
16709
|
+
/**
|
|
16710
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16711
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16712
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16713
|
+
*/
|
|
16714
|
+
adoptionPending: _null()
|
|
16708
16715
|
});
|
|
16709
16716
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16710
16717
|
var SecretRefsList = array(string());
|
|
@@ -16877,26 +16884,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16877
16884
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16878
16885
|
owner: string().min(1),
|
|
16879
16886
|
kind: RecordKindNameSchema
|
|
16880
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16881
|
-
owner: string().min(1),
|
|
16882
|
-
kind: RecordKindNameSchema,
|
|
16883
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16884
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16885
|
-
complete: boolean().optional()
|
|
16886
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16887
|
-
kind: "mutation",
|
|
16888
|
-
auth: "admin"
|
|
16889
|
-
}), method(object({
|
|
16890
|
-
collection: string().min(1),
|
|
16891
|
-
cursor: string().optional(),
|
|
16892
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16893
|
-
}), object({
|
|
16894
|
-
rows: array(object({
|
|
16895
|
-
id: string(),
|
|
16896
|
-
data: record(string(), unknown())
|
|
16897
|
-
})),
|
|
16898
|
-
nextCursor: string().nullable()
|
|
16899
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16887
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16900
16888
|
/**
|
|
16901
16889
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16902
16890
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -69283,6 +69271,12 @@ Object.freeze({
|
|
|
69283
69271
|
addonId: null,
|
|
69284
69272
|
access: "view"
|
|
69285
69273
|
},
|
|
69274
|
+
"deviceHistory.queryMany": {
|
|
69275
|
+
capName: "device-history",
|
|
69276
|
+
capScope: "system",
|
|
69277
|
+
addonId: null,
|
|
69278
|
+
access: "view"
|
|
69279
|
+
},
|
|
69286
69280
|
"deviceHistory.queryNode": {
|
|
69287
69281
|
capName: "device-history",
|
|
69288
69282
|
capScope: "system",
|
|
@@ -74503,24 +74497,12 @@ Object.freeze({
|
|
|
74503
74497
|
addonId: null,
|
|
74504
74498
|
access: "create"
|
|
74505
74499
|
},
|
|
74506
|
-
"storageAdmin.adoptRecords": {
|
|
74507
|
-
capName: "storage-admin",
|
|
74508
|
-
capScope: "system",
|
|
74509
|
-
addonId: null,
|
|
74510
|
-
access: "create"
|
|
74511
|
-
},
|
|
74512
74500
|
"storageAdmin.dropCollection": {
|
|
74513
74501
|
capName: "storage-admin",
|
|
74514
74502
|
capScope: "system",
|
|
74515
74503
|
addonId: null,
|
|
74516
74504
|
access: "delete"
|
|
74517
74505
|
},
|
|
74518
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74519
|
-
capName: "storage-admin",
|
|
74520
|
-
capScope: "system",
|
|
74521
|
-
addonId: null,
|
|
74522
|
-
access: "view"
|
|
74523
|
-
},
|
|
74524
74506
|
"storageAdmin.listKinds": {
|
|
74525
74507
|
capName: "storage-admin",
|
|
74526
74508
|
capScope: "system",
|
|
@@ -74533,12 +74515,6 @@ Object.freeze({
|
|
|
74533
74515
|
addonId: null,
|
|
74534
74516
|
access: "view"
|
|
74535
74517
|
},
|
|
74536
|
-
"storageAdmin.readLegacyCollection": {
|
|
74537
|
-
capName: "storage-admin",
|
|
74538
|
-
capScope: "system",
|
|
74539
|
-
addonId: null,
|
|
74540
|
-
access: "view"
|
|
74541
|
-
},
|
|
74542
74518
|
"storageAdmin.readRecords": {
|
|
74543
74519
|
capName: "storage-admin",
|
|
74544
74520
|
capScope: "system",
|
|
@@ -78353,12 +78329,6 @@ Object.freeze({
|
|
|
78353
78329
|
form: "single",
|
|
78354
78330
|
optional: false
|
|
78355
78331
|
}],
|
|
78356
|
-
"storageAdmin.adoptRecords": [{
|
|
78357
|
-
name: "records",
|
|
78358
|
-
form: "object-array",
|
|
78359
|
-
optional: false,
|
|
78360
|
-
itemField: "deviceId"
|
|
78361
|
-
}],
|
|
78362
78332
|
"storageAdmin.readRecords": [{
|
|
78363
78333
|
name: "deviceId",
|
|
78364
78334
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5425,7 +5425,7 @@ var ZodIssueCode = {
|
|
|
5425
5425
|
var ZodFirstPartyTypeKind;
|
|
5426
5426
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5427
5427
|
//#endregion
|
|
5428
|
-
//#region ../types/dist/sleep-
|
|
5428
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5429
5429
|
/**
|
|
5430
5430
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5431
5431
|
* window to float samples (D455).
|
|
@@ -7973,7 +7973,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7973
7973
|
secretPaths: array(string().min(1)).default([]),
|
|
7974
7974
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7975
7975
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7976
|
-
/**
|
|
7976
|
+
/**
|
|
7977
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7978
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7979
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7980
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7981
|
+
* removal still sends it. Never set it.
|
|
7982
|
+
*/
|
|
7977
7983
|
adoptsFrom: string().min(1).optional(),
|
|
7978
7984
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7979
7985
|
transactFamily: string().min(1).optional(),
|
|
@@ -16679,11 +16685,12 @@ var DeclareKindResultSchema = object({
|
|
|
16679
16685
|
kindId: number().int(),
|
|
16680
16686
|
state: RecordKindStateSchema,
|
|
16681
16687
|
createdIndexes: array(string()),
|
|
16682
|
-
/**
|
|
16683
|
-
|
|
16684
|
-
|
|
16685
|
-
|
|
16686
|
-
|
|
16688
|
+
/**
|
|
16689
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16690
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16691
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16692
|
+
*/
|
|
16693
|
+
adoptionPending: _null()
|
|
16687
16694
|
});
|
|
16688
16695
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16689
16696
|
var SecretRefsList = array(string());
|
|
@@ -16856,26 +16863,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16856
16863
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16857
16864
|
owner: string().min(1),
|
|
16858
16865
|
kind: RecordKindNameSchema
|
|
16859
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16860
|
-
owner: string().min(1),
|
|
16861
|
-
kind: RecordKindNameSchema,
|
|
16862
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16863
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16864
|
-
complete: boolean().optional()
|
|
16865
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16866
|
-
kind: "mutation",
|
|
16867
|
-
auth: "admin"
|
|
16868
|
-
}), method(object({
|
|
16869
|
-
collection: string().min(1),
|
|
16870
|
-
cursor: string().optional(),
|
|
16871
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16872
|
-
}), object({
|
|
16873
|
-
rows: array(object({
|
|
16874
|
-
id: string(),
|
|
16875
|
-
data: record(string(), unknown())
|
|
16876
|
-
})),
|
|
16877
|
-
nextCursor: string().nullable()
|
|
16878
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16866
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16879
16867
|
/**
|
|
16880
16868
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16881
16869
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -69262,6 +69250,12 @@ Object.freeze({
|
|
|
69262
69250
|
addonId: null,
|
|
69263
69251
|
access: "view"
|
|
69264
69252
|
},
|
|
69253
|
+
"deviceHistory.queryMany": {
|
|
69254
|
+
capName: "device-history",
|
|
69255
|
+
capScope: "system",
|
|
69256
|
+
addonId: null,
|
|
69257
|
+
access: "view"
|
|
69258
|
+
},
|
|
69265
69259
|
"deviceHistory.queryNode": {
|
|
69266
69260
|
capName: "device-history",
|
|
69267
69261
|
capScope: "system",
|
|
@@ -74482,24 +74476,12 @@ Object.freeze({
|
|
|
74482
74476
|
addonId: null,
|
|
74483
74477
|
access: "create"
|
|
74484
74478
|
},
|
|
74485
|
-
"storageAdmin.adoptRecords": {
|
|
74486
|
-
capName: "storage-admin",
|
|
74487
|
-
capScope: "system",
|
|
74488
|
-
addonId: null,
|
|
74489
|
-
access: "create"
|
|
74490
|
-
},
|
|
74491
74479
|
"storageAdmin.dropCollection": {
|
|
74492
74480
|
capName: "storage-admin",
|
|
74493
74481
|
capScope: "system",
|
|
74494
74482
|
addonId: null,
|
|
74495
74483
|
access: "delete"
|
|
74496
74484
|
},
|
|
74497
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
74498
|
-
capName: "storage-admin",
|
|
74499
|
-
capScope: "system",
|
|
74500
|
-
addonId: null,
|
|
74501
|
-
access: "view"
|
|
74502
|
-
},
|
|
74503
74485
|
"storageAdmin.listKinds": {
|
|
74504
74486
|
capName: "storage-admin",
|
|
74505
74487
|
capScope: "system",
|
|
@@ -74512,12 +74494,6 @@ Object.freeze({
|
|
|
74512
74494
|
addonId: null,
|
|
74513
74495
|
access: "view"
|
|
74514
74496
|
},
|
|
74515
|
-
"storageAdmin.readLegacyCollection": {
|
|
74516
|
-
capName: "storage-admin",
|
|
74517
|
-
capScope: "system",
|
|
74518
|
-
addonId: null,
|
|
74519
|
-
access: "view"
|
|
74520
|
-
},
|
|
74521
74497
|
"storageAdmin.readRecords": {
|
|
74522
74498
|
capName: "storage-admin",
|
|
74523
74499
|
capScope: "system",
|
|
@@ -78332,12 +78308,6 @@ Object.freeze({
|
|
|
78332
78308
|
form: "single",
|
|
78333
78309
|
optional: false
|
|
78334
78310
|
}],
|
|
78335
|
-
"storageAdmin.adoptRecords": [{
|
|
78336
|
-
name: "records",
|
|
78337
|
-
form: "object-array",
|
|
78338
|
-
optional: false,
|
|
78339
|
-
itemField: "deviceId"
|
|
78340
|
-
}],
|
|
78341
78311
|
"storageAdmin.readRecords": [{
|
|
78342
78312
|
name: "deviceId",
|
|
78343
78313
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.146",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|