From 393276ba80b2f1f45459b06d6a7ce68a97ad967b Mon Sep 17 00:00:00 2001 From: Devan Naik <62904706+dnaik-sfx@users.noreply.github.com> Date: Thu, 7 Mar 2024 17:50:20 -0500 Subject: [PATCH] Update type definition for Signalflow client (#119) Add `filter` param to the Signalflow client `ExecuteOptions` definition (allows filters to be passed in separately from the program text when executing Signalflow). --- lib/signalfx.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/signalfx.d.ts b/lib/signalfx.d.ts index 636e29e..a051f5e 100644 --- a/lib/signalfx.d.ts +++ b/lib/signalfx.d.ts @@ -14,6 +14,7 @@ export interface ExecuteOptions { usedByDetectorUI?: boolean; useCache?: boolean; compress?: boolean; + filter?: string; } type SignalFlow = (token: string, options: SignalFlowClientOptions) => SignalFlowClient; @@ -270,4 +271,4 @@ export const CONSTANTS: { }; }; -export * from './ingest'; \ No newline at end of file +export * from './ingest';