@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.
- package/dist/entities/company/types.d.ts +8 -0
- package/dist/entities/transaction/convert.d.ts +2 -2
- package/dist/entities/transaction/document.d.ts +13 -1
- package/dist/entities/transaction/index.d.ts +2 -0
- package/dist/entities/transaction/kinds.d.ts +30 -0
- package/dist/entities/transaction/number-series.d.ts +57 -0
- package/dist/entities/transaction/number-series.test.d.ts +1 -0
- package/dist/entities/transaction/payment-term.d.ts +80 -0
- package/dist/entities/transaction/payment-term.test.d.ts +1 -0
- package/dist/entities/transaction/types.d.ts +34 -0
- package/dist/index.cjs +25 -19
- package/dist/index.js +1817 -1685
- package/dist/platform/ui.d.ts +16 -9
- package/package.json +1 -1
package/dist/platform/ui.d.ts
CHANGED
|
@@ -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
|
|
77
|
-
* app that registered the page, so a mailbox,
|
|
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" | "
|
|
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
|
|
99
|
-
* otherwise `
|
|
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
|
-
*
|
|
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
|
}
|