23 lines
No EOL
624 B
TypeScript
23 lines
No EOL
624 B
TypeScript
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
|
|
} |