// @ts-ignore
import { Request, Response } from 'express';

export default {
  'GET /api/v1/deployments/:name/connection': (req: Request, res: Response) => {
    res.status(200).send({
      code: 71,
      data: {
        total: 80,
        items: [
          {
            component: '复关量报文自对且铁京断外然严用。',
            access_url: 'https://preview.pro.ant.design/dashboard/analysis',
            user: '精转强去查难叫点为们多角开以响个。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
          {
            component: '书热集全王政验下业间历们。',
            access_url: '',
            user: '济调标号其集类层家层求革京决况几。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
          {
            component: '事高原火还形总群与各和关保场第六毛。',
            access_url: 'https://umijs.org/',
            user: '料维作性等好相发快况况究打于力论。',
            password: 'string(16)',
            connect_url: 'https://ant.design',
          },
          {
            component: '响马住二少基高压称听展眼。',
            access_url: 'https://umijs.org/',
            user: '率至直能属主定支体列深次它此即身世应。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
          {
            component: '支采商里平导专提般展图工前动克史。',
            access_url: '',
            user: '水例此量队于全无义际观进领机。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
          {
            component: '风真又验领这和只现装积世集精九展极元。',
            access_url: 'https://umijs.org/',
            user: '更由准不今八性增风林身层带总水给。',
            password: 'string(16)',
            connect_url: 'https://ant.design',
          },
          {
            component: '志活须毛重今然与圆市上理议。',
            access_url: '',
            user: '酸认决标华行需角育空水通劳去类。',
            password: 'string(16)',
            connect_url: 'https://umijs.org/',
          },
          {
            component: '越利积查例准议文太资却住样二证而。',
            access_url: 'https://procomponents.ant.design/',
            user: '热解近采准实改持断进存专义。',
            password: 'string(16)',
            connect_url: 'https://ant.design',
          },
          {
            component: '县资了整合话美大布据好先类型次存张。',
            access_url: 'https://procomponents.ant.design/',
            user: '组条形织率形难观观处场书每领边。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
          {
            component: '求了看按往果信因矿体例名给反低作斯温。',
            access_url: 'https://umijs.org/',
            user: '全组听影些主气示事给给科表次制化和劳。',
            password: 'string(16)',
            connect_url: 'https://github.com/umijs/dumi',
          },
        ],
      },
      msg: '样林里花外同见小算党参石石色日影队。',
      success: true,
    });
  },
};
