export default {
  search: {
    mirror_search:
      "repo/monir/mirror/{{mirror_type}}/{{index_key}}/{{search_type}}/{{sortKey}}/{{field_collapse}}/{{offset}}/{{limit}}/{{filter}}",
    autoComplate: "monir/complation/{{index_key}}/{{filter}}",
    queryNormal:
      "repo/monir/search/{{index_key}}/{{search_type}}/{{sortKey}}/{{field_collapse}}/{{offset}}/{{limit}}/{{filter}}",
    textSearch:
      "repo/monir/search/text/{{index_key}}/{{field}}/{{offset}}/{{limit}}/{{filter}}",
    // queryMirror:
    //   "monir/mirror/{{mirror_type}}/{{index_key}}/{{search_type}}/{{sortKey}}/{{field_collapse}}/{{offset}}/{{limit}}/{{filter}}",
  },

  public: {
    updateProperty_full:
      "public/{{index_key}}/edit/{{entity_id}}/{{property}}/index/full",

    updateEntity: "repo/public/{{index_key}}/update/{{id}}",
    get_doc_byid: "repo/public/get/byid/{{index_key}}/{{entity_id}}",
  },
  calendar: {
    schema: {
      list: "repo/schema",
    },
    list: "repo/calendar/@offset/@limit/@filter",
    list_collpase: "repo/calendar/@field_collapsed/@offset/@limit/@filter",
    addTask: "repo/calendar/add",
    update: "repo/calendar/edit/@id",
    delete: "repo/calendar/delete/@id",
  },
};
