@opencxh/domain 1.54.0 → 1.55.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/platform/ui.d.ts +8 -0
- package/package.json +1 -1
package/dist/platform/ui.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ export interface ModalConfig {
|
|
|
15
15
|
* `displayName` and `group` are i18n keys (resolved via the app's localization
|
|
16
16
|
* namespace at render time). If the key is unknown, the raw string is shown.
|
|
17
17
|
*/
|
|
18
|
+
/**
|
|
19
|
+
* Which settings-panel tab a page appears under. A page may belong to both.
|
|
20
|
+
*/
|
|
21
|
+
export type SettingsScope = "personal" | "company";
|
|
18
22
|
export interface SettingsPageConfig {
|
|
19
23
|
id: string;
|
|
20
24
|
displayName: string;
|
|
@@ -23,6 +27,10 @@ export interface SettingsPageConfig {
|
|
|
23
27
|
resource: string;
|
|
24
28
|
order?: number;
|
|
25
29
|
permissions?: string[];
|
|
30
|
+
/**
|
|
31
|
+
* Tabs the page shows under. Omitted/empty = visible in both tabs.
|
|
32
|
+
*/
|
|
33
|
+
scopes?: SettingsScope[];
|
|
26
34
|
}
|
|
27
35
|
export interface ToastConfig {
|
|
28
36
|
id: string;
|