@replyke/express
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
14 lines (13 loc) • 461 B
TypeScript
import { Model, Optional } from "sequelize";
export interface ITokenAttributes {
id: string;
projectId: string;
userId: string;
refreshToken: string | null;
createdAt: Date;
updatedAt: Date;
}
export interface ITokenCreationAttributes extends Optional<ITokenAttributes, "id" | "createdAt" | "updatedAt" | "refreshToken"> {
}
export default interface IToken extends Model<ITokenAttributes, ITokenCreationAttributes>, ITokenAttributes {
}