a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky

chore(leaflet): pull latest Leaflet lexicons

mary.my.id 02dbe16e e9e82ef6

verified
+21 -1
+5
.changeset/early-paws-retire.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: bf05dcf7dbad4be3f8a94b796720df4e6a27250a 6 + - commit: 42887e837060062581abca488709212b39c866ec
+4
packages/definitions/leaflet/lexicons/pub/leaflet/document.json
··· 42 42 "type": "ref", 43 43 "ref": "pub.leaflet.publication#theme" 44 44 }, 45 + "preferences": { 46 + "type": "ref", 47 + "ref": "pub.leaflet.publication#preferences" 48 + }, 45 49 "tags": { 46 50 "type": "array", 47 51 "items": {
+4
packages/definitions/leaflet/lexicons/pub/leaflet/publication.json
··· 55 55 "showPrevNext": { 56 56 "type": "boolean", 57 57 "default": true 58 + }, 59 + "showRecommends": { 60 + "type": "boolean", 61 + "default": true 58 62 } 59 63 } 60 64 },
+3
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/document.ts
··· 35 35 get postRef() { 36 36 return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema); 37 37 }, 38 + get preferences() { 39 + return /*#__PURE__*/ v.optional(PubLeafletPublication.preferencesSchema); 40 + }, 38 41 publication: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 39 42 publishedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()), 40 43 tags: /*#__PURE__*/ v.optional(
+4
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/publication.ts
··· 51 51 * @default true 52 52 */ 53 53 showPrevNext: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true), 54 + /** 55 + * @default true 56 + */ 57 + showRecommends: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean(), true), 54 58 }); 55 59 const _themeSchema = /*#__PURE__*/ v.object({ 56 60 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.publication#theme')),