Skip to content

SearchQuery

Defined in: libs/ccs-files-user-client/src/core/types.ts:571

optional after?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:12

PageQuery.after


optional limit?: number

Defined in: libs/ccs-files-user-client/src/core/types.ts:13

PageQuery.limit


optional q?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:572


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

Defined in: libs/ccs-files-user-client/src/core/types.ts:579

Where q matches; default ['name', 'keywords']. name: names that start with the query, case-insensitively (a prefix, not a substring: IMG finds IMG_5913.jpg, 5913 does not). keywords: whole words of the title, description, tags, category, department and custom values (and of the name). With the default, a query no whole word matches falls back to the name prefix. content: whole words of the extracted text (with highlights).


optional folder_id?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:580


optional recursive?: boolean

Defined in: libs/ccs-files-user-client/src/core/types.ts:581


optional kind?: FileKind[]

Defined in: libs/ccs-files-user-client/src/core/types.ts:582


optional mime_type?: string[]

Defined in: libs/ccs-files-user-client/src/core/types.ts:583


optional extension?: string[]

Defined in: libs/ccs-files-user-client/src/core/types.ts:584


optional created_from?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:585


optional created_to?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:586


optional updated_from?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:587


optional updated_to?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:588


optional status?: FileStatus[]

Defined in: libs/ccs-files-user-client/src/core/types.ts:589


optional visibility?: Visibility[]

Defined in: libs/ccs-files-user-client/src/core/types.ts:590


optional state?: FileState[]

Defined in: libs/ccs-files-user-client/src/core/types.ts:591


optional owner_id?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:592


optional created_by_user_id?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:593


optional created_by_client_id?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:594


optional department?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:595


optional category?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:596


optional tags?: string[]

Defined in: libs/ccs-files-user-client/src/core/types.ts:597


optional tags_match?: "all" | "any"

Defined in: libs/ccs-files-user-client/src/core/types.ts:598


optional external_ref?: string

Defined in: libs/ccs-files-user-client/src/core/types.ts:599


optional min_size?: number

Defined in: libs/ccs-files-user-client/src/core/types.ts:600


optional max_size?: number

Defined in: libs/ccs-files-user-client/src/core/types.ts:601


optional custom?: Record<string, string>

Defined in: libs/ccs-files-user-client/src/core/types.ts:603

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-user-client/src/core/types.ts:604


optional order?: "asc" | "desc"

Defined in: libs/ccs-files-user-client/src/core/types.ts:605