2024-10-29 19:22:18 +01:00

22 lines
319 B
TypeScript

export enum AssetType {
image = 'IMAGE',
video = 'VIDEO'
}
export interface Asset {
id: string;
type: AssetType;
isTrashed: boolean;
}
export interface SharedLink {
key: string;
assets: Asset[];
expiresAt: string | null;
}
export enum ImageSize {
thumbnail = 'thumbnail',
original = 'original'
}