15 lines
369 B
TypeScript
15 lines
369 B
TypeScript
import { Application, ChannelService, FrontendSession, RemoterClass } from 'pinus';
|
|
|
|
export default function (app: Application) {
|
|
return new RoleRemote(app);
|
|
}
|
|
|
|
export class RoleRemote {
|
|
|
|
constructor(private app: Application) {
|
|
this.app = app;
|
|
this.channelService = app.get('channelService');
|
|
}
|
|
private channelService: ChannelService;
|
|
}
|