feat(SW-207): add expiring points and date when they will expire

This commit is contained in:
Simon Emanuelsson
2024-08-06 15:59:40 +02:00
parent a5dbd38654
commit be620f18ba
2 changed files with 11 additions and 3 deletions

View File

@@ -26,7 +26,9 @@ export const getUserSchema = z.object({
memberSince: z.string(),
membershipType: z.string(),
nextLevel: z.string().optional(),
pointsExpiryDate: z.string().optional(),
pointsRequiredToNextlevel: z.number().optional(),
pointsToExpire: z.number().optional(),
})
),
phoneNumber: z.string().optional(),