/opt/canhelp/node_modules/better-auth/dist/db
NameSizeModeActions
adapter-base.d.mts4250644editdlrm
adapter-base.mjs9940644editdlrm
adapter-base.mjs.map20200644editdlrm
adapter-kysely.d.mts3280644editdlrm
adapter-kysely.mjs8460644editdlrm
adapter-kysely.mjs.map15010644editdlrm
field-converter.d.mts4440644editdlrm
field-converter.mjs6270644editdlrm
field-converter.mjs.map14230644editdlrm
field.d.mts37030644editdlrm
get-migration.d.mts8040644editdlrm
get-migration.mjs123110644editdlrm
get-migration.mjs.map260160644editdlrm
get-schema.d.mts3590644editdlrm
get-schema.mjs9960644editdlrm
get-schema.mjs.map20290644editdlrm
index.d.mts12150644editdlrm
index.mjs18300644editdlrm
index.mjs.map3850644editdlrm
internal-adapter.d.mts6390644editdlrm
internal-adapter.mjs217620644editdlrm
internal-adapter.mjs.map510020644editdlrm
schema.d.mts25860644editdlrm
schema.mjs49830644editdlrm
schema.mjs.map103770644editdlrm
to-zod.d.mts15830644editdlrm
to-zod.mjs8650644editdlrm
to-zod.mjs.map34010644editdlrm
verification-token-storage.mjs10840644editdlrm
verification-token-storage.mjs.map21790644editdlrm
with-hooks.d.mts17300644editdlrm
with-hooks.mjs71400644editdlrm
with-hooks.mjs.map162870644editdlrm
Edit: /opt/canhelp/node_modules/better-auth/dist/db/with-hooks.d.mts (1730B)
import { BetterAuthOptions } from "@better-auth/core"; import { BaseModelNames } from "@better-auth/core/db"; import { DBAdapter, Where } from "@better-auth/core/db/adapter"; //#region src/db/with-hooks.d.ts type DatabaseHooksEntry = { source: string; hooks: Exclude; }; declare function getWithHooks(adapter: DBAdapter, ctx: { options: BetterAuthOptions; hooks: DatabaseHooksEntry[]; }): { createWithHooks: >(data: T, model: BaseModelNames, customCreateFn?: { fn: (data: Record) => void | Promise; executeMainFn?: boolean; } | undefined) => Promise; updateWithHooks: >(data: any, where: Where[], model: BaseModelNames, customUpdateFn?: { fn: (data: Record) => void | Promise; executeMainFn?: boolean; } | undefined) => Promise; updateManyWithHooks: <_T extends Record>(data: any, where: Where[], model: BaseModelNames, customUpdateFn?: { fn: (data: Record) => void | Promise; executeMainFn?: boolean; } | undefined) => Promise; deleteWithHooks: >(where: Where[], model: BaseModelNames, customDeleteFn?: { fn: (where: Where[]) => void | Promise; executeMainFn?: boolean; } | undefined) => Promise; deleteManyWithHooks: >(where: Where[], model: BaseModelNames, customDeleteFn?: { fn: (where: Where[]) => void | Promise; executeMainFn?: boolean; } | undefined) => Promise; }; //#endregion export { DatabaseHooksEntry, getWithHooks }; //# sourceMappingURL=with-hooks.d.mts.map