External API update (#2111)
* External API update - Remove tags field for map information - Remove room_policy fiels for map information This two paramter will be used directly in the admin * Delete use less updateRoomWithAdminData Signed-off-by: Gregoire Parant <g.parant@thecodingmachine.com> Co-authored-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
@@ -7,13 +7,10 @@ import { z } from "zod";
|
||||
|
||||
export const isMapDetailsData = z.object({
|
||||
mapUrl: z.string(),
|
||||
policy_type: z.number(),
|
||||
tags: z.array(z.string()),
|
||||
authenticationMandatory: z.optional(z.nullable(z.boolean())),
|
||||
roomSlug: z.nullable(z.string()), // deprecated
|
||||
contactPage: z.nullable(z.string()),
|
||||
group: z.nullable(z.string()),
|
||||
|
||||
contactPage: z.optional(z.nullable(z.string())),
|
||||
iframeAuthentication: z.optional(z.nullable(z.string())),
|
||||
// The date (in ISO 8601 format) at which the room will expire
|
||||
expireOn: z.optional(z.string()),
|
||||
|
||||
Reference in New Issue
Block a user