Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SearchV2Options

import type { SearchV2Options } from "https://esm.sh/@supabase/storage-js@2.89.0/dist/index.d.mts";
interface SearchV2Options {
cursor?: string;
limit?: number;
prefix?: string;
sortBy?: SortByV2;
with_delimiter?: boolean;
}

§Properties

§
cursor?: string
[src]

The cursor used for pagination. Pass the value received from nextCursor of the previous request.

§
limit?: number
[src]

The number of files you want to be returned.

§
prefix?: string
[src]

The prefix search string to filter files by.

§
sortBy?: SortByV2
[src]

The column and order to sort by

§
with_delimiter?: boolean
[src]

Whether to emulate a hierarchical listing of objects using delimiters.

  • When false (default), all objects are listed as flat key/value pairs.
  • When true, the response groups objects by delimiter, making it appear like a file/folder hierarchy.