mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-20 19:18:45 +00:00
refactor(auth): enhance type definitions for auth object to improve type safety and clarity
This commit is contained in:
@@ -271,7 +271,11 @@ const { handler, api } = betterAuth({
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
export const auth = {
|
export const auth: {
|
||||||
|
handler: typeof handler;
|
||||||
|
createApiKey: typeof api.createApiKey;
|
||||||
|
api: typeof api;
|
||||||
|
} = {
|
||||||
handler: handler,
|
handler: handler,
|
||||||
createApiKey: api.createApiKey,
|
createApiKey: api.createApiKey,
|
||||||
api: api,
|
api: api,
|
||||||
|
|||||||
Reference in New Issue
Block a user