Skip to content

Commit

Permalink
feat: Update NextGen schema (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
bchu1 authored Mar 8, 2024
1 parent d3afbb8 commit bc23402
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 36 deletions.
36 changes: 23 additions & 13 deletions sources/nextgen-entities-schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ input BoolComparators {
_gte: Int
_lt: Int
_lte: Int
_is_null: Int
_is_null: Boolean
}

type BulkDownload implements EntityInterface & Node {
Expand Down Expand Up @@ -252,7 +252,7 @@ input BulkDownloadTypeEnumComparators {
_gte: BulkDownloadType
_lt: BulkDownloadType
_lte: BulkDownloadType
_is_null: BulkDownloadType
_is_null: Boolean
}

input BulkDownloadWhereClause {
Expand Down Expand Up @@ -417,7 +417,7 @@ input DatetimeComparators {
_gte: DateTime
_lt: DateTime
_lte: DateTime
_is_null: DateTime
_is_null: Boolean
}

type Entity {
Expand Down Expand Up @@ -489,7 +489,7 @@ input FileStatusEnumComparators {
_gte: FileStatus
_lt: FileStatus
_lte: FileStatus
_is_null: FileStatus
_is_null: Boolean
}

input FileUpload {
Expand Down Expand Up @@ -520,7 +520,7 @@ input FloatComparators {
_gte: Float
_lt: Float
_lte: Float
_is_null: Float
_is_null: Boolean
}

type GenomicRange implements EntityInterface & Node {
Expand Down Expand Up @@ -714,7 +714,7 @@ input HostOrganismCategoryEnumComparators {
_gte: HostOrganismCategory
_lt: HostOrganismCategory
_lte: HostOrganismCategory
_is_null: HostOrganismCategory
_is_null: Boolean
}

enum HostOrganismCountColumns {
Expand Down Expand Up @@ -981,7 +981,7 @@ input IndexTypesEnumComparators {
_gte: IndexTypes
_lt: IndexTypes
_lte: IndexTypes
_is_null: IndexTypes
_is_null: Boolean
}

input IntComparators {
Expand All @@ -993,7 +993,7 @@ input IntComparators {
_gte: Int
_lt: Int
_lte: Int
_is_null: Int
_is_null: Boolean
}

"""
Expand Down Expand Up @@ -1758,7 +1758,7 @@ input SequencingProtocolEnumComparators {
_gte: SequencingProtocol
_lt: SequencingProtocol
_lte: SequencingProtocol
_is_null: SequencingProtocol
_is_null: Boolean
}

type SequencingRead implements EntityInterface & Node {
Expand Down Expand Up @@ -1950,7 +1950,7 @@ input SequencingTechnologyEnumComparators {
_gte: SequencingTechnology
_lt: SequencingTechnology
_lte: SequencingTechnology
_is_null: SequencingTechnology
_is_null: Boolean
}

type SignedURL {
Expand All @@ -1966,7 +1966,7 @@ input StrComparators {
_neq: String
_in: [String!]
_nin: [String!]
_is_null: Int
_is_null: Boolean
_gt: String
_gte: String
_lt: String
Expand Down Expand Up @@ -2164,7 +2164,7 @@ input TaxonLevelEnumComparators {
_gte: TaxonLevel
_lt: TaxonLevel
_lte: TaxonLevel
_is_null: TaxonLevel
_is_null: Boolean
}

type TaxonMinMaxColumns {
Expand Down Expand Up @@ -2236,6 +2236,15 @@ input TaxonWhereClause {
upstreamDatabase: UpstreamDatabaseWhereClause
upstreamDatabaseIdentifier: StrComparators
level: TaxonLevelEnumComparators
taxParentId: UUIDComparators
taxSpeciesId: UUIDComparators
taxGenusId: UUIDComparators
taxFamilyId: UUIDComparators
taxOrderId: UUIDComparators
taxClassId: UUIDComparators
taxPhylumId: UUIDComparators
taxKingdomId: UUIDComparators
taxSuperkingdomId: UUIDComparators
consensusGenomes: ConsensusGenomeWhereClause
sequencingReads: SequencingReadWhereClause
id: UUIDComparators
Expand All @@ -2261,6 +2270,7 @@ input UUIDComparators {
_gte: UUID
_lt: UUID
_lte: UUID
_is_null: Boolean
}

type UpstreamDatabase implements EntityInterface & Node {
Expand Down Expand Up @@ -2421,4 +2431,4 @@ enum orderBy {
desc
desc_nulls_first
desc_nulls_last
}
}
43 changes: 35 additions & 8 deletions sources/nextgen-workflows-schema.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
input BoolComparators {
_eq: Int
_neq: Int
_in: [Int!]
_nin: [Int!]
_gt: Int
_gte: Int
_lt: Int
_lte: Int
_is_null: Int
}

"""Date with time (isoformat)"""
scalar DateTime

Expand All @@ -10,7 +22,7 @@ input DatetimeComparators {
_gte: DateTime
_lt: DateTime
_lte: DateTime
_is_null: DateTime
_is_null: Boolean
}

input EntityInputType {
Expand Down Expand Up @@ -38,7 +50,7 @@ input IntComparators {
_gte: Int
_lt: Int
_lte: Int
_is_null: Int
_is_null: Boolean
}

input LimitOffsetClause {
Expand All @@ -60,8 +72,8 @@ type Mutation {
deleteWorkflowRunEntityInput(where: WorkflowRunEntityInputWhereClauseMutations!): [WorkflowRunEntityInput!]!
createWorkflowVersion(input: WorkflowVersionCreateInput!): WorkflowVersion!
deleteWorkflowVersion(where: WorkflowVersionWhereClauseMutations!): [WorkflowVersion!]!
runWorkflowVersion(input: RunWorkflowVersionInput!): WorkflowRun!
runWorkflowRun(workflowRunId: ID!): WorkflowRun!
runWorkflowVersion(input: RunWorkflowVersionInput!, executionId: String = null): WorkflowRun!
runWorkflowRun(workflowRunId: ID!, executionId: String = null): WorkflowRun!
}

"""An object with a Globally Unique ID"""
Expand Down Expand Up @@ -119,7 +131,7 @@ input StrComparators {
_neq: String
_in: [String!]
_nin: [String!]
_is_null: Int
_is_null: Boolean
_gt: String
_gte: String
_lt: String
Expand All @@ -145,6 +157,7 @@ input UUIDComparators {
_gte: UUID
_lt: UUID
_lte: UUID
_is_null: Boolean
}

type Workflow implements EntityInterface & Node {
Expand Down Expand Up @@ -259,6 +272,7 @@ type WorkflowRun implements EntityInterface & Node {
outputsJson: String
workflowRunnerInputsJson: String
status: WorkflowRunStatus
errorMessage: String
workflowVersion(where: WorkflowVersionWhereClause = null, orderBy: [WorkflowVersionOrderByClause!] = []): WorkflowVersion
steps(
where: WorkflowRunStepWhereClause = null
Expand Down Expand Up @@ -333,6 +347,7 @@ enum WorkflowRunCountColumns {
outputsJson
workflowRunnerInputsJson
status
errorMessage
workflowVersion
steps
entityInputs
Expand Down Expand Up @@ -483,6 +498,7 @@ type WorkflowRunGroupByOptions {
outputsJson: String
workflowRunnerInputsJson: String
status: WorkflowRunStatus
errorMessage: String
workflowVersion: WorkflowVersionGroupByOptions
rawInputsJson: String
deprecatedBy: WorkflowRunGroupByOptions
Expand All @@ -500,6 +516,7 @@ type WorkflowRunMinMaxColumns {
executionId: String
outputsJson: String
workflowRunnerInputsJson: String
errorMessage: String
rawInputsJson: String
ownerUserId: Int
collectionId: Int
Expand All @@ -521,6 +538,7 @@ input WorkflowRunOrderByClause {
outputsJson: orderBy
workflowRunnerInputsJson: orderBy
status: orderBy
errorMessage: orderBy
workflowVersion: WorkflowVersionOrderByClause
rawInputsJson: orderBy
deprecatedBy: orderBy
Expand Down Expand Up @@ -552,7 +570,7 @@ input WorkflowRunStatusEnumComparators {
_gte: WorkflowRunStatus
_lt: WorkflowRunStatus
_lte: WorkflowRunStatus
_is_null: WorkflowRunStatus
_is_null: Boolean
}

type WorkflowRunStep implements EntityInterface & Node {
Expand Down Expand Up @@ -674,7 +692,7 @@ input WorkflowRunStepStatusEnumComparators {
_gte: WorkflowRunStepStatus
_lt: WorkflowRunStepStatus
_lte: WorkflowRunStepStatus
_is_null: WorkflowRunStepStatus
_is_null: Boolean
}

input WorkflowRunStepUpdateInput {
Expand Down Expand Up @@ -704,6 +722,7 @@ input WorkflowRunUpdateInput {
outputsJson: String = null
workflowRunnerInputsJson: String = null
status: WorkflowRunStatus = null
errorMessage: String = null
deprecatedById: ID = null
}

Expand All @@ -715,10 +734,12 @@ input WorkflowRunWhereClause {
outputsJson: StrComparators
workflowRunnerInputsJson: StrComparators
status: WorkflowRunStatusEnumComparators
errorMessage: StrComparators
workflowVersion: WorkflowVersionWhereClause
steps: WorkflowRunStepWhereClause
entityInputs: WorkflowRunEntityInputWhereClause
rawInputsJson: StrComparators
deprecatedById: UUIDComparators
id: UUIDComparators
ownerUserId: IntComparators
collectionId: IntComparators
Expand All @@ -745,6 +766,7 @@ type WorkflowVersion implements EntityInterface & Node {
version: String
manifest: String
workflow(where: WorkflowWhereClause = null, orderBy: [WorkflowOrderByClause!] = []): Workflow
deprecated: Boolean
runs(
where: WorkflowRunWhereClause = null
orderBy: [WorkflowRunOrderByClause!] = []
Expand Down Expand Up @@ -798,6 +820,7 @@ enum WorkflowVersionCountColumns {
version
manifest
workflow
deprecated
runs
id
ownerUserId
Expand All @@ -812,6 +835,7 @@ input WorkflowVersionCreateInput {
version: String = null
manifest: String = null
workflowId: ID = null
deprecated: Boolean = null
collectionId: Int!
}

Expand All @@ -830,6 +854,7 @@ type WorkflowVersionGroupByOptions {
version: String
manifest: String
workflow: WorkflowGroupByOptions
deprecated: Boolean
id: UUID
ownerUserId: Int
collectionId: Int
Expand Down Expand Up @@ -859,6 +884,7 @@ input WorkflowVersionOrderByClause {
version: orderBy
manifest: orderBy
workflow: WorkflowOrderByClause
deprecated: orderBy
id: orderBy
ownerUserId: orderBy
collectionId: orderBy
Expand All @@ -872,6 +898,7 @@ input WorkflowVersionWhereClause {
version: StrComparators
manifest: StrComparators
workflow: WorkflowWhereClause
deprecated: BoolComparators
runs: WorkflowRunWhereClause
id: UUIDComparators
ownerUserId: IntComparators
Expand Down Expand Up @@ -907,4 +934,4 @@ enum orderBy {
desc
desc_nulls_first
desc_nulls_last
}
}
Loading

0 comments on commit bc23402

Please sign in to comment.