Even better typing of messages in /map
This commit is contained in:
parent
2fff6ae41e
commit
10b7fee502
@ -16,7 +16,10 @@ export const isMapDetailsData = new tg.IsInterface()
|
||||
textures: tg.isArray(isCharacterTexture),
|
||||
contactPage: tg.isUnion(tg.isString, tg.isUndefined),
|
||||
authenticationMandatory: tg.isUnion(tg.isBoolean, tg.isUndefined),
|
||||
group: tg.isString,
|
||||
group: tg.isNullable(tg.isString),
|
||||
})
|
||||
.withOptionalProperties({
|
||||
iframeAuthentication: tg.isNullable(tg.isString),
|
||||
})
|
||||
.get();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user