component-shipinlv 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,8 @@
1
- declare const soundInfo: (filePath: string, isShowCover?: boolean) => Promise<LocalFile.SoundInfo>;
1
+ export interface SoundInfo {
2
+ title: string;
3
+ album: string;
4
+ artist: string;
5
+ coverUrl: string;
6
+ }
7
+ declare const soundInfo: (filePath: string, isShowCover?: boolean) => Promise<SoundInfo>;
2
8
  export default soundInfo;
@@ -1,3 +1,4 @@
1
+ import { SoundInfo } from "../../base/soundInfo";
1
2
  export declare function fileList(body: {
2
3
  path: string[];
3
4
  fileType: 'folder' | 'file' | '';
@@ -23,7 +24,7 @@ export declare function fileListContent(body: {
23
24
  export declare function soundInfo(body: {
24
25
  filePath: string;
25
26
  isShowCover?: boolean;
26
- }, optionsQuery?: ServicesApi.RequestOptions): Promise<LocalFile.SoundInfo>;
27
+ }, optionsQuery?: ServicesApi.RequestOptions): Promise<SoundInfo>;
27
28
  export declare function downUrl(body: {
28
29
  url: string;
29
30
  savePath?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-shipinlv",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",