File

lib/models/terminate-job-dialog-data.model.ts

Description

Angular Material dialog data for the TerminateJobDialog.

Index

Properties

Properties

jobInfo
jobInfo: DynamoDBItem
Type : DynamoDBItem

The hazard job info

onTerminateAction
onTerminateAction: function
Type : function

Function to run on clicking the terminate button

import {DynamoDBItem} from '@ghsc/nshmp-utils-ts/libs/aws/run-nshmp-haz';

/**
 * Angular Material dialog data for the `TerminateJobDialog`.
 */
export interface TerminateJobDialogData {
  /** The hazard job info */
  jobInfo: DynamoDBItem;
  /** Function to run on clicking the terminate button */
  onTerminateAction: () => unknown;
}

results matching ""

    No results matching ""