@bit-ui-libs/common
Version:
This library was generated with [Nx](https://nx.dev).
26 lines (22 loc) • 491 B
text/typescript
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;
}