@cumulus/db 10.1.2 → 10.1.3
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/dist/config.d.ts +1 -0
- package/dist/connection.d.ts +1 -0
- package/dist/lib/execution.d.ts +1 -1
- package/dist/lib/granule.d.ts +1 -1
- package/package.json +8 -8
package/dist/config.d.ts
CHANGED
package/dist/connection.d.ts
CHANGED
package/dist/lib/execution.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export interface ArnRecord {
|
|
|
14
14
|
* @param {number} limit - limit to number of executions to query
|
|
15
15
|
* @returns {Promise<ArnRecord[]>} - Array of arn objects with the most recent first.
|
|
16
16
|
*/
|
|
17
|
-
export declare const getExecutionArnsByGranuleCumulusId: (knexOrTransaction: Knex | Knex.Transaction, granuleCumulusId: Number, limit?: number
|
|
17
|
+
export declare const getExecutionArnsByGranuleCumulusId: (knexOrTransaction: Knex | Knex.Transaction, granuleCumulusId: Number, limit?: number) => Promise<ArnRecord[]>;
|
|
18
18
|
/**
|
|
19
19
|
* Returns a list of executionArns sorted by most recent first, for an input
|
|
20
20
|
* list of granuleIds and workflowNames.
|
package/dist/lib/granule.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { GranulesExecutionsPgModel } from '../models/granules-executions';
|
|
|
14
14
|
* Granules/executions PG model class instance
|
|
15
15
|
* @returns {Promise<number[]>}
|
|
16
16
|
*/
|
|
17
|
-
export declare const upsertGranuleWithExecutionJoinRecord: (knexTransaction: Knex.Transaction, granule: PostgresGranule, executionCumulusId?: number
|
|
17
|
+
export declare const upsertGranuleWithExecutionJoinRecord: (knexTransaction: Knex.Transaction, granule: PostgresGranule, executionCumulusId?: number, granulePgModel?: GranulePgModel, granulesExecutionsPgModel?: GranulesExecutionsPgModel) => Promise<number[]>;
|
|
18
18
|
/**
|
|
19
19
|
* Get cumulus IDs for list of granules
|
|
20
20
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/db",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.3",
|
|
4
4
|
"description": "Utilities for working with the Cumulus DB",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"node": ">=12.18.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@cumulus/aws-client": "10.1.
|
|
33
|
-
"@cumulus/common": "10.1.
|
|
34
|
-
"@cumulus/errors": "10.1.
|
|
35
|
-
"@cumulus/logger": "10.1.
|
|
36
|
-
"@cumulus/message": "10.1.
|
|
37
|
-
"@cumulus/types": "10.1.
|
|
32
|
+
"@cumulus/aws-client": "10.1.3",
|
|
33
|
+
"@cumulus/common": "10.1.3",
|
|
34
|
+
"@cumulus/errors": "10.1.3",
|
|
35
|
+
"@cumulus/logger": "10.1.3",
|
|
36
|
+
"@cumulus/message": "10.1.3",
|
|
37
|
+
"@cumulus/types": "10.1.3",
|
|
38
38
|
"crypto-random-string": "^3.2.0",
|
|
39
39
|
"is-valid-hostname": "0.0.1",
|
|
40
40
|
"knex": "0.95.15",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/uuid": "^8.0.0"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3dfabef58c4647d3ae5a64997bacaad5d6b274e1"
|
|
50
50
|
}
|