Merged in feat/sw-590-update-room-configuration-schema (pull request #687)
Rename bedType to roomTypeCode * Rename bedType to roomTypeCode Approved-by: Fredrik Thorsson
This commit is contained in:
@@ -501,7 +501,8 @@ const productSchema = z.object({
|
||||
|
||||
const roomConfigurationSchema = z.object({
|
||||
status: z.string(),
|
||||
bedType: z.string(),
|
||||
// TODO: Remove the optional when the API change has been deployed
|
||||
roomTypeCode: z.string().optional(),
|
||||
roomType: z.string(),
|
||||
roomsLeft: z.number(),
|
||||
features: z.array(z.object({ inventory: z.number(), code: z.string() })),
|
||||
|
||||
Reference in New Issue
Block a user