import type { GeoCoordinates, GeoPosition, IdObject, ParentsMap, PostalAddress, DateValue } from "./common.js"; import type EJSONType from "../../EJSONType.js"; type ObjectIDCtor = typeof EJSONType["ObjectID"]; type ObjectID = InstanceType; /** * Types de poi supportés */ export declare const POI_TYPES: readonly ["link", "tool", "machine", "software", "rh", "Resource material", "Financial Ressource", "ficheBlanche", "geoJson", "compostPickup", "video", "sharedLibrary", "recoveryCenter", "trash", "history", "something2See", "funPlace", "place", "artPiece", "streetArts", "openScene", "stand", "parking", "other"]; export type PoiType = (typeof POI_TYPES)[number]; export interface PoiItemJson { _id: IdObject; collection: "poi"; name: string; type: PoiType; created?: DateValue; updated?: DateValue; modified?: DateValue; parent?: ParentsMap; description?: string; slug?: string; address?: PostalAddress; geo?: GeoCoordinates; geoPosition?: GeoPosition; tags?: string[]; urls?: string[]; creator?: string; profilImageUrl?: string; profilMediumImageUrl?: string; profilThumbImageUrl?: string; profilMarkerImageUrl?: string; [key: string]: unknown; } export interface PoiItemNormalized { id: string; _id: ObjectID; collection: "poi"; name: string; type: PoiType; created?: Date; updated?: Date; modified?: Date; parent?: ParentsMap; description?: string; slug?: string; address?: PostalAddress; geo?: GeoCoordinates; geoPosition?: GeoPosition; tags?: string[]; urls?: string[]; creator?: string; profilImageUrl?: string; profilMediumImageUrl?: string; profilThumbImageUrl?: string; profilMarkerImageUrl?: string; [key: string]: unknown; } export {};