Skip to content

Commit 379fa70

Browse files
authored
Merge branch 'main' into single-sign-on
2 parents 2a1777a + 5188ef3 commit 379fa70

File tree

350 files changed

+63674
-48152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

350 files changed

+63674
-48152
lines changed

.changeset/hot-panthers-learn.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/lazy-meals-doubt.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
packages/api/src/client
2+
packages/lexicon-resolver/src/client
23
packages/bsky/src/lexicon
34
packages/pds/src/lexicon
45
packages/ozone/src/lexicon

.gitattributes

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
packages/**/src/lexicon/** linguist-generated
2-
packages/api/src/client/** linguist-generated
3-
packages/bsky/src/proto/** linguist-generated
4-
packages/bsync/src/proto/** linguist-generated
1+
packages/**/src/lexicon/** linguist-generated=true
2+
packages/api/src/client/** linguist-generated=true
3+
packages/lexicon-resolver/src/client/** linguist-generated=true
4+
packages/bsky/src/proto/** linguist-generated=true
5+
packages/bsync/src/proto/** linguist-generated=true
6+
7+
packages/oauth/oauth-provider-ui/src/locales/**/messages.po linguist-generated=true
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Sync to internal repo
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
sync:
9+
if: github.repository == 'bluesky-social/atproto'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout public repo
13+
uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- name: Generate GitHub App Token
17+
id: app-token
18+
uses: actions/create-github-app-token@v1
19+
with:
20+
app-id: ${{ vars.SYNC_INTERNAL_APP_ID }}
21+
private-key: ${{ secrets.SYNC_INTERNAL_PK }}
22+
repositories: atproto-internal
23+
- name: Push to internal repo
24+
env:
25+
TOKEN: ${{ steps.app-token.outputs.token }}
26+
run: |
27+
git config user.name "github-actions"
28+
git config user.email "[email protected]"
29+
git config --unset-all http.https://github.com/.extraheader
30+
git remote add internal https://x-access-token:${TOKEN}@github.com/bluesky-social/atproto-internal.git
31+
git push internal main --force

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ CHANGELOG.md
99

1010
# Prettier is used to format the code during codegen
1111
packages/api/src/client
12+
packages/lexicon-resolver/src/client
1213
packages/bsky/src/lexicon
1314
packages/pds/src/lexicon
1415
packages/ozone/src/lexicon
1516

1617
# Automatically generated by lingui
1718
packages/oauth/*/src/locales/*/messages.ts
1819
packages/oauth/oauth-provider-frontend/src/routeTree.gen.ts
19-

lexicons/app/bsky/graph/getLists.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,15 @@
2020
"maximum": 100,
2121
"default": 50
2222
},
23-
"cursor": { "type": "string" }
23+
"cursor": { "type": "string" },
24+
"purposes": {
25+
"type": "array",
26+
"description": "Optional filter by list purpose. If not specified, all supported types are returned.",
27+
"items": {
28+
"type": "string",
29+
"knownValues": ["modlist", "curatelist"]
30+
}
31+
}
2432
}
2533
},
2634
"output": {
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"lexicon": 1,
3+
"id": "app.bsky.graph.getListsWithMembership",
4+
"defs": {
5+
"main": {
6+
"type": "query",
7+
"description": "Enumerates the lists created by the session user, and includes membership information about `actor` in those lists. Only supports curation and moderation lists (no reference lists, used in starter packs). Requires auth.",
8+
"parameters": {
9+
"type": "params",
10+
"required": ["actor"],
11+
"properties": {
12+
"actor": {
13+
"type": "string",
14+
"format": "at-identifier",
15+
"description": "The account (actor) to check for membership."
16+
},
17+
"limit": {
18+
"type": "integer",
19+
"minimum": 1,
20+
"maximum": 100,
21+
"default": 50
22+
},
23+
"cursor": { "type": "string" },
24+
"purposes": {
25+
"type": "array",
26+
"description": "Optional filter by list purpose. If not specified, all supported types are returned.",
27+
"items": {
28+
"type": "string",
29+
"knownValues": ["modlist", "curatelist"]
30+
}
31+
}
32+
}
33+
},
34+
"output": {
35+
"encoding": "application/json",
36+
"schema": {
37+
"type": "object",
38+
"required": ["listsWithMembership"],
39+
"properties": {
40+
"cursor": { "type": "string" },
41+
"listsWithMembership": {
42+
"type": "array",
43+
"items": { "type": "ref", "ref": "#listWithMembership" }
44+
}
45+
}
46+
}
47+
}
48+
},
49+
"listWithMembership": {
50+
"description": "A list and an optional list item indicating membership of a target user to that list.",
51+
"type": "object",
52+
"required": ["list"],
53+
"properties": {
54+
"list": {
55+
"type": "ref",
56+
"ref": "app.bsky.graph.defs#listView"
57+
},
58+
"listItem": {
59+
"type": "ref",
60+
"ref": "app.bsky.graph.defs#listItemView"
61+
}
62+
}
63+
}
64+
}
65+
}
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"lexicon": 1,
3+
"id": "app.bsky.graph.getStarterPacksWithMembership",
4+
"defs": {
5+
"main": {
6+
"type": "query",
7+
"description": "Enumerates the starter packs created by the session user, and includes membership information about `actor` in those starter packs. Requires auth.",
8+
"parameters": {
9+
"type": "params",
10+
"required": ["actor"],
11+
"properties": {
12+
"actor": {
13+
"type": "string",
14+
"format": "at-identifier",
15+
"description": "The account (actor) to check for membership."
16+
},
17+
"limit": {
18+
"type": "integer",
19+
"minimum": 1,
20+
"maximum": 100,
21+
"default": 50
22+
},
23+
"cursor": { "type": "string" }
24+
}
25+
},
26+
"output": {
27+
"encoding": "application/json",
28+
"schema": {
29+
"type": "object",
30+
"required": ["starterPacksWithMembership"],
31+
"properties": {
32+
"cursor": { "type": "string" },
33+
"starterPacksWithMembership": {
34+
"type": "array",
35+
"items": { "type": "ref", "ref": "#starterPackWithMembership" }
36+
}
37+
}
38+
}
39+
}
40+
},
41+
"starterPackWithMembership": {
42+
"description": "A starter pack and an optional list item indicating membership of a target user to that starter pack.",
43+
"type": "object",
44+
"required": ["starterPack"],
45+
"properties": {
46+
"starterPack": {
47+
"type": "ref",
48+
"ref": "app.bsky.graph.defs#starterPackView"
49+
},
50+
"listItem": {
51+
"type": "ref",
52+
"ref": "app.bsky.graph.defs#listItemView"
53+
}
54+
}
55+
}
56+
}
57+
}

lexicons/app/bsky/unspecced/checkHandleAvailability.json renamed to lexicons/com/atproto/temp/checkHandleAvailability.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lexicon": 1,
3-
"id": "app.bsky.unspecced.checkHandleAvailability",
3+
"id": "com.atproto.temp.checkHandleAvailability",
44
"defs": {
55
"main": {
66
"type": "query",

0 commit comments

Comments
 (0)