chore: fix linting in entire project

This commit is contained in:
mrjvs
2026-08-09 21:28:45 +02:00
parent 843f1abdde
commit 2400e98d8f
41 changed files with 350 additions and 264 deletions

View File

@@ -7,26 +7,26 @@ export type GetApiAuthMe = {
imageUrl: string;
name: string;
} | null;
}
};
export type ProgressItem = {
title: string,
githubUrl?: string,
completion: number,
title: string;
githubUrl?: string;
completion: number;
tasks: Array<{
status: 'completed' | 'inprogress' | 'notstarted',
title: string,
}>
}
status: 'completed' | 'inprogress' | 'notstarted';
title: string;
}>;
};
export type GetProgress = {
donations: {
currentCents: number,
goalCents: number,
},
currentCents: number;
goalCents: number;
};
completion: number;
items: ProgressItem[];
}
};
export type ApiAuthLogin = {
accessToken: string;
@@ -34,11 +34,11 @@ export type ApiAuthLogin = {
};
export type ApiAccountDiscordLink = {
url: string
url: string;
};
export type ApiAccountCheckoutLink = {
url: string
url: string;
};
export type TierItem = {
@@ -51,12 +51,12 @@ export type TierItem = {
perks: {
discordRead: boolean;
beta: boolean;
}
}
};
};
export type ApiAccountTiers = {
tiers: TierItem[];
}
};
export const LoginSchema = z.object({
username: z.string(),
@@ -86,7 +86,7 @@ export type ApiAccountUpdateRequest = z.infer<typeof AccountUpdateSchema>;
export const ResetPasswordSchema = z.object({
password: z.string(),
passwordConfirm: z.string(),
resetToken: z.string(),
resetToken: z.string()
});
export type ApiAuthResetPasswordRequest = z.infer<typeof ResetPasswordSchema>;
@@ -97,6 +97,6 @@ export const ForgotPasswordSchema = z.object({
export type ApiAuthForgotPasswordRequest = z.infer<typeof ForgotPasswordSchema>;
export const CheckoutSchema = z.object({
priceId: z.string(),
priceId: z.string()
});
export type ApiAccountCheckoutRequest = z.infer<typeof CheckoutSchema>;