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(leaflet): pull latest Leaflet lexicons

Mary 9d749bda 34d485a0

+39 -1
+5
.changeset/warm-snails-exist.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: d42c684a39f9a479a807d8b107ca1e1f911cecf1 6 + - commit: a522e97e52641e545e054ee183c9367f618d6177
+16
packages/definitions/leaflet/lexicons/pub/leaflet/blocks/iframe.json
··· 14 14 "type": "integer", 15 15 "minimum": 16, 16 16 "maximum": 1600 17 + }, 18 + "aspectRatio": { 19 + "type": "ref", 20 + "ref": "#aspectRatio" 21 + } 22 + } 23 + }, 24 + "aspectRatio": { 25 + "type": "object", 26 + "required": ["width", "height"], 27 + "properties": { 28 + "width": { 29 + "type": "integer" 30 + }, 31 + "height": { 32 + "type": "integer" 17 33 } 18 34 } 19 35 }
+4
packages/definitions/leaflet/lexicons/pub/leaflet/richtext/facet.json
··· 76 76 "atURI": { 77 77 "type": "string", 78 78 "format": "uri" 79 + }, 80 + "href": { 81 + "type": "string", 82 + "format": "uri" 79 83 } 80 84 } 81 85 },
+12
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/blocks/iframe.ts
··· 1 1 import type {} from '@atcute/lexicons'; 2 2 import * as v from '@atcute/lexicons/validations'; 3 3 4 + const _aspectRatioSchema = /*#__PURE__*/ v.object({ 5 + $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.iframe#aspectRatio')), 6 + height: /*#__PURE__*/ v.integer(), 7 + width: /*#__PURE__*/ v.integer(), 8 + }); 4 9 const _mainSchema = /*#__PURE__*/ v.object({ 5 10 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.blocks.iframe')), 11 + get aspectRatio() { 12 + return /*#__PURE__*/ v.optional(aspectRatioSchema); 13 + }, 6 14 /** 7 15 * @minimum 16 8 16 * @maximum 1600 ··· 13 21 url: /*#__PURE__*/ v.genericUriString(), 14 22 }); 15 23 24 + type aspectRatio$schematype = typeof _aspectRatioSchema; 16 25 type main$schematype = typeof _mainSchema; 17 26 27 + export interface aspectRatioSchema extends aspectRatio$schematype {} 18 28 export interface mainSchema extends main$schematype {} 19 29 30 + export const aspectRatioSchema = _aspectRatioSchema as aspectRatioSchema; 20 31 export const mainSchema = _mainSchema as mainSchema; 21 32 33 + export interface AspectRatio extends v.InferInput<typeof aspectRatioSchema> {} 22 34 export interface Main extends v.InferInput<typeof mainSchema> {}
+1
packages/definitions/leaflet/lib/lexicons/types/pub/leaflet/richtext/facet.ts
··· 4 4 const _atMentionSchema = /*#__PURE__*/ v.object({ 5 5 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.richtext.facet#atMention')), 6 6 atURI: /*#__PURE__*/ v.genericUriString(), 7 + href: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()), 7 8 }); 8 9 const _boldSchema = /*#__PURE__*/ v.object({ 9 10 $type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('pub.leaflet.richtext.facet#bold')),