@medusajs/admin-sdk 2.11.4-preview-20251106120154 → 2.11.4-preview-20251106180145

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/index.d.mts CHANGED
@@ -20,6 +20,16 @@ interface RouteConfig {
20
20
  * The nested route to display under existing route in the sidebar.
21
21
  */
22
22
  nested?: NestedRoutePosition;
23
+ /**
24
+ * An optional i18n namespace for translating the label. When provided, the label will be treated as a translation key.
25
+ * @example
26
+ * ```ts
27
+ * label: "menuItems.customFeature"
28
+ * translationNs: "my-plugin"
29
+ * // Will translate using: t("menuItems.customFeature", { ns: "my-plugin" })
30
+ * ```
31
+ */
32
+ translationNs?: string;
23
33
  }
24
34
 
25
35
  /**
package/dist/index.d.ts CHANGED
@@ -20,6 +20,16 @@ interface RouteConfig {
20
20
  * The nested route to display under existing route in the sidebar.
21
21
  */
22
22
  nested?: NestedRoutePosition;
23
+ /**
24
+ * An optional i18n namespace for translating the label. When provided, the label will be treated as a translation key.
25
+ * @example
26
+ * ```ts
27
+ * label: "menuItems.customFeature"
28
+ * translationNs: "my-plugin"
29
+ * // Will translate using: t("menuItems.customFeature", { ns: "my-plugin" })
30
+ * ```
31
+ */
32
+ translationNs?: string;
23
33
  }
24
34
 
25
35
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@medusajs/admin-sdk",
3
3
  "description": "SDK for building extension for the Medusa admin dashboard.",
4
- "version": "2.11.4-preview-20251106120154",
4
+ "version": "2.11.4-preview-20251106180145",
5
5
  "author": "Kasper Kristensen <kasper@medusajs.com>",
6
6
  "types": "dist/index.d.ts",
7
7
  "main": "dist/index.js",
@@ -19,7 +19,7 @@
19
19
  "build": "yarn run -T tsup"
20
20
  },
21
21
  "dependencies": {
22
- "@medusajs/admin-shared": "2.11.4-preview-20251106120154",
22
+ "@medusajs/admin-shared": "2.11.4-preview-20251106180145",
23
23
  "zod": "3.25.76"
24
24
  },
25
25
  "packageManager": "yarn@3.2.1"