@cumulus/types 19.1.0 → 19.2.0-alpha.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.
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line import/extensions
2
- import { DuplicateHandling } from '..';
2
+ import { DuplicateHandling } from '../duplicateHandling';
3
3
 
4
4
  export type CollectionId = string;
5
5
 
@@ -0,0 +1,18 @@
1
+ export type ReconciliationReportType =
2
+ 'Granule Inventory' | 'Granule Not Found' | 'Internal' | 'Inventory' | 'ORCA Backup';
3
+ export type ReconciliationReportStatus = 'Generated' | 'Pending' | 'Failed';
4
+
5
+ export interface ApiReconciliationReport {
6
+ name: string,
7
+ type: ReconciliationReportType,
8
+ status: ReconciliationReportStatus,
9
+ location?: string,
10
+ error?: object,
11
+ createdAt?: number,
12
+ updatedAt?: number,
13
+ }
14
+
15
+ export interface ApiReconciliationReportRecord extends ApiReconciliationReport {
16
+ createdAt: number,
17
+ updatedAt: number,
18
+ }
@@ -0,0 +1 @@
1
+ export type DuplicateHandling = 'error' | 'replace' | 'skip' | 'version';
package/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export type DuplicateHandling = 'error' | 'replace' | 'skip' | 'version';
1
+ export { DuplicateHandling } from './duplicateHandling';
2
2
 
3
3
  export * as Message from './message';
4
-
5
4
  export * from './api/files';
6
5
  export * from './api/granules';
7
6
  export * from './api/providers';
7
+ export * from './api/collections';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/types",
3
- "version": "19.1.0",
3
+ "version": "19.2.0-alpha.1",
4
4
  "description": "TypeScript definitions for working with Cumulus data structures",
5
5
  "keywords": [
6
6
  "GIBS",
@@ -22,5 +22,5 @@
22
22
  },
23
23
  "author": "Cumulus Authors",
24
24
  "license": "Apache-2.0",
25
- "gitHead": "803acf8212df5203ec502c5b16dde49a20265b7e"
25
+ "gitHead": "3b8d4b03abefe6a623245903b48685ebb7ae4ca7"
26
26
  }