a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
atproto bluesky typescript npm
101
fork

Configure Feed

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

chore(tangled): pull latest Tangled lexicons

Mary 9b9c8569 c7dbefe5

+61 -2
+5
.changeset/odd-groups-learn.md
··· 1 + --- 2 + '@atcute/leaflet': patch 3 + --- 4 + 5 + pull latest Leaflet lexicons
+1 -1
packages/definitions/leaflet/lexicons/README.md
··· 3 3 this directory contains lexicon documents pulled from the following sources: 4 4 5 5 - https://github.com/hyperlink-academy/leaflet.git 6 - - commit: c16939706eec90b8e0dc0482be7f7baf45d225a6 6 + - commit: e89e279aa15dd807edbb87013920ee775bcd03e1
+8
packages/definitions/leaflet/lexicons/pub/leaflet/publication.json
··· 97 97 "accentText": { 98 98 "type": "union", 99 99 "refs": ["pub.leaflet.theme.color#rgba", "pub.leaflet.theme.color#rgb"] 100 + }, 101 + "headingFont": { 102 + "type": "string", 103 + "maxLength": 100 104 + }, 105 + "bodyFont": { 106 + "type": "string", 107 + "maxLength": 100 100 108 } 101 109 } 102 110 }
+22 -1
packages/definitions/leaflet/lexicons/pub/leaflet/richtext/facet.json
··· 25 25 "#strikethrough", 26 26 "#id", 27 27 "#bold", 28 - "#italic" 28 + "#italic", 29 + "#footnote" 29 30 ] 30 31 } 31 32 } ··· 123 124 "description": "Facet feature for italic text", 124 125 "required": [], 125 126 "properties": {} 127 + }, 128 + "footnote": { 129 + "type": "object", 130 + "description": "Facet feature for a footnote reference", 131 + "required": ["footnoteId", "contentPlaintext"], 132 + "properties": { 133 + "footnoteId": { 134 + "type": "string" 135 + }, 136 + "contentPlaintext": { 137 + "type": "string" 138 + }, 139 + "contentFacets": { 140 + "type": "array", 141 + "items": { 142 + "type": "ref", 143 + "ref": "#main" 144 + } 145 + } 146 + } 126 147 } 127 148 } 128 149 }
+12
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/publication.ts
··· 76 76 get backgroundImage() { 77 77 return /*#__PURE__*/ v.optional(PubLeafletThemeBackgroundImage.mainSchema); 78 78 }, 79 + /** 80 + * @maxLength 100 81 + */ 82 + bodyFont: /*#__PURE__*/ v.optional( 83 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]), 84 + ), 85 + /** 86 + * @maxLength 100 87 + */ 88 + headingFont: /*#__PURE__*/ v.optional( 89 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(0, 100)]), 90 + ), 79 91 get pageBackground() { 80 92 return /*#__PURE__*/ v.optional( 81 93 /*#__PURE__*/ v.variant([PubLeafletThemeColor.rgbSchema, PubLeafletThemeColor.rgbaSchema]),
+13
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/richtext/facet.ts
··· 26 26 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.richtext.facet#didMention')), 27 27 did: /*#__PURE__*/ v.didString(), 28 28 }); 29 + const _footnoteSchema = /*#__PURE__*/ v.object({ 30 + $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.richtext.facet#footnote')), 31 + get contentFacets() { 32 + return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(mainSchema)); 33 + }, 34 + contentPlaintext: /*#__PURE__*/ v.string(), 35 + footnoteId: /*#__PURE__*/ v.string(), 36 + }); 29 37 const _highlightSchema = /*#__PURE__*/ v.object({ 30 38 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.richtext.facet#highlight')), 31 39 }); ··· 49 57 boldSchema, 50 58 codeSchema, 51 59 didMentionSchema, 60 + footnoteSchema, 52 61 highlightSchema, 53 62 idSchema, 54 63 italicSchema, ··· 74 83 type byteSlice$schematype = typeof _byteSliceSchema; 75 84 type code$schematype = typeof _codeSchema; 76 85 type didMention$schematype = typeof _didMentionSchema; 86 + type footnote$schematype = typeof _footnoteSchema; 77 87 type highlight$schematype = typeof _highlightSchema; 78 88 type id$schematype = typeof _idSchema; 79 89 type italic$schematype = typeof _italicSchema; ··· 87 97 export interface byteSliceSchema extends byteSlice$schematype {} 88 98 export interface codeSchema extends code$schematype {} 89 99 export interface didMentionSchema extends didMention$schematype {} 100 + export interface footnoteSchema extends footnote$schematype {} 90 101 export interface highlightSchema extends highlight$schematype {} 91 102 export interface idSchema extends id$schematype {} 92 103 export interface italicSchema extends italic$schematype {} ··· 100 111 export const byteSliceSchema = _byteSliceSchema as byteSliceSchema; 101 112 export const codeSchema = _codeSchema as codeSchema; 102 113 export const didMentionSchema = _didMentionSchema as didMentionSchema; 114 + export const footnoteSchema = _footnoteSchema as footnoteSchema; 103 115 export const highlightSchema = _highlightSchema as highlightSchema; 104 116 export const idSchema = _idSchema as idSchema; 105 117 export const italicSchema = _italicSchema as italicSchema; ··· 113 125 export interface ByteSlice extends v.InferInput<typeof byteSliceSchema> {} 114 126 export interface Code extends v.InferInput<typeof codeSchema> {} 115 127 export interface DidMention extends v.InferInput<typeof didMentionSchema> {} 128 + export interface Footnote extends v.InferInput<typeof footnoteSchema> {} 116 129 export interface Highlight extends v.InferInput<typeof highlightSchema> {} 117 130 export interface Id extends v.InferInput<typeof idSchema> {} 118 131 export interface Italic extends v.InferInput<typeof italicSchema> {}