You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - Note: According to the AT Protocol specifications: "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets."
54
+
///
55
+
/// - SeeAlso: This is based on the [`app.bsky.richtext.facet`][github] lexicon.
/// A data model for the Mention feature definition.
101
+
///
102
+
/// - Note: According to the AT Protocol specifications: "Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID."
103
+
///
104
+
/// - SeeAlso: This is based on the [`app.bsky.richtext.facet`][github] lexicon.
@@ -98,9 +136,20 @@ public struct Mention: FeatureCodable {
98
136
}
99
137
}
100
138
101
-
// Link feature
139
+
140
+
/// A data model for the Link feature definition.
141
+
///
142
+
/// - Note: According to the AT Protocol specifications: "Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL."
143
+
///
144
+
/// - SeeAlso: This is based on the [`app.bsky.richtext.facet`][github] lexicon.
@@ -127,9 +176,19 @@ public struct Link: FeatureCodable {
127
176
}
128
177
}
129
178
130
-
// Hashtag feature
179
+
/// A data model for the Tag feature definition.
180
+
///
181
+
/// - Note: According to the AT Protocol specifications: "Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags')."
182
+
///
183
+
/// - SeeAlso: This is based on the [`app.bsky.richtext.facet`][github] lexicon.
0 commit comments