| 16 | }); |
| 17 | |
| 18 | export interface HistoryDocument extends Document { |
| 19 | /** user id */ |
| 20 | user: string; |
| 21 | |
| 22 | /** linkman id */ |
| 23 | linkman: string; |
| 24 | |
| 25 | /** last readed message id */ |
| 26 | message: string; |
| 27 | } |
| 28 | |
| 29 | const History = model<HistoryDocument>('History', HistoryScheme); |
| 30 |
nothing calls this directly
no outgoing calls
no test coverage detected