The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/_templates/service/new/servicesClass.ejs.t

16 lines
309 B

---
to: ee/apps/<%= name %>/src/<%= h.changeCase.pascalCase(name) %>.ts
---
import { ServiceClass } from '@rocket.chat/core-services';
export class <%= h.changeCase.pascalCase(name) %> extends ServiceClass {
protected name = '<%= name %>';
constructor() {
super();
// your stuff
}
// more stuff
}