import {UserData} from "@app/_models/user";

export class Asset {
  id: string;
  type: string;
  path: string;
  mime: string;
  filename: string;
  extension: string;
  createdAt: string;
  coordinates?: any;
  links?: AssetLinks;
  user?: UserData;
}

export class AssetsList {
  data: Asset[];
}

export class AssetData {
  data: Asset;
}

export class AssetLinks {
  open?: string;
  download?: string;
  full?: string;
  thumb?: string;
}
