@lovrabet/sdk 1.1.24 → 1.1.26

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.
@@ -20,10 +20,8 @@ export declare abstract class AbstractBaseModel implements BaseModelMethods {
20
20
  create<T = any>(data: Record<string, any>): Promise<T>;
21
21
  update<T = any>(id: string | number, data: Record<string, any>): Promise<T>;
22
22
  delete(id: string | number): Promise<void>;
23
- getDatasetList<T = any>(): Promise<T[]>;
24
23
  getSelectOptions(params: SelectOptionsParams): Promise<SelectOption[]>;
25
24
  excelExport<T = any>(params?: ListParams): Promise<T>;
26
- private isOpenApiMode;
27
25
  getConfig(): ModelConfig;
28
26
  getModelName(): string;
29
27
  }
@@ -334,13 +334,6 @@ export interface BaseModelMethods {
334
334
  * @throws Error OpenAPI 模式暂不支持此操作,仅 WebAPI 模式可用
335
335
  */
336
336
  delete(id: string | number): Promise<void>;
337
- /**
338
- * 获取数据集列表
339
- * @template T 返回数据的类型
340
- * @returns 返回数据集列表
341
- * @description 获取当前应用下的所有数据集列表,主要用于 OpenAPI 模式
342
- */
343
- getDatasetList<T = any>(): Promise<T[]>;
344
337
  /**
345
338
  * 获取下拉选项
346
339
  * @param params 字段映射参数,指定用作 value 和 label 的字段名
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/sdk",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",