PeerTube/server/models/avatar/avatar-interface.ts

17 lines
418 B
TypeScript
Raw Normal View History

2017-12-04 03:34:40 -06:00
import * as Sequelize from 'sequelize'
export namespace AvatarMethods {}
export interface AvatarClass {}
export interface AvatarAttributes {
filename: string
}
export interface AvatarInstance extends AvatarClass, AvatarAttributes, Sequelize.Instance<AvatarAttributes> {
createdAt: Date
updatedAt: Date
}
export interface AvatarModel extends AvatarClass, Sequelize.Model<AvatarInstance, AvatarAttributes> {}