@opencxh/domain 1.68.0 → 1.70.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.
@@ -10,6 +10,10 @@ export interface Attachment {
10
10
  mimeType: string;
11
11
  size?: number;
12
12
  url?: string;
13
+ /** Content-ID voor inline (cid:) referenties in de body — bare, zonder `<>`. */
14
+ contentId?: string;
15
+ /** True wanneer de bijlage inline in de body hoort (cid:), niet als losse chip. */
16
+ isInline?: boolean;
13
17
  }
14
18
  export interface BaseActivity {
15
19
  id: string;
@@ -38,9 +38,17 @@ export interface ToastConfig {
38
38
  type: 'success' | 'error' | 'warning' | 'info';
39
39
  message?: string;
40
40
  duration?: number;
41
+ /**
42
+ * When true the toast never auto-dismisses; it stays until the user closes
43
+ * it or an action handler removes it. Used for update prompts and other
44
+ * must-acknowledge notices.
45
+ */
46
+ persistent?: boolean;
41
47
  actions?: {
42
48
  label: string;
43
49
  onClick: () => void;
50
+ /** Visual emphasis of the action button. Defaults to `secondary`. */
51
+ variant?: 'primary' | 'secondary';
44
52
  }[];
45
53
  }
46
54
  export type ExtensionContext = 'global' | 'call' | 'interaction';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.68.0",
3
+ "version": "1.70.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",