@sprucelabs/spruce-file-utils 15.1.10 → 15.1.12
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/build/esm/files.types.d.ts +9 -0
- package/build/esm/files.types.js +1 -0
- package/build/esm/index-module.d.ts +1 -1
- package/build/esm/index-module.js +1 -0
- package/build/files.types.d.ts +9 -0
- package/build/files.types.js +2 -0
- package/build/index-module.d.ts +1 -1
- package/build/index-module.js +1 -0
- package/package.json +6 -1
@@ -0,0 +1,9 @@
|
|
1
|
+
import { SpruceSchemas } from '@sprucelabs/mercury-types';
|
2
|
+
import { SpruceUploaderImpl } from './uploading/SpruceUploader';
|
3
|
+
export type Settings = SpruceSchemas.Files.v2022_05_13.Settings;
|
4
|
+
export type UploadedFile = SpruceSchemas.Files.v2022_05_13.UploadedFile;
|
5
|
+
declare module '@sprucelabs/spruce-skill-utils/build/types/skill.types' {
|
6
|
+
interface SkillContext {
|
7
|
+
uploader: SpruceUploaderImpl;
|
8
|
+
}
|
9
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -3,4 +3,4 @@ export * from './uploading/FileUploader';
|
|
3
3
|
export { default as ChunkingUploaderImpl } from './uploading/ChunkingUploader';
|
4
4
|
export * from './uploading/ChunkingUploader';
|
5
5
|
export { default as MockChunkingUploader } from './uploading/MockChunkingUploader';
|
6
|
-
export
|
6
|
+
export * from './files.types';
|
@@ -3,3 +3,4 @@ export * from './uploading/FileUploader.js';
|
|
3
3
|
export { default as ChunkingUploaderImpl } from './uploading/ChunkingUploader.js';
|
4
4
|
export * from './uploading/ChunkingUploader.js';
|
5
5
|
export { default as MockChunkingUploader } from './uploading/MockChunkingUploader.js';
|
6
|
+
export * from './files.types.js';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { SpruceSchemas } from '@sprucelabs/mercury-types';
|
2
|
+
import { SpruceUploaderImpl } from './uploading/SpruceUploader';
|
3
|
+
export type Settings = SpruceSchemas.Files.v2022_05_13.Settings;
|
4
|
+
export type UploadedFile = SpruceSchemas.Files.v2022_05_13.UploadedFile;
|
5
|
+
declare module '@sprucelabs/spruce-skill-utils/build/types/skill.types' {
|
6
|
+
interface SkillContext {
|
7
|
+
uploader: SpruceUploaderImpl;
|
8
|
+
}
|
9
|
+
}
|
package/build/index-module.d.ts
CHANGED
@@ -3,4 +3,4 @@ export * from './uploading/FileUploader';
|
|
3
3
|
export { default as ChunkingUploaderImpl } from './uploading/ChunkingUploader';
|
4
4
|
export * from './uploading/ChunkingUploader';
|
5
5
|
export { default as MockChunkingUploader } from './uploading/MockChunkingUploader';
|
6
|
-
export
|
6
|
+
export * from './files.types';
|
package/build/index-module.js
CHANGED
@@ -26,3 +26,4 @@ Object.defineProperty(exports, "ChunkingUploaderImpl", { enumerable: true, get:
|
|
26
26
|
__exportStar(require("./uploading/ChunkingUploader"), exports);
|
27
27
|
var MockChunkingUploader_1 = require("./uploading/MockChunkingUploader");
|
28
28
|
Object.defineProperty(exports, "MockChunkingUploader", { enumerable: true, get: function () { return __importDefault(MockChunkingUploader_1).default; } });
|
29
|
+
__exportStar(require("./files.types"), exports);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sprucelabs/spruce-file-utils",
|
3
3
|
"description": "Utils for working with files and Sprucebot.",
|
4
|
-
"version": "15.1.
|
4
|
+
"version": "15.1.12",
|
5
5
|
"skill": {
|
6
6
|
"namespace": "files"
|
7
7
|
},
|
@@ -16,6 +16,11 @@
|
|
16
16
|
"files": [
|
17
17
|
"build/index-module.js",
|
18
18
|
"build/index-module.d.ts",
|
19
|
+
|
20
|
+
"build/esm/files.types.js",
|
21
|
+
"build/esm/files.types.d.ts",
|
22
|
+
"build/files.types.js",
|
23
|
+
"build/files.types.d.ts",
|
19
24
|
|
20
25
|
"build/esm/index-module.js",
|
21
26
|
"build/esm/index-module.d.ts",
|