@homespunapps/core 1.6.51 → 1.6.53
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/app-stream.d.ts +7 -0
- package/dist/app-stream.js +3 -0
- package/dist/client.d.ts +1 -1
- package/package.json +1 -1
package/dist/app-stream.d.ts
CHANGED
|
@@ -38,6 +38,13 @@ export interface AppStreamHandlers {
|
|
|
38
38
|
onCaughtUp?: () => void;
|
|
39
39
|
/** Fired on a `resync` frame — the caller should full-resync each collection. */
|
|
40
40
|
onResync?: () => void;
|
|
41
|
+
/**
|
|
42
|
+
* A task was queued for this app: claim now rather than waiting out the poll
|
|
43
|
+
* interval. A HINT ONLY, carrying nothing, so a consumer that never receives one
|
|
44
|
+
* (no socket, dropped frame, older relay) must still poll and lose nothing but
|
|
45
|
+
* time. Only agent-key sockets receive it.
|
|
46
|
+
*/
|
|
47
|
+
onAgentTaskAvailable?: () => void;
|
|
41
48
|
/** Fired on the terminal `_dormant` frame (the app went dormant). */
|
|
42
49
|
onDormant?: () => void;
|
|
43
50
|
/** Fired on the terminal `_suspended` frame (an operator suspended the
|
package/dist/app-stream.js
CHANGED
package/dist/client.d.ts
CHANGED
|
@@ -1408,7 +1408,7 @@ export interface BatchResult {
|
|
|
1408
1408
|
* specific subset. Honored only for an owner/agent key.
|
|
1409
1409
|
*/
|
|
1410
1410
|
export interface BatchWriteOptions {
|
|
1411
|
-
suppress?: ("notify" | "webhooks")[];
|
|
1411
|
+
suppress?: ("notify" | "webhooks" | "agentTasks")[];
|
|
1412
1412
|
emitEffects?: boolean;
|
|
1413
1413
|
/**
|
|
1414
1414
|
* Wave C1 natural-key upsert: match (or create) each row on this
|