mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Workshop - Update workshop IDs to be long
This commit is contained in:
1 parent
a798980eec
commit
0fdb40bd35
33 files changed
+102
-103
No files matched your search
@@ -7,7 +7,7 @@ schema {
|
||||
|
||||
type Category {
|
||||
icon: String!
|
||||
id: Int!
|
||||
id: Long!
|
||||
name: String!
|
||||
}
|
||||
|
||||
@@ -38,10 +38,10 @@ type Entry {
|
||||
entryType: EntryType!
|
||||
icon: Image
|
||||
iconId: UUID
|
||||
id: UUID!
|
||||
id: Long!
|
||||
images: [Image!]!
|
||||
latestRelease: Release
|
||||
latestReleaseId: UUID
|
||||
latestReleaseId: Long
|
||||
name: String!
|
||||
releases: [Release!]!
|
||||
summary: String!
|
||||
@@ -55,14 +55,14 @@ type Image {
|
||||
|
||||
type Mutation {
|
||||
addEntry(input: CreateEntryInput!): Entry
|
||||
removeEntry(id: UUID!): Entry
|
||||
removeEntry(id: Long!): Entry
|
||||
updateEntry(input: UpdateEntryInput!): Entry
|
||||
}
|
||||
|
||||
type Query {
|
||||
categories(order: [CategorySortInput!], where: CategoryFilterInput): [Category!]!
|
||||
entries(order: [EntrySortInput!], skip: Int, take: Int, where: EntryFilterInput): EntriesCollectionSegment
|
||||
entry(id: UUID!): Entry
|
||||
entry(id: Long!): Entry
|
||||
searchEntries(input: String!, order: [EntrySortInput!], type: EntryType, where: EntryFilterInput): [Entry!]!
|
||||
submittedEntries(order: [EntrySortInput!], where: EntryFilterInput): [Entry!]!
|
||||
}
|
||||
@@ -72,14 +72,14 @@ type Release {
|
||||
downloadSize: Long!
|
||||
downloads: Long!
|
||||
entry: Entry!
|
||||
entryId: UUID!
|
||||
id: UUID!
|
||||
entryId: Long!
|
||||
id: Long!
|
||||
md5Hash: String
|
||||
version: String!
|
||||
}
|
||||
|
||||
type Tag {
|
||||
id: Int!
|
||||
id: Long!
|
||||
name: String!
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ scalar UUID
|
||||
input CategoryFilterInput {
|
||||
and: [CategoryFilterInput!]
|
||||
icon: StringOperationFilterInput
|
||||
id: IntOperationFilterInput
|
||||
id: LongOperationFilterInput
|
||||
name: StringOperationFilterInput
|
||||
or: [CategoryFilterInput!]
|
||||
}
|
||||
@@ -123,7 +123,7 @@ input CategorySortInput {
|
||||
}
|
||||
|
||||
input CreateEntryInput {
|
||||
categories: [Int!]!
|
||||
categories: [Long!]!
|
||||
description: String!
|
||||
entryType: EntryType!
|
||||
name: String!
|
||||
@@ -157,10 +157,10 @@ input EntryFilterInput {
|
||||
entryType: EntryTypeOperationFilterInput
|
||||
icon: ImageFilterInput
|
||||
iconId: UuidOperationFilterInput
|
||||
id: UuidOperationFilterInput
|
||||
id: LongOperationFilterInput
|
||||
images: ListFilterInputTypeOfImageFilterInput
|
||||
latestRelease: ReleaseFilterInput
|
||||
latestReleaseId: UuidOperationFilterInput
|
||||
latestReleaseId: LongOperationFilterInput
|
||||
name: StringOperationFilterInput
|
||||
or: [EntryFilterInput!]
|
||||
releases: ListFilterInputTypeOfReleaseFilterInput
|
||||
@@ -203,21 +203,6 @@ input ImageSortInput {
|
||||
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
|
||||
@@ -267,8 +252,8 @@ input ReleaseFilterInput {
|
||||
downloadSize: LongOperationFilterInput
|
||||
downloads: LongOperationFilterInput
|
||||
entry: EntryFilterInput
|
||||
entryId: UuidOperationFilterInput
|
||||
id: UuidOperationFilterInput
|
||||
entryId: LongOperationFilterInput
|
||||
id: LongOperationFilterInput
|
||||
md5Hash: StringOperationFilterInput
|
||||
or: [ReleaseFilterInput!]
|
||||
version: StringOperationFilterInput
|
||||
@@ -302,15 +287,15 @@ input StringOperationFilterInput {
|
||||
|
||||
input TagFilterInput {
|
||||
and: [TagFilterInput!]
|
||||
id: IntOperationFilterInput
|
||||
id: LongOperationFilterInput
|
||||
name: StringOperationFilterInput
|
||||
or: [TagFilterInput!]
|
||||
}
|
||||
|
||||
input UpdateEntryInput {
|
||||
categories: [Int!]!
|
||||
categories: [Long!]!
|
||||
description: String!
|
||||
id: UUID!
|
||||
id: Long!
|
||||
name: String!
|
||||
summary: String!
|
||||
tags: [String!]!
|
||||
|
||||
Reference in new issue
Block a user