@camstack/addon-export-google 0.1.126 → 0.1.127
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/export-google.addon.js +76 -58
- package/dist/export-google.addon.mjs +76 -58
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6060,7 +6060,7 @@ var ZodIssueCode = {
|
|
|
6060
6060
|
var ZodFirstPartyTypeKind;
|
|
6061
6061
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6062
6062
|
//#endregion
|
|
6063
|
-
//#region ../types/dist/sleep-
|
|
6063
|
+
//#region ../types/dist/sleep-9TIHFj1w.mjs
|
|
6064
6064
|
/**
|
|
6065
6065
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6066
6066
|
* window to float samples (D455).
|
|
@@ -8004,10 +8004,9 @@ var BaseAddon = class {
|
|
|
8004
8004
|
*
|
|
8005
8005
|
* Override it only when an `instanceMode: multiple` addon's instances differ: an NVR integration
|
|
8006
8006
|
* needs its connection fields, the default integration the addon's own sections. It is the
|
|
8007
|
-
* SHAPE of the form only — the values live
|
|
8008
|
-
* unchanged (`integrations.setSettings` for an account integration).
|
|
8007
|
+
* SHAPE of the form only — the values live on the instance record.
|
|
8009
8008
|
*/
|
|
8010
|
-
async
|
|
8009
|
+
async integrationFormSchema(_instance) {
|
|
8011
8010
|
return null;
|
|
8012
8011
|
}
|
|
8013
8012
|
/**
|
|
@@ -8053,7 +8052,7 @@ var BaseAddon = class {
|
|
|
8053
8052
|
* per-instance schema when it declares one, else its global schema (what they always showed).
|
|
8054
8053
|
*/
|
|
8055
8054
|
async getIntegrationFormSchema(instance, nodeId) {
|
|
8056
|
-
const scoped = await this.
|
|
8055
|
+
const scoped = await this.integrationFormSchema(instance);
|
|
8057
8056
|
if (scoped === null) return this.getGlobalSettings(void 0, void 0, nodeId);
|
|
8058
8057
|
return hydrateSchema(scoped, {}, { inlineSecretsAsViews: true });
|
|
8059
8058
|
}
|
|
@@ -11986,7 +11985,7 @@ object({
|
|
|
11986
11985
|
params: record(string(), union([string(), number()])).optional()
|
|
11987
11986
|
});
|
|
11988
11987
|
//#endregion
|
|
11989
|
-
//#region ../types/dist/composition-
|
|
11988
|
+
//#region ../types/dist/composition-pOHbTzRB.mjs
|
|
11990
11989
|
/**
|
|
11991
11990
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
11992
11991
|
*
|
|
@@ -49312,6 +49311,9 @@ var RunningProposalEvidenceSchema = object({
|
|
|
49312
49311
|
runsFound: number().int().nonnegative(),
|
|
49313
49312
|
pausesFound: number().int().nonnegative(),
|
|
49314
49313
|
longestPauseMs: number().nonnegative(),
|
|
49314
|
+
/** Episodes shorter than ~90 s (an anti-crease pulse, a display waking): never a run, never a pause. */
|
|
49315
|
+
pulsesFound: number().int().nonnegative(),
|
|
49316
|
+
longestPulseMs: number().nonnegative(),
|
|
49315
49317
|
idleFloorW: number(),
|
|
49316
49318
|
noiseCeilingW: number(),
|
|
49317
49319
|
plateauW: number(),
|
|
@@ -50586,12 +50588,12 @@ var deviceExportCapability = {
|
|
|
50586
50588
|
kind: "poll"
|
|
50587
50589
|
},
|
|
50588
50590
|
/**
|
|
50589
|
-
* Each export provider
|
|
50590
|
-
* (enabled toggle, preferred stream, addon-specific knobs
|
|
50591
|
-
*
|
|
50592
|
-
* `
|
|
50593
|
-
* `
|
|
50594
|
-
*
|
|
50591
|
+
* Each export provider MAY contribute its own per-device "Export" panel
|
|
50592
|
+
* (enabled toggle, preferred stream, addon-specific knobs). The three
|
|
50593
|
+
* framework methods are mounted on the cap router when present.
|
|
50594
|
+
* `IDeviceExportProvider` leaves them optional: an exporter with no
|
|
50595
|
+
* per-device panel omits them (a `deviceConfig` cap's UI is derived and
|
|
50596
|
+
* never hand-written — D14 — and an exporter is not one of those).
|
|
50595
50597
|
*/
|
|
50596
50598
|
exposesDeviceSettings: true,
|
|
50597
50599
|
methods: {
|
|
@@ -54282,11 +54284,7 @@ var CreateIntegrationInputSchema = object({
|
|
|
54282
54284
|
info: record(string(), unknown()).optional(),
|
|
54283
54285
|
/** `stableId` of the discovery candidate the form was seeded from (D984). */
|
|
54284
54286
|
originStableId: string().optional(),
|
|
54285
|
-
settings: record(string(), unknown()).optional()
|
|
54286
|
-
/** Keys of `settings` the form's schema declares secret (by type) — kept in
|
|
54287
|
-
* the keychain, not the table (D787). */
|
|
54288
|
-
secretKeys: array(string()).optional(),
|
|
54289
|
-
skipRestart: boolean().optional()
|
|
54287
|
+
settings: record(string(), unknown()).optional()
|
|
54290
54288
|
});
|
|
54291
54289
|
var UpdateIntegrationInputSchema = object({
|
|
54292
54290
|
id: string(),
|
|
@@ -54307,22 +54305,6 @@ method(_void(), array(IntegrationWithStateSchema)), method(object({ id: string()
|
|
|
54307
54305
|
}), method(object({ id: string() }), DeleteIntegrationResultSchema, {
|
|
54308
54306
|
kind: "mutation",
|
|
54309
54307
|
auth: "admin"
|
|
54310
|
-
}), method(object({ id: string() }), record(string(), unknown()), { auth: "admin" }), method(object({
|
|
54311
|
-
id: string(),
|
|
54312
|
-
settings: record(string(), unknown()),
|
|
54313
|
-
/** Keys the form's schema declares secret (by type) — keychain-stored (D787). */
|
|
54314
|
-
secretKeys: array(string()).optional(),
|
|
54315
|
-
/** The integration's own addon applies the change in-process and asks the hub not to respawn it. */
|
|
54316
|
-
skipRestart: boolean().optional()
|
|
54317
|
-
}), object({ success: boolean() }), {
|
|
54318
|
-
kind: "mutation",
|
|
54319
|
-
auth: "admin"
|
|
54320
|
-
}), method(object({ id: string() }), object({
|
|
54321
|
-
rows: number().int().nonnegative(),
|
|
54322
|
-
secrets: number().int().nonnegative()
|
|
54323
|
-
}), {
|
|
54324
|
-
kind: "mutation",
|
|
54325
|
-
auth: "admin"
|
|
54326
54308
|
}), method(_void(), array(AvailableIntegrationTypeSchema), { auth: "admin" }), method(object({
|
|
54327
54309
|
addonId: string(),
|
|
54328
54310
|
settings: record(string(), unknown())
|
|
@@ -57047,6 +57029,27 @@ method(object({}), object({ entries: array(MigrationLedgerEntrySchema) }), { aut
|
|
|
57047
57029
|
}), {
|
|
57048
57030
|
kind: "mutation",
|
|
57049
57031
|
auth: "admin"
|
|
57032
|
+
}), method(object({ integrationId: string().min(1) }), record(string(), unknown()), { auth: "admin" }), method(object({ integrationId: string().min(1) }), object({
|
|
57033
|
+
rows: number().int().nonnegative(),
|
|
57034
|
+
secrets: number().int().nonnegative()
|
|
57035
|
+
}), {
|
|
57036
|
+
kind: "mutation",
|
|
57037
|
+
auth: "admin"
|
|
57038
|
+
}), method(object({
|
|
57039
|
+
integrationId: string().min(1),
|
|
57040
|
+
patch: record(string(), unknown())
|
|
57041
|
+
}), object({ written: boolean() }), {
|
|
57042
|
+
kind: "mutation",
|
|
57043
|
+
auth: "admin"
|
|
57044
|
+
}), method(object({
|
|
57045
|
+
integrationId: string().min(1),
|
|
57046
|
+
keys: array(string().min(1))
|
|
57047
|
+
}), object({
|
|
57048
|
+
present: boolean(),
|
|
57049
|
+
removed: record(string(), unknown())
|
|
57050
|
+
}), {
|
|
57051
|
+
kind: "mutation",
|
|
57052
|
+
auth: "admin"
|
|
57050
57053
|
});
|
|
57051
57054
|
method(object({
|
|
57052
57055
|
sourceUrl: string(),
|
|
@@ -76231,11 +76234,15 @@ discriminatedUnion("kind", [object({
|
|
|
76231
76234
|
* 1. idle floor F = time-weighted median; noise ceiling N = highest value seen
|
|
76232
76235
|
* near F. A device that is not near one level most of the time has no floor.
|
|
76233
76236
|
* 2. coarse activity = above max(2N, N + 5 W); consecutive stretches are episodes.
|
|
76234
|
-
* 3.
|
|
76235
|
-
*
|
|
76237
|
+
* 3. an episode shorter than `PULSE_MAX_MS` is a PULSE (an anti-crease tumble, a
|
|
76238
|
+
* display waking): it is neither a run nor a pause. Among the remaining
|
|
76239
|
+
* episodes, gaps over `PAUSE_MAX_MS` always separate runs; the rest split in
|
|
76240
|
+
* two by the largest log-scale jump (>= 3x): the short ones are pauses INSIDE
|
|
76241
|
+
* a run (a soak), the long ones separate runs. A stretch under `MIN_RUN_MS`
|
|
76242
|
+
* is no run.
|
|
76236
76243
|
* 4. T = geometric mean of N and the plateau's 10th percentile, snapped to a
|
|
76237
|
-
* grid a person would type; stop dwell covers the longest pause
|
|
76238
|
-
* covers the longest standby blip above T.
|
|
76244
|
+
* grid a person would type; stop dwell covers the longest pause and the
|
|
76245
|
+
* kind's floor; start dwell covers the longest pulse and standby blip above T.
|
|
76239
76246
|
* 5. the numbers are proved by REPLAY through the real `dwell` evaluation: each
|
|
76240
76247
|
* run must hold exactly one true interval and nothing may flap outside.
|
|
76241
76248
|
*/
|
|
@@ -76246,6 +76253,10 @@ var MINUTE_MS$1 = 60 * SECOND_MS;
|
|
|
76246
76253
|
30 * SECOND_MS;
|
|
76247
76254
|
60 * SECOND_MS;
|
|
76248
76255
|
20 * MINUTE_MS$1;
|
|
76256
|
+
90 * SECOND_MS;
|
|
76257
|
+
30 * MINUTE_MS$1;
|
|
76258
|
+
10 * MINUTE_MS$1;
|
|
76259
|
+
DeviceType.Dryer, 3 * MINUTE_MS$1, DeviceType.Dishwasher, 3 * MINUTE_MS$1, DeviceType.Washer, 10 * MINUTE_MS$1;
|
|
76249
76260
|
10 * SECOND_MS;
|
|
76250
76261
|
10 * SECOND_MS;
|
|
76251
76262
|
DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.CoverStoppable, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.ValvePositionable, DeviceFeature.MediaPlayerVolume, DeviceFeature.ClimateFanMode;
|
|
@@ -79966,13 +79977,6 @@ Object.freeze({
|
|
|
79966
79977
|
access: "create",
|
|
79967
79978
|
role: "admin"
|
|
79968
79979
|
},
|
|
79969
|
-
"integrations.clearSettings": {
|
|
79970
|
-
capName: "integrations",
|
|
79971
|
-
capScope: "system",
|
|
79972
|
-
addonId: null,
|
|
79973
|
-
access: "delete",
|
|
79974
|
-
role: "admin"
|
|
79975
|
-
},
|
|
79976
79980
|
"integrations.create": {
|
|
79977
79981
|
capName: "integrations",
|
|
79978
79982
|
capScope: "system",
|
|
@@ -80008,13 +80012,6 @@ Object.freeze({
|
|
|
80008
80012
|
access: "view",
|
|
80009
80013
|
role: "admin"
|
|
80010
80014
|
},
|
|
80011
|
-
"integrations.getSettings": {
|
|
80012
|
-
capName: "integrations",
|
|
80013
|
-
capScope: "system",
|
|
80014
|
-
addonId: null,
|
|
80015
|
-
access: "view",
|
|
80016
|
-
role: "admin"
|
|
80017
|
-
},
|
|
80018
80015
|
"integrations.list": {
|
|
80019
80016
|
capName: "integrations",
|
|
80020
80017
|
capScope: "system",
|
|
@@ -80022,13 +80019,6 @@ Object.freeze({
|
|
|
80022
80019
|
access: "view",
|
|
80023
80020
|
role: "admin"
|
|
80024
80021
|
},
|
|
80025
|
-
"integrations.setSettings": {
|
|
80026
|
-
capName: "integrations",
|
|
80027
|
-
capScope: "system",
|
|
80028
|
-
addonId: null,
|
|
80029
|
-
access: "create",
|
|
80030
|
-
role: "admin"
|
|
80031
|
-
},
|
|
80032
80022
|
"integrations.testConnection": {
|
|
80033
80023
|
capName: "integrations",
|
|
80034
80024
|
capScope: "system",
|
|
@@ -81023,6 +81013,13 @@ Object.freeze({
|
|
|
81023
81013
|
access: "view",
|
|
81024
81014
|
role: "admin"
|
|
81025
81015
|
},
|
|
81016
|
+
"migrations.clearLegacyIntegrationRows": {
|
|
81017
|
+
capName: "migrations",
|
|
81018
|
+
capScope: "system",
|
|
81019
|
+
addonId: null,
|
|
81020
|
+
access: "delete",
|
|
81021
|
+
role: "admin"
|
|
81022
|
+
},
|
|
81026
81023
|
"migrations.declareOwner": {
|
|
81027
81024
|
capName: "migrations",
|
|
81028
81025
|
capScope: "system",
|
|
@@ -81030,6 +81027,13 @@ Object.freeze({
|
|
|
81030
81027
|
access: "create",
|
|
81031
81028
|
role: "admin"
|
|
81032
81029
|
},
|
|
81030
|
+
"migrations.deleteLegacyIntegrationRowKeys": {
|
|
81031
|
+
capName: "migrations",
|
|
81032
|
+
capScope: "system",
|
|
81033
|
+
addonId: null,
|
|
81034
|
+
access: "delete",
|
|
81035
|
+
role: "admin"
|
|
81036
|
+
},
|
|
81033
81037
|
"migrations.dryRun": {
|
|
81034
81038
|
capName: "migrations",
|
|
81035
81039
|
capScope: "system",
|
|
@@ -81065,6 +81069,20 @@ Object.freeze({
|
|
|
81065
81069
|
access: "create",
|
|
81066
81070
|
role: "admin"
|
|
81067
81071
|
},
|
|
81072
|
+
"migrations.patchLegacyIntegrationRows": {
|
|
81073
|
+
capName: "migrations",
|
|
81074
|
+
capScope: "system",
|
|
81075
|
+
addonId: null,
|
|
81076
|
+
access: "create",
|
|
81077
|
+
role: "admin"
|
|
81078
|
+
},
|
|
81079
|
+
"migrations.readLegacyIntegrationRows": {
|
|
81080
|
+
capName: "migrations",
|
|
81081
|
+
capScope: "system",
|
|
81082
|
+
addonId: null,
|
|
81083
|
+
access: "view",
|
|
81084
|
+
role: "admin"
|
|
81085
|
+
},
|
|
81068
81086
|
"migrations.restorePreMigration": {
|
|
81069
81087
|
capName: "migrations",
|
|
81070
81088
|
capScope: "system",
|
|
@@ -6056,7 +6056,7 @@ var ZodIssueCode = {
|
|
|
6056
6056
|
var ZodFirstPartyTypeKind;
|
|
6057
6057
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6058
6058
|
//#endregion
|
|
6059
|
-
//#region ../types/dist/sleep-
|
|
6059
|
+
//#region ../types/dist/sleep-9TIHFj1w.mjs
|
|
6060
6060
|
/**
|
|
6061
6061
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6062
6062
|
* window to float samples (D455).
|
|
@@ -8000,10 +8000,9 @@ var BaseAddon = class {
|
|
|
8000
8000
|
*
|
|
8001
8001
|
* Override it only when an `instanceMode: multiple` addon's instances differ: an NVR integration
|
|
8002
8002
|
* needs its connection fields, the default integration the addon's own sections. It is the
|
|
8003
|
-
* SHAPE of the form only — the values live
|
|
8004
|
-
* unchanged (`integrations.setSettings` for an account integration).
|
|
8003
|
+
* SHAPE of the form only — the values live on the instance record.
|
|
8005
8004
|
*/
|
|
8006
|
-
async
|
|
8005
|
+
async integrationFormSchema(_instance) {
|
|
8007
8006
|
return null;
|
|
8008
8007
|
}
|
|
8009
8008
|
/**
|
|
@@ -8049,7 +8048,7 @@ var BaseAddon = class {
|
|
|
8049
8048
|
* per-instance schema when it declares one, else its global schema (what they always showed).
|
|
8050
8049
|
*/
|
|
8051
8050
|
async getIntegrationFormSchema(instance, nodeId) {
|
|
8052
|
-
const scoped = await this.
|
|
8051
|
+
const scoped = await this.integrationFormSchema(instance);
|
|
8053
8052
|
if (scoped === null) return this.getGlobalSettings(void 0, void 0, nodeId);
|
|
8054
8053
|
return hydrateSchema(scoped, {}, { inlineSecretsAsViews: true });
|
|
8055
8054
|
}
|
|
@@ -11982,7 +11981,7 @@ object({
|
|
|
11982
11981
|
params: record(string(), union([string(), number()])).optional()
|
|
11983
11982
|
});
|
|
11984
11983
|
//#endregion
|
|
11985
|
-
//#region ../types/dist/composition-
|
|
11984
|
+
//#region ../types/dist/composition-pOHbTzRB.mjs
|
|
11986
11985
|
/**
|
|
11987
11986
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
11988
11987
|
*
|
|
@@ -49308,6 +49307,9 @@ var RunningProposalEvidenceSchema = object({
|
|
|
49308
49307
|
runsFound: number().int().nonnegative(),
|
|
49309
49308
|
pausesFound: number().int().nonnegative(),
|
|
49310
49309
|
longestPauseMs: number().nonnegative(),
|
|
49310
|
+
/** Episodes shorter than ~90 s (an anti-crease pulse, a display waking): never a run, never a pause. */
|
|
49311
|
+
pulsesFound: number().int().nonnegative(),
|
|
49312
|
+
longestPulseMs: number().nonnegative(),
|
|
49311
49313
|
idleFloorW: number(),
|
|
49312
49314
|
noiseCeilingW: number(),
|
|
49313
49315
|
plateauW: number(),
|
|
@@ -50582,12 +50584,12 @@ var deviceExportCapability = {
|
|
|
50582
50584
|
kind: "poll"
|
|
50583
50585
|
},
|
|
50584
50586
|
/**
|
|
50585
|
-
* Each export provider
|
|
50586
|
-
* (enabled toggle, preferred stream, addon-specific knobs
|
|
50587
|
-
*
|
|
50588
|
-
* `
|
|
50589
|
-
* `
|
|
50590
|
-
*
|
|
50587
|
+
* Each export provider MAY contribute its own per-device "Export" panel
|
|
50588
|
+
* (enabled toggle, preferred stream, addon-specific knobs). The three
|
|
50589
|
+
* framework methods are mounted on the cap router when present.
|
|
50590
|
+
* `IDeviceExportProvider` leaves them optional: an exporter with no
|
|
50591
|
+
* per-device panel omits them (a `deviceConfig` cap's UI is derived and
|
|
50592
|
+
* never hand-written — D14 — and an exporter is not one of those).
|
|
50591
50593
|
*/
|
|
50592
50594
|
exposesDeviceSettings: true,
|
|
50593
50595
|
methods: {
|
|
@@ -54278,11 +54280,7 @@ var CreateIntegrationInputSchema = object({
|
|
|
54278
54280
|
info: record(string(), unknown()).optional(),
|
|
54279
54281
|
/** `stableId` of the discovery candidate the form was seeded from (D984). */
|
|
54280
54282
|
originStableId: string().optional(),
|
|
54281
|
-
settings: record(string(), unknown()).optional()
|
|
54282
|
-
/** Keys of `settings` the form's schema declares secret (by type) — kept in
|
|
54283
|
-
* the keychain, not the table (D787). */
|
|
54284
|
-
secretKeys: array(string()).optional(),
|
|
54285
|
-
skipRestart: boolean().optional()
|
|
54283
|
+
settings: record(string(), unknown()).optional()
|
|
54286
54284
|
});
|
|
54287
54285
|
var UpdateIntegrationInputSchema = object({
|
|
54288
54286
|
id: string(),
|
|
@@ -54303,22 +54301,6 @@ method(_void(), array(IntegrationWithStateSchema)), method(object({ id: string()
|
|
|
54303
54301
|
}), method(object({ id: string() }), DeleteIntegrationResultSchema, {
|
|
54304
54302
|
kind: "mutation",
|
|
54305
54303
|
auth: "admin"
|
|
54306
|
-
}), method(object({ id: string() }), record(string(), unknown()), { auth: "admin" }), method(object({
|
|
54307
|
-
id: string(),
|
|
54308
|
-
settings: record(string(), unknown()),
|
|
54309
|
-
/** Keys the form's schema declares secret (by type) — keychain-stored (D787). */
|
|
54310
|
-
secretKeys: array(string()).optional(),
|
|
54311
|
-
/** The integration's own addon applies the change in-process and asks the hub not to respawn it. */
|
|
54312
|
-
skipRestart: boolean().optional()
|
|
54313
|
-
}), object({ success: boolean() }), {
|
|
54314
|
-
kind: "mutation",
|
|
54315
|
-
auth: "admin"
|
|
54316
|
-
}), method(object({ id: string() }), object({
|
|
54317
|
-
rows: number().int().nonnegative(),
|
|
54318
|
-
secrets: number().int().nonnegative()
|
|
54319
|
-
}), {
|
|
54320
|
-
kind: "mutation",
|
|
54321
|
-
auth: "admin"
|
|
54322
54304
|
}), method(_void(), array(AvailableIntegrationTypeSchema), { auth: "admin" }), method(object({
|
|
54323
54305
|
addonId: string(),
|
|
54324
54306
|
settings: record(string(), unknown())
|
|
@@ -57043,6 +57025,27 @@ method(object({}), object({ entries: array(MigrationLedgerEntrySchema) }), { aut
|
|
|
57043
57025
|
}), {
|
|
57044
57026
|
kind: "mutation",
|
|
57045
57027
|
auth: "admin"
|
|
57028
|
+
}), method(object({ integrationId: string().min(1) }), record(string(), unknown()), { auth: "admin" }), method(object({ integrationId: string().min(1) }), object({
|
|
57029
|
+
rows: number().int().nonnegative(),
|
|
57030
|
+
secrets: number().int().nonnegative()
|
|
57031
|
+
}), {
|
|
57032
|
+
kind: "mutation",
|
|
57033
|
+
auth: "admin"
|
|
57034
|
+
}), method(object({
|
|
57035
|
+
integrationId: string().min(1),
|
|
57036
|
+
patch: record(string(), unknown())
|
|
57037
|
+
}), object({ written: boolean() }), {
|
|
57038
|
+
kind: "mutation",
|
|
57039
|
+
auth: "admin"
|
|
57040
|
+
}), method(object({
|
|
57041
|
+
integrationId: string().min(1),
|
|
57042
|
+
keys: array(string().min(1))
|
|
57043
|
+
}), object({
|
|
57044
|
+
present: boolean(),
|
|
57045
|
+
removed: record(string(), unknown())
|
|
57046
|
+
}), {
|
|
57047
|
+
kind: "mutation",
|
|
57048
|
+
auth: "admin"
|
|
57046
57049
|
});
|
|
57047
57050
|
method(object({
|
|
57048
57051
|
sourceUrl: string(),
|
|
@@ -76227,11 +76230,15 @@ discriminatedUnion("kind", [object({
|
|
|
76227
76230
|
* 1. idle floor F = time-weighted median; noise ceiling N = highest value seen
|
|
76228
76231
|
* near F. A device that is not near one level most of the time has no floor.
|
|
76229
76232
|
* 2. coarse activity = above max(2N, N + 5 W); consecutive stretches are episodes.
|
|
76230
|
-
* 3.
|
|
76231
|
-
*
|
|
76233
|
+
* 3. an episode shorter than `PULSE_MAX_MS` is a PULSE (an anti-crease tumble, a
|
|
76234
|
+
* display waking): it is neither a run nor a pause. Among the remaining
|
|
76235
|
+
* episodes, gaps over `PAUSE_MAX_MS` always separate runs; the rest split in
|
|
76236
|
+
* two by the largest log-scale jump (>= 3x): the short ones are pauses INSIDE
|
|
76237
|
+
* a run (a soak), the long ones separate runs. A stretch under `MIN_RUN_MS`
|
|
76238
|
+
* is no run.
|
|
76232
76239
|
* 4. T = geometric mean of N and the plateau's 10th percentile, snapped to a
|
|
76233
|
-
* grid a person would type; stop dwell covers the longest pause
|
|
76234
|
-
* covers the longest standby blip above T.
|
|
76240
|
+
* grid a person would type; stop dwell covers the longest pause and the
|
|
76241
|
+
* kind's floor; start dwell covers the longest pulse and standby blip above T.
|
|
76235
76242
|
* 5. the numbers are proved by REPLAY through the real `dwell` evaluation: each
|
|
76236
76243
|
* run must hold exactly one true interval and nothing may flap outside.
|
|
76237
76244
|
*/
|
|
@@ -76242,6 +76249,10 @@ var MINUTE_MS$1 = 60 * SECOND_MS;
|
|
|
76242
76249
|
30 * SECOND_MS;
|
|
76243
76250
|
60 * SECOND_MS;
|
|
76244
76251
|
20 * MINUTE_MS$1;
|
|
76252
|
+
90 * SECOND_MS;
|
|
76253
|
+
30 * MINUTE_MS$1;
|
|
76254
|
+
10 * MINUTE_MS$1;
|
|
76255
|
+
DeviceType.Dryer, 3 * MINUTE_MS$1, DeviceType.Dishwasher, 3 * MINUTE_MS$1, DeviceType.Washer, 10 * MINUTE_MS$1;
|
|
76245
76256
|
10 * SECOND_MS;
|
|
76246
76257
|
10 * SECOND_MS;
|
|
76247
76258
|
DeviceFeature.FanSpeed, DeviceFeature.FanPreset, DeviceFeature.FanDirection, DeviceFeature.FanOscillating, DeviceFeature.CoverStoppable, DeviceFeature.CoverPositionable, DeviceFeature.CoverTilt, DeviceFeature.ValvePositionable, DeviceFeature.MediaPlayerVolume, DeviceFeature.ClimateFanMode;
|
|
@@ -79962,13 +79973,6 @@ Object.freeze({
|
|
|
79962
79973
|
access: "create",
|
|
79963
79974
|
role: "admin"
|
|
79964
79975
|
},
|
|
79965
|
-
"integrations.clearSettings": {
|
|
79966
|
-
capName: "integrations",
|
|
79967
|
-
capScope: "system",
|
|
79968
|
-
addonId: null,
|
|
79969
|
-
access: "delete",
|
|
79970
|
-
role: "admin"
|
|
79971
|
-
},
|
|
79972
79976
|
"integrations.create": {
|
|
79973
79977
|
capName: "integrations",
|
|
79974
79978
|
capScope: "system",
|
|
@@ -80004,13 +80008,6 @@ Object.freeze({
|
|
|
80004
80008
|
access: "view",
|
|
80005
80009
|
role: "admin"
|
|
80006
80010
|
},
|
|
80007
|
-
"integrations.getSettings": {
|
|
80008
|
-
capName: "integrations",
|
|
80009
|
-
capScope: "system",
|
|
80010
|
-
addonId: null,
|
|
80011
|
-
access: "view",
|
|
80012
|
-
role: "admin"
|
|
80013
|
-
},
|
|
80014
80011
|
"integrations.list": {
|
|
80015
80012
|
capName: "integrations",
|
|
80016
80013
|
capScope: "system",
|
|
@@ -80018,13 +80015,6 @@ Object.freeze({
|
|
|
80018
80015
|
access: "view",
|
|
80019
80016
|
role: "admin"
|
|
80020
80017
|
},
|
|
80021
|
-
"integrations.setSettings": {
|
|
80022
|
-
capName: "integrations",
|
|
80023
|
-
capScope: "system",
|
|
80024
|
-
addonId: null,
|
|
80025
|
-
access: "create",
|
|
80026
|
-
role: "admin"
|
|
80027
|
-
},
|
|
80028
80018
|
"integrations.testConnection": {
|
|
80029
80019
|
capName: "integrations",
|
|
80030
80020
|
capScope: "system",
|
|
@@ -81019,6 +81009,13 @@ Object.freeze({
|
|
|
81019
81009
|
access: "view",
|
|
81020
81010
|
role: "admin"
|
|
81021
81011
|
},
|
|
81012
|
+
"migrations.clearLegacyIntegrationRows": {
|
|
81013
|
+
capName: "migrations",
|
|
81014
|
+
capScope: "system",
|
|
81015
|
+
addonId: null,
|
|
81016
|
+
access: "delete",
|
|
81017
|
+
role: "admin"
|
|
81018
|
+
},
|
|
81022
81019
|
"migrations.declareOwner": {
|
|
81023
81020
|
capName: "migrations",
|
|
81024
81021
|
capScope: "system",
|
|
@@ -81026,6 +81023,13 @@ Object.freeze({
|
|
|
81026
81023
|
access: "create",
|
|
81027
81024
|
role: "admin"
|
|
81028
81025
|
},
|
|
81026
|
+
"migrations.deleteLegacyIntegrationRowKeys": {
|
|
81027
|
+
capName: "migrations",
|
|
81028
|
+
capScope: "system",
|
|
81029
|
+
addonId: null,
|
|
81030
|
+
access: "delete",
|
|
81031
|
+
role: "admin"
|
|
81032
|
+
},
|
|
81029
81033
|
"migrations.dryRun": {
|
|
81030
81034
|
capName: "migrations",
|
|
81031
81035
|
capScope: "system",
|
|
@@ -81061,6 +81065,20 @@ Object.freeze({
|
|
|
81061
81065
|
access: "create",
|
|
81062
81066
|
role: "admin"
|
|
81063
81067
|
},
|
|
81068
|
+
"migrations.patchLegacyIntegrationRows": {
|
|
81069
|
+
capName: "migrations",
|
|
81070
|
+
capScope: "system",
|
|
81071
|
+
addonId: null,
|
|
81072
|
+
access: "create",
|
|
81073
|
+
role: "admin"
|
|
81074
|
+
},
|
|
81075
|
+
"migrations.readLegacyIntegrationRows": {
|
|
81076
|
+
capName: "migrations",
|
|
81077
|
+
capScope: "system",
|
|
81078
|
+
addonId: null,
|
|
81079
|
+
access: "view",
|
|
81080
|
+
role: "admin"
|
|
81081
|
+
},
|
|
81064
81082
|
"migrations.restorePreMigration": {
|
|
81065
81083
|
capName: "migrations",
|
|
81066
81084
|
capScope: "system",
|
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.127",
|
|
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",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
],
|
|
63
63
|
"requires": {
|
|
64
|
-
"server": ">=1.2.
|
|
64
|
+
"server": ">=1.2.774"
|
|
65
65
|
}
|
|
66
66
|
},
|
|
67
67
|
"files": [
|