@camstack/addon-provider-dreame 0.2.94 → 0.2.95
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 +55 -1
- package/dist/addon.mjs +55 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -69160,6 +69160,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
69160
69160
|
"addon-crash-loop",
|
|
69161
69161
|
"addon-update-available",
|
|
69162
69162
|
"server-update-available",
|
|
69163
|
+
"wrapper-update-available",
|
|
69163
69164
|
"alarm-triggered",
|
|
69164
69165
|
"alarm-armed",
|
|
69165
69166
|
"alarm-disarmed",
|
|
@@ -74716,6 +74717,53 @@ var ImageContractSchema = object({
|
|
|
74716
74717
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
74717
74718
|
message: string()
|
|
74718
74719
|
});
|
|
74720
|
+
/**
|
|
74721
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
74722
|
+
* produced it.
|
|
74723
|
+
*
|
|
74724
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
74725
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
74726
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
74727
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
74728
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
74729
|
+
*/
|
|
74730
|
+
var WrapperIdentitySchema = object({
|
|
74731
|
+
kind: _enum([
|
|
74732
|
+
"docker",
|
|
74733
|
+
"electron",
|
|
74734
|
+
"native",
|
|
74735
|
+
"contradictory",
|
|
74736
|
+
"unknown"
|
|
74737
|
+
]),
|
|
74738
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
74739
|
+
evidence: array(object({
|
|
74740
|
+
/** Which probe this row reports. */
|
|
74741
|
+
fact: _enum([
|
|
74742
|
+
"dockerenv-file",
|
|
74743
|
+
"proc-1-cgroup",
|
|
74744
|
+
"platform",
|
|
74745
|
+
"electron-app-version-env"
|
|
74746
|
+
]),
|
|
74747
|
+
/**
|
|
74748
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
74749
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
74750
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
74751
|
+
*/
|
|
74752
|
+
mode: _enum(["observed", "declared"]),
|
|
74753
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
74754
|
+
holds: boolean(),
|
|
74755
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
74756
|
+
detail: string()
|
|
74757
|
+
})),
|
|
74758
|
+
/**
|
|
74759
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
74760
|
+
* Electron app version it declared, or the baked seed closure that
|
|
74761
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
74762
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
74763
|
+
* known there.
|
|
74764
|
+
*/
|
|
74765
|
+
currentVersion: string().nullable()
|
|
74766
|
+
});
|
|
74719
74767
|
var ServerRollbackInfoSchema = object({
|
|
74720
74768
|
/** The version that failed (or was manually rolled back). */
|
|
74721
74769
|
fromVersion: string(),
|
|
@@ -74757,7 +74805,13 @@ var ServerPackageStatusSchema = object({
|
|
|
74757
74805
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
74758
74806
|
* version skew: an older provider's payload simply omits it.
|
|
74759
74807
|
*/
|
|
74760
|
-
imageContract: ImageContractSchema.optional()
|
|
74808
|
+
imageContract: ImageContractSchema.optional(),
|
|
74809
|
+
/**
|
|
74810
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
74811
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
74812
|
+
* absent wrapper is unknown — never `native`.
|
|
74813
|
+
*/
|
|
74814
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
74761
74815
|
});
|
|
74762
74816
|
var ServerUpdateCheckResultSchema = object({
|
|
74763
74817
|
packageName: string(),
|
package/dist/addon.mjs
CHANGED
|
@@ -69157,6 +69157,7 @@ var NcSystemEventKindSchema = _enum([
|
|
|
69157
69157
|
"addon-crash-loop",
|
|
69158
69158
|
"addon-update-available",
|
|
69159
69159
|
"server-update-available",
|
|
69160
|
+
"wrapper-update-available",
|
|
69160
69161
|
"alarm-triggered",
|
|
69161
69162
|
"alarm-armed",
|
|
69162
69163
|
"alarm-disarmed",
|
|
@@ -74713,6 +74714,53 @@ var ImageContractSchema = object({
|
|
|
74713
74714
|
/** One operator-grade sentence: this node runs image X; the contract says Y. */
|
|
74714
74715
|
message: string()
|
|
74715
74716
|
});
|
|
74717
|
+
/**
|
|
74718
|
+
* The shell verdict (see {@link WrapperKindSchema}) with the proofs that
|
|
74719
|
+
* produced it.
|
|
74720
|
+
*
|
|
74721
|
+
* There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
|
|
74722
|
+
* update is an ANNOUNCEMENT. The notification body carries the exact command
|
|
74723
|
+
* for a `docker` shell and says the app restarts into the new build for
|
|
74724
|
+
* `electron`, and that sentence is chosen from `kind` alone — a boolean
|
|
74725
|
+
* nothing reads is the defect this repo keeps paying for.
|
|
74726
|
+
*/
|
|
74727
|
+
var WrapperIdentitySchema = object({
|
|
74728
|
+
kind: _enum([
|
|
74729
|
+
"docker",
|
|
74730
|
+
"electron",
|
|
74731
|
+
"native",
|
|
74732
|
+
"contradictory",
|
|
74733
|
+
"unknown"
|
|
74734
|
+
]),
|
|
74735
|
+
/** Every probe that ran, in a stable order. Never empty. */
|
|
74736
|
+
evidence: array(object({
|
|
74737
|
+
/** Which probe this row reports. */
|
|
74738
|
+
fact: _enum([
|
|
74739
|
+
"dockerenv-file",
|
|
74740
|
+
"proc-1-cgroup",
|
|
74741
|
+
"platform",
|
|
74742
|
+
"electron-app-version-env"
|
|
74743
|
+
]),
|
|
74744
|
+
/**
|
|
74745
|
+
* `observed` — this process read it itself. `declared` — the shell told the
|
|
74746
|
+
* process and nothing here can check it. Only the Electron app version is
|
|
74747
|
+
* ever `declared`, and only because a child cannot see its parent.
|
|
74748
|
+
*/
|
|
74749
|
+
mode: _enum(["observed", "declared"]),
|
|
74750
|
+
/** Did the probe support the fact it names? A `false` row is still evidence. */
|
|
74751
|
+
holds: boolean(),
|
|
74752
|
+
/** What was actually read, verbatim enough for an operator to argue with. */
|
|
74753
|
+
detail: string()
|
|
74754
|
+
})),
|
|
74755
|
+
/**
|
|
74756
|
+
* The version of the SHELL, when the shell has one it can state: the
|
|
74757
|
+
* Electron app version it declared, or the baked seed closure that
|
|
74758
|
+
* fingerprints a container / app bundle. `null` for `contradictory` and
|
|
74759
|
+
* `unknown` — which version belongs to the shell is precisely what is not
|
|
74760
|
+
* known there.
|
|
74761
|
+
*/
|
|
74762
|
+
currentVersion: string().nullable()
|
|
74763
|
+
});
|
|
74716
74764
|
var ServerRollbackInfoSchema = object({
|
|
74717
74765
|
/** The version that failed (or was manually rolled back). */
|
|
74718
74766
|
fromVersion: string(),
|
|
@@ -74754,7 +74802,13 @@ var ServerPackageStatusSchema = object({
|
|
|
74754
74802
|
* Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
|
|
74755
74803
|
* version skew: an older provider's payload simply omits it.
|
|
74756
74804
|
*/
|
|
74757
|
-
imageContract: ImageContractSchema.optional()
|
|
74805
|
+
imageContract: ImageContractSchema.optional(),
|
|
74806
|
+
/**
|
|
74807
|
+
* What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
|
|
74808
|
+
* for version skew: an older provider's payload simply omits it, and an
|
|
74809
|
+
* absent wrapper is unknown — never `native`.
|
|
74810
|
+
*/
|
|
74811
|
+
wrapper: WrapperIdentitySchema.optional()
|
|
74758
74812
|
});
|
|
74759
74813
|
var ServerUpdateCheckResultSchema = object({
|
|
74760
74814
|
packageName: string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.95",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|