-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support #35284 - Add attachments on MolecularAnalysisRun
- Added attachments relationship to the type. - Removed duplicate types and merged them into one type for each. Changed imports to use the merged version.
- Loading branch information
1 parent
ca0eb9c
commit 0bd8bd4
Showing
13 changed files
with
21 additions
and
65 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
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
4 changes: 2 additions & 2 deletions
4
...s/dina-ui/components/seqdb/molecular-analysis-workflow/useGenericMolecularAnalysisRun.tsx
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
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
2 changes: 1 addition & 1 deletion
2
packages/dina-ui/types/seqdb-api/resources/GenericMolecularAnalysisItem.ts
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
16 changes: 0 additions & 16 deletions
16
packages/dina-ui/types/seqdb-api/resources/MolecularAnalysisResult.ts
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
packages/dina-ui/types/seqdb-api/resources/MolecularAnalysisRun.ts
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
packages/dina-ui/types/seqdb-api/resources/MolecularAnalysisRunItem.ts
This file was deleted.
Oops, something went wrong.
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
12 changes: 9 additions & 3 deletions
12
packages/dina-ui/types/seqdb-api/resources/molecular-analysis/MolecularAnalysisRun.ts
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,12 +1,18 @@ | ||
import { ResourceIdentifierObject } from "jsonapi-typescript"; | ||
import { KitsuResource } from "kitsu"; | ||
|
||
export interface MolecularAnalysisRunAttributes { | ||
type: "molecular-analysis-run"; | ||
name?: string; | ||
group?: string; | ||
createdBy?: string; | ||
createdOn?: string; | ||
group?: string; | ||
name?: string; | ||
} | ||
|
||
export interface MolecularAnalysisRunRelationships { | ||
attachments?: ResourceIdentifierObject[]; | ||
} | ||
|
||
export type MolecularAnalysisRun = KitsuResource & | ||
MolecularAnalysisRunAttributes; | ||
MolecularAnalysisRunAttributes & | ||
MolecularAnalysisRunRelationships; |
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