-
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.
Added Swagger UI and Dependencies Bumped (#83)
- Loading branch information
1 parent
53370d5
commit c7692de
Showing
15 changed files
with
1,937 additions
and
1,227 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 |
---|---|---|
|
@@ -136,6 +136,7 @@ dist | |
|
||
dbschema/edgeql-js | ||
dbschema/queries.* | ||
dbschema/queriesZodSchema.ts | ||
dbschema/interfaces.ts | ||
|
||
asset/ |
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
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
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
49 changes: 47 additions & 2 deletions
49
...eless/metadata_manager/src/dbschema/queries/metadata/library/selectAllLibraryQuery.edgeql
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 |
---|---|---|
@@ -1,3 +1,48 @@ | ||
select metadata::Library{ | ||
* | ||
|
||
with | ||
|
||
# Pagination parameter | ||
offset_ := <optional int16>$offset ?? 0, | ||
limit_ := <optional int16>$limit ?? 10, | ||
|
||
libraries := ( | ||
select metadata::Library { | ||
* | ||
} | ||
filter ( | ||
.orcaBusId ?= <optional str>$orcaBusId ?? .orcaBusId | ||
AND | ||
.internalId ?= <optional str>$internalId ?? .internalId | ||
AND | ||
.externalId ?= <optional str>$externalId ?? .externalId | ||
AND | ||
.phenotype ?= <optional str>$phenotype ?? .phenotype | ||
AND | ||
.assay ?= <optional str>$assay ?? .assay | ||
AND | ||
.coverage ?= <optional str>$coverage ?? .coverage | ||
AND | ||
.quality ?= <optional str>$quality ?? .quality | ||
AND | ||
.type ?= <optional str>$type ?? .type | ||
AND | ||
.workflow = <optional metadata::WorkflowTypes>$workflow ?? .workflow | ||
) | ||
) | ||
select { | ||
|
||
results := ( | ||
select libraries { | ||
* | ||
} | ||
offset offset_ | ||
limit limit_ | ||
), | ||
pagination := { | ||
total := count(libraries), | ||
`offset` := offset_, | ||
`limit` := limit_ | ||
} | ||
|
||
} | ||
|
38 changes: 36 additions & 2 deletions
38
...ess/metadata_manager/src/dbschema/queries/metadata/specimen/selectAllSpecimenQuery.edgeql
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 |
---|---|---|
@@ -1,3 +1,37 @@ | ||
select metadata::Specimen{ | ||
* | ||
with | ||
|
||
# Pagination parameter | ||
offset_ := <optional int16>$offset ?? 0, | ||
limit_ := <optional int16>$limit ?? 10, | ||
|
||
libraries := ( | ||
select metadata::Specimen { | ||
* | ||
} | ||
filter ( | ||
.orcaBusId ?= <optional str>$orcaBusId ?? .orcaBusId | ||
AND | ||
.internalId ?= <optional str>$internalId ?? .internalId | ||
AND | ||
.externalId ?= <optional str>$externalId ?? .externalId | ||
AND | ||
.source ?= <optional str>$source ?? .source | ||
) | ||
) | ||
select { | ||
|
||
results := ( | ||
select libraries { | ||
* | ||
} | ||
offset offset_ | ||
limit limit_ | ||
), | ||
pagination := { | ||
total := count(libraries), | ||
`offset` := offset_, | ||
`limit` := limit_ | ||
} | ||
|
||
} | ||
|
35 changes: 33 additions & 2 deletions
35
...eless/metadata_manager/src/dbschema/queries/metadata/subject/selectAllSubjectQuery.edgeql
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 |
---|---|---|
@@ -1,3 +1,34 @@ | ||
select metadata::Subject{ | ||
* | ||
with | ||
|
||
# Pagination parameter | ||
offset_ := <optional int16>$offset ?? 0, | ||
limit_ := <optional int16>$limit ?? 10, | ||
|
||
libraries := ( | ||
select metadata::Subject { | ||
* | ||
} | ||
filter ( | ||
.orcaBusId ?= <optional str>$orcaBusId ?? .orcaBusId | ||
AND | ||
.internalId ?= <optional str>$internalId ?? .internalId | ||
AND | ||
.externalId ?= <optional str>$externalId ?? .externalId | ||
) | ||
) | ||
select { | ||
|
||
results := ( | ||
select libraries { | ||
* | ||
} | ||
offset offset_ | ||
limit limit_ | ||
), | ||
pagination := { | ||
total := count(libraries), | ||
`offset` := offset_, | ||
`limit` := limit_ | ||
} | ||
} | ||
|
Oops, something went wrong.