Skip to content

list

自定义区域列表。

调用方式:

typescript
const data = await client.area.list(params);
typescript
import { Area } from 'loongship-data';

const data = await Area.list({ key: 'YOUR_KEY', ...params });

请求参数 (AreaListParams)

参数名类型必填描述
keystringUser authorization key. Optional when an instance key or global key is registered.

返回类型: AreaListData

查看类型定义
typescript
export type AreaListData = LoongshipRecord[];