mirror of https://github.com/msgbyte/tailchat
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.
21 lines
495 B
TypeScript
21 lines
495 B
TypeScript
import { TcService, TcDbService } from 'tailchat-server-sdk';
|
|
import type { GetuiLogDocument, GetuiLogModel } from '../models/log';
|
|
|
|
/**
|
|
* Support Getui Notify in chinese mainland
|
|
*/
|
|
interface GetuiService
|
|
extends TcService,
|
|
TcDbService<GetuiLogDocument, GetuiLogModel> {}
|
|
class GetuiService extends TcService {
|
|
get serviceName() {
|
|
return 'plugin:com.msgbyte.getui';
|
|
}
|
|
|
|
onInit() {
|
|
this.registerLocalDb(require('../models/log').default);
|
|
}
|
|
}
|
|
|
|
export default GetuiService;
|