Skip to content

Commit

Permalink
feat: add search param to list function (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaister committed Apr 4, 2022
1 parent 7d5f15a commit 4e7bd0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ export interface SearchOptions {

/** The column to sort by. Can be any column inside a FileObject. */
sortBy?: SortBy

/** The search string to filter files by. */
search?: string
}

// TODO: need to check for metadata props. The api swagger doesnt have.
Expand Down

0 comments on commit 4e7bd0f

Please sign in to comment.