@lark-apaas/fullstack-nestjs-core 1.1.17-alpha.7 → 1.1.17-alpha.9

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/index.d.cts CHANGED
@@ -144,12 +144,7 @@ declare class FileService {
144
144
  private readonly fileServiceCore;
145
145
  constructor(requestContextService: RequestContextService, httpClient: PlatformHttpClient);
146
146
  from(bucket: string): this;
147
- upload(file: FileBody, options?: UploadOptions): Promise<{
148
- bucketID: string;
149
- filePath: string;
150
- downloadURL: string;
151
- fileName: string;
152
- } | undefined>;
147
+ upload(file: FileBody, options?: UploadOptions): Promise<_lark_apaas_file_service.FileMeta>;
153
148
  download(path: string): FileDownloadBuilder;
154
149
  list(prefix: string, searchOptions?: SearchOptions): Promise<_lark_apaas_file_service.ListResponse>;
155
150
  remove(filePaths: string[]): Promise<_lark_apaas_file_service.FileMeta[]>;
package/dist/index.d.ts CHANGED
@@ -144,12 +144,7 @@ declare class FileService {
144
144
  private readonly fileServiceCore;
145
145
  constructor(requestContextService: RequestContextService, httpClient: PlatformHttpClient);
146
146
  from(bucket: string): this;
147
- upload(file: FileBody, options?: UploadOptions): Promise<{
148
- bucketID: string;
149
- filePath: string;
150
- downloadURL: string;
151
- fileName: string;
152
- } | undefined>;
147
+ upload(file: FileBody, options?: UploadOptions): Promise<_lark_apaas_file_service.FileMeta>;
153
148
  download(path: string): FileDownloadBuilder;
154
149
  list(prefix: string, searchOptions?: SearchOptions): Promise<_lark_apaas_file_service.ListResponse>;
155
150
  remove(filePaths: string[]): Promise<_lark_apaas_file_service.FileMeta[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-nestjs-core",
3
- "version": "1.1.17-alpha.7",
3
+ "version": "1.1.17-alpha.9",
4
4
  "description": "FullStack Nestjs Core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "prepublishOnly": "npm run build"
40
40
  },
41
41
  "dependencies": {
42
- "@lark-apaas/file-service": "0.0.1-alpha.9",
42
+ "@lark-apaas/file-service": "0.0.1-alpha.12",
43
43
  "@lark-apaas/http-client": "^0.1.2",
44
44
  "@lark-apaas/nestjs-authnpaas": "^1.0.2",
45
45
  "@lark-apaas/nestjs-capability": "^0.1.2",