Skip to content

Commit

Permalink
feat : 개발용 user res scheme 정의
Browse files Browse the repository at this point in the history
  • Loading branch information
seohyun-kim committed Dec 7, 2022
1 parent 9baf6d6 commit ead90ca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/entity/schemes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ export const UserResponseScheme = {
imageUrl: z.string().optional().nullable(),
}

export const UserResponseSchemeForDev = {
id: z.number(),
email: z.string(),
nickname: z.string(),
subscribingOn : z.string().optional().nullable(),
createdAt:z.date()
}

export const SubscriptionScheme = {
subscribing: z.boolean()
}
Expand Down

0 comments on commit ead90ca

Please sign in to comment.