import { Tagozat } from './Category';
import { CreationGalleryImage } from './Creation';

// list item -->
export interface CreatorListData {
  id: number;
  nev: string | null;
  szakma: string | null;
  tipus: string | null;
  profilkep: CreationGalleryImage;
  elhalalozasIdeje: string | null;
  alkotoAzonosito: string;
}

export interface CreatorBirthdayInfo {
  imgKey: string | null;
  orderKey: string | null;
  text: string;
  creatorId?: string | null;
  birthPlace?: string | null;
  birthYear?: number | null;
  birthDateIso?: string | null;
}

// creator page data -->
export interface CreatorData {
  alkotoAzonosito: string;
  nev: string | null;
  mmaID: string | null;
  szuletesiIdo: string | null;
  szuletesiHely: string | null;
  elhalalozasIdeje: string | null;
  elhalalozasHelye: string | null;
  szakmaOndef: string | null;
  profilkep: CreationGalleryImage | null;
  galeria: CreationGalleryImage[] | null;
  szakma: string | null;
  eletrajz: string | null;
  dijak: string | null;

  palyakep: string | null;
  palyakepCim: string | null;
  palyakepSzerzo: string | null;
  palyakepEv: number | null;
  palyakepLead: string | null;

  arsPoetica: string | null;
  toleRola: string | null;

  mmaTagozatLista: MMATagozat[] | null;
  mmaTagsagLista: MMAMembership[] | null;
  muveszetiAg: string | null;
  muveszetiAgEnum: string | null;

  tagozat: Tagozat | null;
  hasCreationVideos: boolean;
  hasCreationMapData: boolean;
  hasCreations: boolean;
  hasMmaNews: boolean;
  hasLifeEvents: boolean;
  cimkeFelho: TagCloudItem[] | null;
  contentCount: number | null;
}

interface TagCloudItem {
  cnt: number;
  metaId: number;
  nev: string;
}

export interface MMAMembership {
  tol: number;
  ig: number | null;
  nev: string;
}

interface MMATagozat {
  datumIg: null; // todo
  datumTol: null; // todo
  id: number;
  nev: string;
}
