@squiz/job-runner-lib 2.1.0 → 2.3.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.
- package/CHANGELOG.md +12 -1
- package/lib/domains/job/S3Repository/S3RepositoryBase.d.ts +2 -2
- package/lib/domains/job/singletonProvider.d.ts +1 -1
- package/lib/domains/job/transientProvider.d.ts +1 -1
- package/lib/index.js +11 -11
- package/lib/index.js.map +4 -4
- package/package.json +9 -13
- package/src/domains/job/S3Repository/JobDetailsRepository.ts +4 -1
- package/src/domains/job/S3Repository/S3RepositoryBase.ts +6 -3
- package/src/domains/job/core/pagination/services/PaginationService.spec.ts +1 -1
- package/src/domains/job/errors/BadRequestError.ts +4 -1
- package/src/domains/job/errors/ErrorWithHttpStatusCode.ts +5 -1
- package/src/domains/job/errors/InternalServerError.ts +4 -1
- package/src/domains/job/errors/NotImplementedError.ts +4 -1
- package/src/domains/job/errors/UnprocessableContent.ts +4 -1
- package/src/domains/job/manifest/JobManifestV1.ts +4 -1
- package/src/domains/job/services/JobExecutionTaskService/JobExecutionTaskService.ts +2 -3
- package/tsconfig.json +1 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 2.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5e2c538: Updated dependencies.
|
|
8
|
+
|
|
9
|
+
## 2.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 5da71d1: Updated dependencies.
|
|
14
|
+
|
|
3
15
|
## 2.1.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -46,7 +58,6 @@
|
|
|
46
58
|
### Patch Changes
|
|
47
59
|
|
|
48
60
|
- a9ef951: Reworking component error handling:
|
|
49
|
-
|
|
50
61
|
- Components which respond with HTML will have their errors output as HTML comments.
|
|
51
62
|
This is to avoid the errors being surfaced to users when a component fails.
|
|
52
63
|
- Components which respond with JSON will continue to respond with a JSON response where
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @license
|
|
3
3
|
* Copyright Squiz Australia Pty Ltd. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
|
-
import { HeadObjectCommandOutput,
|
|
5
|
+
import { HeadObjectCommandOutput, PutObjectCommandInput, S3Client } from '@aws-sdk/client-s3';
|
|
6
6
|
import 'reflect-metadata';
|
|
7
7
|
/**
|
|
8
8
|
* Repository class for interacting with S3.
|
|
@@ -20,7 +20,7 @@ export declare abstract class S3RepositoryBase {
|
|
|
20
20
|
* @return {Promise<void>}
|
|
21
21
|
* @memberof S3Repository
|
|
22
22
|
*/
|
|
23
|
-
put(key: string, body:
|
|
23
|
+
put(key: string, body: PutObjectCommandInput['Body']): Promise<void>;
|
|
24
24
|
/**
|
|
25
25
|
* Retrieve object from S3.
|
|
26
26
|
* @param {string} key The S3 object key.
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Copyright Squiz Australia Pty Ltd. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { interfaces } from 'inversify';
|
|
6
|
-
export declare const provideSingleton: <T>(identifier: interfaces.ServiceIdentifier<T>) => (target: any) => any;
|
|
6
|
+
export declare const provideSingleton: <T>(identifier: interfaces.ServiceIdentifier<T>) => ((target: any) => any);
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* Copyright Squiz Australia Pty Ltd. All Rights Reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { interfaces } from 'inversify';
|
|
6
|
-
export declare const provideTransient: <T>(identifier: interfaces.ServiceIdentifier<T>) => (target: any) => any;
|
|
6
|
+
export declare const provideTransient: <T>(identifier: interfaces.ServiceIdentifier<T>) => ((target: any) => any);
|