export const form = { root: document.querySelector("#modal-form"), fieldName: document.querySelector("#object-name"), fieldPrice: document.querySelector("#object-price"), fieldInfo: document.querySelector("#object-info"), fieldPhotoPreview: document.querySelector("#object-preview-photo"), fieldPhoto: document.querySelector("#object-photo"), fieldCategorySelect: document.querySelector("#object-category"), fieldRestaurantTypeSelect: document.querySelector("#object-restaurant-type") }; export const modal = { root: document.querySelector("#modal"), submitButton: document.querySelector("#submit-button"), title: document.querySelector("#modal-title") }; export const serverPath = "http://localhost:3000"; export const parent = document.querySelector('#parent'); export const itemContainer = document.querySelector("#item-container"); export const menuList = document.querySelector("#menu-list");