mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Add stripeAccount entity to proptypes
This commit is contained in:
parent
905c3ee129
commit
b8b919ca11
1 changed files with 9 additions and 0 deletions
|
|
@ -283,6 +283,15 @@ propTypes.review = shape({
|
|||
subject: propTypes.user,
|
||||
});
|
||||
|
||||
// A Stripe account entity
|
||||
propTypes.stripeAccount = shape({
|
||||
id: propTypes.uuid.isRequired,
|
||||
type: propTypes.value('stripeAccount').isRequired,
|
||||
attributes: shape({
|
||||
stripeAccountId: string.isRequired,
|
||||
}),
|
||||
});
|
||||
|
||||
export const LINE_ITEM_NIGHT = 'line-item/night';
|
||||
export const LINE_ITEM_DAY = 'line-item/day';
|
||||
export const LINE_ITEM_UNITS = 'line-item/units';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue