UNPKG

@hedystia/better-auth-typeorm

Version:

<div align="center"> <p> <strong>📦 @hedystia/better-auth-typeorm</strong> </p>

50 lines (44 loc) • 960 B
declare class Account { id: string; accountId: string; providerId: string; userId: string; accessToken: string; refreshToken: string; idToken: string; accessTokenExpiresAt: Date; refreshTokenExpiresAt: Date; scope: string; password: string; createdAt: Date; updatedAt: Date; } declare class Session { id: string; expiresAt: Date; token: string; createdAt: Date; updatedAt: Date; ipAddress: string; userAgent: string; userId: string; } declare class User { id: string; name: string; email: string; emailVerified: boolean; image: string; createdAt: Date; updatedAt: Date; } declare class Verification { id: string; identifier: string; value: string; expiresAt: Date; createdAt: Date; updatedAt: Date; } declare const entities: (typeof Account | typeof Session | typeof User | typeof Verification)[]; export { entities };