@flashcoffee/fctypes
v1.2.63
Published
flashcoffee services types
Downloads
122
Maintainers
Keywords
Readme
fctypes
This package is used on the flashcoffee service. It can also be used for Frontend. Each type here is used in multiple services
Available Types:
Interface
- ICustomer
- IDBConfig
- IOrder
- IOrderItem
- IOrderItemOption
- IOrderPayment
- IOrderCheckoutTopic
- IOrderFailedTopic
- IOrderPaidTopic
- ISNSEvent
- ICreatePayment
- ICreateRefund
- IPayment
- IDDTrackingData
- IDDInfo
- IDDWarn
- IDDError
- ISNSPaymentRefunded
Enum
- PaymentMethod
- EPaymentStatus
- EPaymentNotificationSubsTopic
- EPaymentStatus
- EPaymentErrorCodes
- EEventName
- IDDLog
- EMetricsKey
- EMetricType
- ERefundTransactionTopic
- ERefundedStatus
- ERefundedType
Types
- IPayment
Installation
yarn add @flashcoffee/fctypes
Usage
import { IDBConfig, IOrder, ISNSEvent, PaymentMethod } from '@flashcoffee/fctypes';