Even better typing of messages in /map
This commit is contained in:
parent
2fff6ae41e
commit
10b7fee502
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@ export const isMapDetailsData = new tg.IsInterface()
|
||||||
textures: tg.isArray(isCharacterTexture),
|
textures: tg.isArray(isCharacterTexture),
|
||||||
contactPage: tg.isUnion(tg.isString, tg.isUndefined),
|
contactPage: tg.isUnion(tg.isString, tg.isUndefined),
|
||||||
authenticationMandatory: tg.isUnion(tg.isBoolean, tg.isUndefined),
|
authenticationMandatory: tg.isUnion(tg.isBoolean, tg.isUndefined),
|
||||||
group: tg.isString,
|
group: tg.isNullable(tg.isString),
|
||||||
|
})
|
||||||
|
.withOptionalProperties({
|
||||||
|
iframeAuthentication: tg.isNullable(tg.isString),
|
||||||
})
|
})
|
||||||
.get();
|
.get();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue