@cumulus/types 20.1.2 → 20.1.3-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.
package/api/granules.d.ts CHANGED
@@ -12,6 +12,7 @@ export type GranuleTemporalInfo = {
12
12
  export interface MessageGranule {
13
13
  granuleId: string
14
14
  cmrLink?: string
15
+ producerGranuleId?: string
15
16
  published?: boolean
16
17
  status?: string
17
18
  sync_granule_duration?: number
@@ -28,11 +29,12 @@ type PartialGranuleTemporalInfo = NullablePartialType<GranuleTemporalInfo>;
28
29
  type PartialGranuleProcessingInfo = NullablePartialType<import('./executions').ExecutionProcessingTimes>;
29
30
 
30
31
  export type ApiGranuleRecord = {
31
- granuleId: string
32
32
  collectionId: string
33
+ createdAt: number
34
+ granuleId: string
35
+ producerGranuleId: string
33
36
  status: GranuleStatus
34
37
  updatedAt: number
35
- createdAt: number
36
38
  cmrLink?: string
37
39
  duration?: number
38
40
  error?: Object
@@ -51,8 +53,7 @@ export type ApiGranuleRecord = {
51
53
  export type ApiGranule = {
52
54
  granuleId: string
53
55
  collectionId: string
54
- status?: GranuleStatus
55
- updatedAt?: number | null
56
+ producerGranuleId: string
56
57
  cmrLink?: string | null
57
58
  createdAt?: number | null
58
59
  duration?: number | null
@@ -60,11 +61,14 @@ export type ApiGranule = {
60
61
  execution?: string | null
61
62
  files?: Omit<import('./files').ApiFile, 'granuleId'>[] | null
62
63
  pdrName?: string | null
64
+ producerGranuleId?: string | null
63
65
  productVolume?: string | null
64
66
  provider?: string | null
65
67
  published?: boolean | null
66
68
  queryFields?: unknown | null
69
+ status?: GranuleStatus
67
70
  timestamp?: number | null
68
71
  timeToArchive?: number | null
69
72
  timeToPreprocess?: number | null
73
+ updatedAt?: number | null
70
74
  } & PartialGranuleTemporalInfo & PartialGranuleProcessingInfo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cumulus/types",
3
- "version": "20.1.2",
3
+ "version": "20.1.3-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": "051ef1428ac21105fd55370d15e26009f4b49f57"
25
+ "gitHead": "058c1288fc31f6f158c67a40431666fb098d709f"
26
26
  }