@replyke/express
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
13 lines (12 loc) • 411 B
TypeScript
import { Model, Optional } from "sequelize";
export interface IFollowAttributes {
id: string;
projectId: string;
followerId: string;
followedId: string;
createdAt: Date;
}
export interface IFollowCreationAttributes extends Optional<IFollowAttributes, "id" | "createdAt"> {
}
export default interface IFollow extends Model<IFollowAttributes, IFollowCreationAttributes>, IFollowAttributes {
}