export const fileUrlModel = {
  uploadUrl: true,
  file: {
    _id: true,
  },
};

export const myFileModel = size => ({
  mime: true,
  fileName: true,
  getUrl: [{ size }],
  _id: true,
  createdAt: true,
  updatedAt: true,
});

export const fileModel = size => ({
  ...myFileModel(size),
  accountId: true,
});
