Web: expose the API interface as window.API
This makes developing/debugging things a bit easier.
This commit is contained in:
parent
fd0ff82352
commit
f4299018ef
@ -24,5 +24,7 @@ app.mount('#app')
|
|||||||
// For debugging.
|
// For debugging.
|
||||||
import { useJobs } from '@/stores/jobs';
|
import { useJobs } from '@/stores/jobs';
|
||||||
import { useNotifs } from '@/stores/notifications';
|
import { useNotifs } from '@/stores/notifications';
|
||||||
|
import * as API from '@/manager-api';
|
||||||
window.jobs = useJobs();
|
window.jobs = useJobs();
|
||||||
window.notifs = useNotifs();
|
window.notifs = useNotifs();
|
||||||
|
window.API = API;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user