d3bc2e11f1
| Numéro du ticket | Titre du ticket | |------------------|-----------------| | #326 | Admin modification creation client | ## Description de la PR ## Modification du .env ## Check list - [x] Pas de régression - [ ] TU/TI/TF rédigée - [x] TU/TI/TF OK - [x] CHANGELOG modifié Reviewed-on: https://gitea.malio.fr/MALIO-DEV/Ferme/pulls/25 Reviewed-by: Autin <tristan@yuno.malio.fr> Co-authored-by: Matteo <matteo@yuno.malio.fr> Co-committed-by: Matteo <matteo@yuno.malio.fr>
23 lines
466 B
TypeScript
23 lines
466 B
TypeScript
import type { AddressFormData } from "~/services/dto/address-data"
|
|
|
|
export type CustomerAddresses = AddressFormData[] | string[]
|
|
|
|
export interface CustomerData {
|
|
id: number
|
|
label: string
|
|
code?: string | null
|
|
addresses: CustomerAddresses
|
|
}
|
|
|
|
export interface CustomerFormData {
|
|
label: string
|
|
code?: string
|
|
addresses: AddressFormData[]
|
|
}
|
|
|
|
export type CustomerPayload = {
|
|
label: string
|
|
code?: string | null
|
|
addresses?: string[]
|
|
}
|