TO MERGE : Contact page from Admin or Environment Variable (#1401)
* Contact page from Admin or Environment Variable * Get contact page from admin by pusher * Changes requested * Modify contactPageStore management * documentation environment variables Co-authored-by: Gregoire Parant <g.parant@thecodingmachine.com>
This commit is contained in:
parent
ccea46fe2b
commit
3f1c5246f8
7 changed files with 27 additions and 8 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue