import * as auth from '../lib/auth.js';
import * as models from '../lib/models.js';

<% for(let method in methods) { %>
export const <%= method %> = async (io, socket, data) => {
  io.emit("/<%= base %>/<%= method %>",
    <%= JSON.stringify(methods[method]) %>);
}
<% } %>

message.authenticated = true;
