Function: rawOp()
ts
function rawOp(name, ...params): CdnOperation;Defined in: ops/raw-op.ts:14
Escape hatch: builds an arbitrary operation without any validation. Useful for internal directives (@clib, @finfo) and operations the library does not know about yet.
Parameters
| Parameter | Type |
|---|---|
name | string |
...params | string[] |
Returns
See
https://uploadcare.com/docs/cdn-operations/
Example
ts
rawOp('@clib', 'my-lib', '1.0.0') // → -/@clib/my-lib/1.0.0/