From af0736eee8f5dda1bceeeed6261672fd9ec7a590 Mon Sep 17 00:00:00 2001 From: "Nathan H. Leung" Date: Tue, 10 Dec 2024 20:55:48 -0500 Subject: [PATCH] shovel-config-ts: allow filter_arg to take empty string (#280) --- shovel-config-ts/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shovel-config-ts/src/index.ts b/shovel-config-ts/src/index.ts index fcbec91..1b3424d 100644 --- a/shovel-config-ts/src/index.ts +++ b/shovel-config-ts/src/index.ts @@ -48,7 +48,7 @@ export type FilterReference = { export type Filter = { op: FilterRefOp; - arg: Hex[]; + arg: string[]; }; export type BlockDataOptions = @@ -92,7 +92,7 @@ export type BlockData = { column: string; } & ({ filter_op?: FilterArgOp; - filter_arg?: Hex[]; + filter_arg?: string[]; } | { filter_op?: FilterRefOp; filter_ref?: FilterReference; @@ -122,7 +122,7 @@ export type EventInput = { column?: string; } & ({ filter_op?: FilterArgOp; - filter_arg?: Hex[]; + filter_arg?: string[]; } | { filter_op?: FilterRefOp; filter_ref?: FilterReference;