Skip to content

SearchQuery

Defined in: libs/ccs-files-client/src/types.ts:687

optional after?: string

Defined in: libs/ccs-files-client/src/types.ts:22

PageQuery.after


optional limit?: number

Defined in: libs/ccs-files-client/src/types.ts:23

PageQuery.limit


optional q?: string

Defined in: libs/ccs-files-client/src/types.ts:688


optional in?: ("name" | "keywords" | "content")[]

Defined in: libs/ccs-files-client/src/types.ts:696

Default ['name', 'keywords']. name matches names that start with the query, case-insensitively (a prefix, not a substring: IMG finds IMG_5913.jpg, 5913 does not). keywords matches whole words in the name, title, description, tags, category, department and custom values; with the default, a query no whole word matches falls back to the name prefix. content matches the text extracted from documents (PDF, Word, PowerPoint, Excel, OpenDocument, text, HTML, JSON): whole words, a quoted phrase as a phrase; a hit carries highlights.


optional folder_id?: string

Defined in: libs/ccs-files-client/src/types.ts:697


optional recursive?: boolean

Defined in: libs/ccs-files-client/src/types.ts:698


optional kind?: FileKind[]

Defined in: libs/ccs-files-client/src/types.ts:699


optional mime_type?: string[]

Defined in: libs/ccs-files-client/src/types.ts:700


optional extension?: string[]

Defined in: libs/ccs-files-client/src/types.ts:701


optional created_from?: string

Defined in: libs/ccs-files-client/src/types.ts:702


optional created_to?: string

Defined in: libs/ccs-files-client/src/types.ts:703


optional updated_from?: string

Defined in: libs/ccs-files-client/src/types.ts:704


optional updated_to?: string

Defined in: libs/ccs-files-client/src/types.ts:705


optional status?: FileStatus[]

Defined in: libs/ccs-files-client/src/types.ts:706


optional visibility?: Visibility[]

Defined in: libs/ccs-files-client/src/types.ts:707


optional state?: FileState[]

Defined in: libs/ccs-files-client/src/types.ts:708


optional owner_id?: string

Defined in: libs/ccs-files-client/src/types.ts:709


optional created_by_user_id?: string

Defined in: libs/ccs-files-client/src/types.ts:710


optional created_by_client_id?: string

Defined in: libs/ccs-files-client/src/types.ts:711


optional department?: string

Defined in: libs/ccs-files-client/src/types.ts:712


optional category?: string

Defined in: libs/ccs-files-client/src/types.ts:713


optional tags?: string[]

Defined in: libs/ccs-files-client/src/types.ts:714


optional tags_match?: "all" | "any"

Defined in: libs/ccs-files-client/src/types.ts:715


optional external_ref?: string

Defined in: libs/ccs-files-client/src/types.ts:716


optional min_size?: number

Defined in: libs/ccs-files-client/src/types.ts:717


optional max_size?: number

Defined in: libs/ccs-files-client/src/types.ts:718


optional custom?: Record<string, string>

Defined in: libs/ccs-files-client/src/types.ts:720

Exact matches on custom metadata (at most 5 keys), sent as custom.<key>=<value>.


optional sort?: "name" | "created_at" | "updated_at" | "size" | "relevance"

Defined in: libs/ccs-files-client/src/types.ts:721


optional order?: "asc" | "desc"

Defined in: libs/ccs-files-client/src/types.ts:722