Skip to content

FileHold

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

A legal hold on a file. While it is in force the file cannot be purged and its versions cannot be deleted (409 file_on_hold); trashing, restoring, edits and new versions stay allowed. The reason is visible to everyone who can view the file.

reason: string

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


placed_by: string

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

The user who placed it, or the client id of a backend client that placed it.


placed_at: string

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


until: string | null

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

When the hold ends by itself; null: until it is released. A hold past until blocks nothing and is cleared by the service within a day.