Skip to content

Commit

Permalink
Update type definition for Signalflow client (#119)
Browse files Browse the repository at this point in the history
Add `filter` param to the Signalflow client `ExecuteOptions`
definition (allows filters to be passed in separately from
the program text when executing Signalflow).
  • Loading branch information
dnaik-sfx authored Mar 7, 2024
1 parent 08534d6 commit 393276b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/signalfx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface ExecuteOptions {
usedByDetectorUI?: boolean;
useCache?: boolean;
compress?: boolean;
filter?: string;
}

type SignalFlow = (token: string, options: SignalFlowClientOptions) => SignalFlowClient;
Expand Down Expand Up @@ -270,4 +271,4 @@ export const CONSTANTS: {
};
};

export * from './ingest';
export * from './ingest';

0 comments on commit 393276b

Please sign in to comment.