Skip to main content

Interfaces

CommandInputModel

export interface CommandInputModel {
pk: string
sk: string // include version
id: string
code: string
name: string
version: number
tenantCode: string
type: string
isDeleted?: boolean
seq?: number
ttl?: number
attributes?: Record<string, any>
}

CommandPartialInputModel

export interface CommandPartialInputModel extends Partial<CommandInputModel> {
pk: string
sk: string
version: number
}

ICommandOptions

import { IInvoke } from '../context'

export interface ICommandOptions {
source?: string
requestId?: string

invokeContext: IInvoke
}

DetailKey

export interface DetailKey {
pk: string
sk: string
}

EmailNotification

export interface EmailNotification {
fromAddr?: string
toAddrs: string[]
ccAddrs?: string[]
bccAddrs?: string[]
subject: string
body: string // html
}