Skip to content

Commit

Permalink
Update GraphQL relay schema
Browse files Browse the repository at this point in the history
Update GraphQL relay schema
  • Loading branch information
jayjay-w committed Feb 24, 2025
1 parent 043d2f3 commit 9a13e24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1,385 deletions.
223 changes: 1 addition & 222 deletions lib/relay.idl
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ type AnnotationEdge {
"""
A union type of all annotation types we can handle
"""
union AnnotationUnion = Annotation | Comment | Dynamic | Flag | Tag | Task
union AnnotationUnion = Annotation | Dynamic | Flag | Tag | Task

"""
The connection type for AnnotationUnion.
Expand Down Expand Up @@ -1000,127 +1000,6 @@ type ClusterTeamFactCheckEdge {
node: ClusterTeamFactCheck
}

type Comment implements Node {
annotated_id: String
annotated_type: String
annotation_type: String
annotations(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
annotation_type: 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
): AnnotationUnionConnection
annotator: Annotator
assignments(
"""
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
): UserConnection
content: String
created_at: String
data: JsonStringType
dbid: String
file_data: JsonStringType
id: ID!
locked: Boolean
medias(
"""
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
): ProjectMediaConnection
parsed_fragment: JsonStringType
permissions: String
project: Project
team: Team
text: String
updated_at: String
version: Version
}

"""
The connection type for Comment.
"""
type CommentConnection {
"""
A list of edges.
"""
edges: [CommentEdge]

"""
A list of nodes.
"""
nodes: [Comment]

"""
Information to aid in pagination.
"""
pageInfo: PageInfo!
totalCount: Int
}

"""
An edge in a connection.
"""
type CommentEdge {
"""
A cursor for use in pagination.
"""
cursor: String!

"""
The item at the end of the edge.
"""
node: Comment
}

"""
Autogenerated input type of CreateAccountSource
"""
Expand Down Expand Up @@ -1203,39 +1082,6 @@ type CreateClaimDescriptionPayload {
project_media: ProjectMedia
}

"""
Autogenerated input type of CreateComment
"""
input CreateCommentInput {
annotated_id: String
annotated_type: String

"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
fragment: String
text: String!
}

"""
Autogenerated return type of CreateComment
"""
type CreateCommentPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
comment: Comment
commentEdge: CommentEdge
project: Project
project_media: ProjectMedia
source: Source
task: Task
version: Version
versionEdge: VersionEdge
}

"""
Autogenerated input type of CreateDynamicAnnotationAnalysis
"""
Expand Down Expand Up @@ -9254,12 +9100,6 @@ type MutationType {
"""
input: CreateClaimDescriptionInput!
): CreateClaimDescriptionPayload
createComment(
"""
Parameters for CreateComment
"""
input: CreateCommentInput!
): CreateCommentPayload
createDynamic(
"""
Parameters for CreateDynamic
Expand Down Expand Up @@ -10070,12 +9910,6 @@ type MutationType {
"""
input: UpdateClaimDescriptionInput!
): UpdateClaimDescriptionPayload
updateComment(
"""
Parameters for UpdateComment
"""
input: UpdateCommentInput!
): UpdateCommentPayload
updateDynamic(
"""
Parameters for UpdateDynamic
Expand Down Expand Up @@ -10705,27 +10539,6 @@ type ProjectMedia implements Node {
author_role: String
channel: JsonStringType
claim_description: ClaimDescription
comments(
"""
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
): CommentConnection
confirmed_as_similar_by_name: String
confirmed_main_item: ProjectMedia
confirmed_similar_items_count: Int
Expand Down Expand Up @@ -14231,40 +14044,6 @@ type UpdateClaimDescriptionPayload {
project_media: ProjectMedia
}

"""
Autogenerated input type of UpdateComment
"""
input UpdateCommentInput {
annotated_id: String
annotated_type: String

"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
fragment: String
id: ID
text: String
}

"""
Autogenerated return type of UpdateComment
"""
type UpdateCommentPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String
comment: Comment
commentEdge: CommentEdge
project: Project
project_media: ProjectMedia
source: Source
task: Task
version: Version
versionEdge: VersionEdge
}

"""
Autogenerated input type of UpdateDynamicAnnotationAnalysis
"""
Expand Down
Loading

0 comments on commit 9a13e24

Please sign in to comment.