@atproto/bsky 0.0.31 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/db/index.js.map +2 -2
- package/dist/index.js +1276 -591
- package/dist/index.js.map +3 -3
- package/dist/indexer/subscription.d.ts +1 -0
- package/dist/lexicon/index.d.ts +22 -6
- package/dist/lexicon/lexicons.d.ts +419 -110
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +21 -1
- package/dist/lexicon/types/com/atproto/admin/updateAccountPassword.d.ts +26 -0
- package/dist/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +33 -0
- package/dist/lexicon/types/com/atproto/identity/requestPlcOperationSignature.d.ts +19 -0
- package/dist/lexicon/types/com/atproto/{temp/transferAccount.d.ts → identity/signPlcOperation.d.ts} +6 -8
- package/dist/lexicon/types/com/atproto/identity/submitPlcOperation.d.ts +25 -0
- package/dist/lexicon/types/com/atproto/{temp/pushBlob.d.ts → repo/importRepo.d.ts} +1 -2
- package/dist/lexicon/types/com/atproto/repo/listMissingBlobs.d.ts +41 -0
- package/dist/lexicon/types/com/atproto/server/activateAccount.d.ts +19 -0
- package/dist/lexicon/types/com/atproto/server/checkAccountStatus.d.ts +38 -0
- package/dist/lexicon/types/com/atproto/server/deactivateAccount.d.ts +25 -0
- package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/{temp/importRepo.d.ts → server/getServiceAuth.d.ts} +8 -9
- package/dist/lexicon/types/com/atproto/sync/subscribeRepos.d.ts +9 -1
- package/dist/subscription/util.d.ts +1 -1
- package/package.json +6 -6
- package/src/indexer/subscription.ts +6 -0
- package/src/ingester/subscription.ts +2 -0
- package/src/lexicon/index.ts +136 -36
- package/src/lexicon/lexicons.ts +460 -138
- package/src/lexicon/types/app/bsky/actor/defs.ts +61 -0
- package/src/lexicon/types/app/bsky/feed/post.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/updateAccountPassword.ts +39 -0
- package/src/lexicon/types/com/atproto/identity/getRecommendedDidCredentials.ts +47 -0
- package/src/lexicon/types/com/atproto/identity/requestPlcOperationSignature.ts +31 -0
- package/src/lexicon/types/com/atproto/{temp/transferAccount.ts → identity/signPlcOperation.ts} +8 -15
- package/src/lexicon/types/com/atproto/identity/submitPlcOperation.ts +38 -0
- package/src/lexicon/types/com/atproto/{temp/pushBlob.ts → repo/importRepo.ts} +2 -5
- package/src/lexicon/types/com/atproto/repo/listMissingBlobs.ts +65 -0
- package/src/lexicon/types/com/atproto/server/activateAccount.ts +31 -0
- package/src/lexicon/types/com/atproto/server/checkAccountStatus.ts +51 -0
- package/src/lexicon/types/com/atproto/server/deactivateAccount.ts +39 -0
- package/src/lexicon/types/com/atproto/server/describeServer.ts +1 -0
- package/src/lexicon/types/com/atproto/{temp/importRepo.ts → server/getServiceAuth.ts} +10 -9
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +24 -3
- package/tests/auto-moderator/labeler.test.ts +2 -1
package/src/lexicon/lexicons.ts
CHANGED
|
@@ -1863,6 +1863,33 @@ export const schemaDict = {
|
|
|
1863
1863
|
},
|
|
1864
1864
|
},
|
|
1865
1865
|
},
|
|
1866
|
+
ComAtprotoAdminUpdateAccountPassword: {
|
|
1867
|
+
lexicon: 1,
|
|
1868
|
+
id: 'com.atproto.admin.updateAccountPassword',
|
|
1869
|
+
defs: {
|
|
1870
|
+
main: {
|
|
1871
|
+
type: 'procedure',
|
|
1872
|
+
description:
|
|
1873
|
+
'Update the password for a user account as an administrator.',
|
|
1874
|
+
input: {
|
|
1875
|
+
encoding: 'application/json',
|
|
1876
|
+
schema: {
|
|
1877
|
+
type: 'object',
|
|
1878
|
+
required: ['did', 'password'],
|
|
1879
|
+
properties: {
|
|
1880
|
+
did: {
|
|
1881
|
+
type: 'string',
|
|
1882
|
+
format: 'did',
|
|
1883
|
+
},
|
|
1884
|
+
password: {
|
|
1885
|
+
type: 'string',
|
|
1886
|
+
},
|
|
1887
|
+
},
|
|
1888
|
+
},
|
|
1889
|
+
},
|
|
1890
|
+
},
|
|
1891
|
+
},
|
|
1892
|
+
},
|
|
1866
1893
|
ComAtprotoAdminUpdateCommunicationTemplate: {
|
|
1867
1894
|
lexicon: 1,
|
|
1868
1895
|
id: 'com.atproto.admin.updateCommunicationTemplate',
|
|
@@ -1968,6 +1995,56 @@ export const schemaDict = {
|
|
|
1968
1995
|
},
|
|
1969
1996
|
},
|
|
1970
1997
|
},
|
|
1998
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
1999
|
+
lexicon: 1,
|
|
2000
|
+
id: 'com.atproto.identity.getRecommendedDidCredentials',
|
|
2001
|
+
defs: {
|
|
2002
|
+
main: {
|
|
2003
|
+
type: 'query',
|
|
2004
|
+
description:
|
|
2005
|
+
'Describe the credentials that should be included in the DID doc of an account that is migrating to this service.',
|
|
2006
|
+
output: {
|
|
2007
|
+
encoding: 'application/json',
|
|
2008
|
+
schema: {
|
|
2009
|
+
type: 'object',
|
|
2010
|
+
properties: {
|
|
2011
|
+
rotationKeys: {
|
|
2012
|
+
description:
|
|
2013
|
+
'Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.',
|
|
2014
|
+
type: 'array',
|
|
2015
|
+
items: {
|
|
2016
|
+
type: 'string',
|
|
2017
|
+
},
|
|
2018
|
+
},
|
|
2019
|
+
alsoKnownAs: {
|
|
2020
|
+
type: 'array',
|
|
2021
|
+
items: {
|
|
2022
|
+
type: 'string',
|
|
2023
|
+
},
|
|
2024
|
+
},
|
|
2025
|
+
verificationMethods: {
|
|
2026
|
+
type: 'unknown',
|
|
2027
|
+
},
|
|
2028
|
+
services: {
|
|
2029
|
+
type: 'unknown',
|
|
2030
|
+
},
|
|
2031
|
+
},
|
|
2032
|
+
},
|
|
2033
|
+
},
|
|
2034
|
+
},
|
|
2035
|
+
},
|
|
2036
|
+
},
|
|
2037
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
2038
|
+
lexicon: 1,
|
|
2039
|
+
id: 'com.atproto.identity.requestPlcOperationSignature',
|
|
2040
|
+
defs: {
|
|
2041
|
+
main: {
|
|
2042
|
+
type: 'procedure',
|
|
2043
|
+
description:
|
|
2044
|
+
'Request an email with a code to in order to request a signed PLC operation. Requires Auth.',
|
|
2045
|
+
},
|
|
2046
|
+
},
|
|
2047
|
+
},
|
|
1971
2048
|
ComAtprotoIdentityResolveHandle: {
|
|
1972
2049
|
lexicon: 1,
|
|
1973
2050
|
id: 'com.atproto.identity.resolveHandle',
|
|
@@ -2002,6 +2079,84 @@ export const schemaDict = {
|
|
|
2002
2079
|
},
|
|
2003
2080
|
},
|
|
2004
2081
|
},
|
|
2082
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
2083
|
+
lexicon: 1,
|
|
2084
|
+
id: 'com.atproto.identity.signPlcOperation',
|
|
2085
|
+
defs: {
|
|
2086
|
+
main: {
|
|
2087
|
+
type: 'procedure',
|
|
2088
|
+
description:
|
|
2089
|
+
"Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
2090
|
+
input: {
|
|
2091
|
+
encoding: 'application/json',
|
|
2092
|
+
schema: {
|
|
2093
|
+
type: 'object',
|
|
2094
|
+
properties: {
|
|
2095
|
+
token: {
|
|
2096
|
+
description:
|
|
2097
|
+
'A token received through com.atproto.identity.requestPlcOperationSignature',
|
|
2098
|
+
type: 'string',
|
|
2099
|
+
},
|
|
2100
|
+
rotationKeys: {
|
|
2101
|
+
type: 'array',
|
|
2102
|
+
items: {
|
|
2103
|
+
type: 'string',
|
|
2104
|
+
},
|
|
2105
|
+
},
|
|
2106
|
+
alsoKnownAs: {
|
|
2107
|
+
type: 'array',
|
|
2108
|
+
items: {
|
|
2109
|
+
type: 'string',
|
|
2110
|
+
},
|
|
2111
|
+
},
|
|
2112
|
+
verificationMethods: {
|
|
2113
|
+
type: 'unknown',
|
|
2114
|
+
},
|
|
2115
|
+
services: {
|
|
2116
|
+
type: 'unknown',
|
|
2117
|
+
},
|
|
2118
|
+
},
|
|
2119
|
+
},
|
|
2120
|
+
},
|
|
2121
|
+
output: {
|
|
2122
|
+
encoding: 'application/json',
|
|
2123
|
+
schema: {
|
|
2124
|
+
type: 'object',
|
|
2125
|
+
required: ['operation'],
|
|
2126
|
+
properties: {
|
|
2127
|
+
operation: {
|
|
2128
|
+
type: 'unknown',
|
|
2129
|
+
description: 'A signed DID PLC operation.',
|
|
2130
|
+
},
|
|
2131
|
+
},
|
|
2132
|
+
},
|
|
2133
|
+
},
|
|
2134
|
+
},
|
|
2135
|
+
},
|
|
2136
|
+
},
|
|
2137
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
2138
|
+
lexicon: 1,
|
|
2139
|
+
id: 'com.atproto.identity.submitPlcOperation',
|
|
2140
|
+
defs: {
|
|
2141
|
+
main: {
|
|
2142
|
+
type: 'procedure',
|
|
2143
|
+
description:
|
|
2144
|
+
"Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
|
|
2145
|
+
input: {
|
|
2146
|
+
encoding: 'application/json',
|
|
2147
|
+
schema: {
|
|
2148
|
+
type: 'object',
|
|
2149
|
+
required: ['operation'],
|
|
2150
|
+
properties: {
|
|
2151
|
+
operation: {
|
|
2152
|
+
type: 'unknown',
|
|
2153
|
+
},
|
|
2154
|
+
},
|
|
2155
|
+
},
|
|
2156
|
+
},
|
|
2157
|
+
},
|
|
2158
|
+
},
|
|
2159
|
+
},
|
|
2005
2160
|
ComAtprotoIdentityUpdateHandle: {
|
|
2006
2161
|
lexicon: 1,
|
|
2007
2162
|
id: 'com.atproto.identity.updateHandle',
|
|
@@ -2710,6 +2865,78 @@ export const schemaDict = {
|
|
|
2710
2865
|
},
|
|
2711
2866
|
},
|
|
2712
2867
|
},
|
|
2868
|
+
ComAtprotoRepoImportRepo: {
|
|
2869
|
+
lexicon: 1,
|
|
2870
|
+
id: 'com.atproto.repo.importRepo',
|
|
2871
|
+
defs: {
|
|
2872
|
+
main: {
|
|
2873
|
+
type: 'procedure',
|
|
2874
|
+
description:
|
|
2875
|
+
'Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.',
|
|
2876
|
+
input: {
|
|
2877
|
+
encoding: 'application/vnd.ipld.car',
|
|
2878
|
+
},
|
|
2879
|
+
},
|
|
2880
|
+
},
|
|
2881
|
+
},
|
|
2882
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
2883
|
+
lexicon: 1,
|
|
2884
|
+
id: 'com.atproto.repo.listMissingBlobs',
|
|
2885
|
+
defs: {
|
|
2886
|
+
main: {
|
|
2887
|
+
type: 'query',
|
|
2888
|
+
description:
|
|
2889
|
+
'Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.',
|
|
2890
|
+
parameters: {
|
|
2891
|
+
type: 'params',
|
|
2892
|
+
properties: {
|
|
2893
|
+
limit: {
|
|
2894
|
+
type: 'integer',
|
|
2895
|
+
minimum: 1,
|
|
2896
|
+
maximum: 1000,
|
|
2897
|
+
default: 500,
|
|
2898
|
+
},
|
|
2899
|
+
cursor: {
|
|
2900
|
+
type: 'string',
|
|
2901
|
+
},
|
|
2902
|
+
},
|
|
2903
|
+
},
|
|
2904
|
+
output: {
|
|
2905
|
+
encoding: 'application/json',
|
|
2906
|
+
schema: {
|
|
2907
|
+
type: 'object',
|
|
2908
|
+
required: ['blobs'],
|
|
2909
|
+
properties: {
|
|
2910
|
+
cursor: {
|
|
2911
|
+
type: 'string',
|
|
2912
|
+
},
|
|
2913
|
+
blobs: {
|
|
2914
|
+
type: 'array',
|
|
2915
|
+
items: {
|
|
2916
|
+
type: 'ref',
|
|
2917
|
+
ref: 'lex:com.atproto.repo.listMissingBlobs#recordBlob',
|
|
2918
|
+
},
|
|
2919
|
+
},
|
|
2920
|
+
},
|
|
2921
|
+
},
|
|
2922
|
+
},
|
|
2923
|
+
},
|
|
2924
|
+
recordBlob: {
|
|
2925
|
+
type: 'object',
|
|
2926
|
+
required: ['cid', 'recordUri'],
|
|
2927
|
+
properties: {
|
|
2928
|
+
cid: {
|
|
2929
|
+
type: 'string',
|
|
2930
|
+
format: 'cid',
|
|
2931
|
+
},
|
|
2932
|
+
recordUri: {
|
|
2933
|
+
type: 'string',
|
|
2934
|
+
format: 'at-uri',
|
|
2935
|
+
},
|
|
2936
|
+
},
|
|
2937
|
+
},
|
|
2938
|
+
},
|
|
2939
|
+
},
|
|
2713
2940
|
ComAtprotoRepoListRecords: {
|
|
2714
2941
|
lexicon: 1,
|
|
2715
2942
|
id: 'com.atproto.repo.listRecords',
|
|
@@ -2925,6 +3152,75 @@ export const schemaDict = {
|
|
|
2925
3152
|
},
|
|
2926
3153
|
},
|
|
2927
3154
|
},
|
|
3155
|
+
ComAtprotoServerActivateAccount: {
|
|
3156
|
+
lexicon: 1,
|
|
3157
|
+
id: 'com.atproto.server.activateAccount',
|
|
3158
|
+
defs: {
|
|
3159
|
+
main: {
|
|
3160
|
+
type: 'procedure',
|
|
3161
|
+
description:
|
|
3162
|
+
"Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup.",
|
|
3163
|
+
},
|
|
3164
|
+
},
|
|
3165
|
+
},
|
|
3166
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
3167
|
+
lexicon: 1,
|
|
3168
|
+
id: 'com.atproto.server.checkAccountStatus',
|
|
3169
|
+
defs: {
|
|
3170
|
+
main: {
|
|
3171
|
+
type: 'query',
|
|
3172
|
+
description:
|
|
3173
|
+
'Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.',
|
|
3174
|
+
output: {
|
|
3175
|
+
encoding: 'application/json',
|
|
3176
|
+
schema: {
|
|
3177
|
+
type: 'object',
|
|
3178
|
+
required: [
|
|
3179
|
+
'activated',
|
|
3180
|
+
'validDid',
|
|
3181
|
+
'repoCommit',
|
|
3182
|
+
'repoRev',
|
|
3183
|
+
'repoBlocks',
|
|
3184
|
+
'indexedRecords',
|
|
3185
|
+
'privateStateValues',
|
|
3186
|
+
'expectedBlobs',
|
|
3187
|
+
'importedBlobs',
|
|
3188
|
+
],
|
|
3189
|
+
properties: {
|
|
3190
|
+
activated: {
|
|
3191
|
+
type: 'boolean',
|
|
3192
|
+
},
|
|
3193
|
+
validDid: {
|
|
3194
|
+
type: 'boolean',
|
|
3195
|
+
},
|
|
3196
|
+
repoCommit: {
|
|
3197
|
+
type: 'string',
|
|
3198
|
+
format: 'cid',
|
|
3199
|
+
},
|
|
3200
|
+
repoRev: {
|
|
3201
|
+
type: 'string',
|
|
3202
|
+
},
|
|
3203
|
+
repoBlocks: {
|
|
3204
|
+
type: 'integer',
|
|
3205
|
+
},
|
|
3206
|
+
indexedRecords: {
|
|
3207
|
+
type: 'integer',
|
|
3208
|
+
},
|
|
3209
|
+
privateStateValues: {
|
|
3210
|
+
type: 'integer',
|
|
3211
|
+
},
|
|
3212
|
+
expectedBlobs: {
|
|
3213
|
+
type: 'integer',
|
|
3214
|
+
},
|
|
3215
|
+
importedBlobs: {
|
|
3216
|
+
type: 'integer',
|
|
3217
|
+
},
|
|
3218
|
+
},
|
|
3219
|
+
},
|
|
3220
|
+
},
|
|
3221
|
+
},
|
|
3222
|
+
},
|
|
3223
|
+
},
|
|
2928
3224
|
ComAtprotoServerConfirmEmail: {
|
|
2929
3225
|
lexicon: 1,
|
|
2930
3226
|
id: 'com.atproto.server.confirmEmail',
|
|
@@ -3293,6 +3589,31 @@ export const schemaDict = {
|
|
|
3293
3589
|
},
|
|
3294
3590
|
},
|
|
3295
3591
|
},
|
|
3592
|
+
ComAtprotoServerDeactivateAccount: {
|
|
3593
|
+
lexicon: 1,
|
|
3594
|
+
id: 'com.atproto.server.deactivateAccount',
|
|
3595
|
+
defs: {
|
|
3596
|
+
main: {
|
|
3597
|
+
type: 'procedure',
|
|
3598
|
+
description:
|
|
3599
|
+
'Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.',
|
|
3600
|
+
input: {
|
|
3601
|
+
encoding: 'application/json',
|
|
3602
|
+
schema: {
|
|
3603
|
+
type: 'object',
|
|
3604
|
+
properties: {
|
|
3605
|
+
deleteAfter: {
|
|
3606
|
+
type: 'string',
|
|
3607
|
+
format: 'datetime',
|
|
3608
|
+
description:
|
|
3609
|
+
'A recommendation to server as to how long they should hold onto the deactivated account before deleting.',
|
|
3610
|
+
},
|
|
3611
|
+
},
|
|
3612
|
+
},
|
|
3613
|
+
},
|
|
3614
|
+
},
|
|
3615
|
+
},
|
|
3616
|
+
},
|
|
3296
3617
|
ComAtprotoServerDefs: {
|
|
3297
3618
|
lexicon: 1,
|
|
3298
3619
|
id: 'com.atproto.server.defs',
|
|
@@ -3413,7 +3734,7 @@ export const schemaDict = {
|
|
|
3413
3734
|
encoding: 'application/json',
|
|
3414
3735
|
schema: {
|
|
3415
3736
|
type: 'object',
|
|
3416
|
-
required: ['availableUserDomains'],
|
|
3737
|
+
required: ['did', 'availableUserDomains'],
|
|
3417
3738
|
properties: {
|
|
3418
3739
|
inviteCodeRequired: {
|
|
3419
3740
|
type: 'boolean',
|
|
@@ -3438,6 +3759,10 @@ export const schemaDict = {
|
|
|
3438
3759
|
description: 'URLs of service policy documents.',
|
|
3439
3760
|
ref: 'lex:com.atproto.server.describeServer#links',
|
|
3440
3761
|
},
|
|
3762
|
+
did: {
|
|
3763
|
+
type: 'string',
|
|
3764
|
+
format: 'did',
|
|
3765
|
+
},
|
|
3441
3766
|
},
|
|
3442
3767
|
},
|
|
3443
3768
|
},
|
|
@@ -3502,6 +3827,41 @@ export const schemaDict = {
|
|
|
3502
3827
|
},
|
|
3503
3828
|
},
|
|
3504
3829
|
},
|
|
3830
|
+
ComAtprotoServerGetServiceAuth: {
|
|
3831
|
+
lexicon: 1,
|
|
3832
|
+
id: 'com.atproto.server.getServiceAuth',
|
|
3833
|
+
defs: {
|
|
3834
|
+
main: {
|
|
3835
|
+
type: 'query',
|
|
3836
|
+
description:
|
|
3837
|
+
'Get a signed token on behalf of the requesting DID for the requested service.',
|
|
3838
|
+
parameters: {
|
|
3839
|
+
type: 'params',
|
|
3840
|
+
required: ['aud'],
|
|
3841
|
+
properties: {
|
|
3842
|
+
aud: {
|
|
3843
|
+
type: 'string',
|
|
3844
|
+
format: 'did',
|
|
3845
|
+
description:
|
|
3846
|
+
'The DID of the service that the token will be used to authenticate with',
|
|
3847
|
+
},
|
|
3848
|
+
},
|
|
3849
|
+
},
|
|
3850
|
+
output: {
|
|
3851
|
+
encoding: 'application/json',
|
|
3852
|
+
schema: {
|
|
3853
|
+
type: 'object',
|
|
3854
|
+
required: ['token'],
|
|
3855
|
+
properties: {
|
|
3856
|
+
token: {
|
|
3857
|
+
type: 'string',
|
|
3858
|
+
},
|
|
3859
|
+
},
|
|
3860
|
+
},
|
|
3861
|
+
},
|
|
3862
|
+
},
|
|
3863
|
+
},
|
|
3864
|
+
},
|
|
3505
3865
|
ComAtprotoServerGetSession: {
|
|
3506
3866
|
lexicon: 1,
|
|
3507
3867
|
id: 'com.atproto.server.getSession',
|
|
@@ -4246,6 +4606,7 @@ export const schemaDict = {
|
|
|
4246
4606
|
type: 'union',
|
|
4247
4607
|
refs: [
|
|
4248
4608
|
'lex:com.atproto.sync.subscribeRepos#commit',
|
|
4609
|
+
'lex:com.atproto.sync.subscribeRepos#identity',
|
|
4249
4610
|
'lex:com.atproto.sync.subscribeRepos#handle',
|
|
4250
4611
|
'lex:com.atproto.sync.subscribeRepos#migrate',
|
|
4251
4612
|
'lex:com.atproto.sync.subscribeRepos#tombstone',
|
|
@@ -4352,10 +4713,29 @@ export const schemaDict = {
|
|
|
4352
4713
|
},
|
|
4353
4714
|
},
|
|
4354
4715
|
},
|
|
4716
|
+
identity: {
|
|
4717
|
+
type: 'object',
|
|
4718
|
+
description:
|
|
4719
|
+
"Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
|
|
4720
|
+
required: ['seq', 'did', 'time'],
|
|
4721
|
+
properties: {
|
|
4722
|
+
seq: {
|
|
4723
|
+
type: 'integer',
|
|
4724
|
+
},
|
|
4725
|
+
did: {
|
|
4726
|
+
type: 'string',
|
|
4727
|
+
format: 'did',
|
|
4728
|
+
},
|
|
4729
|
+
time: {
|
|
4730
|
+
type: 'string',
|
|
4731
|
+
format: 'datetime',
|
|
4732
|
+
},
|
|
4733
|
+
},
|
|
4734
|
+
},
|
|
4355
4735
|
handle: {
|
|
4356
4736
|
type: 'object',
|
|
4357
4737
|
description:
|
|
4358
|
-
"Represents an update of the account's handle, or transition to/from invalid state.",
|
|
4738
|
+
"Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
4359
4739
|
required: ['seq', 'did', 'handle', 'time'],
|
|
4360
4740
|
properties: {
|
|
4361
4741
|
seq: {
|
|
@@ -4378,7 +4758,7 @@ export const schemaDict = {
|
|
|
4378
4758
|
migrate: {
|
|
4379
4759
|
type: 'object',
|
|
4380
4760
|
description:
|
|
4381
|
-
'Represents an account moving from one PDS instance to another. NOTE: not implemented;
|
|
4761
|
+
'Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead',
|
|
4382
4762
|
required: ['seq', 'did', 'migrateTo', 'time'],
|
|
4383
4763
|
nullable: ['migrateTo'],
|
|
4384
4764
|
properties: {
|
|
@@ -4400,7 +4780,8 @@ export const schemaDict = {
|
|
|
4400
4780
|
},
|
|
4401
4781
|
tombstone: {
|
|
4402
4782
|
type: 'object',
|
|
4403
|
-
description:
|
|
4783
|
+
description:
|
|
4784
|
+
'Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event',
|
|
4404
4785
|
required: ['seq', 'did', 'time'],
|
|
4405
4786
|
properties: {
|
|
4406
4787
|
seq: {
|
|
@@ -4520,59 +4901,6 @@ export const schemaDict = {
|
|
|
4520
4901
|
},
|
|
4521
4902
|
},
|
|
4522
4903
|
},
|
|
4523
|
-
ComAtprotoTempImportRepo: {
|
|
4524
|
-
lexicon: 1,
|
|
4525
|
-
id: 'com.atproto.temp.importRepo',
|
|
4526
|
-
defs: {
|
|
4527
|
-
main: {
|
|
4528
|
-
type: 'procedure',
|
|
4529
|
-
description:
|
|
4530
|
-
"Gets the did's repo, optionally catching up from a specific revision.",
|
|
4531
|
-
parameters: {
|
|
4532
|
-
type: 'params',
|
|
4533
|
-
required: ['did'],
|
|
4534
|
-
properties: {
|
|
4535
|
-
did: {
|
|
4536
|
-
type: 'string',
|
|
4537
|
-
format: 'did',
|
|
4538
|
-
description: 'The DID of the repo.',
|
|
4539
|
-
},
|
|
4540
|
-
},
|
|
4541
|
-
},
|
|
4542
|
-
input: {
|
|
4543
|
-
encoding: 'application/vnd.ipld.car',
|
|
4544
|
-
},
|
|
4545
|
-
output: {
|
|
4546
|
-
encoding: 'text/plain',
|
|
4547
|
-
},
|
|
4548
|
-
},
|
|
4549
|
-
},
|
|
4550
|
-
},
|
|
4551
|
-
ComAtprotoTempPushBlob: {
|
|
4552
|
-
lexicon: 1,
|
|
4553
|
-
id: 'com.atproto.temp.pushBlob',
|
|
4554
|
-
defs: {
|
|
4555
|
-
main: {
|
|
4556
|
-
type: 'procedure',
|
|
4557
|
-
description:
|
|
4558
|
-
"Gets the did's repo, optionally catching up from a specific revision.",
|
|
4559
|
-
parameters: {
|
|
4560
|
-
type: 'params',
|
|
4561
|
-
required: ['did'],
|
|
4562
|
-
properties: {
|
|
4563
|
-
did: {
|
|
4564
|
-
type: 'string',
|
|
4565
|
-
format: 'did',
|
|
4566
|
-
description: 'The DID of the repo.',
|
|
4567
|
-
},
|
|
4568
|
-
},
|
|
4569
|
-
},
|
|
4570
|
-
input: {
|
|
4571
|
-
encoding: '*/*',
|
|
4572
|
-
},
|
|
4573
|
-
},
|
|
4574
|
-
},
|
|
4575
|
-
},
|
|
4576
4904
|
ComAtprotoTempRequestPhoneVerification: {
|
|
4577
4905
|
lexicon: 1,
|
|
4578
4906
|
id: 'com.atproto.temp.requestPhoneVerification',
|
|
@@ -4596,83 +4924,6 @@ export const schemaDict = {
|
|
|
4596
4924
|
},
|
|
4597
4925
|
},
|
|
4598
4926
|
},
|
|
4599
|
-
ComAtprotoTempTransferAccount: {
|
|
4600
|
-
lexicon: 1,
|
|
4601
|
-
id: 'com.atproto.temp.transferAccount',
|
|
4602
|
-
defs: {
|
|
4603
|
-
main: {
|
|
4604
|
-
type: 'procedure',
|
|
4605
|
-
description:
|
|
4606
|
-
'Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.',
|
|
4607
|
-
input: {
|
|
4608
|
-
encoding: 'application/json',
|
|
4609
|
-
schema: {
|
|
4610
|
-
type: 'object',
|
|
4611
|
-
required: ['handle', 'did', 'plcOp'],
|
|
4612
|
-
properties: {
|
|
4613
|
-
handle: {
|
|
4614
|
-
type: 'string',
|
|
4615
|
-
format: 'handle',
|
|
4616
|
-
},
|
|
4617
|
-
did: {
|
|
4618
|
-
type: 'string',
|
|
4619
|
-
format: 'did',
|
|
4620
|
-
},
|
|
4621
|
-
plcOp: {
|
|
4622
|
-
type: 'unknown',
|
|
4623
|
-
},
|
|
4624
|
-
},
|
|
4625
|
-
},
|
|
4626
|
-
},
|
|
4627
|
-
output: {
|
|
4628
|
-
encoding: 'application/json',
|
|
4629
|
-
schema: {
|
|
4630
|
-
type: 'object',
|
|
4631
|
-
required: ['accessJwt', 'refreshJwt', 'handle', 'did'],
|
|
4632
|
-
properties: {
|
|
4633
|
-
accessJwt: {
|
|
4634
|
-
type: 'string',
|
|
4635
|
-
},
|
|
4636
|
-
refreshJwt: {
|
|
4637
|
-
type: 'string',
|
|
4638
|
-
},
|
|
4639
|
-
handle: {
|
|
4640
|
-
type: 'string',
|
|
4641
|
-
format: 'handle',
|
|
4642
|
-
},
|
|
4643
|
-
did: {
|
|
4644
|
-
type: 'string',
|
|
4645
|
-
format: 'did',
|
|
4646
|
-
},
|
|
4647
|
-
},
|
|
4648
|
-
},
|
|
4649
|
-
},
|
|
4650
|
-
errors: [
|
|
4651
|
-
{
|
|
4652
|
-
name: 'InvalidHandle',
|
|
4653
|
-
},
|
|
4654
|
-
{
|
|
4655
|
-
name: 'InvalidPassword',
|
|
4656
|
-
},
|
|
4657
|
-
{
|
|
4658
|
-
name: 'InvalidInviteCode',
|
|
4659
|
-
},
|
|
4660
|
-
{
|
|
4661
|
-
name: 'HandleNotAvailable',
|
|
4662
|
-
},
|
|
4663
|
-
{
|
|
4664
|
-
name: 'UnsupportedDomain',
|
|
4665
|
-
},
|
|
4666
|
-
{
|
|
4667
|
-
name: 'UnresolvableDid',
|
|
4668
|
-
},
|
|
4669
|
-
{
|
|
4670
|
-
name: 'IncompatibleDidDoc',
|
|
4671
|
-
},
|
|
4672
|
-
],
|
|
4673
|
-
},
|
|
4674
|
-
},
|
|
4675
|
-
},
|
|
4676
4927
|
AppBskyActorDefs: {
|
|
4677
4928
|
lexicon: 1,
|
|
4678
4929
|
id: 'app.bsky.actor.defs',
|
|
@@ -4851,6 +5102,8 @@ export const schemaDict = {
|
|
|
4851
5102
|
'lex:app.bsky.actor.defs#feedViewPref',
|
|
4852
5103
|
'lex:app.bsky.actor.defs#threadViewPref',
|
|
4853
5104
|
'lex:app.bsky.actor.defs#interestsPref',
|
|
5105
|
+
'lex:app.bsky.actor.defs#mutedWordsPref',
|
|
5106
|
+
'lex:app.bsky.actor.defs#hiddenPostsPref',
|
|
4854
5107
|
],
|
|
4855
5108
|
},
|
|
4856
5109
|
},
|
|
@@ -4974,6 +5227,62 @@ export const schemaDict = {
|
|
|
4974
5227
|
},
|
|
4975
5228
|
},
|
|
4976
5229
|
},
|
|
5230
|
+
mutedWordTarget: {
|
|
5231
|
+
type: 'string',
|
|
5232
|
+
knownValues: ['content', 'tag'],
|
|
5233
|
+
maxLength: 640,
|
|
5234
|
+
maxGraphemes: 64,
|
|
5235
|
+
},
|
|
5236
|
+
mutedWord: {
|
|
5237
|
+
type: 'object',
|
|
5238
|
+
description: 'A word that the account owner has muted.',
|
|
5239
|
+
required: ['value', 'targets'],
|
|
5240
|
+
properties: {
|
|
5241
|
+
value: {
|
|
5242
|
+
type: 'string',
|
|
5243
|
+
description: 'The muted word itself.',
|
|
5244
|
+
maxLength: 10000,
|
|
5245
|
+
maxGraphemes: 1000,
|
|
5246
|
+
},
|
|
5247
|
+
targets: {
|
|
5248
|
+
type: 'array',
|
|
5249
|
+
description: 'The intended targets of the muted word.',
|
|
5250
|
+
items: {
|
|
5251
|
+
type: 'ref',
|
|
5252
|
+
ref: 'lex:app.bsky.actor.defs#mutedWordTarget',
|
|
5253
|
+
},
|
|
5254
|
+
},
|
|
5255
|
+
},
|
|
5256
|
+
},
|
|
5257
|
+
mutedWordsPref: {
|
|
5258
|
+
type: 'object',
|
|
5259
|
+
required: ['items'],
|
|
5260
|
+
properties: {
|
|
5261
|
+
items: {
|
|
5262
|
+
type: 'array',
|
|
5263
|
+
items: {
|
|
5264
|
+
type: 'ref',
|
|
5265
|
+
ref: 'lex:app.bsky.actor.defs#mutedWord',
|
|
5266
|
+
},
|
|
5267
|
+
description: 'A list of words the account owner has muted.',
|
|
5268
|
+
},
|
|
5269
|
+
},
|
|
5270
|
+
},
|
|
5271
|
+
hiddenPostsPref: {
|
|
5272
|
+
type: 'object',
|
|
5273
|
+
required: ['items'],
|
|
5274
|
+
properties: {
|
|
5275
|
+
items: {
|
|
5276
|
+
type: 'array',
|
|
5277
|
+
items: {
|
|
5278
|
+
type: 'string',
|
|
5279
|
+
format: 'at-uri',
|
|
5280
|
+
},
|
|
5281
|
+
description:
|
|
5282
|
+
'A list of URIs of posts the account owner has hidden.',
|
|
5283
|
+
},
|
|
5284
|
+
},
|
|
5285
|
+
},
|
|
4977
5286
|
},
|
|
4978
5287
|
},
|
|
4979
5288
|
AppBskyActorGetPreferences: {
|
|
@@ -6884,7 +7193,8 @@ export const schemaDict = {
|
|
|
6884
7193
|
},
|
|
6885
7194
|
tags: {
|
|
6886
7195
|
type: 'array',
|
|
6887
|
-
description:
|
|
7196
|
+
description:
|
|
7197
|
+
'Additional hashtags, in addition to any included in post text and facets.',
|
|
6888
7198
|
maxLength: 8,
|
|
6889
7199
|
items: {
|
|
6890
7200
|
type: 'string',
|
|
@@ -8579,10 +8889,19 @@ export const ids = {
|
|
|
8579
8889
|
ComAtprotoAdminSendEmail: 'com.atproto.admin.sendEmail',
|
|
8580
8890
|
ComAtprotoAdminUpdateAccountEmail: 'com.atproto.admin.updateAccountEmail',
|
|
8581
8891
|
ComAtprotoAdminUpdateAccountHandle: 'com.atproto.admin.updateAccountHandle',
|
|
8892
|
+
ComAtprotoAdminUpdateAccountPassword:
|
|
8893
|
+
'com.atproto.admin.updateAccountPassword',
|
|
8582
8894
|
ComAtprotoAdminUpdateCommunicationTemplate:
|
|
8583
8895
|
'com.atproto.admin.updateCommunicationTemplate',
|
|
8584
8896
|
ComAtprotoAdminUpdateSubjectStatus: 'com.atproto.admin.updateSubjectStatus',
|
|
8897
|
+
ComAtprotoIdentityGetRecommendedDidCredentials:
|
|
8898
|
+
'com.atproto.identity.getRecommendedDidCredentials',
|
|
8899
|
+
ComAtprotoIdentityRequestPlcOperationSignature:
|
|
8900
|
+
'com.atproto.identity.requestPlcOperationSignature',
|
|
8585
8901
|
ComAtprotoIdentityResolveHandle: 'com.atproto.identity.resolveHandle',
|
|
8902
|
+
ComAtprotoIdentitySignPlcOperation: 'com.atproto.identity.signPlcOperation',
|
|
8903
|
+
ComAtprotoIdentitySubmitPlcOperation:
|
|
8904
|
+
'com.atproto.identity.submitPlcOperation',
|
|
8586
8905
|
ComAtprotoIdentityUpdateHandle: 'com.atproto.identity.updateHandle',
|
|
8587
8906
|
ComAtprotoLabelDefs: 'com.atproto.label.defs',
|
|
8588
8907
|
ComAtprotoLabelQueryLabels: 'com.atproto.label.queryLabels',
|
|
@@ -8594,22 +8913,28 @@ export const ids = {
|
|
|
8594
8913
|
ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',
|
|
8595
8914
|
ComAtprotoRepoDescribeRepo: 'com.atproto.repo.describeRepo',
|
|
8596
8915
|
ComAtprotoRepoGetRecord: 'com.atproto.repo.getRecord',
|
|
8916
|
+
ComAtprotoRepoImportRepo: 'com.atproto.repo.importRepo',
|
|
8917
|
+
ComAtprotoRepoListMissingBlobs: 'com.atproto.repo.listMissingBlobs',
|
|
8597
8918
|
ComAtprotoRepoListRecords: 'com.atproto.repo.listRecords',
|
|
8598
8919
|
ComAtprotoRepoPutRecord: 'com.atproto.repo.putRecord',
|
|
8599
8920
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
8600
8921
|
ComAtprotoRepoUploadBlob: 'com.atproto.repo.uploadBlob',
|
|
8922
|
+
ComAtprotoServerActivateAccount: 'com.atproto.server.activateAccount',
|
|
8923
|
+
ComAtprotoServerCheckAccountStatus: 'com.atproto.server.checkAccountStatus',
|
|
8601
8924
|
ComAtprotoServerConfirmEmail: 'com.atproto.server.confirmEmail',
|
|
8602
8925
|
ComAtprotoServerCreateAccount: 'com.atproto.server.createAccount',
|
|
8603
8926
|
ComAtprotoServerCreateAppPassword: 'com.atproto.server.createAppPassword',
|
|
8604
8927
|
ComAtprotoServerCreateInviteCode: 'com.atproto.server.createInviteCode',
|
|
8605
8928
|
ComAtprotoServerCreateInviteCodes: 'com.atproto.server.createInviteCodes',
|
|
8606
8929
|
ComAtprotoServerCreateSession: 'com.atproto.server.createSession',
|
|
8930
|
+
ComAtprotoServerDeactivateAccount: 'com.atproto.server.deactivateAccount',
|
|
8607
8931
|
ComAtprotoServerDefs: 'com.atproto.server.defs',
|
|
8608
8932
|
ComAtprotoServerDeleteAccount: 'com.atproto.server.deleteAccount',
|
|
8609
8933
|
ComAtprotoServerDeleteSession: 'com.atproto.server.deleteSession',
|
|
8610
8934
|
ComAtprotoServerDescribeServer: 'com.atproto.server.describeServer',
|
|
8611
8935
|
ComAtprotoServerGetAccountInviteCodes:
|
|
8612
8936
|
'com.atproto.server.getAccountInviteCodes',
|
|
8937
|
+
ComAtprotoServerGetServiceAuth: 'com.atproto.server.getServiceAuth',
|
|
8613
8938
|
ComAtprotoServerGetSession: 'com.atproto.server.getSession',
|
|
8614
8939
|
ComAtprotoServerListAppPasswords: 'com.atproto.server.listAppPasswords',
|
|
8615
8940
|
ComAtprotoServerRefreshSession: 'com.atproto.server.refreshSession',
|
|
@@ -8638,11 +8963,8 @@ export const ids = {
|
|
|
8638
8963
|
ComAtprotoSyncSubscribeRepos: 'com.atproto.sync.subscribeRepos',
|
|
8639
8964
|
ComAtprotoTempCheckSignupQueue: 'com.atproto.temp.checkSignupQueue',
|
|
8640
8965
|
ComAtprotoTempFetchLabels: 'com.atproto.temp.fetchLabels',
|
|
8641
|
-
ComAtprotoTempImportRepo: 'com.atproto.temp.importRepo',
|
|
8642
|
-
ComAtprotoTempPushBlob: 'com.atproto.temp.pushBlob',
|
|
8643
8966
|
ComAtprotoTempRequestPhoneVerification:
|
|
8644
8967
|
'com.atproto.temp.requestPhoneVerification',
|
|
8645
|
-
ComAtprotoTempTransferAccount: 'com.atproto.temp.transferAccount',
|
|
8646
8968
|
AppBskyActorDefs: 'app.bsky.actor.defs',
|
|
8647
8969
|
AppBskyActorGetPreferences: 'app.bsky.actor.getPreferences',
|
|
8648
8970
|
AppBskyActorGetProfile: 'app.bsky.actor.getProfile',
|