/opt/canhelp/node_modules/better-auth/dist/api/routes
NameSizeModeActions
account.d.mts119240644editdlrm
account.mjs195270644editdlrm
account.mjs.map405090644editdlrm
callback.d.mts10140644editdlrm
callback.mjs69790644editdlrm
callback.mjs.map135720644editdlrm
email-verification.d.mts40800644editdlrm
email-verification.mjs114020644editdlrm
email-verification.mjs.map233670644editdlrm
error.d.mts6030644editdlrm
error.mjs129680644editdlrm
error.mjs.map170090644editdlrm
index.d.mts10440644editdlrm
index.mjs10580644editdlrm
ok.d.mts7730644editdlrm
ok.mjs7040644editdlrm
ok.mjs.map14240644editdlrm
password.d.mts45140644editdlrm
password.mjs84580644editdlrm
password.mjs.map168640644editdlrm
session.d.mts116080644editdlrm
session.mjs186520644editdlrm
session.mjs.map404940644editdlrm
sign-in.d.mts73530644editdlrm
sign-in.mjs109480644editdlrm
sign-in.mjs.map253640644editdlrm
sign-out.d.mts7880644editdlrm
sign-out.mjs10260644editdlrm
sign-out.mjs.map20100644editdlrm
sign-up.d.mts46570644editdlrm
sign-up.mjs97190644editdlrm
sign-up.mjs.map203860644editdlrm
update-session.d.mts19910644editdlrm
update-session.mjs19840644editdlrm
update-session.mjs.map40180644editdlrm
update-user.d.mts115680644editdlrm
update-user.mjs191580644editdlrm
update-user.mjs.map390530644editdlrm
Edit: /opt/canhelp/node_modules/better-auth/dist/api/routes/password.d.mts (4514B)
import * as better_call0 from "better-call"; import * as z from "zod"; //#region src/api/routes/password.d.ts declare const requestPasswordReset: better_call0.StrictEndpoint<"/request-password-reset", { method: "POST"; body: z.ZodObject<{ email: z.ZodEmail; redirectTo: z.ZodOptional; }, z.core.$strip>; metadata: { openapi: { operationId: string; description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; message: { type: string; }; }; }; }; }; }; }; }; }; use: ((inputContext: better_call0.MiddlewareInputContext) => Promise)[]; }, { status: boolean; message: string; }>; declare const requestPasswordResetCallback: better_call0.StrictEndpoint<"/reset-password/:token", { method: "GET"; operationId: string; query: z.ZodObject<{ callbackURL: z.ZodString; }, z.core.$strip>; use: ((inputContext: better_call0.MiddlewareInputContext) => Promise)[]; metadata: { openapi: { operationId: string; description: string; parameters: ({ name: string; in: "path"; required: true; description: string; schema: { type: "string"; }; } | { name: string; in: "query"; required: true; description: string; schema: { type: "string"; }; })[]; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { token: { type: string; }; }; }; }; }; }; }; }; }; }, never>; declare const resetPassword: better_call0.StrictEndpoint<"/reset-password", { method: "POST"; operationId: string; query: z.ZodOptional; }, z.core.$strip>>; body: z.ZodObject<{ newPassword: z.ZodString; token: z.ZodOptional; }, z.core.$strip>; metadata: { openapi: { operationId: string; description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; }, { status: boolean; }>; declare const verifyPassword: better_call0.StrictEndpoint<"/verify-password", { method: "POST"; body: z.ZodObject<{ password: z.ZodString; }, z.core.$strip>; metadata: { scope: "server"; openapi: { operationId: string; description: string; responses: { "200": { description: string; content: { "application/json": { schema: { type: "object"; properties: { status: { type: string; }; }; }; }; }; }; }; }; }; use: ((inputContext: better_call0.MiddlewareInputContext) => Promise<{ session: { session: Record & { id: string; createdAt: Date; updatedAt: Date; userId: string; expiresAt: Date; token: string; ipAddress?: string | null | undefined; userAgent?: string | null | undefined; }; user: Record & { id: string; createdAt: Date; updatedAt: Date; email: string; emailVerified: boolean; name: string; image?: string | null | undefined; }; }; }>)[]; }, { status: boolean; }>; //#endregion export { requestPasswordReset, requestPasswordResetCallback, resetPassword, verifyPassword }; //# sourceMappingURL=password.d.mts.map