@sprucelabs/spruce-file-utils 15.1.12 → 15.1.14
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.
@@ -1,7 +1,11 @@
|
|
1
1
|
import { SpruceSchemas } from '@sprucelabs/mercury-types';
|
2
2
|
import { SpruceUploaderImpl } from './uploading/SpruceUploader';
|
3
3
|
export type Settings = SpruceSchemas.Files.v2022_05_13.Settings;
|
4
|
-
export
|
4
|
+
export interface UploadedFile {
|
5
|
+
id: string;
|
6
|
+
uri: string;
|
7
|
+
type: string;
|
8
|
+
}
|
5
9
|
declare module '@sprucelabs/spruce-skill-utils/build/types/skill.types' {
|
6
10
|
interface SkillContext {
|
7
11
|
uploader: SpruceUploaderImpl;
|
package/build/files.types.d.ts
CHANGED
@@ -1,7 +1,11 @@
|
|
1
1
|
import { SpruceSchemas } from '@sprucelabs/mercury-types';
|
2
2
|
import { SpruceUploaderImpl } from './uploading/SpruceUploader';
|
3
3
|
export type Settings = SpruceSchemas.Files.v2022_05_13.Settings;
|
4
|
-
export
|
4
|
+
export interface UploadedFile {
|
5
|
+
id: string;
|
6
|
+
uri: string;
|
7
|
+
type: string;
|
8
|
+
}
|
5
9
|
declare module '@sprucelabs/spruce-skill-utils/build/types/skill.types' {
|
6
10
|
interface SkillContext {
|
7
11
|
uploader: SpruceUploaderImpl;
|
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.14",
|
5
5
|
"skill": {
|
6
6
|
"namespace": "files"
|
7
7
|
},
|
@@ -40,7 +40,6 @@
|
|
40
40
|
"build/uploading/MockChunkingUploader.d.ts",
|
41
41
|
"build/uploading/MockChunkingUploader.js",
|
42
42
|
|
43
|
-
|
44
43
|
"build/esm/errors/SpruceError.d.ts",
|
45
44
|
"build/esm/errors/SpruceError.js",
|
46
45
|
"build/errors/SpruceError.d.ts",
|