-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e278c68
commit 7229f8f
Showing
3 changed files
with
233 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
""" | ||
Represents an auto processing integration | ||
""" | ||
type AutoProcIntegration @key(fields: "autoProcIntegrationId dataCollectionId autoProcProgramId refinedXBeam refinedYBeam", resolvable: false) { | ||
""" | ||
An opaque unique identifier for the auto processing integration | ||
""" | ||
autoProcIntegrationId: Int! | ||
""" | ||
An opaque unique identifier for the data collection | ||
""" | ||
dataCollectionId: Int! | ||
""" | ||
An opaque unique identifier for the auto processing program | ||
""" | ||
autoProcProgramId: Int | ||
""" | ||
Refined X position of the beam | ||
""" | ||
refinedXBeam: Float | ||
""" | ||
Refined Y position of the beam | ||
""" | ||
refinedYBeam: Float | ||
} | ||
|
||
""" | ||
Represents an auto processed program | ||
""" | ||
type AutoProcProgram @key(fields: "autoProcProgramId processingPrograms processingStatus processingMessage processingJobId", resolvable: false) { | ||
""" | ||
An opaque unique identifier for the auto processing program | ||
""" | ||
autoProcProgramId: Int! | ||
""" | ||
Name of the processing programs | ||
""" | ||
processingPrograms: String | ||
""" | ||
Processing program status | ||
""" | ||
processingStatus: Int | ||
""" | ||
Processing program message | ||
""" | ||
processingMessage: String | ||
""" | ||
An opaque unique identifier for the processing processing job | ||
""" | ||
processingJobId: Int | ||
} | ||
|
||
type AutoProcessing @key(fields: "autoProcIntegrationId", resolvable: false) { | ||
""" | ||
An opaque unique identifier for the auto processing integration | ||
""" | ||
autoProcIntegrationId: Int! | ||
""" | ||
An opaque unique identifier for the data collection | ||
""" | ||
dataCollectionId: Int! | ||
""" | ||
An opaque unique identifier for the auto processing program | ||
""" | ||
autoProcProgramId: Int | ||
""" | ||
Refined X position of the beam | ||
""" | ||
refinedXBeam: Float | ||
""" | ||
Refined Y position of the beam | ||
""" | ||
refinedYBeam: Float | ||
autoProcProgram: AutoProcProgram | ||
} | ||
|
||
|
||
""" | ||
Represents processed image file stored in s3 bucket | ||
""" | ||
type DataProcessing @key(fields: "id", resolvable: false) { | ||
""" | ||
An opaque unique identifier for the collected file attachment | ||
""" | ||
id: Int! | ||
""" | ||
Gives downloadable link for the processed image in the s3 bucket | ||
""" | ||
downloadUrl: String! | ||
} | ||
|
||
""" | ||
Datasets subgraph extension | ||
""" | ||
type Datasets @key(fields: "id") { | ||
""" | ||
An opaque unique identifier for the data collection | ||
""" | ||
id: Int! | ||
""" | ||
Fetched all the processed data from data collection during a session | ||
""" | ||
processedData: DataProcessing | ||
""" | ||
Fetched all the processing jobs | ||
""" | ||
processingJobs: [ProcessJob!] | ||
""" | ||
Fetches all the automatic process | ||
""" | ||
autoProcIntegration: [AutoProcessing!] | ||
} | ||
|
||
|
||
|
||
|
||
""" | ||
Datasets subgraph extension | ||
""" | ||
type ProcessJob @key(fields: "processingJobId", resolvable: false) { | ||
""" | ||
An opaque unique identifier for the processing job | ||
""" | ||
processingJobId: Int! | ||
""" | ||
An opaque unique identifier for the data collection | ||
""" | ||
dataCollectionId: Int | ||
""" | ||
Processing job display name | ||
""" | ||
displayName: String | ||
""" | ||
Represents if the job is automatic or downstream | ||
""" | ||
automatic: Int | ||
parameters: ProcessingJobParameter | ||
} | ||
|
||
""" | ||
Represents a processing job | ||
""" | ||
type ProcessingJob @key(fields: "processingJobId dataCollectionId displayName automatic", resolvable: false) { | ||
""" | ||
An opaque unique identifier for the processing job | ||
""" | ||
processingJobId: Int! | ||
""" | ||
An opaque unique identifier for the data collection | ||
""" | ||
dataCollectionId: Int | ||
""" | ||
Processing job display name | ||
""" | ||
displayName: String | ||
""" | ||
Represents if the job is automatic or downstream | ||
""" | ||
automatic: Int | ||
} | ||
|
||
""" | ||
Represents a processing job parameters | ||
""" | ||
type ProcessingJobParameter @key(fields: "processingJobParameterId processingJobId parameterKey parameterValue", resolvable: false) { | ||
processingJobParameterId: Int! | ||
processingJobId: Int | ||
parameterKey: String | ||
parameterValue: String | ||
} | ||
|
||
|
||
|
||
directive @include(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT | ||
directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT | ||
extend schema @link( | ||
url: "https://specs.apollo.dev/federation/v2.3", | ||
import: ["@key", "@tag", "@shareable", "@inaccessible", "@override", "@external", "@provides", "@requires", "@composeDirective", "@interfaceObject"] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.