fix : correction des retours de la V0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export interface AddressData {
|
||||
id: number
|
||||
label: string
|
||||
label?: string | null
|
||||
street: string
|
||||
street2?: string | null
|
||||
postalCode: string
|
||||
@@ -11,7 +11,7 @@ export interface AddressData {
|
||||
|
||||
export interface AddressFormData {
|
||||
id?: number | null
|
||||
label: string
|
||||
label?: string | null
|
||||
street: string
|
||||
street2?: string | null
|
||||
postalCode: string
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { AddressFormData } from "~/services/dto/address-data"
|
||||
import type { UserData } from "~/services/dto/user-data"
|
||||
|
||||
export type CustomerAddresses = AddressFormData[] | string[]
|
||||
|
||||
@@ -7,6 +8,7 @@ export interface CustomerData {
|
||||
name: string
|
||||
phone?: string | null
|
||||
email?: string | null
|
||||
createdBy?: UserData | null
|
||||
addresses: CustomerAddresses
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { AddressFormData } from "~/services/dto/address-data"
|
||||
import type { UserData } from "~/services/dto/user-data"
|
||||
|
||||
export type SupplierAddresses = AddressFormData[] | string[]
|
||||
|
||||
@@ -7,6 +8,7 @@ export interface SupplierData {
|
||||
name: string
|
||||
email?: string | null
|
||||
phone?: string | null
|
||||
createdBy?: UserData | null
|
||||
addresses: SupplierAddresses
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user