@opencxh/domain 1.286.1 → 1.286.2

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.
@@ -68,6 +68,14 @@ export declare function appNameFromPath(path: string | null | undefined): string
68
68
  * and `WakeRoute` routes onward itself.
69
69
  */
70
70
  export declare function isDeepLink(path: string | null | undefined): boolean;
71
+ /**
72
+ * The shell's settings route. Not an app: it frames the pages every app registers,
73
+ * so it lives beside `/apps/…` rather than under it.
74
+ */
75
+ export declare const SETTINGS_BASE_PATH = "/settings";
76
+ export declare function isSettingsPath(path: string | null | undefined): boolean;
77
+ /** A registry key (`app:page`) as a path; no key, or one without an app, is the settings home. */
78
+ export declare function settingsPath(pageId?: string | null): string;
71
79
  /**
72
80
  * Did the visitor ask for nothing in particular?
73
81
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.286.1",
3
+ "version": "1.286.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",