From 07dbcc87554bdb4be89c387780601f48b18d49ae Mon Sep 17 00:00:00 2001 From: Juliet Date: Thu, 23 Oct 2025 05:41:48 +0200 Subject: [PATCH 1/2] fix local ref in lexicon files --- lexicons/place/stream/chat/defs.json | 2 +- lexicons/place/stream/chat/profile.json | 2 +- lexicons/place/stream/livestream.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lexicons/place/stream/chat/defs.json b/lexicons/place/stream/chat/defs.json index 958c29577..af53a8ce2 100644 --- a/lexicons/place/stream/chat/defs.json +++ b/lexicons/place/stream/chat/defs.json @@ -20,7 +20,7 @@ }, "replyTo": { "type": "union", - "refs": ["place.stream.chat.defs#messageView"] + "refs": ["#messageView"] }, "deleted": { "type": "boolean", diff --git a/lexicons/place/stream/chat/profile.json b/lexicons/place/stream/chat/profile.json index 77d398e24..7d3583f86 100644 --- a/lexicons/place/stream/chat/profile.json +++ b/lexicons/place/stream/chat/profile.json @@ -12,7 +12,7 @@ "properties": { "color": { "type": "ref", - "ref": "place.stream.chat.profile#color" + "ref": "#color" } } } diff --git a/lexicons/place/stream/livestream.json b/lexicons/place/stream/livestream.json index c0a42cd25..9cdcf1f75 100644 --- a/lexicons/place/stream/livestream.json +++ b/lexicons/place/stream/livestream.json @@ -63,7 +63,7 @@ "viewerCount": { "type": "ref", "description": "The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly.", - "ref": "place.stream.livestream#viewerCount" + "ref": "#viewerCount" } } }, -- 2.51.2 From c0841424903f3dd2090e461c69141fbb6481eb08 Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Thu, 23 Oct 2025 14:14:50 -0700 Subject: [PATCH 2/2] run make lexicons --- .../docs/lex-reference/chat/place-stream-chat-defs.md | 4 ++-- .../docs/lex-reference/chat/place-stream-chat-profile.md | 8 ++++---- .../content/docs/lex-reference/place-stream-livestream.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-defs.md b/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-defs.md index 0e8bb3a8f..f7927cb36 100644 --- a/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-defs.md +++ b/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-defs.md @@ -23,7 +23,7 @@ description: Reference for the place.stream.chat.defs lexicon | `record` | `unknown` | ✅ | | | | `indexedAt` | `string` | ✅ | | Format: `datetime` | | `chatProfile` | [`place.stream.chat.profile`](/lex-reference/place-stream-chat-profile) | ❌ | | | -| `replyTo` | Union of:
  [`place.stream.chat.defs#messageView`](/lex-reference/place-stream-chat-defs#messageview) | ❌ | | | +| `replyTo` | Union of:
  [`#messageView`](#messageview) | ❌ | | | | `deleted` | `boolean` | ❌ | If true, this message has been deleted or labeled and should be cleared from the cache | | --- @@ -64,7 +64,7 @@ description: Reference for the place.stream.chat.defs lexicon }, "replyTo": { "type": "union", - "refs": ["place.stream.chat.defs#messageView"] + "refs": ["#messageView"] }, "deleted": { "type": "boolean", diff --git a/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-profile.md b/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-profile.md index 2b400aaba..8af8815c4 100644 --- a/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-profile.md +++ b/js/docs/src/content/docs/lex-reference/chat/place-stream-chat-profile.md @@ -19,9 +19,9 @@ Record containing customizations for a user's chat profile. **Record Properties:** -| Name | Type | Req'd | Description | Constraints | -| ------- | ----------------------------------------------------------------------------------- | ----- | ----------- | ----------- | -| `color` | [`place.stream.chat.profile#color`](/lex-reference/place-stream-chat-profile#color) | ❌ | | | +| Name | Type | Req'd | Description | Constraints | +| ------- | ------------------ | ----- | ----------- | ----------- | +| `color` | [`#color`](#color) | ❌ | | | --- @@ -60,7 +60,7 @@ Customizations for the color of a user's name in chat "properties": { "color": { "type": "ref", - "ref": "place.stream.chat.profile#color" + "ref": "#color" } } } diff --git a/js/docs/src/content/docs/lex-reference/place-stream-livestream.md b/js/docs/src/content/docs/lex-reference/place-stream-livestream.md index e709510c7..58b51952b 100644 --- a/js/docs/src/content/docs/lex-reference/place-stream-livestream.md +++ b/js/docs/src/content/docs/lex-reference/place-stream-livestream.md @@ -46,7 +46,7 @@ Record announcing a livestream is happening | `author` | [`app.bsky.actor.defs#profileViewBasic`](https://github.com/bluesky-social/atproto/tree/main/lexicons/app/bsky/actor/defs.json#profileViewBasic) | ✅ | | | | `record` | `unknown` | ✅ | | | | `indexedAt` | `string` | ✅ | | Format: `datetime` | -| `viewerCount` | [`place.stream.livestream#viewerCount`](/lex-reference/place-stream-livestream#viewercount) | ❌ | The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly. | | +| `viewerCount` | [`#viewerCount`](#viewercount) | ❌ | The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly. | | --- @@ -157,7 +157,7 @@ Record announcing a livestream is happening "viewerCount": { "type": "ref", "description": "The number of viewers watching this livestream. Use when you can't reasonably use #viewerCount directly.", - "ref": "place.stream.livestream#viewerCount" + "ref": "#viewerCount" } } }, -- 2.51.2