Reuse existing addresses when creating an event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
export interface IAddress {
|
||||
id: number;
|
||||
id?: number;
|
||||
description: string;
|
||||
floor: string;
|
||||
street: string;
|
||||
locality: string;
|
||||
postal_code: string;
|
||||
postalCode: string;
|
||||
region: string;
|
||||
country: string;
|
||||
geom: string;
|
||||
geom?: string;
|
||||
url?: string;
|
||||
originId?: string;
|
||||
}
|
||||
|
||||
export class Address implements IAddress {
|
||||
country: string = '';
|
||||
description: string = '';
|
||||
floor: string = '';
|
||||
locality: string = '';
|
||||
postalCode: string = '';
|
||||
region: string = '';
|
||||
street: string = '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user