partey_workadventure/front/src/Stores/FollowStore.ts

18 lines
424 B
TypeScript
Raw Normal View History

import { writable } from "svelte/store";
export const followStates = {
off: "off",
requesting: "requesting",
active: "active",
ending: "ending",
};
export const followRoles = {
leader: "leader",
follower: "follower",
};
export const followStateStore = writable(followStates.off);
export const followRoleStore = writable(followRoles.leader);
2021-12-15 14:48:45 +01:00
export const followUsersStore = writable<number[]>([]);