@erp-galoper/types 1.0.1224 → 1.0.1225

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.
Files changed (2) hide show
  1. package/openapi.ts +17 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -20364,7 +20364,23 @@ export interface paths {
20364
20364
  path?: never;
20365
20365
  cookie?: never;
20366
20366
  };
20367
- /** Notification Stream */
20367
+ /**
20368
+ * Notification Stream
20369
+ * @description "
20370
+ * GET /stream/
20371
+ * For inGaloper enabled notifications
20372
+ *
20373
+ * Provides a real-time Server-Sent Events (SSE) stream for user-specific notifications.
20374
+ * This endpoint acts as a persistent bridge between the Redis Pub/Sub backend and
20375
+ * the client's browser
20376
+ *
20377
+ * How SSE works >>>
20378
+ * - Client initiates a GET request; the server validates permissions
20379
+ * - Upon success, a persistent HTTP connection is opened, subscribing to the Redis channel unique for request user
20380
+ * - An initial `{"type":"connected"}` JSON payload is sent immediately to confirm the stream is active.
20381
+ * - The server runs an asynchronous loop, yielding any messages published to Redis directly to the client in SSE format.
20382
+ * - The server monitors for client-side disconnection, and cleans up Redis subscriptions automatically.
20383
+ */
20368
20384
  get: operations["notification_views_notification_stream"];
20369
20385
  put?: never;
20370
20386
  post?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1224",
3
+ "version": "1.0.1225",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],