feat(timezone): Adds timezone as option
This commit is contained in:
parent
0b9089ffae
commit
b852c06f83
11 changed files with 278 additions and 22 deletions
|
|
@ -8,6 +8,7 @@ export enum TransformerType {
|
|||
PermissionBoolean,
|
||||
String,
|
||||
Paragraph,
|
||||
Timezone
|
||||
}
|
||||
|
||||
type ConfigurationTransformerItem = {
|
||||
|
|
@ -35,6 +36,7 @@ export class ConfigurationTransformer {
|
|||
return <ChannelId>configValue.value;
|
||||
case TransformerType.PermissionBoolean:
|
||||
return configValue.value === '1';
|
||||
case TransformerType.Timezone:
|
||||
case TransformerType.Paragraph:
|
||||
case TransformerType.String:
|
||||
return configValue.value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue