@camstack/addon-model-studio 1.1.316 → 1.1.317

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 CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.1.317] - 2026-10-29
11
+
12
+ ### Changed
13
+
14
+ - Rebuilt against updated dependencies.
15
+
10
16
  ## [1.1.316] - 2026-10-28
11
17
 
12
18
  ### Changed
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-D6DfHBUW.mjs";
2
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CkwPjS5o.mjs";
3
3
  import { S as e, _ as t, a as n, b as r, d as i, f as a, g as o, h as s, i as c, l, m as u, n as d, p as f, r as p, t as m, u as h, v as g, y as _ } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react__loadShare__.js-DMBKVIH7.mjs";
4
4
  import { n as v, r as y, t as b } from "./_virtual_mf___mfe_internal__addon_model_studio_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-ds_Ehzaa.mjs";
5
5
  import { n as x, r as S, t as C } from "./ui-text-BqZa5BNK.mjs";
@@ -1,4 +1,4 @@
1
- import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D6DfHBUW.mjs";
1
+ import "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CkwPjS5o.mjs";
2
2
  //#region \0virtual:mf-localSharedImportMap:__mfe_internal__addon_model_studio_page
3
3
  var e = {
4
4
  "@camstack/sdk": {
@@ -18,7 +18,7 @@ var e = {
18
18
  },
19
19
  "@camstack/types": {
20
20
  name: "@camstack/types",
21
- version: "1.2.438",
21
+ version: "1.2.440",
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.346",
36
+ version: "1.2.347",
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.438",
39
+ version: "1.2.440",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.346",
84
+ version: "1.2.347",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -16811,9 +16811,21 @@ var AlertSeveritySchema = _enum([
16811
16811
  "error",
16812
16812
  "critical"
16813
16813
  ]);
16814
+ /**
16815
+ * An action that RUNS something instead of going somewhere: the admin UI calls
16816
+ * the addon's custom action (`addons.custom`) with exactly these fields. The
16817
+ * producer owns the meaning; the UI knows nothing about the addon or the kind.
16818
+ */
16819
+ var AlertActionInvokeSchema = object({
16820
+ addonId: string().min(1),
16821
+ action: string().min(1),
16822
+ input: record(string(), unknown()).optional()
16823
+ });
16824
+ /** An action has `href` (a link) OR `invoke` (a button that runs a custom action). */
16814
16825
  var AlertActionSchema = object({
16815
16826
  label: string(),
16816
16827
  href: string().optional(),
16828
+ invoke: AlertActionInvokeSchema.optional(),
16817
16829
  /**
16818
16830
  * How `href` is followed. Absent / `app`: an admin-ui route (client-side).
16819
16831
  * `server`: a route the HUB serves (an addon HTTP route such as an OAuth
@@ -16785,9 +16785,21 @@ var AlertSeveritySchema = _enum([
16785
16785
  "error",
16786
16786
  "critical"
16787
16787
  ]);
16788
+ /**
16789
+ * An action that RUNS something instead of going somewhere: the admin UI calls
16790
+ * the addon's custom action (`addons.custom`) with exactly these fields. The
16791
+ * producer owns the meaning; the UI knows nothing about the addon or the kind.
16792
+ */
16793
+ var AlertActionInvokeSchema = object({
16794
+ addonId: string().min(1),
16795
+ action: string().min(1),
16796
+ input: record(string(), unknown()).optional()
16797
+ });
16798
+ /** An action has `href` (a link) OR `invoke` (a button that runs a custom action). */
16788
16799
  var AlertActionSchema = object({
16789
16800
  label: string(),
16790
16801
  href: string().optional(),
16802
+ invoke: AlertActionInvokeSchema.optional(),
16791
16803
  /**
16792
16804
  * How `href` is followed. Absent / `app`: an admin-ui route (client-side).
16793
16805
  * `server`: a route the HUB serves (an addon HTTP route such as an OAuth
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-D6DfHBUW.mjs";
1
+ import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_model_studio_page__remoteEntry_js-CkwPjS5o.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-P5JTQUjR.mjs")).catch((e) => {
2756
+ return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_model_studio_page-CsVbgmDJ.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.316",
3
+ "version": "1.1.317",
4
4
  "description": "Custom detection model registry, conversion & distribution for CamStack",
5
5
  "keywords": [
6
6
  "camstack",