mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-04-20 12:59:38 +00:00
Update address handling in third-party components and types for consistency.
- Replaced `address_id` with `id` in `ThirdPartyEdit.vue` and associated logic. - Introduced `SetAddress` type to standardize address references in write operations. - Updated `SetThirdParty` and related types to use `SetAddress` for better type safety.
This commit is contained in:
@@ -182,6 +182,13 @@ export interface Address {
|
||||
isNoAddress: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Associate an existing address in write operations.
|
||||
*/
|
||||
export interface SetAddress {
|
||||
id: number;
|
||||
}
|
||||
|
||||
export interface AddressWithPoint extends Address {
|
||||
point: Point;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user