@cumulus/types 9.4.0 → 9.7.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/executions.d.ts +5 -0
- package/api/granules.d.ts +35 -3
- package/package.json +2 -2
package/api/executions.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export type ExecutionRecordStatus = 'completed' | 'failed' | 'running' | 'unknown';
|
|
2
2
|
|
|
3
|
+
export type ExecutionProcessingTimes = {
|
|
4
|
+
processingStartDateTime: string
|
|
5
|
+
processingEndDateTime: string
|
|
6
|
+
} | {};
|
|
7
|
+
|
|
3
8
|
export interface ExecutionRecord {
|
|
4
9
|
arn: string,
|
|
5
10
|
createdAt: number,
|
package/api/granules.d.ts
CHANGED
|
@@ -1,8 +1,40 @@
|
|
|
1
1
|
export type GranuleId = string;
|
|
2
2
|
|
|
3
|
-
export type GranuleStatus = 'completed' | 'failed' | 'running';
|
|
3
|
+
export type GranuleStatus = 'completed' | 'failed' | 'running' | 'queued';
|
|
4
4
|
|
|
5
|
-
export
|
|
6
|
-
|
|
5
|
+
export type GranuleTemporalInfo = {
|
|
6
|
+
beginningDateTime: string
|
|
7
|
+
endingDateTime: string
|
|
8
|
+
productionDateTime: string
|
|
9
|
+
lastUpdateDateTime: string
|
|
10
|
+
} | {};
|
|
11
|
+
|
|
12
|
+
export interface MessageGranule {
|
|
13
|
+
granuleId: string
|
|
14
|
+
cmrLink?: string
|
|
15
|
+
published?: boolean
|
|
16
|
+
status?: string
|
|
17
|
+
sync_granule_duration?: number
|
|
18
|
+
post_to_cmr_duration?: number
|
|
7
19
|
files?: import('./files').ApiFile[]
|
|
8
20
|
}
|
|
21
|
+
|
|
22
|
+
export type ApiGranule = {
|
|
23
|
+
granuleId: string
|
|
24
|
+
collectionId: string
|
|
25
|
+
status: GranuleStatus
|
|
26
|
+
execution: string
|
|
27
|
+
cmrLink?: string
|
|
28
|
+
published?: boolean
|
|
29
|
+
pdrName?: string
|
|
30
|
+
provider?: string
|
|
31
|
+
error?: Object
|
|
32
|
+
createdAt: string
|
|
33
|
+
timestamp?: string
|
|
34
|
+
updatedAt: string
|
|
35
|
+
duration?: number
|
|
36
|
+
productVolume?: number
|
|
37
|
+
timeToPreprocess?: number
|
|
38
|
+
timeToArchive?: number
|
|
39
|
+
files?: import('./files').ApiFile[]
|
|
40
|
+
} & GranuleTemporalInfo & import('./executions').ExecutionProcessingTimes;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/types",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.7.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": "
|
|
25
|
+
"gitHead": "926740ad299b43f27117fd1fd34050b3db194c71"
|
|
26
26
|
}
|