@cumulus/db 12.0.0 → 12.0.1

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';
@@ -34,7 +34,7 @@ export declare const getExecutionInfoByGranuleCumulusId: ({ knexOrTransaction, g
34
34
  * @param {number} limit - limit to number of executions to query
35
35
  * @returns {Promise<ArnRecord[]>} - Array of arn objects with the most recent first.
36
36
  */
37
- export declare const getExecutionArnsByGranuleCumulusId: (knexOrTransaction: Knex | Knex.Transaction, granuleCumulusId: Number, limit?: number | undefined) => Promise<ArnRecord[]>;
37
+ export declare const getExecutionArnsByGranuleCumulusId: (knexOrTransaction: Knex | Knex.Transaction, granuleCumulusId: Number, limit?: number) => Promise<ArnRecord[]>;
38
38
  /**
39
39
  * Returns a list of executionArns sorted by most recent first, for an input
40
40
  * list of granuleIds and workflowNames.
@@ -16,7 +16,7 @@ export declare const getGranuleCollectionId: (knexOrTransaction: Knex | Knex.Tra
16
16
  * Granules/executions PG model class instance
17
17
  * @returns {Promise<PostgresGranuleRecord[]>}
18
18
  */
19
- export declare const upsertGranuleWithExecutionJoinRecord: (knexTransaction: Knex.Transaction, granule: PostgresGranule, executionCumulusId?: number | undefined, granulePgModel?: GranulePgModel, granulesExecutionsPgModel?: GranulesExecutionsPgModel) => Promise<PostgresGranuleRecord[]>;
19
+ export declare const upsertGranuleWithExecutionJoinRecord: (knexTransaction: Knex.Transaction, granule: PostgresGranule, executionCumulusId?: number, granulePgModel?: GranulePgModel, granulesExecutionsPgModel?: GranulesExecutionsPgModel) => Promise<PostgresGranuleRecord[]>;
20
20
  /**
21
21
  * Get cumulus IDs for list of granules
22
22
  *
@@ -76,5 +76,5 @@ export declare const getGranulesByApiPropertiesQuery: (knex: Knex, { collectionI
76
76
  providerNames?: string[] | undefined;
77
77
  updatedAtRange?: UpdatedAtRange | undefined;
78
78
  status?: string | undefined;
79
- }, sortByFields?: string | string[] | undefined) => Knex.QueryBuilder;
79
+ }, sortByFields?: string | string[]) => Knex.QueryBuilder;
80
80
  //# sourceMappingURL=granule.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/db",
3
- "version": "12.0.0",
3
+ "version": "12.0.1",
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": ">=14.19.1"
30
30
  },
31
31
  "dependencies": {
32
- "@cumulus/aws-client": "12.0.0",
33
- "@cumulus/common": "12.0.0",
34
- "@cumulus/errors": "12.0.0",
35
- "@cumulus/logger": "12.0.0",
36
- "@cumulus/message": "12.0.0",
37
- "@cumulus/types": "12.0.0",
32
+ "@cumulus/aws-client": "12.0.1",
33
+ "@cumulus/common": "12.0.1",
34
+ "@cumulus/errors": "12.0.1",
35
+ "@cumulus/logger": "12.0.1",
36
+ "@cumulus/message": "12.0.1",
37
+ "@cumulus/types": "12.0.1",
38
38
  "crypto-random-string": "^3.2.0",
39
39
  "is-valid-hostname": "1.0.2",
40
40
  "knex": "0.95.15",
@@ -46,5 +46,5 @@
46
46
  "devDependencies": {
47
47
  "@types/uuid": "^8.0.0"
48
48
  },
49
- "gitHead": "2d84198510f37d64444715736b8b08360f61c766"
49
+ "gitHead": "9d038d8c4330b12dfe2763cbc850680599801edb"
50
50
  }