"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const test_mock = require("./test.mock.js");
const httpEnum = require("../../enums/httpEnum.js");
const chartDataUrl = "/mock/chartData";
const chartSingleDataUrl = "/mock/chartSingleData";
const numberFloatUrl = "/mock/number/float";
const numberIntUrl = "/mock/number/int";
const textUrl = "/mock/text";
const imageUrl = "/mock/image";
const rankListUrl = "/mock/rankList";
const scrollBoardUrl = "/mock/scrollBoard";
const radarUrl = "/mock/radarData";
const heatMapUrl = "/mock/heatMapData";
const scatterBasicUrl = "/mock/scatterBasic";
const mapUrl = "/mock/map";
const capsuleUrl = "/mock/capsule";
const wordCloudUrl = "/mock/wordCloud";
const treemapUrl = "/mock/treemap";
const threeEarth01Url = "/mock/threeEarth01Data";
const sankeyUrl = "/mock/sankey";
const graphUrl = "/mock/graphData";
[
  {
    // 正则
    // url: /\/mock\/mockData(|\?\S*)$/,
    url: chartDataUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchMockData
  },
  {
    url: chartSingleDataUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchMockSingleData
  },
  {
    url: numberFloatUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchNumberFloat
  },
  {
    url: numberIntUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchNumberInt
  },
  {
    url: textUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchText
  },
  {
    url: imageUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchImage(Math.round(Math.random() * 10))
  },
  {
    url: rankListUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchRankList
  },
  {
    url: scrollBoardUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchScrollBoard
  },
  {
    url: radarUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchRadar
  },
  {
    url: heatMapUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchHeatmap
  },
  {
    url: scatterBasicUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchScatterBasic
  },
  {
    url: mapUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchMap
  },
  {
    url: capsuleUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchCapsule
  },
  {
    url: wordCloudUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchWordCloud
  },
  {
    url: treemapUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchTreemap
  },
  {
    url: threeEarth01Url,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.threeEarth01Data
  },
  {
    url: sankeyUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.fetchSankey
  },
  {
    url: graphUrl,
    method: httpEnum.RequestHttpEnum.GET,
    response: () => test_mock.default.graphData
  }
];
exports.capsuleUrl = capsuleUrl;
exports.chartDataUrl = chartDataUrl;
exports.chartSingleDataUrl = chartSingleDataUrl;
exports.graphUrl = graphUrl;
exports.heatMapUrl = heatMapUrl;
exports.imageUrl = imageUrl;
exports.mapUrl = mapUrl;
exports.numberFloatUrl = numberFloatUrl;
exports.numberIntUrl = numberIntUrl;
exports.radarUrl = radarUrl;
exports.rankListUrl = rankListUrl;
exports.sankeyUrl = sankeyUrl;
exports.scatterBasicUrl = scatterBasicUrl;
exports.scrollBoardUrl = scrollBoardUrl;
exports.textUrl = textUrl;
exports.threeEarth01Url = threeEarth01Url;
exports.treemapUrl = treemapUrl;
exports.wordCloudUrl = wordCloudUrl;
