From 7cba75ec3525fc6f693cbbd8585315434898daa8 Mon Sep 17 00:00:00 2001 From: Andrew Nguonly Date: Thu, 7 Nov 2024 16:32:08 -0800 Subject: [PATCH] sdk-js: Add `custom` and `messages-tuple` stream modes (#2370) --- libs/sdk-js/src/types.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/sdk-js/src/types.ts b/libs/sdk-js/src/types.ts index 93b025fa4..971d5d836 100644 --- a/libs/sdk-js/src/types.ts +++ b/libs/sdk-js/src/types.ts @@ -1,6 +1,13 @@ import { Checkpoint, Config, Metadata } from "./schema.js"; -export type StreamMode = "values" | "messages" | "updates" | "events" | "debug"; +export type StreamMode = + | "values" + | "messages" + | "updates" + | "events" + | "debug" + | "custom" + | "messages-tuple"; export type MultitaskStrategy = "reject" | "interrupt" | "rollback" | "enqueue"; export type OnConflictBehavior = "raise" | "do_nothing"; export type OnCompletionBehavior = "complete" | "continue";