Implement follow request / confirmation UI
This commit is contained in:
parent
d6ef60a3d8
commit
0a410d289d
11 changed files with 481 additions and 79 deletions
17
front/src/Stores/InteractStore.ts
Normal file
17
front/src/Stores/InteractStore.ts
Normal file
|
@ -0,0 +1,17 @@
|
|||
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);
|
||||
export const followUsersStore = writable<string[]>([]);
|
Loading…
Add table
Add a link
Reference in a new issue