feat(configuration): Adds missing implermentations

This commit is contained in:
Michel Fedde 2025-06-22 16:27:34 +02:00
parent b82ab7dbc4
commit ec0aa5654c
7 changed files with 150 additions and 32 deletions

View file

@ -16,7 +16,7 @@ type GroupConfigurationTransformer = {
}
export type GroupConfigurationResult =
ChannelId | Intl.Locale | boolean | string
ChannelId | Intl.Locale | boolean | string | null
export class GroupConfigurationTransformers {
static TRANSFORMERS: GroupConfigurationTransformer[] = [
@ -28,10 +28,6 @@ export class GroupConfigurationTransformers {
path: ['channels', 'playdateReminders'],
type: TransformerType.Channel,
},
{
path: ['locale'],
type: TransformerType.Locale,
},
{
path: ['permissions', 'allowMemberManagingPlaydates'],
type: TransformerType.PermissionBoolean
@ -39,6 +35,14 @@ export class GroupConfigurationTransformers {
{
path: ['calendar', 'title'],
type: TransformerType.String
},
{
path: ['calendar', 'description'],
type: TransformerType.String,
},
{
path: ['calendar', 'location'],
type: TransformerType.String
}
];