Archived
1
0
Fork 0

Socket organization by folder

This commit is contained in:
Ethanell 2020-05-31 22:47:20 +02:00
parent c471ec6840
commit 79d330ae47
17 changed files with 44 additions and 44 deletions

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {

View file

@ -1,4 +1,4 @@
const models = require("../models"); const models = require("../../models");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {

View file

@ -1,19 +1,19 @@
const listCommand = require("./listCommand"); const listCommand = require("./list/listCommand");
const listDish = require("./listDish"); const listDish = require("./list/listDish");
const listIngredient = require("./listIngredient"); const listIngredient = require("./list/listIngredient");
const listSauce = require("./listSauce"); const listSauce = require("./list/listSauce");
const listDrink = require("./listDrink"); const listDrink = require("./list/listDrink");
const listDessert = require("./listDessert"); const listDessert = require("./list/listDessert");
const listUser = require("./listUser"); const listUser = require("./list/listUser");
const listService = require("./listService"); const listService = require("./list/listService");
const addCommand = require("./addCommand"); const addCommand = require("./add/addCommand");
const addUSer = require("./addUser"); const addUSer = require("./add/addUser");
const setDish = require("./setDish"); const setDish = require("./set/setDish");
const setIngredient = require("./setIngredient"); const setIngredient = require("./set/setIngredient");
const setSauce = require("./setSauce"); const setSauce = require("./set/setSauce");
const setDrink = require("./setDrink"); const setDrink = require("./set/setDrink");
const setDessert = require("./setDessert"); const setDessert = require("./set/setDessert");
const setService = require("./setService"); const setService = require("./set/setService");
const giveCommand = require("./giveCommand"); const giveCommand = require("./giveCommand");
const WIPCommand = require("./WIPCommand"); const WIPCommand = require("./WIPCommand");
const doneCommand = require("./doneCommand"); const doneCommand = require("./doneCommand");

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async () => { return async () => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async () => { return async () => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async () => { return async () => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async () => { return async () => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async () => { return async () => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async () => { return async () => {

View file

@ -1,4 +1,4 @@
const models = require("../models"); const models = require("../../models");
module.exports = socket => { module.exports = socket => {
return async () => { return async () => {

View file

@ -1,4 +1,4 @@
const models = require("../models"); const models = require("../../models");
module.exports = socket => { module.exports = socket => {
return async data => { return async data => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {

View file

@ -1,5 +1,5 @@
const models = require("../models"); const models = require("../../models");
const utils = require("./utils"); const utils = require("../utils");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {

View file

@ -1,4 +1,4 @@
const models = require("../models"); const models = require("../../models");
module.exports = socket => { module.exports = socket => {
return async (data) => { return async (data) => {