react-native-unit-components
Version:
Unit React Native components
20 lines (17 loc) • 629 B
text/typescript
import type { RESPONSE_KEYS } from '../../messages/webMessages/onLoadMessage';
import type { UNAuthorization } from './authorization.types';
import type { UNTransaction } from './transaction/transactions.types';
export enum UNActivityComponentPaginationType {
infiniteScroll = 'infiniteScroll',
pagination = 'pagination'
}
export type UNActivityOnLoadData = {
[RESPONSE_KEYS.authorizations]: [UNAuthorization],
[RESPONSE_KEYS.transactions]: [UNTransaction],
}
export enum UNActivityType {
Transaction = 'transaction',
Authorization = 'authorization',
CheckDeposit = 'checkDeposit',
AchPayment = 'achPayment',
}