import { IParticipant, IAction as IBaseAction, IAttributes as IBaseAttributes } from '../../action'; import { ActionType } from '../../actionType'; import { ISimpleOrder } from '../../order'; import { TransactionType } from '../../transactionType'; export type IAgent = IParticipant; export type IRecipient = IParticipant; export type IObject = ISimpleOrder; export interface IResult { } export interface IPurpose { typeOf: TransactionType.PlaceOrder; id: string; } export interface IAttributes extends Pick, 'typeOf' | 'result' | 'purpose' | 'project' | 'object' | 'error' | 'agent'> { purpose?: IPurpose; } /** * 注文アクション */ export type IAction = IBaseAction;