refactor(configuration): moved Groups to configuration folder
This commit is contained in:
parent
9155f630d9
commit
863ae3fab2
8 changed files with 19 additions and 19 deletions
23
source/Groups/RuntimeGroupConfiguration.d.ts
vendored
23
source/Groups/RuntimeGroupConfiguration.d.ts
vendored
|
|
@ -1,23 +0,0 @@
|
|||
import {ChannelId} from "../types/DiscordTypes";
|
||||
import {Nullable} from "../types/Nullable";
|
||||
|
||||
export type RuntimeGroupConfiguration = {
|
||||
channels: Nullable<ChannelRuntimeGroupConfiguration>,
|
||||
permissions: PermissionRuntimeGroupConfiguration,
|
||||
calendar: CalendarRuntimeGroupConfiguration
|
||||
};
|
||||
|
||||
export type ChannelRuntimeGroupConfiguration = {
|
||||
newPlaydates: ChannelId,
|
||||
playdateReminders: ChannelId
|
||||
}
|
||||
|
||||
export type PermissionRuntimeGroupConfiguration = {
|
||||
allowMemberManagingPlaydates: boolean
|
||||
}
|
||||
|
||||
export type CalendarRuntimeGroupConfiguration = {
|
||||
title: null|string,
|
||||
description: null|string,
|
||||
location: null|string
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue