@cumulus/types
Advanced tools
Comparing version
// eslint-disable-next-line import/extensions | ||
import { DuplicateHandling } from '..'; | ||
export type CollectionId = string; | ||
export interface CollectionFile { | ||
@@ -5,0 +7,0 @@ bucket: string, |
@@ -8,9 +8,11 @@ export type ExecutionRecordStatus = 'completed' | 'failed' | 'running' | 'unknown'; | ||
export interface ExecutionRecord { | ||
export interface ApiExecutionRecord { | ||
arn: string, | ||
createdAt: number, | ||
name: string | ||
name: string, | ||
status: ExecutionRecordStatus, | ||
updatedAt: number, | ||
asyncOperationId?: string, | ||
collectionId?: string, | ||
cumulusVersion?: string, | ||
duration?: number, | ||
@@ -25,4 +27,22 @@ error?: object, | ||
type?: string, | ||
updatedAt: number, | ||
cumulusVersion?: string, | ||
} | ||
export interface ApiExecution { | ||
arn: string, | ||
name: string, | ||
asyncOperationId?: string | null, | ||
collectionId?: string | null, | ||
createdAt?: number | null, | ||
cumulusVersion?: string | null, | ||
duration?: number | null, | ||
error?: object | null, | ||
execution?: string | null, | ||
finalPayload?: object | null, | ||
originalPayload?: object | null, | ||
parentArn?: string | null, | ||
tasks?: object | null, | ||
timestamp?: number | null, | ||
type?: string | null, | ||
status?: ExecutionRecordStatus, | ||
updatedAt?: number | null, | ||
} |
@@ -33,2 +33,3 @@ export type RuleType = 'kinesis' | 'onetime' | 'scheduled' | 'sns' | 'sqs'; | ||
tags?: string[], | ||
asyncOperationId?: string, | ||
} | ||
@@ -35,0 +36,0 @@ |
export type DuplicateHandling = 'error' | 'replace' | 'skip' | 'version'; | ||
export * as Migration from './migration'; | ||
export * as Message from './message'; | ||
@@ -6,0 +4,0 @@ |
{ | ||
"name": "@cumulus/types", | ||
"version": "15.0.3", | ||
"version": "16.0.1-alpha.0", | ||
"description": "TypeScript definitions for working with Cumulus data structures", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"license": "Apache-2.0", | ||
"gitHead": "5fd5febe740ef96f365d1defc7b9f76ae64c9cc0" | ||
"gitHead": "81e35723db79eada290954901e4974598f7c4295" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19142
-5.21%16
-5.88%323
-7.71%1
Infinity%1
Infinity%