wip
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import { defineAsyncComponent } from 'vue';
|
||||
import Stream from '@/scripts/stream';
|
||||
import { store } from './store';
|
||||
|
||||
export const stream = new Stream();
|
||||
|
||||
export function api(endpoint: string, data: Record<string, any> = {}, token?: string | null | undefined) {
|
||||
return store.dispatch('api', { endpoint, data, token });
|
||||
}
|
||||
|
Reference in New Issue
Block a user