1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

313 lines
6.5 KiB
GraphQL

# This file was generated. Do not edit manually.
schema {
query: Query
mutation: Mutation
}
type Category {
icon: String!
id: Int!
name: String!
}
"A connection to a list of items."
type EntriesConnection {
"A list of edges."
edges: [EntriesEdge!]
"A flattened list of the nodes."
nodes: [Entry!]
"Information to aid in pagination."
pageInfo: PageInfo!
"Identifies the total count of items in the connection."
totalCount: Int!
}
"An edge in a connection."
type EntriesEdge {
"A cursor for use in pagination."
cursor: String!
"The item at the end of the edge."
node: Entry!
}
type Entry {
author: UUID!
categories: [Category!]!
createdAt: DateTime!
description: String!
downloads: Long!
entryType: EntryType!
icon: Image
id: UUID!
images: [Image!]!
name: String!
releases: [Release!]!
summary: String!
tags: [Tag!]!
}
type Image {
id: UUID!
mimeType: String!
}
type Mutation {
addEntry(input: EntryInput!): Entry
}
"Information about pagination in a connection."
type PageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"Indicates whether more edges exist following the set defined by the clients arguments."
hasNextPage: Boolean!
"Indicates whether more edges exist prior the set defined by the clients arguments."
hasPreviousPage: Boolean!
"When paginating backwards, the cursor to continue."
startCursor: String
}
type Query {
categories(order: [CategorySortInput!], where: CategoryFilterInput): [Category!]!
entries(
"Returns the elements in the list that come after the specified cursor."
after: String,
"Returns the elements in the list that come before the specified cursor."
before: String,
"Returns the first _n_ elements from the list."
first: Int,
"Returns the last _n_ elements from the list."
last: Int,
order: [EntrySortInput!],
where: EntryFilterInput
): EntriesConnection
entry(id: UUID!): Entry
}
type Release {
createdAt: DateTime!
downloadSize: Long!
downloads: Long!
entry: Entry!
id: UUID!
md5Hash: String
version: String!
}
type Tag {
id: Int!
name: String!
}
enum EntryType {
LAYOUT
PLUGIN
PROFILE
}
enum SortEnumType {
ASC
DESC
}
"The `DateTime` scalar represents an ISO-8601 compliant date time type."
scalar DateTime
"The `Long` scalar type represents non-fractional signed whole 64-bit numeric values. Long can represent values between -(2^63) and 2^63 - 1."
scalar Long
scalar UUID
input CategoryFilterInput {
and: [CategoryFilterInput!]
icon: StringOperationFilterInput
id: IntOperationFilterInput
name: StringOperationFilterInput
or: [CategoryFilterInput!]
}
input CategorySortInput {
icon: SortEnumType
id: SortEnumType
name: SortEnumType
}
input DateTimeOperationFilterInput {
eq: DateTime
gt: DateTime
gte: DateTime
in: [DateTime]
lt: DateTime
lte: DateTime
neq: DateTime
ngt: DateTime
ngte: DateTime
nin: [DateTime]
nlt: DateTime
nlte: DateTime
}
input EntryFilterInput {
and: [EntryFilterInput!]
author: UuidOperationFilterInput
categories: ListFilterInputTypeOfCategoryFilterInput
createdAt: DateTimeOperationFilterInput
description: StringOperationFilterInput
downloads: LongOperationFilterInput
entryType: EntryTypeOperationFilterInput
icon: ImageFilterInput
id: UuidOperationFilterInput
images: ListFilterInputTypeOfImageFilterInput
name: StringOperationFilterInput
or: [EntryFilterInput!]
releases: ListFilterInputTypeOfReleaseFilterInput
summary: StringOperationFilterInput
tags: ListFilterInputTypeOfTagFilterInput
}
input EntryInput {
description: String!
entryType: EntryType!
name: String!
tags: [String!]!
}
input EntrySortInput {
author: SortEnumType
createdAt: SortEnumType
description: SortEnumType
downloads: SortEnumType
entryType: SortEnumType
icon: ImageSortInput
id: SortEnumType
name: SortEnumType
summary: SortEnumType
}
input EntryTypeOperationFilterInput {
eq: EntryType
in: [EntryType!]
neq: EntryType
nin: [EntryType!]
}
input ImageFilterInput {
and: [ImageFilterInput!]
id: UuidOperationFilterInput
mimeType: StringOperationFilterInput
or: [ImageFilterInput!]
}
input ImageSortInput {
id: SortEnumType
mimeType: SortEnumType
}
input IntOperationFilterInput {
eq: Int
gt: Int
gte: Int
in: [Int]
lt: Int
lte: Int
neq: Int
ngt: Int
ngte: Int
nin: [Int]
nlt: Int
nlte: Int
}
input ListFilterInputTypeOfCategoryFilterInput {
all: CategoryFilterInput
any: Boolean
none: CategoryFilterInput
some: CategoryFilterInput
}
input ListFilterInputTypeOfImageFilterInput {
all: ImageFilterInput
any: Boolean
none: ImageFilterInput
some: ImageFilterInput
}
input ListFilterInputTypeOfReleaseFilterInput {
all: ReleaseFilterInput
any: Boolean
none: ReleaseFilterInput
some: ReleaseFilterInput
}
input ListFilterInputTypeOfTagFilterInput {
all: TagFilterInput
any: Boolean
none: TagFilterInput
some: TagFilterInput
}
input LongOperationFilterInput {
eq: Long
gt: Long
gte: Long
in: [Long]
lt: Long
lte: Long
neq: Long
ngt: Long
ngte: Long
nin: [Long]
nlt: Long
nlte: Long
}
input ReleaseFilterInput {
and: [ReleaseFilterInput!]
createdAt: DateTimeOperationFilterInput
downloadSize: LongOperationFilterInput
downloads: LongOperationFilterInput
entry: EntryFilterInput
id: UuidOperationFilterInput
md5Hash: StringOperationFilterInput
or: [ReleaseFilterInput!]
version: StringOperationFilterInput
}
input StringOperationFilterInput {
and: [StringOperationFilterInput!]
contains: String
endsWith: String
eq: String
in: [String]
ncontains: String
nendsWith: String
neq: String
nin: [String]
nstartsWith: String
or: [StringOperationFilterInput!]
startsWith: String
}
input TagFilterInput {
and: [TagFilterInput!]
id: IntOperationFilterInput
name: StringOperationFilterInput
or: [TagFilterInput!]
}
input UuidOperationFilterInput {
eq: UUID
gt: UUID
gte: UUID
in: [UUID]
lt: UUID
lte: UUID
neq: UUID
ngt: UUID
ngte: UUID
nin: [UUID]
nlt: UUID
nlte: UUID
}