@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
8 lines (7 loc) • 420 B
TypeScript
import type { File } from '@directus/types';
import type { Transformation, TransformationSet } from '../types/index.js';
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;