Preview
Defined in: libs/ccs-files-client/src/types.ts:646
Properties
Section titled “Properties”kind:
PreviewKind
Defined in: libs/ccs-files-client/src/types.ts:648
none with url: null when nothing can be shown (yet).
url:
string|null
Defined in: libs/ccs-files-client/src/types.ts:653
The URL to show: an image’s preview rendition when ready, else the original; for a video the mp4_720p
rendition when ready, then mp4_1080p, then the original; a PDF’s original.
expires_at
Section titled “expires_at”expires_at:
string|null
Defined in: libs/ccs-files-client/src/types.ts:654
mime_type
Section titled “mime_type”mime_type:
string|null
Defined in: libs/ccs-files-client/src/types.ts:655
renditions
Section titled “renditions”renditions:
Record<string, {status:RenditionStatus;url?:string;width?:number|null;height?:number|null; }>
Defined in: libs/ccs-files-client/src/types.ts:657
Every rendition of the version, with a signed URL when it is ready.
optionaltext?:object
Defined in: libs/ccs-files-client/src/types.ts:667
Text files: the same URL served as UTF-8 text, and whether the file is larger than the 1 MiB preview cap.
url:
string
truncated
Section titled “truncated”truncated:
boolean
editable
Section titled “editable”editable:
boolean
Defined in: libs/ccs-files-client/src/types.ts:668