From 6b434adde42c58f911ac8f8f86bdf67e025f5edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 13 Mar 2026 16:59:06 +0400 Subject: [PATCH] 1.2.1 --- dist/places.d.ts | 13 +++++++++++++ docs/type-aliases/List.md | 12 ++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 28 insertions(+), 3 deletions(-) diff --git a/dist/places.d.ts b/dist/places.d.ts index 924cc7d..be10172 100644 --- a/dist/places.d.ts +++ b/dist/places.d.ts @@ -96,6 +96,19 @@ declare const listSchema: { }; readonly required: readonly ["id", "title", "placeRefs", "createdAt"]; }; +/** + * Represents a List object. + * + * Core properties enforced by schema: + * - `id`: Unique identifier (slug) + * - `title`: Human readable title + * - `placeRefs`: Array of place references containing `id` and `geohash` + * - `createdAt`: ISO date string + * + * Optional properties: + * - `color`: Hex color code + * - `updatedAt`: ISO date string + */ export type List = FromSchema & { [key: string]: any; }; diff --git a/docs/type-aliases/List.md b/docs/type-aliases/List.md index 3e9cfaf..3e611b2 100644 --- a/docs/type-aliases/List.md +++ b/docs/type-aliases/List.md @@ -7,3 +7,15 @@ # Type Alias: List > **List** = `FromSchema`\<*typeof* `listSchema`\> & `object` + +Represents a List object. + +Core properties enforced by schema: +- `id`: Unique identifier (slug) +- `title`: Human readable title +- `placeRefs`: Array of place references containing `id` and `geohash` +- `createdAt`: ISO date string + +Optional properties: +- `color`: Hex color code +- `updatedAt`: ISO date string diff --git a/package-lock.json b/package-lock.json index e7e2392..be08b65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@remotestorage/module-places", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@remotestorage/module-places", - "version": "1.2.0", + "version": "1.2.1", "license": "MIT", "dependencies": { "latlon-geohash": "^2.0.0", diff --git a/package.json b/package.json index a28783b..49c7a03 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@remotestorage/module-places", - "version": "1.2.0", + "version": "1.2.1", "description": "Manage favorite/saved places", "homepage": "https://gitea.kosmos.org/raucao/remotestorage-module-places#remotestoragemodule-places", "repository": {