@cumulus/types 20.3.1 → 21.0.0-echo10
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 +2 -0
- package/api/files.d.ts +4 -0
- package/api/granules.d.ts +10 -4
- package/message.d.ts +8 -0
- package/package.json +2 -2
package/api/executions.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ export interface ApiExecutionRecord {
|
|
|
23
23
|
tasks?: object,
|
|
24
24
|
timestamp?: number,
|
|
25
25
|
type?: string,
|
|
26
|
+
archived: boolean,
|
|
26
27
|
}
|
|
27
28
|
|
|
28
29
|
export interface ApiExecution {
|
|
@@ -43,4 +44,5 @@ export interface ApiExecution {
|
|
|
43
44
|
type?: string | null,
|
|
44
45
|
status?: ExecutionRecordStatus,
|
|
45
46
|
updatedAt?: number | null,
|
|
47
|
+
archived: boolean,
|
|
46
48
|
}
|
package/api/files.d.ts
CHANGED
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
|
|
@@ -46,13 +48,14 @@ export type ApiGranuleRecord = {
|
|
|
46
48
|
timestamp?: number
|
|
47
49
|
timeToArchive?: number
|
|
48
50
|
timeToPreprocess?: number
|
|
51
|
+
archived: boolean
|
|
49
52
|
} & PartialGranuleTemporalInfo & PartialGranuleProcessingInfo;
|
|
50
53
|
|
|
51
54
|
export type ApiGranule = {
|
|
52
55
|
granuleId: string
|
|
53
56
|
collectionId: string
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
archived: boolean
|
|
58
|
+
producerGranuleId: string
|
|
56
59
|
cmrLink?: string | null
|
|
57
60
|
createdAt?: number | null
|
|
58
61
|
duration?: number | null
|
|
@@ -60,11 +63,14 @@ export type ApiGranule = {
|
|
|
60
63
|
execution?: string | null
|
|
61
64
|
files?: Omit<import('./files').ApiFile, 'granuleId'>[] | null
|
|
62
65
|
pdrName?: string | null
|
|
66
|
+
producerGranuleId?: string | null
|
|
63
67
|
productVolume?: string | null
|
|
64
68
|
provider?: string | null
|
|
65
69
|
published?: boolean | null
|
|
66
70
|
queryFields?: unknown | null
|
|
71
|
+
status?: GranuleStatus
|
|
67
72
|
timestamp?: number | null
|
|
68
73
|
timeToArchive?: number | null
|
|
69
74
|
timeToPreprocess?: number | null
|
|
75
|
+
updatedAt?: number | null
|
|
70
76
|
} & PartialGranuleTemporalInfo & PartialGranuleProcessingInfo;
|
package/message.d.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
type CumulusException = 'None' | object;
|
|
2
2
|
|
|
3
3
|
export type WorkflowStatus = 'completed' | 'failed' | 'running';
|
|
4
|
+
export type RecordType = 'execution' | 'granule' | 'pdr';
|
|
4
5
|
|
|
5
6
|
export interface QueueExecutionLimits {
|
|
6
7
|
[queueUrl: string]: number
|
|
7
8
|
}
|
|
8
9
|
|
|
10
|
+
export type SfEventSqsToDbRecordsTypes = {
|
|
11
|
+
[workflowName: string]: {
|
|
12
|
+
[status: WorkflowStatus]: RecordType[]
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
9
16
|
export interface CumulusMeta {
|
|
10
17
|
execution_name: string
|
|
11
18
|
state_machine: string
|
|
@@ -13,6 +20,7 @@ export interface CumulusMeta {
|
|
|
13
20
|
asyncOperationId?: string
|
|
14
21
|
queueExecutionLimits: QueueExecutionLimits
|
|
15
22
|
cumulus_version?: string
|
|
23
|
+
sf_event_sqs_to_db_records_types?: SfEventSqsToDbRecordsTypes
|
|
16
24
|
}
|
|
17
25
|
|
|
18
26
|
export interface ReplaceConfig {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cumulus/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0-echo10",
|
|
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": "b0560aa0ef1d3b7401eedc4a4ba90f57f16bcda3"
|
|
26
26
|
}
|