@opencxh/domain 1.286.1 → 1.286.3
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.cjs +19 -19
- package/dist/index.js +1643 -1632
- package/dist/platform/routing.d.ts +8 -0
- package/dist/platform/ui.d.ts +6 -0
- package/package.json +1 -1
|
@@ -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/dist/platform/ui.d.ts
CHANGED
|
@@ -105,6 +105,12 @@ export interface SettingsPageConfig {
|
|
|
105
105
|
* fallback is only there for apps that have not caught up.
|
|
106
106
|
*/
|
|
107
107
|
category?: SettingsCategory;
|
|
108
|
+
/**
|
|
109
|
+
* Pages sharing a collection are one row in the settings nav, opening a page that lists them —
|
|
110
|
+
* for pages you set once and rarely reopen (tax rates, number series). Pages from several apps
|
|
111
|
+
* may share one. The label is the shell's (`global:settings_collection_<key>`), like a category.
|
|
112
|
+
*/
|
|
113
|
+
collection?: string;
|
|
108
114
|
icon?: string;
|
|
109
115
|
resource: string;
|
|
110
116
|
order?: number;
|