New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@hecom/list

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hecom/list

List APIs Management

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

List

npm version

这是列表页面的接口管理模块。

接口

  • load(...) => Promise<object>:加载列表数据,返回值的data是数据列表,isEnd是是否分页结束,origin是完整的返回结果。接口参数如下:
    • metaName: string:业务对象名称。
    • pageNo: number:页码。
    • pageSize: number:页大小。
    • fields: string[]:字段名称列表。
    • filter: object:筛选条件。
    • sorts: array:排序条件列表。
    • scope: number:数据范围。
    • others: object:其他参数。
  • search(...) => Promise<object>:搜索列表数据,返回值的data是搜索结果列表,isEnd是是否分页结束,fields是搜索结果字段,origin是完整的返回结果。接口参数如下:
    • metaName: string:业务对象名称。
    • pageNo: number:页码。
    • pageSize: number:页大小。
    • keyword: string:搜索关键字。
    • others: object:其他参数。

FAQs

Package last updated on 08 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts