Skip to content

Interface: FileUrlInput ​

Defined in: types.ts:147

Input shape for building a file url with serializeCdnUrl.

Properties ​

cdnBase ​

ts
cdnBase: string;

Defined in: types.ts:149

Scheme + host, e.g. https://ucarecdn.com (trailing slash tolerated).


conversion? ​

ts
conversion?: ConversionKind | null;

Defined in: types.ts:153

Conversion path prefix (video, document, gif2video), if any.


filename? ​

ts
filename?: string | null;

Defined in: types.ts:157

Trailing filename (default none).


hash? ​

ts
hash?: string;

Defined in: types.ts:161

Fragment to append, '#...' (default none).


operations? ​

ts
operations?: readonly CdnOperation[];

Defined in: types.ts:155

Transformation directives, in order (default none).


ts
search?: string;

Defined in: types.ts:159

Query string to append, '?...' (default none).


uuid ​

ts
uuid: string;

Defined in: types.ts:151

File UUID.