@camstack/addon-notifiers 1.2.64 → 1.2.65

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 CHANGED
@@ -12721,7 +12721,26 @@ var DiscoveryCandidateSchema = object({
12721
12721
  * identity ahead of adoption. Rendering metadata (unit, precision)
12722
12722
  * flows live through the cap STATUS SLICE after adoption.
12723
12723
  */
12724
- sourceInfo: SourceInfoSchema.optional()
12724
+ sourceInfo: SourceInfoSchema.optional(),
12725
+ /**
12726
+ * Set when this candidate is a device the provider ALREADY owns.
12727
+ *
12728
+ * A scan cannot generally produce the identity a device was onboarded under
12729
+ * (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
12730
+ * comparison never matches and an owned device looks addable. Re-adopting one
12731
+ * overwrites its config with scan-derived values — that is how a Home Hub's
12732
+ * Baichuan port was overwritten with its ONVIF port, taking the hub and its
12733
+ * three child cameras offline for four hours.
12734
+ *
12735
+ * A provider that can recognise its own devices says so here. Absent means
12736
+ * "not recognised", which is not the same as "known to be new" — a provider
12737
+ * that cannot tell simply never sets it.
12738
+ */
12739
+ alreadyOnboarded: boolean().optional(),
12740
+ /** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
12741
+ onboardedDeviceId: number().optional(),
12742
+ /** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
12743
+ onboardedName: string().optional()
12725
12744
  });
12726
12745
  /**
12727
12746
  * Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
package/dist/addon.mjs CHANGED
@@ -12694,7 +12694,26 @@ var DiscoveryCandidateSchema = object({
12694
12694
  * identity ahead of adoption. Rendering metadata (unit, precision)
12695
12695
  * flows live through the cap STATUS SLICE after adoption.
12696
12696
  */
12697
- sourceInfo: SourceInfoSchema.optional()
12697
+ sourceInfo: SourceInfoSchema.optional(),
12698
+ /**
12699
+ * Set when this candidate is a device the provider ALREADY owns.
12700
+ *
12701
+ * A scan cannot generally produce the identity a device was onboarded under
12702
+ * (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
12703
+ * comparison never matches and an owned device looks addable. Re-adopting one
12704
+ * overwrites its config with scan-derived values — that is how a Home Hub's
12705
+ * Baichuan port was overwritten with its ONVIF port, taking the hub and its
12706
+ * three child cameras offline for four hours.
12707
+ *
12708
+ * A provider that can recognise its own devices says so here. Absent means
12709
+ * "not recognised", which is not the same as "known to be new" — a provider
12710
+ * that cannot tell simply never sets it.
12711
+ */
12712
+ alreadyOnboarded: boolean().optional(),
12713
+ /** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
12714
+ onboardedDeviceId: number().optional(),
12715
+ /** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
12716
+ onboardedName: string().optional()
12698
12717
  });
12699
12718
  /**
12700
12719
  * Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-notifiers",
3
- "version": "1.2.64",
3
+ "version": "1.2.65",
4
4
  "description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
5
5
  "keywords": [
6
6
  "camstack",