flaschengeist-frontend/src/plugins/routes.js

90 lines
3.0 KiB
JavaScript
Raw Normal View History

2020-01-18 11:49:49 +00:00
//const main = 'https://192.168.5.128:5000/'
//const main = 'http://localhost:5000/'
const main = 'http://192.168.5.118:5000/'
2020-05-16 21:24:14 +00:00
//const main = 'https://groeger-clan.duckdns.org:5000/'
const url = {
2020-01-14 21:01:24 +00:00
login: main + 'login',
logout: main + 'logout',
2020-03-03 21:29:32 +00:00
getUsers: main + 'getUsers',
2020-02-27 20:54:28 +00:00
pricelist: main + 'pricelist',
getTypes: main + 'drinkTypes',
2020-01-14 21:01:24 +00:00
getFinanzerMain: main + 'getFinanzerMain',
2020-05-16 21:24:14 +00:00
bar: main + 'bar',
2020-01-14 21:01:24 +00:00
barGetUser: main + 'barGetUser',
barAddAmount: main + 'baradd',
finanzerAddAmount: main + 'finanzerAddAmount',
finanzerAddCredit: main + 'finanzerAddCredit',
searchUser: main + 'search',
getAllUser: main + 'barGetUsers',
lockUser: main + 'finanzerLock',
finanzerSetConfig: main + 'finanzerSetConfig',
finanzerAddUser: main + 'finanzerAddUser',
finanzerSendAllMail: main + 'finanzerSendAllMail',
2020-01-17 00:01:10 +00:00
finanzerSendOneMail: main + 'finanzerSendOneMail',
userMain: main + 'user/main',
2020-01-19 20:31:48 +00:00
userAddAmount: main + 'user/addAmount',
saveLifeTime: main + 'saveLifeTime',
getLifeTime: main + 'getLifeTime',
2020-01-19 20:31:48 +00:00
vorstand: {
sm: {
addUser: main + 'sm/addUser',
deleteUser: main + 'sm/deleteUser',
2020-02-24 11:19:13 +00:00
getUser: main + 'sm/getUser',
getUsers: main + 'user/jobs',
2020-03-04 20:12:08 +00:00
lockDay: main + 'sm/lockDay',
searchUser: main + 'sm/searchWithExtern',
jobkind: main + 'sm/JobKind',
getAllJobKindsbKinds: main + 'sm/getAllJobKinds',
getJobKind: main + 'sm/getJobKind',
deleteJobKind: main + 'sm/deleteJobKind',
updateJobKindDates: main + 'jk/JobKindDate',
getJobKindDates: main + 'jk/JobKindDate'
2020-03-03 21:29:32 +00:00
},
um: {
setStatus: main + 'um/setStatus',
updateStatus: main + 'um/updateStatus',
deleteStatus: main + 'um/deleteStatus',
updateStatusUser: main + 'um/updateStatusUser',
2020-05-17 11:36:20 +00:00
updateVoting: main + 'um/updateVoting',
updateWorkgroups: main + 'um/updateWorkgroups'
2020-05-16 21:24:14 +00:00
},
wm: {
workgroup: main + 'wgm/workgroup',
getWorkgroup: main + 'wgm/getWorkgroup',
getAllWorkgroups: main + 'wgm/getAllWorkgroups',
deleteWorkgroup: main + 'wgm/deleteWorkgroup'
2020-01-19 20:31:48 +00:00
}
},
user: {
config: main + 'user/saveConfig',
2020-02-23 21:32:31 +00:00
job: main + 'user/job',
2020-03-13 17:07:57 +00:00
jobs: main + 'user/jobs',
addJob: main + 'user/addJob',
deleteJob: main + 'user/deleteJob',
transactJob: main + 'user/transactJob',
answerTransactJob: main + 'user/answerTransactJob',
jobRequests: main + 'user/jobRequests',
getTransactJobs: main + 'user/getTransactJobs',
deleteTransactJobs: main + 'user/deleteTransactJob',
2020-03-03 21:29:32 +00:00
storno: main + 'user/storno',
getAllStatus: main + 'getAllStatus',
getStatus: main + 'getStatus',
valid: main + 'valid'
},
barU: {
storno: main + 'bar/storno',
lock: main + 'bar/lock'
},
gastro: {
setDrink: main + 'gastro/setDrink',
updateDrink: main + 'gastro/updateDrink',
deleteDrink: main + 'gastro/deleteDrink',
setType: main + 'gastro/setDrinkType',
updateType: main + 'gastro/updateDrinkType',
deleteType: main + 'gastro/deleteDrinkType'
2020-01-19 20:31:48 +00:00
}
2020-01-14 21:01:24 +00:00
}
2020-01-14 21:01:24 +00:00
export default url