@minto-ai/tools 1.0.51 → 1.0.53

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.
@@ -16,5 +16,6 @@ import { default as isMusicFilePath } from './is-music-file-path';
16
16
  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
+ import { default as updateFilePathQuery } from './update-file-path-query';
19
20
  export type { CompressFileSuffix, DocumentFileSuffix, FileSuffix, ImageFileSuffix, MusicFileSuffix, PptFileSuffix, VideoFileSuffix, };
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, };
21
+ export { batchDownloadFile, CompressFileSuffixEnum, DocumentFileSuffixEnum, FileSuffixEnum, getFileIcon, getFileName, getFilePathNotQuery, getFileQuery, getFileSuffix, getFileSuffixIcon, getFileTitle, ImageFileSuffixEnum, isCompressFilePath, isDocumentFilePath, isFilePath, isImageFilePath, isMusicFilePath, isPptFilePath, isVideoFilePath, MusicFileSuffixEnum, PptFileSuffixEnum, singleDownloadFile, updateFilePathQuery, VideoFileSuffixEnum, };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 更新文件路径的查询参数
3
+ * @param filePath 文件路径
4
+ * @param objectQuery 查询参数对象
5
+ * @returns 更新后的文件路径
6
+ */
7
+ declare function updateFilePathQuery(filePath: string, objectQuery: Record<string, string>, isAppend?: boolean): string;
8
+ export default updateFilePathQuery;
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './math';
7
7
  export * from './object';
8
8
  export * from './string';
9
9
  export * from './supply';
10
+ export * from './theme';
10
11
  export * from './validator';
11
12
  export * from './web-socket';
12
13
  export * from './wrker';