@sprucelabs/spruce-file-utils 15.1.11 → 15.1.13

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.
@@ -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 { UploadedFile } from './files.types';
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,19 @@
1
+ declare const _default: {
2
+ id: string;
3
+ name: string;
4
+ fields: {
5
+ id: {
6
+ type: "id";
7
+ isRequired: true;
8
+ };
9
+ uri: {
10
+ type: "text";
11
+ isRequired: true;
12
+ };
13
+ type: {
14
+ type: "text";
15
+ isRequired: true;
16
+ };
17
+ };
18
+ };
19
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { buildSchema } from '@sprucelabs/schema';
2
+ export default buildSchema({
3
+ id: 'uploadedFile',
4
+ name: 'Uploaded file',
5
+ fields: {
6
+ id: {
7
+ type: 'id',
8
+ isRequired: true,
9
+ },
10
+ uri: {
11
+ type: 'text',
12
+ isRequired: true,
13
+ },
14
+ type: {
15
+ type: 'text',
16
+ isRequired: true,
17
+ },
18
+ },
19
+ });
@@ -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 { UploadedFile } from './files.types';
6
+ export * from './files.types';
@@ -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);
@@ -0,0 +1,19 @@
1
+ declare const _default: {
2
+ id: string;
3
+ name: string;
4
+ fields: {
5
+ id: {
6
+ type: "id";
7
+ isRequired: true;
8
+ };
9
+ uri: {
10
+ type: "text";
11
+ isRequired: true;
12
+ };
13
+ type: {
14
+ type: "text";
15
+ isRequired: true;
16
+ };
17
+ };
18
+ };
19
+ export default _default;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema_1 = require("@sprucelabs/schema");
4
+ exports.default = (0, schema_1.buildSchema)({
5
+ id: 'uploadedFile',
6
+ name: 'Uploaded file',
7
+ fields: {
8
+ id: {
9
+ type: 'id',
10
+ isRequired: true,
11
+ },
12
+ uri: {
13
+ type: 'text',
14
+ isRequired: true,
15
+ },
16
+ type: {
17
+ type: 'text',
18
+ isRequired: true,
19
+ },
20
+ },
21
+ });
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.11",
4
+ "version": "15.1.13",
5
5
  "skill": {
6
6
  "namespace": "files"
7
7
  },
@@ -21,6 +21,11 @@
21
21
  "build/esm/files.types.d.ts",
22
22
  "build/files.types.js",
23
23
  "build/files.types.d.ts",
24
+
25
+ "build/schemas/v2022_05_13/uploadedFile.builder.d.ts",
26
+ "build/schemas/v2022_05_13/uploadedFile.builder.js",
27
+ "build/esm/schemas/v2022_05_13/uploadedFile.builder.d.ts",
28
+ "build/esm/schemas/v2022_05_13/uploadedFile.builder.js",
24
29
 
25
30
  "build/esm/index-module.js",
26
31
  "build/esm/index-module.d.ts",