models
Account
const Account: {
access_token: {
type: StringDataTypeConstructor;
};
expires_at: {
type: IntegerDataTypeConstructor;
};
id: {
defaultValue: AbstractDataTypeConstructor;
primaryKey: boolean;
type: AbstractDataTypeConstructor;
};
id_token: {
type: TextDataTypeConstructor;
};
provider: {
allowNull: boolean;
type: StringDataTypeConstructor;
};
providerAccountId: {
allowNull: boolean;
type: StringDataTypeConstructor;
};
refresh_token: {
type: StringDataTypeConstructor;
};
scope: {
type: StringDataTypeConstructor;
};
session_state: {
type: StringDataTypeConstructor;
};
token_type: {
type: StringDataTypeConstructor;
};
type: {
allowNull: boolean;
type: StringDataTypeConstructor;
};
userId: {
type: AbstractDataTypeConstructor;
};
};Type declaration
access_token
access_token: {
type: StringDataTypeConstructor;
};access_token.type
access_token.type: StringDataTypeConstructor = DataTypes.STRING;expires_at
expires_at: {
type: IntegerDataTypeConstructor;
};expires_at.type
expires_at.type: IntegerDataTypeConstructor = DataTypes.INTEGER;id
id: {
defaultValue: AbstractDataTypeConstructor;
primaryKey: boolean;
type: AbstractDataTypeConstructor;
};id.defaultValue
id.defaultValue: AbstractDataTypeConstructor = DataTypes.UUIDV4;id.primaryKey
id.primaryKey: boolean = true;id.type
id.type: AbstractDataTypeConstructor = DataTypes.UUID;id_token
id_token: {
type: TextDataTypeConstructor;
};id_token.type
id_token.type: TextDataTypeConstructor = DataTypes.TEXT;provider
provider: {
allowNull: boolean;
type: StringDataTypeConstructor;
};provider.allowNull
provider.allowNull: boolean = false;provider.type
provider.type: StringDataTypeConstructor = DataTypes.STRING;providerAccountId
providerAccountId: {
allowNull: boolean;
type: StringDataTypeConstructor;
};providerAccountId.allowNull
providerAccountId.allowNull: boolean = false;providerAccountId.type
providerAccountId.type: StringDataTypeConstructor = DataTypes.STRING;refresh_token
refresh_token: {
type: StringDataTypeConstructor;
};refresh_token.type
refresh_token.type: StringDataTypeConstructor = DataTypes.STRING;scope
scope: {
type: StringDataTypeConstructor;
};scope.type
scope.type: StringDataTypeConstructor = DataTypes.STRING;session_state
session_state: {
type: StringDataTypeConstructor;
};session_state.type
session_state.type: StringDataTypeConstructor = DataTypes.STRING;token_type
token_type: {
type: StringDataTypeConstructor;
};token_type.type
token_type.type: StringDataTypeConstructor = DataTypes.STRING;type
type: {
allowNull: boolean;
type: StringDataTypeConstructor;
};type.allowNull
type.allowNull: boolean = false;type.type
type.type: StringDataTypeConstructor = DataTypes.STRING;userId
userId: {
type: AbstractDataTypeConstructor;
};userId.type
userId.type: AbstractDataTypeConstructor = DataTypes.UUID;Session
const Session: {
expires: {
allowNull: boolean;
type: DateDataTypeConstructor;
};
id: {
defaultValue: AbstractDataTypeConstructor;
primaryKey: boolean;
type: AbstractDataTypeConstructor;
};
sessionToken: {
allowNull: boolean;
type: StringDataTypeConstructor;
unique: string;
};
userId: {
type: AbstractDataTypeConstructor;
};
};Type declaration
expires
expires: {
allowNull: boolean;
type: DateDataTypeConstructor;
};expires.allowNull
expires.allowNull: boolean = false;expires.type
expires.type: DateDataTypeConstructor = DataTypes.DATE;id
id: {
defaultValue: AbstractDataTypeConstructor;
primaryKey: boolean;
type: AbstractDataTypeConstructor;
};id.defaultValue
id.defaultValue: AbstractDataTypeConstructor = DataTypes.UUIDV4;id.primaryKey
id.primaryKey: boolean = true;id.type
id.type: AbstractDataTypeConstructor = DataTypes.UUID;sessionToken
sessionToken: {
allowNull: boolean;
type: StringDataTypeConstructor;
unique: string;
};sessionToken.allowNull
sessionToken.allowNull: boolean = false;sessionToken.type
sessionToken.type: StringDataTypeConstructor = DataTypes.STRING;sessionToken.unique
sessionToken.unique: string = "sessionToken";userId
userId: {
type: AbstractDataTypeConstructor;
};userId.type
userId.type: AbstractDataTypeConstructor = DataTypes.UUID;User
const User: {
email: {
type: StringDataTypeConstructor;
unique: string;
};
emailVerified: {
type: DateDataTypeConstructor;
};
id: {
defaultValue: AbstractDataTypeConstructor;
primaryKey: boolean;
type: AbstractDataTypeConstructor;
};
image: {
type: StringDataTypeConstructor;
};
name: {
type: StringDataTypeConstructor;
};
};Type declaration
email: {
type: StringDataTypeConstructor;
unique: string;
};email.type
email.type: StringDataTypeConstructor = DataTypes.STRING;email.unique
email.unique: string = "email";emailVerified
emailVerified: {
type: DateDataTypeConstructor;
};emailVerified.type
emailVerified.type: DateDataTypeConstructor = DataTypes.DATE;id
id: {
defaultValue: AbstractDataTypeConstructor;
primaryKey: boolean;
type: AbstractDataTypeConstructor;
};id.defaultValue
id.defaultValue: AbstractDataTypeConstructor = DataTypes.UUIDV4;id.primaryKey
id.primaryKey: boolean = true;id.type
id.type: AbstractDataTypeConstructor = DataTypes.UUID;image
image: {
type: StringDataTypeConstructor;
};image.type
image.type: StringDataTypeConstructor = DataTypes.STRING;name
name: {
type: StringDataTypeConstructor;
};name.type
name.type: StringDataTypeConstructor = DataTypes.STRING;VerificationToken
const VerificationToken: {
expires: {
allowNull: boolean;
type: DateDataTypeConstructor;
};
identifier: {
allowNull: boolean;
type: StringDataTypeConstructor;
};
token: {
primaryKey: boolean;
type: StringDataTypeConstructor;
};
};Type declaration
expires
expires: {
allowNull: boolean;
type: DateDataTypeConstructor;
};expires.allowNull
expires.allowNull: boolean = false;expires.type
expires.type: DateDataTypeConstructor = DataTypes.DATE;identifier
identifier: {
allowNull: boolean;
type: StringDataTypeConstructor;
};identifier.allowNull
identifier.allowNull: boolean = false;identifier.type
identifier.type: StringDataTypeConstructor = DataTypes.STRING;token
token: {
primaryKey: boolean;
type: StringDataTypeConstructor;
};token.primaryKey
token.primaryKey: boolean = true;token.type
token.type: StringDataTypeConstructor = DataTypes.STRING;