scalar Upload

interface DbModel {
    id: Int

    deleted: Boolean
    editor: User
    created: String
    updated: String
}

interface DbHistoryModel {
    id: Int

    deleted: Boolean
    editor: String
    created: String
    updated: String
}

enum SortOrder {
    ASC
    DESC
}

interface DbModelSort {
    deleted: SortOrder
    editor: SortOrder
    created: SortOrder
    updated: SortOrder
}

input StringFilter {
    equal: String
    notEqual: String

    contains: String
    notContains: String
    startsWith: String
    endsWith: String

    isNull: Boolean
    isNotNull: Boolean
}

input IntFilter {
    equal: Int
    notEqual: Int
    greater: Int
    greaterOrEqual: Int
    less: Int
    lessOrEqual: Int

    isNull: Boolean
    isNotNull: Boolean
    in: [Int]
    notIn: [Int]
}

input BooleanFilter {
    equal: Boolean
    notEqual: Int

    isNull: Boolean
    isNotNull: Boolean
}

input DateFilter {
    equal: String
    notEqual: String

    greater: String
    greaterOrEqual: String

    less: String
    lessOrEqual: String

    contains: String
    notContains: String

    isNull: Boolean
    isNotNull: Boolean

    in: [String]
    notIn: [String]
}