import { User } from "./user/UserProvider";

export type Template = {
  title: string;
  description: string;
  publishedId: number;
  versionId: number;
  args: string[];
  language: Language | null;
  raw: string;
  date: Date | null;
  username: string | null;
};

export type Language =
  | "all"
  | "abaza"
  | "abkhaz"
  | "afrikaans"
  | "akkadian"
  | "akuntsu"
  | "albanian"
  | "amharic"
  | "ancientGreek"
  | "ancientHebrew"
  | "apurina"
  | "arabic"
  | "armenian"
  | "assyrian"
  | "azerbaijani"
  | "bambara"
  | "basque"
  | "bavarian"
  | "beja"
  | "belarusian"
  | "bengali"
  | "bhojpuri"
  | "bororo"
  | "breton"
  | "bulgarian"
  | "buryat"
  | "cantonese"
  | "cappadocian"
  | "catalan"
  | "cebuano"
  | "chinese"
  | "chukchi"
  | "classicalChinese"
  | "classicalArmenian"
  | "coptic"
  | "croatian"
  | "czech"
  | "danish"
  | "dutch"
  | "egyptian"
  | "english"
  | "erzya"
  | "estonian"
  | "faroese"
  | "finnish"
  | "french"
  | "frisianDutch"
  | "galician"
  | "georgian"
  | "german"
  | "gheg"
  | "gothic"
  | "greek"
  | "guajajara"
  | "guarani"
  | "gujarati"
  | "haitianCreole"
  | "hausa"
  | "hebrew"
  | "highlandPueblaNahuatl"
  | "hindi"
  | "hittite"
  | "hungarian"
  | "icelandic"
  | "indonesian"
  | "irish"
  | "italian"
  | "japanese"
  | "javanese"
  | "kaapor"
  | "kangri"
  | "karelian"
  | "karo"
  | "kazakh"
  | "khunsari"
  | "kiche"
  | "komiPermyak"
  | "komiZyrian"
  | "korean"
  | "kurmanji"
  | "kyrgyz"
  | "latgalian"
  | "latin"
  | "latvian"
  | "ligurian"
  | "lithuanian"
  | "livvi"
  | "lowSaxon"
  | "luxembourgish"
  | "macedonian"
  | "madi"
  | "maghrebiArabicFrench"
  | "makurap"
  | "malayalam"
  | "maltese"
  | "manx"
  | "marathi"
  | "mbyaGuarani"
  | "middleFrench"
  | "moksha"
  | "munduruku"
  | "naija"
  | "nayini"
  | "neapolitan"
  | "nheengatu"
  | "northSami"
  | "norwegian"
  | "oldChurchSlavonic"
  | "oldEastSlavic"
  | "oldFrench"
  | "oldIrish"
  | "oldTurkish"
  | "ottomanTurkish"
  | "paumari"
  | "persian"
  | "polish"
  | "pomak"
  | "portuguese"
  | "romanian"
  | "russian"
  | "sanskrit"
  | "scottishGaelic"
  | "serbian"
  | "sinhala"
  | "skoltSami"
  | "slovak"
  | "slovenian"
  | "soi"
  | "southLevantineArabic"
  | "spanish"
  | "swedish"
  | "swedishSignLanguage"
  | "swissGerman"
  | "tagalog"
  | "tamil"
  | "tatar"
  | "teko"
  | "telugu"
  | "teluguEnglish"
  | "thai"
  | "tswana"
  | "tupinamba"
  | "turkish"
  | "turkishGerman"
  | "ukrainian"
  | "umbrian"
  | "upperSorbian"
  | "urdu"
  | "uyghur"
  | "veps"
  | "vietnamese"
  | "warlpiri"
  | "welsh"
  | "westernSierraPueblaNahuatl"
  | "westernArmenian"
  | "wolof"
  | "xavante"
  | "xibe"
  | "yakut"
  | "yoruba"
  | "yupik"
  | "zaar";
