import { Place } from '../model/Place.mjs'; import { StoredDocumentIdentifier } from '../model/StoredDocumentIdentifier.mjs'; import { PlaceInGroupApi } from './PlaceInGroupApi.mjs'; export interface PlaceApi { inGroup: PlaceInGroupApi; createPlace(place: Place): Promise; createPlaces(places: Array): Promise>; getPlace(placeId: string): Promise; getPlaces(placesIds: Array): Promise>; modifyPlace(place: Place): Promise; modifyPlaces(places: Array): Promise>; deletePlaceById(entityId: string, rev: string): Promise; deletePlaceByIds(entityIds: Array): Promise>; deletePlace(place: Place): Promise; deletePlaces(places: Array): Promise>; undeletePlaceById(entityId: string, rev: string): Promise; undeletePlaceByIds(entityIds: Array): Promise>; undeletePlace(place: Place): Promise; undeletePlaces(places: Array): Promise>; purgePlaceById(entityId: string, rev: string): Promise; purgePlaceByIds(entityIds: Array): Promise>; purgePlace(place: Place): Promise; purgePlaces(places: Array): Promise>; }