refactor(configuration): moved Groups to configuration folder

This commit is contained in:
Michel Fedde 2025-06-22 23:00:40 +02:00
parent 9155f630d9
commit 863ae3fab2
8 changed files with 19 additions and 19 deletions

View file

@ -0,0 +1,23 @@
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
}