2021-12-12 16:56:26 +01:00
|
|
|
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[]>([]);
|