Skip to content

Commit

Permalink
[NOREF] Fix Typescript and Apollo client configs (#2820)
Browse files Browse the repository at this point in the history
* Fix TS and apollo configs

* Re-run gql gen
  • Loading branch information
ClayBenson94 committed Sep 18, 2024
1 parent ec28122 commit 4dc1869
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 48 deletions.
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
}
},
"typescript.tsdk": "./node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
6 changes: 5 additions & 1 deletion apollo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ module.exports = {
service: {
name: 'easi-app',
localSchemaFile: './pkg/graph/schema.graphql'
}
},
includes: [
'./src/queries/**/*.ts', // old queries (apollo-client-codegen)
'./src/gql/apolloGQL/**/*.ts' // new queries (graphql-codegen)
]
}
};
46 changes: 0 additions & 46 deletions src/types/graphql-global-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,27 +234,6 @@ export enum SystemIntakeFormStep {
INITIAL_REQUEST_FORM = "INITIAL_REQUEST_FORM",
}

export enum SystemIntakeGRBReviewerRole {
ACA_3021_REP = "ACA_3021_REP",
CCIIO_REP = "CCIIO_REP",
CMCS_REP = "CMCS_REP",
CO_CHAIR_CFO = "CO_CHAIR_CFO",
CO_CHAIR_CIO = "CO_CHAIR_CIO",
CO_CHAIR_HCA = "CO_CHAIR_HCA",
FED_ADMIN_BDG_CHAIR = "FED_ADMIN_BDG_CHAIR",
OTHER = "OTHER",
PROGRAM_INTEGRITY_BDG_CHAIR = "PROGRAM_INTEGRITY_BDG_CHAIR",
PROGRAM_OPERATIONS_BDG_CHAIR = "PROGRAM_OPERATIONS_BDG_CHAIR",
QIO_REP = "QIO_REP",
SUBJECT_MATTER_EXPERT = "SUBJECT_MATTER_EXPERT",
}

export enum SystemIntakeGRBReviewerVotingRole {
ALTERNATE = "ALTERNATE",
NON_VOTING = "NON_VOTING",
VOTING = "VOTING",
}

/**
* The possible statuses that an issued LCID can be in
*/
Expand Down Expand Up @@ -572,13 +551,6 @@ export interface CreateSystemIntakeDocumentInput {
sendNotification?: boolean | null;
}

export interface CreateSystemIntakeGRBReviewerInput {
systemIntakeID: UUID;
euaUserId: string;
votingRole: SystemIntakeGRBReviewerVotingRole;
grbRole: SystemIntakeGRBReviewerRole;
}

/**
* The input data used to initialize an IT governance request for a system
*/
Expand Down Expand Up @@ -691,10 +663,6 @@ export interface DeleteSystemIntakeContactInput {
id: UUID;
}

export interface DeleteSystemIntakeGRBReviewerInput {
reviewerID: UUID;
}

export interface DeleteTRBRequestFundingSourcesInput {
trbRequestId: UUID;
fundingNumber: string;
Expand Down Expand Up @@ -1109,12 +1077,6 @@ export interface UpdateSystemIntakeContractDetailsInput {
contract?: SystemIntakeContractInput | null;
}

export interface UpdateSystemIntakeGRBReviewerInput {
reviewerID: UUID;
votingRole: SystemIntakeGRBReviewerVotingRole;
grbRole: SystemIntakeGRBReviewerRole;
}

/**
* Input data for updating an IT governance admin note
*/
Expand Down Expand Up @@ -1229,14 +1191,6 @@ export interface UpdateTRBRequestFundingSourcesInput {
sources: string[];
}

/**
* The data needed assign a TRB lead to a TRB request
*/
export interface UpdateTRBRequestTRBLeadInput {
trbRequestId: UUID;
trbLead: string;
}

//==============================================================
// END Enums and Input Objects
//==============================================================

0 comments on commit 4dc1869

Please sign in to comment.