Skip to content

Commit bb79f6e

Browse files
committed
chore: update lexicons
1 parent 0132c39 commit bb79f6e

23 files changed

+896
-31
lines changed

lexicons/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://github.com/bluesky-social/atproto/tree/22d039a229e3ef08a793e1c98b473b1b8e18ac5e/lexicons
1+
https://github.com/bluesky-social/atproto/tree/a3ce23c4ccf4f40998b9d1f5731e5c905390aedc/lexicons

lexicons/app/bsky/actor/defs.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
"sort": {
304304
"type": "string",
305305
"description": "Sorting mode for threads.",
306-
"knownValues": ["oldest", "newest", "most-likes", "random"]
306+
"knownValues": ["oldest", "newest", "most-likes", "random", "hotness"]
307307
},
308308
"prioritizeFollowedUsers": {
309309
"type": "boolean",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"lexicon": 1,
3+
"id": "app.bsky.graph.searchStarterPacks",
4+
"defs": {
5+
"main": {
6+
"type": "query",
7+
"description": "Find starter packs matching search criteria. Does not require auth.",
8+
"parameters": {
9+
"type": "params",
10+
"required": ["q"],
11+
"properties": {
12+
"q": {
13+
"type": "string",
14+
"description": "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
15+
},
16+
"limit": {
17+
"type": "integer",
18+
"minimum": 1,
19+
"maximum": 100,
20+
"default": 25
21+
},
22+
"cursor": {
23+
"type": "string"
24+
}
25+
}
26+
},
27+
"output": {
28+
"encoding": "application/json",
29+
"schema": {
30+
"type": "object",
31+
"required": ["starterPacks"],
32+
"properties": {
33+
"cursor": {
34+
"type": "string"
35+
},
36+
"starterPacks": {
37+
"type": "array",
38+
"items": {
39+
"type": "ref",
40+
"ref": "app.bsky.graph.defs#starterPackViewBasic"
41+
}
42+
}
43+
}
44+
}
45+
}
46+
}
47+
}
48+
}

lexicons/app/bsky/unspecced/defs.json

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
"properties": {
1616
"did": { "type": "string", "format": "did" }
1717
}
18+
},
19+
"skeletonSearchStarterPack": {
20+
"type": "object",
21+
"required": ["uri"],
22+
"properties": {
23+
"uri": { "type": "string", "format": "at-uri" }
24+
}
1825
}
1926
}
2027
}
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"lexicon": 1,
3+
"id": "app.bsky.unspecced.getConfig",
4+
"defs": {
5+
"main": {
6+
"type": "query",
7+
"description": "Get miscellaneous runtime configuration.",
8+
"output": {
9+
"encoding": "application/json",
10+
"schema": {
11+
"type": "object",
12+
"required": [],
13+
"properties": {
14+
"checkEmailConfirmed": { "type": "boolean" }
15+
}
16+
}
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"lexicon": 1,
3+
"id": "app.bsky.unspecced.searchStarterPacksSkeleton",
4+
"defs": {
5+
"main": {
6+
"type": "query",
7+
"description": "Backend Starter Pack search, returns only skeleton.",
8+
"parameters": {
9+
"type": "params",
10+
"required": ["q"],
11+
"properties": {
12+
"q": {
13+
"type": "string",
14+
"description": "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
15+
},
16+
"viewer": {
17+
"type": "string",
18+
"format": "did",
19+
"description": "DID of the account making the request (not included for public/unauthenticated queries)."
20+
},
21+
"limit": {
22+
"type": "integer",
23+
"minimum": 1,
24+
"maximum": 100,
25+
"default": 25
26+
},
27+
"cursor": {
28+
"type": "string",
29+
"description": "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
30+
}
31+
}
32+
},
33+
"output": {
34+
"encoding": "application/json",
35+
"schema": {
36+
"type": "object",
37+
"required": ["starterPacks"],
38+
"properties": {
39+
"cursor": {
40+
"type": "string"
41+
},
42+
"hitsTotal": {
43+
"type": "integer",
44+
"description": "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
45+
},
46+
"starterPacks": {
47+
"type": "array",
48+
"items": {
49+
"type": "ref",
50+
"ref": "app.bsky.unspecced.defs#skeletonSearchStarterPack"
51+
}
52+
}
53+
}
54+
}
55+
},
56+
"errors": [
57+
{
58+
"name": "BadQueryString"
59+
}
60+
]
61+
}
62+
}
63+
}

lexicons/chat/bsky/convo/defs.json

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"refs": ["#messageView", "#deletedMessageView"]
9191
},
9292
"muted": { "type": "boolean" },
93+
"opened": { "type": "boolean" },
9394
"unreadCount": { "type": "integer" }
9495
}
9596
},

lexicons/com/atproto/admin/defs.json

+16-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@
3333
"invitesDisabled": { "type": "boolean" },
3434
"emailConfirmedAt": { "type": "string", "format": "datetime" },
3535
"inviteNote": { "type": "string" },
36-
"deactivatedAt": { "type": "string", "format": "datetime" }
36+
"deactivatedAt": { "type": "string", "format": "datetime" },
37+
"threatSignatures": {
38+
"type": "array",
39+
"items": {
40+
"type": "ref",
41+
"ref": "#threatSignature"
42+
}
43+
}
3744
}
3845
},
3946
"repoRef": {
@@ -51,6 +58,14 @@
5158
"cid": { "type": "string", "format": "cid" },
5259
"recordUri": { "type": "string", "format": "at-uri" }
5360
}
61+
},
62+
"threatSignature": {
63+
"type": "object",
64+
"required": ["property", "value"],
65+
"properties": {
66+
"property": { "type": "string" },
67+
"value": { "type": "string" }
68+
}
5469
}
5570
}
5671
}

lexicons/com/atproto/repo/applyWrites.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"required": ["collection", "value"],
7171
"properties": {
7272
"collection": { "type": "string", "format": "nsid" },
73-
"rkey": { "type": "string", "maxLength": 15 },
73+
"rkey": { "type": "string", "maxLength": 512 },
7474
"value": { "type": "unknown" }
7575
}
7676
},

lexicons/com/atproto/repo/createRecord.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"rkey": {
2525
"type": "string",
2626
"description": "The Record Key.",
27-
"maxLength": 15
27+
"maxLength": 512
2828
},
2929
"validate": {
3030
"type": "boolean",

lexicons/com/atproto/repo/putRecord.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"rkey": {
2626
"type": "string",
2727
"description": "The Record Key.",
28-
"maxLength": 15
28+
"maxLength": 512
2929
},
3030
"validate": {
3131
"type": "boolean",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"lexicon": 1,
3+
"id": "com.atproto.temp.addReservedHandle",
4+
"defs": {
5+
"main": {
6+
"type": "procedure",
7+
"description": "Add a handle to the set of reserved handles.",
8+
"input": {
9+
"encoding": "application/json",
10+
"schema": {
11+
"type": "object",
12+
"required": ["handle"],
13+
"properties": {
14+
"handle": { "type": "string" }
15+
}
16+
}
17+
},
18+
"output": {
19+
"encoding": "application/json",
20+
"schema": {
21+
"type": "object",
22+
"properties": {}
23+
}
24+
}
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)