import { StoreListProps } from '../Stores';

export const sampleAPIResponse: { status: string; data: StoreListProps } = {
  status: 'success',
  data: {
    sidecar: [
      {
        labelSets: [
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_one',
              },
            ],
          },
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_one',
              },
              {
                name: 'source',
                value: 'Thanos',
              },
            ],
          },
        ],
        lastCheck: '2020-06-14T15:17:38.588378384Z',
        lastError: null,
        maxTime: 9223372036854776000,
        minTime: -62167219200000,
        name: 'thanos_sidecar_one:10901',
      },
      {
        labelSets: [],
        lastCheck: '2020-06-14T15:17:38.588206741Z',
        lastError: 'some error message',
        maxTime: 92233720368547,
        minTime: 62167219200000,
        name: 'thanos_sidecar_two:10901',
      },
    ],
    store: [
      {
        labelSets: [
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_one',
              },
            ],
          },
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_one',
              },
              {
                name: 'source',
                value: 'Thanos',
              },
            ],
          },
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_one',
              },
              {
                name: 'source',
                value: 'Thanos1',
              },
            ],
          },
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_two',
              },
            ],
          },
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_two',
              },
              {
                name: 'source',
                value: 'Thanos',
              },
            ],
          },
          {
            labels: [
              {
                name: 'monitor',
                value: 'prometheus_two',
              },
              {
                name: 'source',
                value: 'Thanos2',
              },
            ],
          },
        ],
        lastCheck: '2020-06-14T15:17:38.588246826Z',
        lastError: null,
        maxTime: 1592136000000,
        minTime: 1589461363260,
        name: 'thanos_store:10901',
      },
    ],
  },
};
