From 84d5d046968dd1e8fad9579064c261efaf691827 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Fri, 2 Aug 2024 16:14:03 +0200 Subject: [PATCH] refactor: :memo: Make entity IDs be any string --- app/entities/page.mdx | 6 ++---- app/entities/users/page.mdx | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app/entities/page.mdx b/app/entities/page.mdx index 57139b8..9fc9f04 100644 --- a/app/entities/page.mdx +++ b/app/entities/page.mdx @@ -18,10 +18,8 @@ Any field in an entity not marked as `required` may be omitted or set to `null`. - - Unique identifier for the entity. Must be unique within the instance. - - Must be a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). Any version of UUID is allowed. + + Unique identifier for the entity. Must be unique within the instance. Can be any string. Max of 512 UTF-8 characters. Type of the entity. Only types defined in the Lysand protocol are allowed. Use an [Extension](/extensions) if you want to define custom types. diff --git a/app/entities/users/page.mdx b/app/entities/users/page.mdx index d1f9a59..a3a4639 100644 --- a/app/entities/users/page.mdx +++ b/app/entities/users/page.mdx @@ -13,7 +13,7 @@ Users may be represented by a shorthand address, in the following formats: ``` @username@instance -@uuid@instance +@id@instance ``` For example: