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

export default {
  'GET /api/v1/deployments/:name/connection': (req: Request, res: Response) => {
    res.status(200).send({
      code: 88,
      data: {
        total: 68,
        items: [
          {
            component: '委起么所只参广水看于始立称图。',
            access_url: 'https://umijs.org/',
            user: '越西发知可新现细收决广于张相。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
          {
            component: '个听带我实量高回他五外热命基。',
            access_url: 'https://github.com/umijs/dumi',
            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',
          },
          {
            component: '里口经红直类技许调离织如一。',
            access_url: '',
            user: '头反还明物备京天主指走住如亲。',
            password: 'string(16)',
            connect_url: 'https://github.com/umijs/dumi',
          },
          {
            component: '各志线子江六采议定管没华一里素自。',
            access_url: 'https://umijs.org/',
            user: '必阶而半还细而选队或中也共教。',
            password: 'string(16)',
            connect_url: '',
          },
          {
            component: '无采文向速层给月节常传住县山。',
            access_url: 'https://github.com/umijs/dumi',
            user: '先叫还矿线群高则除算按切加。',
            password: 'string(16)',
            connect_url: 'https://github.com/umijs/dumi',
          },
          {
            component: '件思更义研由严格按有往西事都面很电。',
            access_url: 'https://ant.design',
            user: '层书题按加百进声通求应团便。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
          {
            component: '直它层件达整种义划生保亲天成府才成。',
            access_url: 'https://github.com/umijs/dumi',
            user: '种教住看同图运才力飞音将省真传。',
            password: 'string(16)',
            connect_url: 'https://umijs.org/',
          },
          {
            component: '统按有最素及样身先真可列算须约划。',
            access_url: 'https://ant.design',
            user: '内料则实民却极电使用商界接。',
            password: 'string(16)',
            connect_url: 'https://github.com/umijs/dumi',
          },
          {
            component: '前由连导问你务位酸办政较北色划。',
            access_url: 'https://github.com/umijs/dumi',
            user: '做快使劳感类类六即节林革把式年然象收。',
            password: 'string(16)',
            connect_url: 'https://procomponents.ant.design/',
          },
        ],
      },
      msg: '素于件具酸率道重识不战不动史立图。',
      success: true,
    });
  },
};
