Skip to content

Commit

Permalink
Merge pull request #178 from souravbhowmik1999/ctMbResChanges
Browse files Browse the repository at this point in the history
Task #PS-665 Cohort Management: Response body changes
  • Loading branch information
vaivk369 authored May 29, 2024
2 parents 9fecb40 + 70cac08 commit 79b7b94
Show file tree
Hide file tree
Showing 10 changed files with 253 additions and 580 deletions.
11 changes: 6 additions & 5 deletions src/adapters/cohortMembersservicelocator.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
import { CohortMembersSearchDto } from "src/cohortMembers/dto/cohortMembers-search.dto";
import { CohortMembersDto } from "src/cohortMembers/dto/cohortMembers.dto";
import { CohortMembersUpdateDto } from "src/cohortMembers/dto/cohortMember-update.dto";

import { Response } from "express";
export interface IServicelocatorcohortMembers {
createCohortMembers(
loginUser: any,
cohortMembersDto: CohortMembersDto,
response: any
response: any,
tenantId: string,
);
getCohortMembers(cohortMemberId: string, fieldvalue);
searchCohortMembers(cohortMembersSearchDto: CohortMembersSearchDto);
getCohortMembers(cohortMemberId: string, tenantId: string, fieldvalue: string, response: Response);
searchCohortMembers(cohortMembersSearchDto: CohortMembersSearchDto, tenantId: string, response: Response);
updateCohortMembers(
cohortMembershipId: string,
loginUser: any,
cohortMemberUpdateDto: CohortMembersUpdateDto,

response: any
);
deleteCohortMemberById(tenantid, cohortMembershipId, response, request);
deleteCohortMemberById(tenantid, cohortMembershipId, response);
}
4 changes: 2 additions & 2 deletions src/adapters/hasura/cohortMembers.adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export class HasuraCohortMembersService
}
}

public async searchCohortMembers(cohortMembersSearchDto) {}
public async getCohortMembers(cohortMemberId, fieldvalue) {}
public async searchCohortMembers(cohortMembersSearchDto, tenantId, res) {}
public async getCohortMembers(cohortMemberId, tenantId, fieldvalue, res) {}
public async updateCohortMembers(
cohortMembershipId: string,
request: any,
Expand Down
Loading

0 comments on commit 79b7b94

Please sign in to comment.