Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler
2021-09-21 21:10:09 +02:00
8 changed files with 29 additions and 8 deletions
+1
View File
@@ -62,6 +62,7 @@ export class MapController extends BaseController {
roomSlug: "", // Deprecated
tags: [],
textures: [],
contactPage: undefined,
} as MapDetailsData)
);
@@ -15,6 +15,8 @@ export const isMapDetailsData = new tg.IsInterface()
policy_type: isNumber, //isNumericEnum(GameRoomPolicyTypes),
tags: tg.isArray(tg.isString),
textures: tg.isArray(isCharacterTexture),
contactPage: tg.isUnion(tg.isString, tg.isUndefined),
})
.get();
export type MapDetailsData = tg.GuardedType<typeof isMapDetailsData>;