Skip to content
scroll to zoom · drag to pan

PrivateTransformOptions

type PrivateTransformOptions = Omit<TransformOptions, "width"> & {
width?: number;
};

Defined in: packages/asset-client/src/transform.ts:188

width widened to any number — the PRIVATE tree’s option type.

⚠️ Not an escape hatch for the public tree: /t/ answers 400 for an off-ladder width, signed or not (doc blindaje WS-6). What this is for is the /a/<tenant>/t/… tree, where the ladder deliberately does NOT apply — the request arrives HMAC-verified against the tenant’s key, so only a key-holder can ask, and “any width/crop/format, not just the materialised ones” is the written promise of getPrivateTransformUrl.

Also used by the two builders that take an explicit ladder the caller chose (getTransformSrcSet) or that are documented as unchecked (getTransformUrlUnchecked).

optional width?: number;