import { ApiEntity } from "../types/index.js"; import { SearchViewBoxUrl, getBaseUrl, getIdUrl, getIdViewBoxUrl, } from "./url.js"; export const AtlasApi = { Search: new SearchViewBoxUrl(false, ApiEntity.Atlas), Create: getBaseUrl(ApiEntity.Atlas), Read: getIdUrl(true, ApiEntity.Atlas), Update: getIdUrl(true, ApiEntity.Atlas), Delete: getIdUrl(true, ApiEntity.Atlas), Clone: getIdUrl(true, ApiEntity.Atlas), Export: getIdUrl(true, ApiEntity.Atlas, ApiEntity.Export), Import: getIdUrl(false, ApiEntity.Atlas, ApiEntity.Import), Centroid: getIdViewBoxUrl(false, ApiEntity.Atlas, ApiEntity.Centroid), Image: getIdViewBoxUrl(false, ApiEntity.Atlas, ApiEntity.Image), Label: getIdViewBoxUrl(false, ApiEntity.Atlas, ApiEntity.Label), Pin: getIdViewBoxUrl(false, ApiEntity.Atlas, ApiEntity.Pin), ViewBox: getIdViewBoxUrl(false, ApiEntity.Atlas, ApiEntity.ViewBox), Shape: getIdViewBoxUrl(false, ApiEntity.Atlas, ApiEntity.Shape), Svg: getIdViewBoxUrl(false, ApiEntity.Atlas, ApiEntity.Svg), };