-
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.
[NOREF] Codegen naming convention / query updates (#2744)
* Update queries * Remove gql/gen/types imports * Enum type update
- Loading branch information
1 parent
15f2a6d
commit a11dc0f
Showing
22 changed files
with
614 additions
and
629 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
16 changes: 16 additions & 0 deletions
16
src/gql/apolloGQL/grbReview/CreateSystemIntakeGRBReviewer.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
import SystemIntakeGRBReviewer from './SystemIntakeGRBReviewer'; | ||
|
||
const CreateSystemIntakeGRBReviewer = gql(/* GraphQL */ ` | ||
${SystemIntakeGRBReviewer} | ||
mutation CreateSystemIntakeGRBReviewer( | ||
$input: CreateSystemIntakeGRBReviewerInput! | ||
) { | ||
createSystemIntakeGRBReviewer(input: $input) { | ||
...SystemIntakeGRBReviewer | ||
} | ||
} | ||
`); | ||
|
||
export default CreateSystemIntakeGRBReviewer; |
11 changes: 11 additions & 0 deletions
11
src/gql/apolloGQL/grbReview/DeleteSystemIntakeGRBReviewer.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
const DeleteSystemIntakeGRBReviewerQuery = gql(/* GraphQL */ ` | ||
mutation DeleteSystemIntakeGRBReviewer( | ||
$input: DeleteSystemIntakeGRBReviewerInput! | ||
) { | ||
deleteSystemIntakeGRBReviewer(input: $input) | ||
} | ||
`); | ||
|
||
export default DeleteSystemIntakeGRBReviewerQuery; |
17 changes: 17 additions & 0 deletions
17
src/gql/apolloGQL/grbReview/GetSystemIntakeGRBReviewers.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
import SystemIntakeGRBReviewer from './SystemIntakeGRBReviewer'; | ||
|
||
const GetSystemIntakeGRBReviewers = gql(/* GraphQL */ ` | ||
${SystemIntakeGRBReviewer} | ||
query GetSystemIntakeGRBReviewers($id: UUID!) { | ||
systemIntake(id: $id) { | ||
id | ||
grbReviewers { | ||
...SystemIntakeGRBReviewer | ||
} | ||
} | ||
} | ||
`); | ||
|
||
export default GetSystemIntakeGRBReviewers; |
File renamed without changes.
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,17 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
const SystemIntakeGRBReviewer = gql(/* GraphQL */ ` | ||
fragment SystemIntakeGRBReviewer on SystemIntakeGRBReviewer { | ||
id | ||
grbRole | ||
votingRole | ||
userAccount { | ||
id | ||
username | ||
commonName | ||
} | ||
} | ||
`); | ||
|
||
export default SystemIntakeGRBReviewer; |
16 changes: 16 additions & 0 deletions
16
src/gql/apolloGQL/grbReview/UpdateSystemIntakeGRBReviewer.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { gql } from '@apollo/client'; | ||
|
||
import SystemIntakeGRBReviewer from './SystemIntakeGRBReviewer'; | ||
|
||
const UpdateSystemIntakeGRBReviewer = gql(/* GraphQL */ ` | ||
${SystemIntakeGRBReviewer} | ||
mutation UpdateSystemIntakeGRBReviewer( | ||
$input: UpdateSystemIntakeGRBReviewerInput! | ||
) { | ||
updateSystemIntakeGRBReviewer(input: $input) { | ||
...SystemIntakeGRBReviewer | ||
} | ||
} | ||
`); | ||
|
||
export default UpdateSystemIntakeGRBReviewer; |
Oops, something went wrong.