@apotech-os/support-kit 6.1.0 → 6.2.0

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.js CHANGED
@@ -4129,7 +4129,21 @@ var KIT_PAGES = [
4129
4129
  icon: "library"
4130
4130
  },
4131
4131
  { key: "test-page", path: "test", title: "Banc de test", icon: "flask-conical" },
4132
- { key: "quality-page", path: "quality", title: "Qualit\xE9", icon: "flask-conical" }
4132
+ { key: "quality-page", path: "quality", title: "Qualit\xE9", icon: "flask-conical" },
4133
+ // The SAME screen as `settingsPage`, declared a second time as an app page.
4134
+ // Not a gratuitous duplicate: `getAvailableTargets()`
4135
+ // (`apps/api/src/platform-data/spaces.service.ts`) enumerates only
4136
+ // views/pages/records, so a `settingsPage` can be mounted in NO Space — by
4137
+ // construction (docs/app-platform/app-settings-page-spec.md §2). A `pages[]`
4138
+ // entry can. Both surfaces mount the same component, which reads and writes
4139
+ // through `useAppSettings()`; that store is keyed by the app slug, so there
4140
+ // is ONE `AppSetting` row behind the two, never two copies to reconcile.
4141
+ //
4142
+ // The path cannot be 'settings': the CLI would derive `dist/ui/settings.js`
4143
+ // from it — the entry `settingsPage` already claims — and the manifest would
4144
+ // be rejected (app-kit `contracts.ts`, "collides with the bundle the CLI
4145
+ // emits for a pages[] path").
4146
+ { key: "reglages-page", path: "reglages", title: "R\xE9glages", icon: "settings" }
4133
4147
  ];
4134
4148
  function buildPages(config) {
4135
4149
  return KIT_PAGES.map(({ key, path, title, icon }) => ({