apps/meteor/app/meteor-accounts-saml/server/methods/addSamlService.ts
import type { ServerMethods } from '@rocket.chat/ddp-client';
import { Meteor } from 'meteor/meteor';
import { addSamlService } from '../lib/settings';
declare module '@rocket.chat/ddp-client' {
// eslint-disable-next-line @typescript-eslint/naming-convention
interface ServerMethods {
addSamlService(name: string): void;
}
}
Meteor.methods<ServerMethods>({
addSamlService(name) {
addSamlService(name);
},
});