misc_pterodactyl-panel/resources/scripts/state/index.ts
Dane Everitt f0ca8bc3a3
Handle connecting to websocket instance
Very beta code for handling sockets
2019-06-29 16:14:32 -07:00

13 lines
337 B
TypeScript

import { createStore } from 'easy-peasy';
import { ApplicationState } from '@/state/types';
import flashes from '@/state/models/flashes';
import user from '@/state/models/user';
import server from '@/state/models/server';
const state: ApplicationState = {
flashes,
user,
server,
};
export const store = createStore(state);