finished adding profile deletion functionality + bug fix
This commit is contained in:
Vendored
+1
@@ -8,6 +8,7 @@ declare global {
|
||||
PAGINATION_TAKE_COUNT?: string;
|
||||
STORAGE_FOLDER?: string;
|
||||
AUTOSCROLL_TIMEOUT?: string;
|
||||
IMPORT_SIZE_LIMIT?: string;
|
||||
|
||||
SPACES_KEY?: string;
|
||||
SPACES_SECRET?: string;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Collection, Link, Tag, User } from "@prisma/client";
|
||||
import Stripe from "stripe";
|
||||
|
||||
type OptionalExcluding<T, TRequired extends keyof T> = Partial<T> &
|
||||
Pick<T, TRequired>;
|
||||
@@ -96,3 +97,11 @@ export enum Plan {
|
||||
monthly,
|
||||
yearly,
|
||||
}
|
||||
|
||||
export type DeleteUserBody = {
|
||||
password: string;
|
||||
cancellation_details?: {
|
||||
comment?: string;
|
||||
feedback?: Stripe.SubscriptionCancelParams.CancellationDetails.Feedback;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user