add export for file

This commit is contained in:
xion 2025-04-03 19:32:21 +08:00
parent a7faaca418
commit 86e6a8686e
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@kevisual/query-upload",
"version": "0.0.1",
"version": "0.0.2",
"description": "",
"main": "dist/query-upload.js",
"types": "dist/query-upload.d.ts",

View File

@ -4,3 +4,8 @@ import { uploadFileChunked } from './core/upload-chunk.ts';
import { UploadProgress } from './core/upload-progress.ts';
export { uploadFiles, uploadFileChunked, UploadProgress };
export * from './utils/to-file.ts';
export { randomId } from './utils/random-id.ts';
export { filterFiles } from './utils/filter-files.ts';