@minto-ai/tools 1.0.48 → 1.0.49

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.
@@ -21,7 +21,6 @@ declare const FileSuffixEnum: {
21
21
  readonly MP3: "mp3";
22
22
  readonly WAV: "wav";
23
23
  readonly TXT: "txt";
24
- readonly HTML: "html";
25
24
  readonly ZIP: "zip";
26
25
  readonly RAR: "rar";
27
26
  };
@@ -1,6 +1,6 @@
1
1
  import { CompressFileSuffix, DocumentFileSuffix, FileSuffix, ImageFileSuffix, MusicFileSuffix, PptFileSuffix, VideoFileSuffix } from './types';
2
2
  import { default as batchDownloadFile } from './batch-download-file';
3
- import { FileSuffixEnum, ImageFileSuffixEnum } from './extends/enum';
3
+ import { CompressFileSuffixEnum, DocumentFileSuffixEnum, FileSuffixEnum, ImageFileSuffixEnum, MusicFileSuffixEnum, PptFileSuffixEnum, VideoFileSuffixEnum } from './extends/enum';
4
4
  import { default as getFileIcon } from './get-file-icon';
5
5
  import { default as getFileName } from './get-file-name';
6
6
  import { default as getFilePathNotQuery } from './get-file-path-not-query';
@@ -17,4 +17,4 @@ import { default as isPptFilePath } from './is-ppt-file-path';
17
17
  import { default as isVideoFilePath } from './is-video-file-path';
18
18
  import { default as singleDownloadFile } from './single-download-file';
19
19
  export type { CompressFileSuffix, DocumentFileSuffix, FileSuffix, ImageFileSuffix, MusicFileSuffix, PptFileSuffix, VideoFileSuffix, };
20
- export { batchDownloadFile, FileSuffixEnum, getFileIcon, getFileName, getFilePathNotQuery, getFileQuery, getFileSuffix, getFileSuffixIcon, getFileTitle, ImageFileSuffixEnum, isCompressFilePath, isDocumentFilePath, isFilePath, isImageFilePath, isMusicFilePath, isPptFilePath, isVideoFilePath, singleDownloadFile, };
20
+ export { batchDownloadFile, CompressFileSuffixEnum, DocumentFileSuffixEnum, FileSuffixEnum, getFileIcon, getFileName, getFilePathNotQuery, getFileQuery, getFileSuffix, getFileSuffixIcon, getFileTitle, ImageFileSuffixEnum, isCompressFilePath, isDocumentFilePath, isFilePath, isImageFilePath, isMusicFilePath, isPptFilePath, isVideoFilePath, MusicFileSuffixEnum, PptFileSuffixEnum, singleDownloadFile, VideoFileSuffixEnum, };
package/dist/index.js CHANGED
@@ -13204,7 +13204,6 @@ var FileSuffixEnum = {
13204
13204
  MP3: "mp3",
13205
13205
  WAV: "wav",
13206
13206
  TXT: "txt",
13207
- HTML: "html",
13208
13207
  ZIP: "zip",
13209
13208
  RAR: "rar"
13210
13209
  };
@@ -13671,8 +13670,13 @@ function createWorker(fun) {
13671
13670
  return worker;
13672
13671
  }
13673
13672
  export {
13673
+ CompressFileSuffixEnum,
13674
+ DocumentFileSuffixEnum,
13674
13675
  FileSuffixEnum,
13675
13676
  ImageFileSuffixEnum,
13677
+ MusicFileSuffixEnum,
13678
+ PptFileSuffixEnum,
13679
+ VideoFileSuffixEnum,
13676
13680
  add2 as add,
13677
13681
  batchDownloadFile,
13678
13682
  beParsedAsNumber,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@minto-ai/tools",
3
3
  "type": "module",
4
- "version": "1.0.48",
4
+ "version": "1.0.49",
5
5
  "description": "明途公共工具库",
6
6
  "author": "hcc",
7
7
  "license": "ISC",