We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cefa48 commit 43f92bfCopy full SHA for 43f92bf
src/todoist-api.user.test.ts
@@ -17,6 +17,7 @@ const DEFAULT_CURRENT_USER_RESPONSE: CurrentUser = {
17
avatarSmall: 'https://example.com/avatars/test_user_small.jpg',
18
businessAccountId: null,
19
isPremium: true,
20
+ premiumStatus: 'current_personal_plan',
21
dateFormat: 0,
22
timeFormat: 0,
23
weeklyGoal: 100,
src/types/entities.ts
@@ -285,6 +285,7 @@ export const CurrentUserSchema = z.object({
285
avatarSmall: z.string().nullish(),
286
businessAccountId: z.string().nullable(),
287
isPremium: z.boolean(),
288
+ premiumStatus: z.string(),
289
dateFormat: z.number().int(),
290
timeFormat: z.number().int(),
291
weeklyGoal: z.number().int(),
0 commit comments