From 30e111c6614cb92ddd4d4736c8c6da89dcc79b34 Mon Sep 17 00:00:00 2001 From: mushka Date: Wed, 20 Jul 2022 23:59:15 +0300 Subject: [PATCH] moved room types data outide of index.js file for CreateRoom dialog --- .../dialogs/CreateRoomDialog/roomTypes.js | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 products/ASC.Files/Client/src/components/dialogs/CreateRoomDialog/roomTypes.js diff --git a/products/ASC.Files/Client/src/components/dialogs/CreateRoomDialog/roomTypes.js b/products/ASC.Files/Client/src/components/dialogs/CreateRoomDialog/roomTypes.js new file mode 100644 index 0000000000..5fe733d9cb --- /dev/null +++ b/products/ASC.Files/Client/src/components/dialogs/CreateRoomDialog/roomTypes.js @@ -0,0 +1,34 @@ +import { RoomsType } from "@appserver/common/constants"; + +export const roomTypes = [ + { + type: RoomsType.FillingFormsRoom, + title: "FillingFormsRoomTitle", + description: "FillingFormsRoomDescription", + withSecondaryInfo: true, + }, + { + type: RoomsType.EditingRoom, + title: "CollaborationRoomTitle", + description: "CollaborationRoomDescription", + withSecondaryInfo: true, + }, + { + type: RoomsType.ReviewRoom, + title: "ReviewRoomTitle", + description: "ReviewRoomDescription", + withSecondaryInfo: true, + }, + { + type: RoomsType.ReadOnlyRoom, + title: "ViewOnlyRoomTitle", + description: "ViewOnlyRoomDescription", + withSecondaryInfo: true, + }, + { + type: RoomsType.CustomRoom, + title: "CustomRoomTitle", + description: "CustomRoomDescription", + withSecondaryInfo: false, + }, +];