Skip to content

Commit

Permalink
app-api tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
haworku committed Feb 6, 2024
1 parent 6b20930 commit fa8f498
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/app-api/src/testHelpers/gqlHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ const createAndUpdateTestHealthPlanPackage = async (
rateProgramIDs: [ratePrograms.reverse()[0].id],
actuaryContacts: [
{
id: '123-abc',
name: 'test name',
titleRole: 'test title',
email: 'email@example.com',
Expand All @@ -275,6 +276,7 @@ const createAndUpdateTestHealthPlanPackage = async (
]
draft.addtlActuaryContacts = [
{
id: '123-addtl-abv',
name: 'test name',
titleRole: 'test title',
email: 'email@example.com',
Expand Down
2 changes: 2 additions & 0 deletions services/app-graphql/src/mutations/submitRate.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ mutation submitRate($input: SubmitRateInput!) {
rateProgramIDs,
rateCertificationName,
certifyingActuaryContacts {
id
name
titleRole
email
actuarialFirm
actuarialFirmOther
},
addtlActuaryContacts {
id
name
titleRole
email
Expand Down
1 change: 1 addition & 0 deletions services/app-graphql/src/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,7 @@ type ActuaryContact {

"Contact information input for the certifying or additional state actuary"
input ActuaryContactInput {
id: ID
name: String
titleRole: String
email: String
Expand Down
1 change: 1 addition & 0 deletions services/app-proto/src/health_plan_form_data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ message Contact {
optional string name = 1;
optional string title_role = 2;
optional string email = 3;
optional string id = 4;
}

// ContractInfo subtypes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const stateContactSchema = z.object({
})

const actuaryContactSchema = z.object({
id: z.string().optional(),
name: z.string().optional(),
titleRole: z.string().optional(),
email: z.string().optional(),
Expand Down

0 comments on commit fa8f498

Please sign in to comment.