@opencxh/domain 1.118.0 → 1.123.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.
@@ -25,4 +25,11 @@ export interface KbArticle {
25
25
  status: "draft" | "published";
26
26
  authorId?: string;
27
27
  order: number;
28
+ /**
29
+ * Framework-generated (never declared in the server entitySchema, which would
30
+ * type it `never`). It has always been on the wire; it just was not on this
31
+ * interface, so nothing could show when an article was last touched.
32
+ */
33
+ createdAt?: number;
34
+ updatedAt?: number;
28
35
  }
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Persoonlijke "kom hier later op terug"-markering op een resource, per
3
+ * (resourceType, resourceId, userId) - dezelfde ResourceRef-vorm die read-state
4
+ * gebruikt.
5
+ *
6
+ * Anders dan een snooze raakt dit de resource zelf niet: het team blijft het
7
+ * gesprek gewoon in zijn lijst zien, alleen jouw aandachtsstapel slaat het over.
8
+ */
9
+ export interface ResourceReminder {
10
+ id: string;
11
+ resourceType: string;
12
+ resourceId: string;
13
+ userId: string;
14
+ organizationId: string;
15
+ /** Epoch-ms waarop het item weer in beeld mag komen. */
16
+ remindAt: number;
17
+ /**
18
+ * Epoch-ms waarop geparkeerd werd. Bepaalt of latere activiteit de
19
+ * herinnering opheft - expliciet veld, niet het framework-`updatedAt`, zodat
20
+ * de vervalregel deterministisch en testbaar is.
21
+ */
22
+ parkedAt: number;
23
+ createdAt?: number;
24
+ updatedAt?: number;
25
+ }
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ export * from './entities/interaction';
21
21
  export * from './entities/task';
22
22
  export * from './entities/note';
23
23
  export * from './entities/read-state';
24
+ export * from './entities/resource-reminder';
24
25
  export * from './entities/team';
25
26
  export * from './entities/organization';
26
27
  export * from './entities/shopify';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.118.0",
3
+ "version": "1.123.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",