export enum RegionType { Area = 'Area', City = 'City', Continent = 'Continent', Country = 'Country', Political = 'Political', } export interface IRegion { id: string; name: string; type: string; symbol: string; } export interface IRegionCreateInput { id: string; name: string; type: string; symbol: string; } export interface IRegionProperties { id?: boolean; name?: boolean; type?: boolean; symbol?: boolean; } export interface IRegionPropertiesConfig { properties: IRegionProperties; relationProperties?: {}; } export function defaultRegionProperties(): IRegionProperties { return { id: true, symbol: true, name: true, type: true, }; } export function defaultRegionPropertiesConfig(): IRegionPropertiesConfig { return { properties: defaultRegionProperties(), }; }