Skip to content

Commit

Permalink
update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyThiessen committed Oct 10, 2024
1 parent 85e75a1 commit dc1c213
Showing 1 changed file with 130 additions and 0 deletions.
130 changes: 130 additions & 0 deletions app/graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,61 @@ enum AttachmentOrderField {
updated_at
}

"""
Autogenerated input type of CloneSamples
"""
input CloneSamplesInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The Node ID of the project to copy to. For example, `gid://irida/Project/a84cd757-dedb-4c64-8b01-097020163077`.
"""
newProjectId: ID

"""
Persistent Unique Identifier of the project to copy to. For example, `INXT_PRJ_AAAAAAAAAA`.
"""
newProjectPuid: ID

"""
The Node ID of the project to copy to. For example, `gid://irida/Project/a84cd757-dedb-4c64-8b01-097020163077`.
"""
projectId: ID

"""
Persistent Unique Identifier of the project to copy to. For example, `INXT_PRJ_AAAAAAAAAA`.
"""
projectPuid: ID

"""
List of samples to copy.
"""
sampleIds: [ID!]!
}

"""
Autogenerated return type of CloneSamples.
"""
type CloneSamplesPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
A list of errors that prevented the mutation.
"""
errors: [UserError!]!

"""
List of original and copied sample ids.
"""
samples: JSON
}

"""
Autogenerated input type of CreateDirectUpload
"""
Expand Down Expand Up @@ -1311,6 +1366,16 @@ type Mutation {
input: AttachFilesToSampleInput!
): AttachFilesToSamplePayload

"""
Copy samples to another project.
"""
copySamples(
"""
Parameters for CloneSamples
"""
input: CloneSamplesInput!
): CloneSamplesPayload

"""
Create blob to upload data to.
"""
Expand Down Expand Up @@ -1351,6 +1416,16 @@ type Mutation {
input: CreateSampleInput!
): CreateSamplePayload

"""
Transfer a list of sample to another project.
"""
transferSamples(
"""
Parameters for TransferSamples
"""
input: TransferSamplesInput!
): TransferSamplesPayload

"""
Update metadata for a sample.
"""
Expand Down Expand Up @@ -2630,6 +2705,61 @@ enum SampleOrderField {
updated_at
}

"""
Autogenerated input type of TransferSamples
"""
input TransferSamplesInput {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
The Node ID of the project to transfer to. For example, `gid://irida/Project/a84cd757-dedb-4c64-8b01-097020163077`.
"""
newProjectId: ID

"""
Persistent Unique Identifier of the project to transfer to. For example, `INXT_PRJ_AAAAAAAAAA`.
"""
newProjectPuid: ID

"""
The Node ID of the project to transfer to. For example, `gid://irida/Project/a84cd757-dedb-4c64-8b01-097020163077`.
"""
projectId: ID

"""
Persistent Unique Identifier of the project to transfer to. For example, `INXT_PRJ_AAAAAAAAAA`.
"""
projectPuid: ID

"""
List of samples to transfer.
"""
sampleIds: [ID!]!
}

"""
Autogenerated return type of TransferSamples.
"""
type TransferSamplesPayload {
"""
A unique identifier for the client performing the mutation.
"""
clientMutationId: String

"""
A list of errors that prevented the mutation.
"""
errors: [UserError!]!

"""
List of transfered sample ids.
"""
samples: [ID!]
}

"""
Autogenerated input type of UpdateSampleMetadata
"""
Expand Down

0 comments on commit dc1c213

Please sign in to comment.