Fix doc output
This commit is contained in:
@@ -118,7 +118,7 @@ The geohash of the place.
|
|||||||
|
|
||||||
Store a place.
|
Store a place.
|
||||||
Generates ID and Geohash if missing.
|
Generates ID and Geohash if missing.
|
||||||
Path structure: <geohash-prefix-2>/<geohash-prefix-2>/<id>
|
Path structure: `<geohash-prefix-2>/<geohash-prefix-2>/<id>`
|
||||||
|
|
||||||
#### Parameters
|
#### Parameters
|
||||||
|
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export interface PlacesClient {
|
|||||||
/**
|
/**
|
||||||
* Store a place.
|
* Store a place.
|
||||||
* Generates ID and Geohash if missing.
|
* Generates ID and Geohash if missing.
|
||||||
* Path structure: <geohash-prefix-2>/<geohash-prefix-2>/<id>
|
* Path structure: `<geohash-prefix-2>/<geohash-prefix-2>/<id>`
|
||||||
*
|
*
|
||||||
* @param placeData - The data of the place to store.
|
* @param placeData - The data of the place to store.
|
||||||
* @returns The stored place object.
|
* @returns The stored place object.
|
||||||
@@ -157,7 +157,7 @@ const Places = function (
|
|||||||
/**
|
/**
|
||||||
* Store a place.
|
* Store a place.
|
||||||
* Generates ID and Geohash if missing.
|
* Generates ID and Geohash if missing.
|
||||||
* Path structure: <geohash-prefix-2>/<geohash-prefix-2>/<id>
|
* Path structure: `<geohash-prefix-2>/<geohash-prefix-2>/<id>`
|
||||||
*/
|
*/
|
||||||
store: async function (placeData: Partial<Place>) {
|
store: async function (placeData: Partial<Place>) {
|
||||||
const place = preparePlace(placeData);
|
const place = preparePlace(placeData);
|
||||||
|
|||||||
Reference in New Issue
Block a user