@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 CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import AWS from 'aws-sdk';
3
4
  import { Knex } from 'knex';
4
5
  export declare const localStackConnectionEnv: {
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import AWS from 'aws-sdk';
3
4
  import { Knex } from 'knex';
4
5
  import Logger from '@cumulus/logger';
@@ -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 | undefined) => Promise<ArnRecord[]>;
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.
@@ -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 | undefined, granulePgModel?: GranulePgModel, granulesExecutionsPgModel?: GranulesExecutionsPgModel) => Promise<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.2",
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.2",
33
- "@cumulus/common": "10.1.2",
34
- "@cumulus/errors": "10.1.2",
35
- "@cumulus/logger": "10.1.2",
36
- "@cumulus/message": "10.1.2",
37
- "@cumulus/types": "10.1.2",
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": "3b59753fa85064549b70ad8ed4a4ee213c5af313"
49
+ "gitHead": "3dfabef58c4647d3ae5a64997bacaad5d6b274e1"
50
50
  }