@camstack/addon-export-google 0.1.99 → 0.1.100
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/export-google.addon.js +21 -51
- package/dist/export-google.addon.mjs +21 -51
- package/package.json +1 -1
|
@@ -5492,7 +5492,7 @@ var ZodIssueCode = {
|
|
|
5492
5492
|
var ZodFirstPartyTypeKind;
|
|
5493
5493
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5494
5494
|
//#endregion
|
|
5495
|
-
//#region ../types/dist/sleep-
|
|
5495
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5496
5496
|
/**
|
|
5497
5497
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5498
5498
|
* 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(),
|
|
@@ -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
|
|
@@ -64135,6 +64123,12 @@ Object.freeze({
|
|
|
64135
64123
|
addonId: null,
|
|
64136
64124
|
access: "view"
|
|
64137
64125
|
},
|
|
64126
|
+
"deviceHistory.queryMany": {
|
|
64127
|
+
capName: "device-history",
|
|
64128
|
+
capScope: "system",
|
|
64129
|
+
addonId: null,
|
|
64130
|
+
access: "view"
|
|
64131
|
+
},
|
|
64138
64132
|
"deviceHistory.queryNode": {
|
|
64139
64133
|
capName: "device-history",
|
|
64140
64134
|
capScope: "system",
|
|
@@ -69355,24 +69349,12 @@ Object.freeze({
|
|
|
69355
69349
|
addonId: null,
|
|
69356
69350
|
access: "create"
|
|
69357
69351
|
},
|
|
69358
|
-
"storageAdmin.adoptRecords": {
|
|
69359
|
-
capName: "storage-admin",
|
|
69360
|
-
capScope: "system",
|
|
69361
|
-
addonId: null,
|
|
69362
|
-
access: "create"
|
|
69363
|
-
},
|
|
69364
69352
|
"storageAdmin.dropCollection": {
|
|
69365
69353
|
capName: "storage-admin",
|
|
69366
69354
|
capScope: "system",
|
|
69367
69355
|
addonId: null,
|
|
69368
69356
|
access: "delete"
|
|
69369
69357
|
},
|
|
69370
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69371
|
-
capName: "storage-admin",
|
|
69372
|
-
capScope: "system",
|
|
69373
|
-
addonId: null,
|
|
69374
|
-
access: "view"
|
|
69375
|
-
},
|
|
69376
69358
|
"storageAdmin.listKinds": {
|
|
69377
69359
|
capName: "storage-admin",
|
|
69378
69360
|
capScope: "system",
|
|
@@ -69385,12 +69367,6 @@ Object.freeze({
|
|
|
69385
69367
|
addonId: null,
|
|
69386
69368
|
access: "view"
|
|
69387
69369
|
},
|
|
69388
|
-
"storageAdmin.readLegacyCollection": {
|
|
69389
|
-
capName: "storage-admin",
|
|
69390
|
-
capScope: "system",
|
|
69391
|
-
addonId: null,
|
|
69392
|
-
access: "view"
|
|
69393
|
-
},
|
|
69394
69370
|
"storageAdmin.readRecords": {
|
|
69395
69371
|
capName: "storage-admin",
|
|
69396
69372
|
capScope: "system",
|
|
@@ -73205,12 +73181,6 @@ Object.freeze({
|
|
|
73205
73181
|
form: "single",
|
|
73206
73182
|
optional: false
|
|
73207
73183
|
}],
|
|
73208
|
-
"storageAdmin.adoptRecords": [{
|
|
73209
|
-
name: "records",
|
|
73210
|
-
form: "object-array",
|
|
73211
|
-
optional: false,
|
|
73212
|
-
itemField: "deviceId"
|
|
73213
|
-
}],
|
|
73214
73184
|
"storageAdmin.readRecords": [{
|
|
73215
73185
|
name: "deviceId",
|
|
73216
73186
|
form: "single",
|
|
@@ -5488,7 +5488,7 @@ var ZodIssueCode = {
|
|
|
5488
5488
|
var ZodFirstPartyTypeKind;
|
|
5489
5489
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5490
5490
|
//#endregion
|
|
5491
|
-
//#region ../types/dist/sleep-
|
|
5491
|
+
//#region ../types/dist/sleep-CSuN0thG.mjs
|
|
5492
5492
|
/**
|
|
5493
5493
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5494
5494
|
* window to float samples (D455).
|
|
@@ -7969,7 +7969,13 @@ var RecordKindDeclarationSchema = object({
|
|
|
7969
7969
|
secretPaths: array(string().min(1)).default([]),
|
|
7970
7970
|
/** The id key of each array that carries a secret (`{ headers: 'name' }`). */
|
|
7971
7971
|
secretArrayKeys: record(string(), string()).default({}),
|
|
7972
|
-
/**
|
|
7972
|
+
/**
|
|
7973
|
+
* RETIRED (D900): the legacy table a kind adopted from during the records
|
|
7974
|
+
* migration. Nothing declares it any more and nothing reads it; the schema
|
|
7975
|
+
* still ACCEPTS it because the catalog rows the migration wrote carry it
|
|
7976
|
+
* (an orphaned kind is never redeclared) and an addon built before the
|
|
7977
|
+
* removal still sends it. Never set it.
|
|
7978
|
+
*/
|
|
7973
7979
|
adoptsFrom: string().min(1).optional(),
|
|
7974
7980
|
/** Kinds that must agree through `transact` sit in one file under one family name. */
|
|
7975
7981
|
transactFamily: string().min(1).optional(),
|
|
@@ -16696,11 +16702,12 @@ var DeclareKindResultSchema = object({
|
|
|
16696
16702
|
kindId: number().int(),
|
|
16697
16703
|
state: RecordKindStateSchema,
|
|
16698
16704
|
createdIndexes: array(string()),
|
|
16699
|
-
/**
|
|
16700
|
-
|
|
16701
|
-
|
|
16702
|
-
|
|
16703
|
-
|
|
16705
|
+
/**
|
|
16706
|
+
* RETIRED (D900): always `null`. It carried the records-migration boot guard;
|
|
16707
|
+
* it stays on the wire, null, because an addon built before the removal reads
|
|
16708
|
+
* an ABSENT field as "adoption pending" and refuses to start.
|
|
16709
|
+
*/
|
|
16710
|
+
adoptionPending: _null()
|
|
16704
16711
|
});
|
|
16705
16712
|
/** Keychain refs a write released (the old marker is gone from the row): the owner deletes the values. */
|
|
16706
16713
|
var SecretRefsList = array(string());
|
|
@@ -16873,26 +16880,7 @@ method(object({ ownerPrefix: string().min(1).optional() }), object({ tables: arr
|
|
|
16873
16880
|
}), object({ kinds: array(StorageKindSchema) }), { auth: "admin" }), method(RecordQueryInputSchema.extend({
|
|
16874
16881
|
owner: string().min(1),
|
|
16875
16882
|
kind: RecordKindNameSchema
|
|
16876
|
-
}), RecordQueryResultSchema, { auth: "admin" })
|
|
16877
|
-
owner: string().min(1),
|
|
16878
|
-
kind: RecordKindNameSchema,
|
|
16879
|
-
records: array(RecordInputSchema).max(RECORD_BATCH_MAX),
|
|
16880
|
-
/** The LAST batch: the copy is complete, the boot guard stops asking. */
|
|
16881
|
-
complete: boolean().optional()
|
|
16882
|
-
}).refine((input) => input.records.length > 0 || input.complete === true, { message: "records must be non-empty unless complete is true" }), object({ adopted: number().int() }), {
|
|
16883
|
-
kind: "mutation",
|
|
16884
|
-
auth: "admin"
|
|
16885
|
-
}), method(object({
|
|
16886
|
-
collection: string().min(1),
|
|
16887
|
-
cursor: string().optional(),
|
|
16888
|
-
limit: number().int().min(1).max(1e3).optional()
|
|
16889
|
-
}), object({
|
|
16890
|
-
rows: array(object({
|
|
16891
|
-
id: string(),
|
|
16892
|
-
data: record(string(), unknown())
|
|
16893
|
-
})),
|
|
16894
|
-
nextCursor: string().nullable()
|
|
16895
|
-
}), { auth: "admin" }), method(object({ collection: string().min(1) }), object({ adopted: boolean() }), { auth: "admin" });
|
|
16883
|
+
}), RecordQueryResultSchema, { auth: "admin" });
|
|
16896
16884
|
/**
|
|
16897
16885
|
* record-entries - the ONE admin surface for every list of user-created entries
|
|
16898
16886
|
* (D881): notification targets, brokers, LLM profiles, anything an addon
|
|
@@ -64131,6 +64119,12 @@ Object.freeze({
|
|
|
64131
64119
|
addonId: null,
|
|
64132
64120
|
access: "view"
|
|
64133
64121
|
},
|
|
64122
|
+
"deviceHistory.queryMany": {
|
|
64123
|
+
capName: "device-history",
|
|
64124
|
+
capScope: "system",
|
|
64125
|
+
addonId: null,
|
|
64126
|
+
access: "view"
|
|
64127
|
+
},
|
|
64134
64128
|
"deviceHistory.queryNode": {
|
|
64135
64129
|
capName: "device-history",
|
|
64136
64130
|
capScope: "system",
|
|
@@ -69351,24 +69345,12 @@ Object.freeze({
|
|
|
69351
69345
|
addonId: null,
|
|
69352
69346
|
access: "create"
|
|
69353
69347
|
},
|
|
69354
|
-
"storageAdmin.adoptRecords": {
|
|
69355
|
-
capName: "storage-admin",
|
|
69356
|
-
capScope: "system",
|
|
69357
|
-
addonId: null,
|
|
69358
|
-
access: "create"
|
|
69359
|
-
},
|
|
69360
69348
|
"storageAdmin.dropCollection": {
|
|
69361
69349
|
capName: "storage-admin",
|
|
69362
69350
|
capScope: "system",
|
|
69363
69351
|
addonId: null,
|
|
69364
69352
|
access: "delete"
|
|
69365
69353
|
},
|
|
69366
|
-
"storageAdmin.isAdoptedLegacyTable": {
|
|
69367
|
-
capName: "storage-admin",
|
|
69368
|
-
capScope: "system",
|
|
69369
|
-
addonId: null,
|
|
69370
|
-
access: "view"
|
|
69371
|
-
},
|
|
69372
69354
|
"storageAdmin.listKinds": {
|
|
69373
69355
|
capName: "storage-admin",
|
|
69374
69356
|
capScope: "system",
|
|
@@ -69381,12 +69363,6 @@ Object.freeze({
|
|
|
69381
69363
|
addonId: null,
|
|
69382
69364
|
access: "view"
|
|
69383
69365
|
},
|
|
69384
|
-
"storageAdmin.readLegacyCollection": {
|
|
69385
|
-
capName: "storage-admin",
|
|
69386
|
-
capScope: "system",
|
|
69387
|
-
addonId: null,
|
|
69388
|
-
access: "view"
|
|
69389
|
-
},
|
|
69390
69366
|
"storageAdmin.readRecords": {
|
|
69391
69367
|
capName: "storage-admin",
|
|
69392
69368
|
capScope: "system",
|
|
@@ -73201,12 +73177,6 @@ Object.freeze({
|
|
|
73201
73177
|
form: "single",
|
|
73202
73178
|
optional: false
|
|
73203
73179
|
}],
|
|
73204
|
-
"storageAdmin.adoptRecords": [{
|
|
73205
|
-
name: "records",
|
|
73206
|
-
form: "object-array",
|
|
73207
|
-
optional: false,
|
|
73208
|
-
itemField: "deviceId"
|
|
73209
|
-
}],
|
|
73210
73180
|
"storageAdmin.readRecords": [{
|
|
73211
73181
|
name: "deviceId",
|
|
73212
73182
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.100",
|
|
4
4
|
"description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|