UNPKG

@bit-ui-libs/common

Version:
26 lines (22 loc) 491 B
import { AddressTypeEnum } from '../enums'; export interface BaseAddress { name: string; type: AddressTypeEnum; address: string; city: string; state: string; zip: string; country: string; } export interface UserAddress extends BaseAddress { id: string; userId: string; isMain: boolean; isDefault: boolean; phoneNumber?: string; } export interface ShippingAddress extends UserAddress { profileId: string; phoneNumber: string; shipInternationally?: boolean; }