This commit is contained in:
2026-03-13 16:59:06 +04:00
parent a966df95f0
commit 6b434adde4
4 changed files with 28 additions and 3 deletions

13
dist/places.d.ts vendored
View File

@@ -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<typeof listSchema> & {
[key: string]: any;
};

View File

@@ -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

4
package-lock.json generated
View File

@@ -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",

View File

@@ -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": {