This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Update lexicons

+18 -13
+5 -4
api/bsky/embedexternal.go
··· 32 32 33 33 // EmbedExternal_External is a "external" in the app.bsky.embed.external schema. 34 34 type EmbedExternal_External struct { 35 - // associatedRefs: StrongRefs (uri+cid) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs. 35 + // associatedRefs: StrongRefs (uri+cid) of the Atmosphere records that backed this view. 36 36 AssociatedRefs []*comatproto.RepoStrongRef `json:"associatedRefs,omitempty" cborgen:"associatedRefs,omitempty"` 37 37 Description string `json:"description" cborgen:"description"` 38 38 Thumb *lexutil.LexBlob `json:"thumb,omitempty" cborgen:"thumb,omitempty"` ··· 48 48 49 49 // EmbedExternal_ViewExternal is a "viewExternal" in the app.bsky.embed.external schema. 50 50 type EmbedExternal_ViewExternal struct { 51 - // associatedRefs: StrongRefs (uri+cid) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs. 51 + // associatedRefs: StrongRefs (uri+cid) of the Atmosphere records that backed this view. 52 52 AssociatedRefs []*comatproto.RepoStrongRef `json:"associatedRefs,omitempty" cborgen:"associatedRefs,omitempty"` 53 53 // createdAt: When the external content was created, if available. Example: a publication date, for an article. 54 54 CreatedAt *string `json:"createdAt,omitempty" cborgen:"createdAt,omitempty"` ··· 71 71 Description *string `json:"description,omitempty" cborgen:"description,omitempty"` 72 72 // icon: Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View. 73 73 Icon *string `json:"icon,omitempty" cborgen:"icon,omitempty"` 74 - Name *string `json:"name,omitempty" cborgen:"name,omitempty"` 75 74 Theme *EmbedExternal_ViewExternalSourceTheme `json:"theme,omitempty" cborgen:"theme,omitempty"` 76 - Uri *string `json:"uri,omitempty" cborgen:"uri,omitempty"` 75 + Title *string `json:"title,omitempty" cborgen:"title,omitempty"` 76 + // uri: URI of the source, if available. Example: the https:// URL of a site.standard.publication record. 77 + Uri *string `json:"uri,omitempty" cborgen:"uri,omitempty"` 77 78 } 78 79 79 80 // EmbedExternal_ViewExternalSourceTheme is a "viewExternalSourceTheme" in the app.bsky.embed.external schema.
+2 -2
api/bsky/embedgetEmbedExternalView.go
··· 14 14 // EmbedGetEmbedExternalView_Output is the output of a app.bsky.embed.getEmbedExternalView call. 15 15 type EmbedGetEmbedExternalView_Output struct { 16 16 AssociatedRecords []*lexutil.LexiconTypeDecoder `json:"associatedRecords,omitempty" cborgen:"associatedRecords,omitempty"` 17 - // associatedRefs: StrongRefs (uri+cid) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs. 17 + // associatedRefs: StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs. 18 18 AssociatedRefs []*comatproto.RepoStrongRef `json:"associatedRefs,omitempty" cborgen:"associatedRefs,omitempty"` 19 19 View *EmbedExternal_View `json:"view,omitempty" cborgen:"view,omitempty"` 20 20 } ··· 22 22 // EmbedGetEmbedExternalView calls the XRPC method "app.bsky.embed.getEmbedExternalView". 23 23 // 24 24 // uris: AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication. 25 - // url: The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. 25 + // url: The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future. 26 26 func EmbedGetEmbedExternalView(ctx context.Context, c lexutil.LexClient, uris []string, url string) (*EmbedGetEmbedExternalView_Output, error) { 27 27 var out EmbedGetEmbedExternalView_Output 28 28
+8 -4
lexicons/app/bsky/embed/external.json
··· 31 31 "type": "ref", 32 32 "ref": "com.atproto.repo.strongRef" 33 33 }, 34 - "description": "StrongRefs (uri+cid) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs." 34 + "description": "StrongRefs (uri+cid) of the Atmosphere records that backed this view." 35 35 } 36 36 } 37 37 }, ··· 78 78 "type": "ref", 79 79 "ref": "com.atproto.repo.strongRef" 80 80 }, 81 - "description": "StrongRefs (uri+cid) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs." 81 + "description": "StrongRefs (uri+cid) of the Atmosphere records that backed this view." 82 82 } 83 83 } 84 84 }, ··· 86 86 "type": "object", 87 87 "description": "The source of an external embed, such as a standard.site publication.", 88 88 "properties": { 89 - "uri": { "type": "string", "format": "uri" }, 89 + "uri": { 90 + "type": "string", 91 + "format": "uri", 92 + "description": "URI of the source, if available. Example: the https:// URL of a site.standard.publication record." 93 + }, 90 94 "icon": { 91 95 "type": "string", 92 96 "format": "uri", 93 97 "description": "Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View." 94 98 }, 95 - "name": { "type": "string" }, 99 + "title": { "type": "string" }, 96 100 "description": { "type": "string" }, 97 101 "theme": { 98 102 "type": "ref",
+3 -3
lexicons/app/bsky/embed/getEmbedExternalView.json
··· 4 4 "defs": { 5 5 "main": { 6 6 "type": "query", 7 - "description": "Resolve one or more site.standard.* AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs) and the raw `associatedRecords`; `view` is also included when the resolved records can produce a renderable view, but may be omitted when no records were hydratable.", 7 + "description": "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs) and the raw `associatedRecords`; `view` is also included when the resolved records can produce a renderable view, but may be omitted when no records were hydratable.", 8 8 "parameters": { 9 9 "type": "params", 10 10 "required": ["url", "uris"], ··· 12 12 "url": { 13 13 "type": "string", 14 14 "format": "uri", 15 - "description": "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`." 15 + "description": "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future." 16 16 }, 17 17 "uris": { 18 18 "type": "array", ··· 37 37 "type": "ref", 38 38 "ref": "com.atproto.repo.strongRef" 39 39 }, 40 - "description": "StrongRefs (uri+cid) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs." 40 + "description": "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs." 41 41 }, 42 42 "associatedRecords": { 43 43 "type": "array",