-
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.
Browse files
Browse the repository at this point in the history
* working on conditional fetch logic * attempt at hook - will clean up if POC works * remove system intake related requests flag from code - trb table done * clean up imports * add types * tests for trb table * use RequestType - fix imports * update to new gql style * use correct status field * fix sort * `useQuery` with more than one type Remove useRelatedRequests --------- Co-authored-by: adamodd <adam.suharja@oddball.io>
- Loading branch information
1 parent
5f34ced
commit 17aa217
Showing
13 changed files
with
651 additions
and
159 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
export default gql(/* GraphQL */ ` | ||
query GetTRBRequestRelatedRequests($trbRequestID: UUID!) { | ||
trbRequest(id: $trbRequestID) { | ||
id | ||
relatedIntakes { | ||
id | ||
requestName | ||
contractNumbers { | ||
contractNumber | ||
} | ||
statusAdmin | ||
statusRequester | ||
submittedAt | ||
} | ||
relatedTRBRequests { | ||
id | ||
name | ||
contractNumbers { | ||
contractNumber | ||
} | ||
status | ||
createdAt | ||
} | ||
} | ||
} | ||
`); |
Large diffs are not rendered by default.
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
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
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.