Skip to content

Commit

Permalink
shovel-config-ts: allow filter_arg to take empty string (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhleung authored Dec 11, 2024
1 parent c84a3e3 commit af0736e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shovel-config-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export type FilterReference = {

export type Filter = {
op: FilterRefOp;
arg: Hex[];
arg: string[];
};

export type BlockDataOptions =
Expand Down Expand Up @@ -92,7 +92,7 @@ export type BlockData = {
column: string;
} & ({
filter_op?: FilterArgOp;
filter_arg?: Hex[];
filter_arg?: string[];
} | {
filter_op?: FilterRefOp;
filter_ref?: FilterReference;
Expand Down Expand Up @@ -122,7 +122,7 @@ export type EventInput = {
column?: string;
} & ({
filter_op?: FilterArgOp;
filter_arg?: Hex[];
filter_arg?: string[];
} | {
filter_op?: FilterRefOp;
filter_ref?: FilterReference;
Expand Down

0 comments on commit af0736e

Please sign in to comment.