tangled
alpha
login
or
join now
sajidanwar.com
/
atcute
forked from
mary.my.id/atcute
0
fork
atom
a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
0
fork
atom
overview
issues
pulls
pipelines
chore(leaflet): pull latest Leaflet lexicons
mary.my.id
1 month ago
02dbe16e
e9e82ef6
verified
This commit was signed with the committer's
known signature
.
mary.my.id
SSH Key Fingerprint:
SHA256:ZlTP/auFSGpGnaoDg4mCTG1g9OZvXp62jWR4c6H4O3c=
+21
-1
6 changed files
expand all
collapse all
unified
split
.changeset
early-paws-retire.md
packages
definitions
leaflet
lexicons
README.md
pub
leaflet
document.json
publication.json
lib
lexicons
types
pub
leaflet
document.ts
publication.ts
+5
.changeset/early-paws-retire.md
···
1
1
+
---
2
2
+
"@atcute/leaflet": patch
3
3
+
---
4
4
+
5
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
6
-
- commit: bf05dcf7dbad4be3f8a94b796720df4e6a27250a
6
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
45
+
"preferences": {
46
46
+
"type": "ref",
47
47
+
"ref": "pub.leaflet.publication#preferences"
48
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
58
+
},
59
59
+
"showRecommends": {
60
60
+
"type": "boolean",
61
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
38
+
get preferences() {
39
39
+
return /*#__PURE__*/ v.optional(PubLeafletPublication.preferencesSchema);
40
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
54
+
/**
55
55
+
* @default true
56
56
+
*/
57
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')),