/**
 * @copyright NHCarrigan
 * @license Naomi's Public License
 * @author Naomi Carrigan
 */

import type { Link } from "./common.types";

interface Art {
  id:           string;
  title:        string;
  artist:       string;
  description?: string;
  imageUrl:     string;
  tags:         Array<string>;
  links:        Array<Link>;
  dateAdded:    Date;
  createdAt:    Date;
  updatedAt:    Date;
}

interface CreateArtDto {
  title:        string;
  artist:       string;
  description?: string;
  imageUrl:     string;
  tags?:        Array<string>;
  links?:       Array<Link>;
}

type UpdateArtDto = Partial<CreateArtDto>;

export type { Art, CreateArtDto, UpdateArtDto };
