You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/server/plugins/com.msgbyte.getui/models/log.ts

21 lines
448 B
TypeScript

import { db } from 'tailchat-server-sdk';
const { getModelForClass, prop, modelOptions, TimeStamps } = db;
@modelOptions({
options: {
customName: 'p_getui_log',
},
})
export class GetuiLog extends TimeStamps implements db.Base {
_id: db.Types.ObjectId;
id: string;
}
export type GetuiLogDocument = db.DocumentType<GetuiLog>;
const model = getModelForClass(GetuiLog);
export type GetuiLogModel = typeof model;
export default model;