entity-client 1.0.26 → 1.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -13,7 +13,14 @@
13
13
  export interface EntityListParams {
14
14
  /** 조회 페이지 번호. 기본값: `1` */
15
15
  page?: number;
16
- /** 페이지당 레코드 수. 기본값: `20` */
16
+ /**
17
+ * 페이지당 레코드 수. 기본값: `20`.
18
+ *
19
+ * 단일 요청 상한은 기본 `1000` 이며, 이보다 큰 값을 넘겨도 서버에서 상한으로 잘립니다.
20
+ * 상한은 엔티티 설정의 `max_limit` 으로 엔티티별 상향 조정할 수 있고,
21
+ * 기본 페이지 크기는 `default_limit` 으로 조정할 수 있습니다.
22
+ * 전체 데이터를 받으려면 `page` 를 1씩 늘리며 끝까지 순회하세요.
23
+ */
17
24
  limit?: number;
18
25
  /** 정렬 기준 필드명 */
19
26
  orderBy?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "entity-client",
3
- "version": "1.0.26",
3
+ "version": "1.0.28",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "homepage": "https://github.com/ehfuse/entity-client",