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 utils = require("./utils");
const models = require("../../models");
const utils = require("../utils");
module.exports = socket => {
return async (data) => {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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