@opencxh/domain 1.248.0 → 1.250.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.
@@ -73,12 +73,17 @@ export interface DockControls {
73
73
  */
74
74
  export type SettingsScope = "personal" | "company";
75
75
  /**
76
- * The heading a settings page sits under. The overlay groups on this, not on the
77
- * app that registered the page, so a mailbox, a PBX and an MCP server all land
78
- * under "connections" whichever app owns them.
76
+ * The heading a settings page sits under, and one card on the settings home. The
77
+ * overlay groups on this, not on the app that registered the page, so a mailbox,
78
+ * a PBX and an MCP server all land under "connections" whichever app owns them.
79
+ *
80
+ * A category answers "what changes when I switch this on" — never "which app owns
81
+ * it". A page that fits nowhere means the category set is wrong, which is why
82
+ * there is no "other". `connections` is what you are logged in to; `flows` is what
83
+ * moves over those connections.
79
84
  */
80
- export type SettingsCategory = "personal" | "workspace" | "connections" | "work" | "ai";
81
- /** Reading order of the categories in the settings nav. */
85
+ export type SettingsCategory = "personal" | "organization" | "connections" | "flows" | "work" | "administration" | "ai";
86
+ /** Reading order of the categories in the settings nav and on the home. */
82
87
  export declare const SETTINGS_CATEGORIES: readonly SettingsCategory[];
83
88
  export interface SettingsPageConfig {
84
89
  id: string;
@@ -95,9 +100,9 @@ export interface SettingsPageConfig {
95
100
  */
96
101
  group?: string;
97
102
  /**
98
- * Heading in the settings nav. Absent = `personal` for a personal-only page,
99
- * otherwise `workspace`; declare it, the fallback is only there for apps
100
- * that have not caught up.
103
+ * Heading in the settings nav and the home card this page appears on. Absent =
104
+ * `personal` for a personal-only page, otherwise `organization`; declare it, the
105
+ * fallback is only there for apps that have not caught up.
101
106
  */
102
107
  category?: SettingsCategory;
103
108
  icon?: string;
@@ -105,7 +110,9 @@ export interface SettingsPageConfig {
105
110
  order?: number;
106
111
  permissions?: string[];
107
112
  /**
108
- * Tabs the page shows under. Omitted/empty = visible in both tabs.
113
+ * @deprecated The settings overlay no longer has personal/company tabs 40 of
114
+ * 48 pages were company-only, so the toggle hid most of the list and returned an
115
+ * almost empty half. Declaring this changes nothing; `category` places a page.
109
116
  */
110
117
  scopes?: SettingsScope[];
111
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.248.0",
3
+ "version": "1.250.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",