mirror of
https://github.com/directus/directus.git
synced 2026-02-10 20:35:04 -05:00
Optimize asset checks
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
export type Transformation = {
|
||||
key?: string;
|
||||
w?: number; // width
|
||||
h?: number; // height
|
||||
f?: 'cover' | 'contain'; // fit
|
||||
};
|
||||
|
||||
// @NOTE Keys used in Transformation should match ASSET_GENERATION_QUERY_KEYS in constants.ts
|
||||
|
||||
Reference in New Issue
Block a user