mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
feat: add access control
This commit is contained in:
parent
9c07ff0e54
commit
3f45153b66
47 changed files with 1084 additions and 164 deletions
|
@ -21,6 +21,13 @@ export type GuildData = {
|
|||
categories: Category[];
|
||||
features: Features;
|
||||
auditLogWebhook: string | null;
|
||||
accessControl: GuildAccessControl;
|
||||
};
|
||||
|
||||
export type GuildAccessControl = {
|
||||
allowList: Role['id'][];
|
||||
blockList: Role['id'][];
|
||||
blockPending: boolean;
|
||||
};
|
||||
|
||||
export type GuildDataUpdate = Omit<Omit<GuildData, 'features'>, 'id'>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue