@sprucelabs/spruce-file-utils 17.0.1 → 18.0.0

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.
@@ -38,10 +38,12 @@ LocalUploadStrategy.settingsSchema = buildSchema({
38
38
  localUploadDir: {
39
39
  label: 'Local Upload Directory',
40
40
  type: 'text',
41
+ isRequired: true,
41
42
  },
42
43
  fileHostUrl: {
43
44
  label: 'File Host URL',
44
45
  type: 'text',
46
+ isRequired: true,
45
47
  },
46
48
  },
47
49
  });
@@ -8,17 +8,17 @@ export default class S3UploadStrategy implements UploadStrategy {
8
8
  awsAccessKeyId: {
9
9
  label: string;
10
10
  type: "text";
11
- options: undefined;
11
+ isRequired: true;
12
12
  };
13
13
  awsSecretAccessKey: {
14
14
  label: string;
15
15
  type: "text";
16
- options: undefined;
16
+ isRequired: true;
17
17
  };
18
18
  awsS3Bucket: {
19
19
  label: string;
20
20
  type: "text";
21
- options: undefined;
21
+ isRequired: true;
22
22
  };
23
23
  };
24
24
  };
@@ -56,17 +56,17 @@ S3UploadStrategy.settingsSchema = buildSchema({
56
56
  awsAccessKeyId: {
57
57
  label: 'AWS Access Key ID',
58
58
  type: 'text',
59
- options: undefined,
59
+ isRequired: true,
60
60
  },
61
61
  awsSecretAccessKey: {
62
62
  label: 'AWS Secret Access Key',
63
63
  type: 'text',
64
- options: undefined,
64
+ isRequired: true,
65
65
  },
66
66
  awsS3Bucket: {
67
67
  label: 'AWS S3 Bucket',
68
68
  type: 'text',
69
- options: undefined,
69
+ isRequired: true,
70
70
  },
71
71
  },
72
72
  });
@@ -9,10 +9,12 @@ export default class LocalUploadStrategy implements UploadStrategy {
9
9
  localUploadDir: {
10
10
  label: string;
11
11
  type: "text";
12
+ isRequired: true;
12
13
  };
13
14
  fileHostUrl: {
14
15
  label: string;
15
16
  type: "text";
17
+ isRequired: true;
16
18
  };
17
19
  };
18
20
  };
@@ -28,10 +28,12 @@ LocalUploadStrategy.settingsSchema = (0, schema_1.buildSchema)({
28
28
  localUploadDir: {
29
29
  label: 'Local Upload Directory',
30
30
  type: 'text',
31
+ isRequired: true,
31
32
  },
32
33
  fileHostUrl: {
33
34
  label: 'File Host URL',
34
35
  type: 'text',
36
+ isRequired: true,
35
37
  },
36
38
  },
37
39
  });
@@ -8,17 +8,17 @@ export default class S3UploadStrategy implements UploadStrategy {
8
8
  awsAccessKeyId: {
9
9
  label: string;
10
10
  type: "text";
11
- options: undefined;
11
+ isRequired: true;
12
12
  };
13
13
  awsSecretAccessKey: {
14
14
  label: string;
15
15
  type: "text";
16
- options: undefined;
16
+ isRequired: true;
17
17
  };
18
18
  awsS3Bucket: {
19
19
  label: string;
20
20
  type: "text";
21
- options: undefined;
21
+ isRequired: true;
22
22
  };
23
23
  };
24
24
  };
@@ -50,17 +50,17 @@ S3UploadStrategy.settingsSchema = (0, schema_1.buildSchema)({
50
50
  awsAccessKeyId: {
51
51
  label: 'AWS Access Key ID',
52
52
  type: 'text',
53
- options: undefined,
53
+ isRequired: true,
54
54
  },
55
55
  awsSecretAccessKey: {
56
56
  label: 'AWS Secret Access Key',
57
57
  type: 'text',
58
- options: undefined,
58
+ isRequired: true,
59
59
  },
60
60
  awsS3Bucket: {
61
61
  label: 'AWS S3 Bucket',
62
62
  type: 'text',
63
- options: undefined,
63
+ isRequired: true,
64
64
  },
65
65
  },
66
66
  });
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": "17.0.1",
4
+ "version": "18.0.0",
5
5
  "skill": {
6
6
  "namespace": "files"
7
7
  },