Merge branch 'develop' of github.com:thecodingmachine/workadventure
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user