Remove unused policy type from ApiData typeguard
This commit is contained in:
parent
4a7be94b92
commit
b148a46e3c
3 changed files with 7 additions and 20 deletions
|
@ -8,12 +8,10 @@ import { isCharacterTexture } from "./CharacterTexture";
|
|||
|
||||
export const isAdminApiData = new tg.IsInterface()
|
||||
.withProperties({
|
||||
roomUrl: tg.isString,
|
||||
email: tg.isNullable(tg.isString),
|
||||
mapUrlStart: tg.isString,
|
||||
tags: tg.isArray(tg.isString),
|
||||
policy_type: tg.isNumber,
|
||||
userUuid: tg.isString,
|
||||
email: tg.isNullable(tg.isString),
|
||||
roomUrl: tg.isString,
|
||||
mapUrlStart: tg.isString,
|
||||
textures: tg.isArray(isCharacterTexture),
|
||||
})
|
||||
.withOptionalProperties({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue