from enum import Enum, unique


@unique
class fileds(Enum):
    title = 1
    abstractNote = 2
    artworkMedium = 3
    medium = 4
    artworkSize = 5
    date = 6
    language = 7
    shortTitle = 8
    archive = 9
    archiveLocation = 10
    libraryCatalog = 11
    callNumber = 12
    url = 13
    accessDate = 14
    rights = 15
    extra = 16
    audioRecordingFormat = 17
    seriesTitle = 18
    volume = 19
    numberOfVolumes = 20
    place = 21
    label = 22
    publisher = 23
    runningTime = 24
    ISBN = 25
    billNumber = 26
    number = 27
    code = 28
    codeVolume = 29
    section = 30
    codePages = 31
    pages = 32
    legislativeBody = 33
    session = 34
    history = 35
    blogTitle = 36
    publicationTitle = 37
    websiteType = 38
    type = 39
    series = 40
    seriesNumber = 41
    edition = 42
    numPages = 43
    bookTitle = 44
    caseName = 45
    court = 46
    dateDecided = 47
    docketNumber = 48
    reporter = 49
    reporterVolume = 50
    firstPage = 51
    versionNumber = 52
    system = 53
    company = 54
    programmingLanguage = 55
    proceedingsTitle = 56
    conferenceName = 57
    DOI = 58
    dictionaryTitle = 59
    subject = 60
    encyclopediaTitle = 61
    distributor = 62
    genre = 63
    videoRecordingFormat = 64
    forumTitle = 65
    postType = 66
    committee = 67
    documentNumber = 68
    interviewMedium = 69
    issue = 70
    seriesText = 71
    journalAbbreviation = 72
    ISSN = 73
    letterType = 74
    manuscriptType = 75
    mapType = 76
    scale = 77
    country = 78
    assignee = 79
    issuingAuthority = 80
    patentNumber = 81
    filingDate = 82
    applicationNumber = 83
    priorityNumbers = 84
    issueDate = 85
    references = 86
    legalStatus = 87
    episodeNumber = 88
    audioFileType = 89
    presentationType = 90
    meetingName = 91
    programTitle = 92
    network = 93
    reportNumber = 94
    reportType = 95
    institution = 96
    nameOfAct = 97
    codeNumber = 98
    publicLawNumber = 99
    dateEnacted = 100
    thesisType = 101
    university = 102
    studio = 103
    websiteTitle = 104


@unique
class itemTypes(Enum):
    artwork = 1
    attachment = 2
    audioRecording = 3
    bill = 4
    blogPost = 5
    book = 6
    bookSection = 7
    case = 8
    computerProgram = 9
    conferencePaper = 10
    dictionaryEntry = 11
    document = 12
    email = 13
    encyclopediaArticle = 14
    film = 15
    forumPost = 16
    hearing = 17
    instantMessage = 18
    interview = 19
    journalArticle = 20
    letter = 21
    magazineArticle = 22
    manuscript = 23
    map = 24
    newspaperArticle = 25
    note = 26
    patent = 27
    podcast = 28
    presentation = 29
    radioBroadcast = 30
    report = 31
    statute = 32
    thesis = 33
    tvBroadcast = 34
    videoRecording = 35
    webpage = 36


class commonPrefs:
    dataDir = "extensions.zotero.dataDir"
    attachmentDir = "extensions.zotero.baseAttachmentPath"

