@opencxh/domain 1.158.0 → 1.159.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/activity/catalog.d.ts +10 -2
- package/dist/entities/activity/resolve.d.ts +24 -0
- package/dist/entities/activity/types.d.ts +45 -2
- package/dist/entities/ai-conversation/types.d.ts +26 -0
- package/dist/entities/assignment/types.d.ts +28 -0
- package/dist/entities/interaction/types.d.ts +4 -2
- package/dist/index.cjs +8 -8
- package/dist/index.js +663 -608
- package/dist/platform/api.d.ts +13 -0
- package/package.json +1 -1
package/dist/platform/api.d.ts
CHANGED
|
@@ -8,6 +8,19 @@ export interface InvokeOptions {
|
|
|
8
8
|
transport?: "ws" | "http";
|
|
9
9
|
headers?: Record<string, string>;
|
|
10
10
|
manifest?: AppManifest;
|
|
11
|
+
/**
|
|
12
|
+
* Laat de aanroep **afwijzen** wanneer de server een fout teruggeeft, in plaats van te
|
|
13
|
+
* slagen met een leeg `data`.
|
|
14
|
+
*
|
|
15
|
+
* Zonder dit lost `invoke` altijd op: `sendViaHttp` keek niet naar `response.ok` en de
|
|
16
|
+
* ws-kant kende geen reject-pad. Een geweigerde mutatie kwam daardoor binnen als
|
|
17
|
+
* `data: undefined`, de entity-store liet die stil vallen, en de `next`-tak van de
|
|
18
|
+
* mutatie liep gewoon door — de composer maakte zichzelf leeg en de gebruiker dacht dat
|
|
19
|
+
* het bericht verstuurd was. Elke `error:`-handler in de app was daarmee dode code.
|
|
20
|
+
*
|
|
21
|
+
* Voorlopig opt-in zodat apps één voor één om kunnen; comms gaat als eerste.
|
|
22
|
+
*/
|
|
23
|
+
throwOnError?: boolean;
|
|
11
24
|
}
|
|
12
25
|
export type SSEMessage<Payload = {
|
|
13
26
|
event: string;
|