interface Part {
  meta: Meta;
  links: Link[];
  files: File[];
  versions: Version[];
}

interface Meta {
  id: string;
  hash: string;
  title: string;
  refId: string;
  description: string;
}

interface Link {
  name: string;
  type: LinkType;
  url: string;
}

type LinkType = "Document" | "IP";

interface File {
  meta: string[];
  document: string;
  ip: string;
}

interface Version {
  id: string;
  timestamp: string;
}

interface MarketPart extends Part {}

interface InternalPart extends Part {}

declare module "*.svg" {
  const content: any;
  export default content;
}
