Skip to content

Commit

Permalink
Merge pull request #16 from uwblueprint/annie/volunteer-get
Browse files Browse the repository at this point in the history
Add fields for GET
  • Loading branch information
annxiesun authored Nov 2, 2023
2 parents 6cb5289 + 310d91e commit c2236a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ import IVolunteerSignup from "../interfaces/volunteerSignup";

class VolunteerSignup implements IVolunteerSignup{

async getVolunteerSignup(): Promise<void> {

}
async getVolunteerSignup(id: string): Promise<volunteerPlatformSignUp> {}

async postVolunteerSignup(): Promise<void> {

Expand Down
4 changes: 3 additions & 1 deletion backend/typescript/services/interfaces/volunteerSignup.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { volunteerPlatformSignUp } from "@prisma/client";

interface IVolunteerSignup {

/**
* Gets volunteer signup
*/
getVolunteerSignup(): Promise<void>
getVolunteerSignup(id: string): Promise<volunteerPlatformSignUp>;

/**
* Posts volunteer signup
Expand Down

0 comments on commit c2236a3

Please sign in to comment.