@camstack/addon-model-studio 1.1.82 → 1.1.84

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/_stub.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import "./virtualExposes-CWSi4E_g.mjs";
2
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DV1e60q3.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CWn0_zIG.mjs";
3
3
  import { _ as e, c as t, d as n, h as r, i, l as a, m as o, p as s, r as c, t as l, u, y as d } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DJDHChgO.mjs";
4
4
  import { a as f, i as p, o as m, r as h, s as g } from "./responsive-BfgjKQEG.mjs";
5
5
  import { c as _, l as v, u as y } from "./use-device-snapshot-BjAe1-RH.mjs";
@@ -1,9 +1,9 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DV1e60q3.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CWn0_zIG.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
5
5
  name: "@camstack/sdk",
6
- version: "1.2.63",
6
+ version: "1.2.65",
7
7
  scope: ["default"],
8
8
  loaded: !1,
9
9
  from: "addon_model_studio_page",
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.143",
21
+ version: "1.2.145",
22
22
  scope: ["default"],
23
23
  loaded: !1,
24
24
  from: "addon_model_studio_page",
@@ -33,7 +33,7 @@ var e = {
33
33
  },
34
34
  "@camstack/ui-library": {
35
35
  name: "@camstack/ui-library",
36
- version: "1.2.109",
36
+ version: "1.2.111",
37
37
  scope: ["default"],
38
38
  loaded: !1,
39
39
  from: "addon_model_studio_page",
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.143",
39
+ version: "1.2.145",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.63",
48
+ version: "1.2.65",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.109",
84
+ version: "1.2.111",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -13170,7 +13170,26 @@ var DiscoveryCandidateSchema = object({
13170
13170
  * identity ahead of adoption. Rendering metadata (unit, precision)
13171
13171
  * flows live through the cap STATUS SLICE after adoption.
13172
13172
  */
13173
- sourceInfo: SourceInfoSchema.optional()
13173
+ sourceInfo: SourceInfoSchema.optional(),
13174
+ /**
13175
+ * Set when this candidate is a device the provider ALREADY owns.
13176
+ *
13177
+ * A scan cannot generally produce the identity a device was onboarded under
13178
+ * (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
13179
+ * comparison never matches and an owned device looks addable. Re-adopting one
13180
+ * overwrites its config with scan-derived values — that is how a Home Hub's
13181
+ * Baichuan port was overwritten with its ONVIF port, taking the hub and its
13182
+ * three child cameras offline for four hours.
13183
+ *
13184
+ * A provider that can recognise its own devices says so here. Absent means
13185
+ * "not recognised", which is not the same as "known to be new" — a provider
13186
+ * that cannot tell simply never sets it.
13187
+ */
13188
+ alreadyOnboarded: boolean().optional(),
13189
+ /** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
13190
+ onboardedDeviceId: number().optional(),
13191
+ /** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
13192
+ onboardedName: string().optional()
13174
13193
  });
13175
13194
  /**
13176
13195
  * Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
@@ -13149,7 +13149,26 @@ var DiscoveryCandidateSchema = object({
13149
13149
  * identity ahead of adoption. Rendering metadata (unit, precision)
13150
13150
  * flows live through the cap STATUS SLICE after adoption.
13151
13151
  */
13152
- sourceInfo: SourceInfoSchema.optional()
13152
+ sourceInfo: SourceInfoSchema.optional(),
13153
+ /**
13154
+ * Set when this candidate is a device the provider ALREADY owns.
13155
+ *
13156
+ * A scan cannot generally produce the identity a device was onboarded under
13157
+ * (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
13158
+ * comparison never matches and an owned device looks addable. Re-adopting one
13159
+ * overwrites its config with scan-derived values — that is how a Home Hub's
13160
+ * Baichuan port was overwritten with its ONVIF port, taking the hub and its
13161
+ * three child cameras offline for four hours.
13162
+ *
13163
+ * A provider that can recognise its own devices says so here. Absent means
13164
+ * "not recognised", which is not the same as "known to be new" — a provider
13165
+ * that cannot tell simply never sets it.
13166
+ */
13167
+ alreadyOnboarded: boolean().optional(),
13168
+ /** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
13169
+ onboardedDeviceId: number().optional(),
13170
+ /** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
13171
+ onboardedName: string().optional()
13153
13172
  });
13154
13173
  /**
13155
13174
  * Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-DV1e60q3.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CWn0_zIG.mjs";
2
2
  export { t as get, e as init };
@@ -2753,7 +2753,7 @@ async function rr(e) {
2753
2753
  }
2754
2754
  }
2755
2755
  async function ir() {
2756
- return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DOAkZQRv.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-DDSZeiY3.mjs")).catch((e) => {
2757
2757
  throw tr = void 0, e;
2758
2758
  }), tr;
2759
2759
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-model-studio",
3
- "version": "1.1.82",
3
+ "version": "1.1.84",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",