mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import type {
|
|
DBFieldAttribute,
|
|
DBFieldAttributeConfig,
|
|
DBFieldType,
|
|
DBPrimitive,
|
|
BetterAuthDBSchema,
|
|
} from "./type";
|
|
|
|
export { coreSchema } from "./schema/shared";
|
|
export { userSchema, type User } from "./schema/user";
|
|
export { accountSchema, type Account } from "./schema/account";
|
|
export { sessionSchema, type Session } from "./schema/session";
|
|
export { verificationSchema, type Verification } from "./schema/verification";
|
|
|
|
export type {
|
|
DBFieldAttribute,
|
|
DBFieldAttributeConfig,
|
|
DBFieldType,
|
|
DBPrimitive,
|
|
BetterAuthDBSchema,
|
|
};
|
|
|
|
/**
|
|
* @deprecated Backport for 1.3.x, we will remove this in 1.4.x
|
|
*/
|
|
export type FieldAttribute = DBFieldAttribute;
|
|
/**
|
|
* @deprecated Backport for 1.3.x, we will remove this in 1.4.x
|
|
*/
|
|
export type FieldAttributeConfig = DBFieldAttributeConfig;
|
|
/**
|
|
* @deprecated Backport for 1.3.x, we will remove this in 1.4.x
|
|
*/
|
|
export type FieldType = DBFieldType;
|
|
/**
|
|
* @deprecated Backport for 1.3.x, we will remove this in 1.4.x
|
|
*/
|
|
export type Primitive = DBPrimitive;
|
|
/**
|
|
* @deprecated Backport for 1.3.x, we will remove this in 1.4.x
|
|
*/
|
|
export type BetterAuthDbSchema = BetterAuthDBSchema;
|