@tolinax/ayoune-interfaces 2026.60.0 → 2026.61.1
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/data/modelsAndRights.js +15 -0
- package/package.json +1 -1
package/data/modelsAndRights.js
CHANGED
|
@@ -7933,6 +7933,21 @@ const modelsAndRights = [
|
|
|
7933
7933
|
updateBy: "_id",
|
|
7934
7934
|
availableInSDK: false,
|
|
7935
7935
|
},
|
|
7936
|
+
// ─── Desktop Client module — states + rights per view ──────────────
|
|
7937
|
+
// desktopclient is a module in its own right (module: "desktopclient").
|
|
7938
|
+
// Each nav entry in the desktop client IS a state — registered via
|
|
7939
|
+
// registerModuleStates at config-api boot, same pattern as every other
|
|
7940
|
+
// module. The right string mirrors the state title, e.g. `desktopclient.sync`
|
|
7941
|
+
// — ayounestates has the main state at that title, ayounepackages.modules
|
|
7942
|
+
// carries it as a grantable right, and ayouneroles auto-sync via
|
|
7943
|
+
// registerModuleRights('desktopclient', ..., additionalRights).
|
|
7944
|
+
//
|
|
7945
|
+
// No pseudo-entities — desktopclient has no DB-backed entities. The
|
|
7946
|
+
// state catalogue lives in
|
|
7947
|
+
// domains/config/api/src/lib/registerDesktopClientStates.ts
|
|
7948
|
+
// and the right catalogue is the `desktopClientRights` export there
|
|
7949
|
+
// (single source of truth, passed to registerModuleRights as
|
|
7950
|
+
// additionalRights).
|
|
7936
7951
|
];
|
|
7937
7952
|
exports.modelsAndRights = modelsAndRights;
|
|
7938
7953
|
exports.default = modelsAndRights;
|