This commit is contained in:
Râu Cao 2026-01-26 19:43:24 +07:00
parent 8ac75935ac
commit 39ca1f18db
Signed by: raucao
GPG Key ID: 37036C356E56CC51
4 changed files with 5 additions and 5 deletions

2
dist/places.d.ts vendored
View File

@ -83,7 +83,7 @@ export interface PlacesClient {
/**
* Store a place.
* 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.
* @returns The stored place object.

2
dist/places.js vendored
View File

@ -71,7 +71,7 @@ const Places = function (privateClient /*, publicClient: BaseClient */) {
/**
* Store a place.
* 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) {
const place = preparePlace(placeData);

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@remotestorage/module-places",
"version": "1.1.0",
"version": "1.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@remotestorage/module-places",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"dependencies": {
"latlon-geohash": "^2.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@remotestorage/module-places",
"version": "1.1.0",
"version": "1.1.1",
"description": "Manage favorite/saved places",
"homepage": "https://gitea.kosmos.org/raucao/remotestorage-module-places#remotestoragemodule-places",
"repository": {