@coko/server
Version:
Reusable server for use by Coko's projects
17 lines • 520 B
TypeScript
import { RelationMappings } from 'objection';
import BaseModel from '../base.model';
import User from '../user/user.model';
declare class ChatMessage extends BaseModel {
content: string;
chatChannelId: string;
userId: string;
mentions: string[];
isDeleted: boolean;
user: User;
constructor();
static get tableName(): string;
static get schema(): object;
static get relationMappings(): RelationMappings;
}
export default ChatMessage;
//# sourceMappingURL=chatMessage.model.d.ts.map