@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
7 lines (6 loc) • 379 B
TypeScript
import type { File, Transformation, TransformationSet } from '@directus/types';
export declare function resolvePreset({ transformationParams, acceptFormat }: TransformationSet, file: File): Transformation[];
/**
* Try to extract a file format from an array of `Transformation`'s.
*/
export declare function maybeExtractFormat(transforms: Transformation[]): string | undefined;