@atproto/bsky 0.0.31 → 0.0.32
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 +7 -0
- package/dist/db/index.js.map +2 -2
- package/dist/index.js +1197 -585
- package/dist/index.js.map +3 -3
- package/dist/indexer/subscription.d.ts +1 -0
- package/dist/lexicon/index.d.ts +20 -6
- package/dist/lexicon/lexicons.d.ts +392 -110
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +20 -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 +124 -36
- package/src/lexicon/lexicons.ts +429 -138
- package/src/lexicon/types/app/bsky/actor/defs.ts +59 -0
- package/src/lexicon/types/app/bsky/feed/post.ts +1 -1
- 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
|
@@ -1968,6 +1968,56 @@ export const schemaDict = {
|
|
|
1968
1968
|
},
|
|
1969
1969
|
},
|
|
1970
1970
|
},
|
|
1971
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
1972
|
+
lexicon: 1,
|
|
1973
|
+
id: 'com.atproto.identity.getRecommendedDidCredentials',
|
|
1974
|
+
defs: {
|
|
1975
|
+
main: {
|
|
1976
|
+
type: 'query',
|
|
1977
|
+
description:
|
|
1978
|
+
'Describe the credentials that should be included in the DID doc of an account that is migrating to this service.',
|
|
1979
|
+
output: {
|
|
1980
|
+
encoding: 'application/json',
|
|
1981
|
+
schema: {
|
|
1982
|
+
type: 'object',
|
|
1983
|
+
properties: {
|
|
1984
|
+
rotationKeys: {
|
|
1985
|
+
description:
|
|
1986
|
+
'Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.',
|
|
1987
|
+
type: 'array',
|
|
1988
|
+
items: {
|
|
1989
|
+
type: 'string',
|
|
1990
|
+
},
|
|
1991
|
+
},
|
|
1992
|
+
alsoKnownAs: {
|
|
1993
|
+
type: 'array',
|
|
1994
|
+
items: {
|
|
1995
|
+
type: 'string',
|
|
1996
|
+
},
|
|
1997
|
+
},
|
|
1998
|
+
verificationMethods: {
|
|
1999
|
+
type: 'unknown',
|
|
2000
|
+
},
|
|
2001
|
+
services: {
|
|
2002
|
+
type: 'unknown',
|
|
2003
|
+
},
|
|
2004
|
+
},
|
|
2005
|
+
},
|
|
2006
|
+
},
|
|
2007
|
+
},
|
|
2008
|
+
},
|
|
2009
|
+
},
|
|
2010
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
2011
|
+
lexicon: 1,
|
|
2012
|
+
id: 'com.atproto.identity.requestPlcOperationSignature',
|
|
2013
|
+
defs: {
|
|
2014
|
+
main: {
|
|
2015
|
+
type: 'procedure',
|
|
2016
|
+
description:
|
|
2017
|
+
'Request an email with a code to in order to request a signed PLC operation. Requires Auth.',
|
|
2018
|
+
},
|
|
2019
|
+
},
|
|
2020
|
+
},
|
|
1971
2021
|
ComAtprotoIdentityResolveHandle: {
|
|
1972
2022
|
lexicon: 1,
|
|
1973
2023
|
id: 'com.atproto.identity.resolveHandle',
|
|
@@ -2002,6 +2052,84 @@ export const schemaDict = {
|
|
|
2002
2052
|
},
|
|
2003
2053
|
},
|
|
2004
2054
|
},
|
|
2055
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
2056
|
+
lexicon: 1,
|
|
2057
|
+
id: 'com.atproto.identity.signPlcOperation',
|
|
2058
|
+
defs: {
|
|
2059
|
+
main: {
|
|
2060
|
+
type: 'procedure',
|
|
2061
|
+
description:
|
|
2062
|
+
"Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
2063
|
+
input: {
|
|
2064
|
+
encoding: 'application/json',
|
|
2065
|
+
schema: {
|
|
2066
|
+
type: 'object',
|
|
2067
|
+
properties: {
|
|
2068
|
+
token: {
|
|
2069
|
+
description:
|
|
2070
|
+
'A token received through com.atproto.identity.requestPlcOperationSignature',
|
|
2071
|
+
type: 'string',
|
|
2072
|
+
},
|
|
2073
|
+
rotationKeys: {
|
|
2074
|
+
type: 'array',
|
|
2075
|
+
items: {
|
|
2076
|
+
type: 'string',
|
|
2077
|
+
},
|
|
2078
|
+
},
|
|
2079
|
+
alsoKnownAs: {
|
|
2080
|
+
type: 'array',
|
|
2081
|
+
items: {
|
|
2082
|
+
type: 'string',
|
|
2083
|
+
},
|
|
2084
|
+
},
|
|
2085
|
+
verificationMethods: {
|
|
2086
|
+
type: 'unknown',
|
|
2087
|
+
},
|
|
2088
|
+
services: {
|
|
2089
|
+
type: 'unknown',
|
|
2090
|
+
},
|
|
2091
|
+
},
|
|
2092
|
+
},
|
|
2093
|
+
},
|
|
2094
|
+
output: {
|
|
2095
|
+
encoding: 'application/json',
|
|
2096
|
+
schema: {
|
|
2097
|
+
type: 'object',
|
|
2098
|
+
required: ['operation'],
|
|
2099
|
+
properties: {
|
|
2100
|
+
operation: {
|
|
2101
|
+
type: 'unknown',
|
|
2102
|
+
description: 'A signed DID PLC operation.',
|
|
2103
|
+
},
|
|
2104
|
+
},
|
|
2105
|
+
},
|
|
2106
|
+
},
|
|
2107
|
+
},
|
|
2108
|
+
},
|
|
2109
|
+
},
|
|
2110
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
2111
|
+
lexicon: 1,
|
|
2112
|
+
id: 'com.atproto.identity.submitPlcOperation',
|
|
2113
|
+
defs: {
|
|
2114
|
+
main: {
|
|
2115
|
+
type: 'procedure',
|
|
2116
|
+
description:
|
|
2117
|
+
"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",
|
|
2118
|
+
input: {
|
|
2119
|
+
encoding: 'application/json',
|
|
2120
|
+
schema: {
|
|
2121
|
+
type: 'object',
|
|
2122
|
+
required: ['operation'],
|
|
2123
|
+
properties: {
|
|
2124
|
+
operation: {
|
|
2125
|
+
type: 'unknown',
|
|
2126
|
+
},
|
|
2127
|
+
},
|
|
2128
|
+
},
|
|
2129
|
+
},
|
|
2130
|
+
},
|
|
2131
|
+
},
|
|
2132
|
+
},
|
|
2005
2133
|
ComAtprotoIdentityUpdateHandle: {
|
|
2006
2134
|
lexicon: 1,
|
|
2007
2135
|
id: 'com.atproto.identity.updateHandle',
|
|
@@ -2710,6 +2838,78 @@ export const schemaDict = {
|
|
|
2710
2838
|
},
|
|
2711
2839
|
},
|
|
2712
2840
|
},
|
|
2841
|
+
ComAtprotoRepoImportRepo: {
|
|
2842
|
+
lexicon: 1,
|
|
2843
|
+
id: 'com.atproto.repo.importRepo',
|
|
2844
|
+
defs: {
|
|
2845
|
+
main: {
|
|
2846
|
+
type: 'procedure',
|
|
2847
|
+
description:
|
|
2848
|
+
'Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.',
|
|
2849
|
+
input: {
|
|
2850
|
+
encoding: 'application/vnd.ipld.car',
|
|
2851
|
+
},
|
|
2852
|
+
},
|
|
2853
|
+
},
|
|
2854
|
+
},
|
|
2855
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
2856
|
+
lexicon: 1,
|
|
2857
|
+
id: 'com.atproto.repo.listMissingBlobs',
|
|
2858
|
+
defs: {
|
|
2859
|
+
main: {
|
|
2860
|
+
type: 'query',
|
|
2861
|
+
description:
|
|
2862
|
+
'Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.',
|
|
2863
|
+
parameters: {
|
|
2864
|
+
type: 'params',
|
|
2865
|
+
properties: {
|
|
2866
|
+
limit: {
|
|
2867
|
+
type: 'integer',
|
|
2868
|
+
minimum: 1,
|
|
2869
|
+
maximum: 1000,
|
|
2870
|
+
default: 500,
|
|
2871
|
+
},
|
|
2872
|
+
cursor: {
|
|
2873
|
+
type: 'string',
|
|
2874
|
+
},
|
|
2875
|
+
},
|
|
2876
|
+
},
|
|
2877
|
+
output: {
|
|
2878
|
+
encoding: 'application/json',
|
|
2879
|
+
schema: {
|
|
2880
|
+
type: 'object',
|
|
2881
|
+
required: ['blobs'],
|
|
2882
|
+
properties: {
|
|
2883
|
+
cursor: {
|
|
2884
|
+
type: 'string',
|
|
2885
|
+
},
|
|
2886
|
+
blobs: {
|
|
2887
|
+
type: 'array',
|
|
2888
|
+
items: {
|
|
2889
|
+
type: 'ref',
|
|
2890
|
+
ref: 'lex:com.atproto.repo.listMissingBlobs#recordBlob',
|
|
2891
|
+
},
|
|
2892
|
+
},
|
|
2893
|
+
},
|
|
2894
|
+
},
|
|
2895
|
+
},
|
|
2896
|
+
},
|
|
2897
|
+
recordBlob: {
|
|
2898
|
+
type: 'object',
|
|
2899
|
+
required: ['cid', 'recordUri'],
|
|
2900
|
+
properties: {
|
|
2901
|
+
cid: {
|
|
2902
|
+
type: 'string',
|
|
2903
|
+
format: 'cid',
|
|
2904
|
+
},
|
|
2905
|
+
recordUri: {
|
|
2906
|
+
type: 'string',
|
|
2907
|
+
format: 'at-uri',
|
|
2908
|
+
},
|
|
2909
|
+
},
|
|
2910
|
+
},
|
|
2911
|
+
},
|
|
2912
|
+
},
|
|
2713
2913
|
ComAtprotoRepoListRecords: {
|
|
2714
2914
|
lexicon: 1,
|
|
2715
2915
|
id: 'com.atproto.repo.listRecords',
|
|
@@ -2925,6 +3125,75 @@ export const schemaDict = {
|
|
|
2925
3125
|
},
|
|
2926
3126
|
},
|
|
2927
3127
|
},
|
|
3128
|
+
ComAtprotoServerActivateAccount: {
|
|
3129
|
+
lexicon: 1,
|
|
3130
|
+
id: 'com.atproto.server.activateAccount',
|
|
3131
|
+
defs: {
|
|
3132
|
+
main: {
|
|
3133
|
+
type: 'procedure',
|
|
3134
|
+
description:
|
|
3135
|
+
"Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup.",
|
|
3136
|
+
},
|
|
3137
|
+
},
|
|
3138
|
+
},
|
|
3139
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
3140
|
+
lexicon: 1,
|
|
3141
|
+
id: 'com.atproto.server.checkAccountStatus',
|
|
3142
|
+
defs: {
|
|
3143
|
+
main: {
|
|
3144
|
+
type: 'query',
|
|
3145
|
+
description:
|
|
3146
|
+
'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.',
|
|
3147
|
+
output: {
|
|
3148
|
+
encoding: 'application/json',
|
|
3149
|
+
schema: {
|
|
3150
|
+
type: 'object',
|
|
3151
|
+
required: [
|
|
3152
|
+
'activated',
|
|
3153
|
+
'validDid',
|
|
3154
|
+
'repoCommit',
|
|
3155
|
+
'repoRev',
|
|
3156
|
+
'repoBlocks',
|
|
3157
|
+
'indexedRecords',
|
|
3158
|
+
'privateStateValues',
|
|
3159
|
+
'expectedBlobs',
|
|
3160
|
+
'importedBlobs',
|
|
3161
|
+
],
|
|
3162
|
+
properties: {
|
|
3163
|
+
activated: {
|
|
3164
|
+
type: 'boolean',
|
|
3165
|
+
},
|
|
3166
|
+
validDid: {
|
|
3167
|
+
type: 'boolean',
|
|
3168
|
+
},
|
|
3169
|
+
repoCommit: {
|
|
3170
|
+
type: 'string',
|
|
3171
|
+
format: 'cid',
|
|
3172
|
+
},
|
|
3173
|
+
repoRev: {
|
|
3174
|
+
type: 'string',
|
|
3175
|
+
},
|
|
3176
|
+
repoBlocks: {
|
|
3177
|
+
type: 'integer',
|
|
3178
|
+
},
|
|
3179
|
+
indexedRecords: {
|
|
3180
|
+
type: 'integer',
|
|
3181
|
+
},
|
|
3182
|
+
privateStateValues: {
|
|
3183
|
+
type: 'integer',
|
|
3184
|
+
},
|
|
3185
|
+
expectedBlobs: {
|
|
3186
|
+
type: 'integer',
|
|
3187
|
+
},
|
|
3188
|
+
importedBlobs: {
|
|
3189
|
+
type: 'integer',
|
|
3190
|
+
},
|
|
3191
|
+
},
|
|
3192
|
+
},
|
|
3193
|
+
},
|
|
3194
|
+
},
|
|
3195
|
+
},
|
|
3196
|
+
},
|
|
2928
3197
|
ComAtprotoServerConfirmEmail: {
|
|
2929
3198
|
lexicon: 1,
|
|
2930
3199
|
id: 'com.atproto.server.confirmEmail',
|
|
@@ -3293,6 +3562,31 @@ export const schemaDict = {
|
|
|
3293
3562
|
},
|
|
3294
3563
|
},
|
|
3295
3564
|
},
|
|
3565
|
+
ComAtprotoServerDeactivateAccount: {
|
|
3566
|
+
lexicon: 1,
|
|
3567
|
+
id: 'com.atproto.server.deactivateAccount',
|
|
3568
|
+
defs: {
|
|
3569
|
+
main: {
|
|
3570
|
+
type: 'procedure',
|
|
3571
|
+
description:
|
|
3572
|
+
'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.',
|
|
3573
|
+
input: {
|
|
3574
|
+
encoding: 'application/json',
|
|
3575
|
+
schema: {
|
|
3576
|
+
type: 'object',
|
|
3577
|
+
properties: {
|
|
3578
|
+
deleteAfter: {
|
|
3579
|
+
type: 'string',
|
|
3580
|
+
format: 'datetime',
|
|
3581
|
+
description:
|
|
3582
|
+
'A recommendation to server as to how long they should hold onto the deactivated account before deleting.',
|
|
3583
|
+
},
|
|
3584
|
+
},
|
|
3585
|
+
},
|
|
3586
|
+
},
|
|
3587
|
+
},
|
|
3588
|
+
},
|
|
3589
|
+
},
|
|
3296
3590
|
ComAtprotoServerDefs: {
|
|
3297
3591
|
lexicon: 1,
|
|
3298
3592
|
id: 'com.atproto.server.defs',
|
|
@@ -3413,7 +3707,7 @@ export const schemaDict = {
|
|
|
3413
3707
|
encoding: 'application/json',
|
|
3414
3708
|
schema: {
|
|
3415
3709
|
type: 'object',
|
|
3416
|
-
required: ['availableUserDomains'],
|
|
3710
|
+
required: ['did', 'availableUserDomains'],
|
|
3417
3711
|
properties: {
|
|
3418
3712
|
inviteCodeRequired: {
|
|
3419
3713
|
type: 'boolean',
|
|
@@ -3438,6 +3732,10 @@ export const schemaDict = {
|
|
|
3438
3732
|
description: 'URLs of service policy documents.',
|
|
3439
3733
|
ref: 'lex:com.atproto.server.describeServer#links',
|
|
3440
3734
|
},
|
|
3735
|
+
did: {
|
|
3736
|
+
type: 'string',
|
|
3737
|
+
format: 'did',
|
|
3738
|
+
},
|
|
3441
3739
|
},
|
|
3442
3740
|
},
|
|
3443
3741
|
},
|
|
@@ -3502,6 +3800,41 @@ export const schemaDict = {
|
|
|
3502
3800
|
},
|
|
3503
3801
|
},
|
|
3504
3802
|
},
|
|
3803
|
+
ComAtprotoServerGetServiceAuth: {
|
|
3804
|
+
lexicon: 1,
|
|
3805
|
+
id: 'com.atproto.server.getServiceAuth',
|
|
3806
|
+
defs: {
|
|
3807
|
+
main: {
|
|
3808
|
+
type: 'query',
|
|
3809
|
+
description:
|
|
3810
|
+
'Get a signed token on behalf of the requesting DID for the requested service.',
|
|
3811
|
+
parameters: {
|
|
3812
|
+
type: 'params',
|
|
3813
|
+
required: ['aud'],
|
|
3814
|
+
properties: {
|
|
3815
|
+
aud: {
|
|
3816
|
+
type: 'string',
|
|
3817
|
+
format: 'did',
|
|
3818
|
+
description:
|
|
3819
|
+
'The DID of the service that the token will be used to authenticate with',
|
|
3820
|
+
},
|
|
3821
|
+
},
|
|
3822
|
+
},
|
|
3823
|
+
output: {
|
|
3824
|
+
encoding: 'application/json',
|
|
3825
|
+
schema: {
|
|
3826
|
+
type: 'object',
|
|
3827
|
+
required: ['token'],
|
|
3828
|
+
properties: {
|
|
3829
|
+
token: {
|
|
3830
|
+
type: 'string',
|
|
3831
|
+
},
|
|
3832
|
+
},
|
|
3833
|
+
},
|
|
3834
|
+
},
|
|
3835
|
+
},
|
|
3836
|
+
},
|
|
3837
|
+
},
|
|
3505
3838
|
ComAtprotoServerGetSession: {
|
|
3506
3839
|
lexicon: 1,
|
|
3507
3840
|
id: 'com.atproto.server.getSession',
|
|
@@ -4246,6 +4579,7 @@ export const schemaDict = {
|
|
|
4246
4579
|
type: 'union',
|
|
4247
4580
|
refs: [
|
|
4248
4581
|
'lex:com.atproto.sync.subscribeRepos#commit',
|
|
4582
|
+
'lex:com.atproto.sync.subscribeRepos#identity',
|
|
4249
4583
|
'lex:com.atproto.sync.subscribeRepos#handle',
|
|
4250
4584
|
'lex:com.atproto.sync.subscribeRepos#migrate',
|
|
4251
4585
|
'lex:com.atproto.sync.subscribeRepos#tombstone',
|
|
@@ -4352,10 +4686,29 @@ export const schemaDict = {
|
|
|
4352
4686
|
},
|
|
4353
4687
|
},
|
|
4354
4688
|
},
|
|
4689
|
+
identity: {
|
|
4690
|
+
type: 'object',
|
|
4691
|
+
description:
|
|
4692
|
+
"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.",
|
|
4693
|
+
required: ['seq', 'did', 'time'],
|
|
4694
|
+
properties: {
|
|
4695
|
+
seq: {
|
|
4696
|
+
type: 'integer',
|
|
4697
|
+
},
|
|
4698
|
+
did: {
|
|
4699
|
+
type: 'string',
|
|
4700
|
+
format: 'did',
|
|
4701
|
+
},
|
|
4702
|
+
time: {
|
|
4703
|
+
type: 'string',
|
|
4704
|
+
format: 'datetime',
|
|
4705
|
+
},
|
|
4706
|
+
},
|
|
4707
|
+
},
|
|
4355
4708
|
handle: {
|
|
4356
4709
|
type: 'object',
|
|
4357
4710
|
description:
|
|
4358
|
-
"Represents an update of the account's handle, or transition to/from invalid state.",
|
|
4711
|
+
"Represents an update of the account's handle, or transition to/from invalid state. NOTE: Will be deprecated in favor of #identity.",
|
|
4359
4712
|
required: ['seq', 'did', 'handle', 'time'],
|
|
4360
4713
|
properties: {
|
|
4361
4714
|
seq: {
|
|
@@ -4378,7 +4731,7 @@ export const schemaDict = {
|
|
|
4378
4731
|
migrate: {
|
|
4379
4732
|
type: 'object',
|
|
4380
4733
|
description:
|
|
4381
|
-
'Represents an account moving from one PDS instance to another. NOTE: not implemented;
|
|
4734
|
+
'Represents an account moving from one PDS instance to another. NOTE: not implemented; account migration uses #identity instead',
|
|
4382
4735
|
required: ['seq', 'did', 'migrateTo', 'time'],
|
|
4383
4736
|
nullable: ['migrateTo'],
|
|
4384
4737
|
properties: {
|
|
@@ -4400,7 +4753,8 @@ export const schemaDict = {
|
|
|
4400
4753
|
},
|
|
4401
4754
|
tombstone: {
|
|
4402
4755
|
type: 'object',
|
|
4403
|
-
description:
|
|
4756
|
+
description:
|
|
4757
|
+
'Indicates that an account has been deleted. NOTE: may be deprecated in favor of #identity or a future #account event',
|
|
4404
4758
|
required: ['seq', 'did', 'time'],
|
|
4405
4759
|
properties: {
|
|
4406
4760
|
seq: {
|
|
@@ -4520,59 +4874,6 @@ export const schemaDict = {
|
|
|
4520
4874
|
},
|
|
4521
4875
|
},
|
|
4522
4876
|
},
|
|
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
4877
|
ComAtprotoTempRequestPhoneVerification: {
|
|
4577
4878
|
lexicon: 1,
|
|
4578
4879
|
id: 'com.atproto.temp.requestPhoneVerification',
|
|
@@ -4596,83 +4897,6 @@ export const schemaDict = {
|
|
|
4596
4897
|
},
|
|
4597
4898
|
},
|
|
4598
4899
|
},
|
|
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
4900
|
AppBskyActorDefs: {
|
|
4677
4901
|
lexicon: 1,
|
|
4678
4902
|
id: 'app.bsky.actor.defs',
|
|
@@ -4974,6 +5198,62 @@ export const schemaDict = {
|
|
|
4974
5198
|
},
|
|
4975
5199
|
},
|
|
4976
5200
|
},
|
|
5201
|
+
mutedWordTarget: {
|
|
5202
|
+
type: 'string',
|
|
5203
|
+
knownValues: ['content', 'tag'],
|
|
5204
|
+
maxLength: 640,
|
|
5205
|
+
maxGraphemes: 64,
|
|
5206
|
+
},
|
|
5207
|
+
mutedWord: {
|
|
5208
|
+
type: 'object',
|
|
5209
|
+
description: 'A word that the account owner has muted.',
|
|
5210
|
+
required: ['value', 'targets'],
|
|
5211
|
+
properties: {
|
|
5212
|
+
value: {
|
|
5213
|
+
type: 'string',
|
|
5214
|
+
description: 'The muted word itself.',
|
|
5215
|
+
maxLength: 10000,
|
|
5216
|
+
maxGraphemes: 1000,
|
|
5217
|
+
},
|
|
5218
|
+
targets: {
|
|
5219
|
+
type: 'array',
|
|
5220
|
+
description: 'The intended targets of the muted word.',
|
|
5221
|
+
items: {
|
|
5222
|
+
type: 'ref',
|
|
5223
|
+
ref: 'lex:app.bsky.actor.defs#mutedWordTarget',
|
|
5224
|
+
},
|
|
5225
|
+
},
|
|
5226
|
+
},
|
|
5227
|
+
},
|
|
5228
|
+
mutedWordsPref: {
|
|
5229
|
+
type: 'object',
|
|
5230
|
+
required: ['items'],
|
|
5231
|
+
properties: {
|
|
5232
|
+
items: {
|
|
5233
|
+
type: 'array',
|
|
5234
|
+
items: {
|
|
5235
|
+
type: 'ref',
|
|
5236
|
+
ref: 'lex:app.bsky.actor.defs#mutedWord',
|
|
5237
|
+
},
|
|
5238
|
+
description: 'A list of words the account owner has muted.',
|
|
5239
|
+
},
|
|
5240
|
+
},
|
|
5241
|
+
},
|
|
5242
|
+
hiddenPostsPref: {
|
|
5243
|
+
type: 'object',
|
|
5244
|
+
required: ['items'],
|
|
5245
|
+
properties: {
|
|
5246
|
+
items: {
|
|
5247
|
+
type: 'array',
|
|
5248
|
+
items: {
|
|
5249
|
+
type: 'string',
|
|
5250
|
+
format: 'at-uri',
|
|
5251
|
+
},
|
|
5252
|
+
description:
|
|
5253
|
+
'A list of URIs of posts the account owner has hidden.',
|
|
5254
|
+
},
|
|
5255
|
+
},
|
|
5256
|
+
},
|
|
4977
5257
|
},
|
|
4978
5258
|
},
|
|
4979
5259
|
AppBskyActorGetPreferences: {
|
|
@@ -6884,7 +7164,8 @@ export const schemaDict = {
|
|
|
6884
7164
|
},
|
|
6885
7165
|
tags: {
|
|
6886
7166
|
type: 'array',
|
|
6887
|
-
description:
|
|
7167
|
+
description:
|
|
7168
|
+
'Additional hashtags, in addition to any included in post text and facets.',
|
|
6888
7169
|
maxLength: 8,
|
|
6889
7170
|
items: {
|
|
6890
7171
|
type: 'string',
|
|
@@ -8582,7 +8863,14 @@ export const ids = {
|
|
|
8582
8863
|
ComAtprotoAdminUpdateCommunicationTemplate:
|
|
8583
8864
|
'com.atproto.admin.updateCommunicationTemplate',
|
|
8584
8865
|
ComAtprotoAdminUpdateSubjectStatus: 'com.atproto.admin.updateSubjectStatus',
|
|
8866
|
+
ComAtprotoIdentityGetRecommendedDidCredentials:
|
|
8867
|
+
'com.atproto.identity.getRecommendedDidCredentials',
|
|
8868
|
+
ComAtprotoIdentityRequestPlcOperationSignature:
|
|
8869
|
+
'com.atproto.identity.requestPlcOperationSignature',
|
|
8585
8870
|
ComAtprotoIdentityResolveHandle: 'com.atproto.identity.resolveHandle',
|
|
8871
|
+
ComAtprotoIdentitySignPlcOperation: 'com.atproto.identity.signPlcOperation',
|
|
8872
|
+
ComAtprotoIdentitySubmitPlcOperation:
|
|
8873
|
+
'com.atproto.identity.submitPlcOperation',
|
|
8586
8874
|
ComAtprotoIdentityUpdateHandle: 'com.atproto.identity.updateHandle',
|
|
8587
8875
|
ComAtprotoLabelDefs: 'com.atproto.label.defs',
|
|
8588
8876
|
ComAtprotoLabelQueryLabels: 'com.atproto.label.queryLabels',
|
|
@@ -8594,22 +8882,28 @@ export const ids = {
|
|
|
8594
8882
|
ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',
|
|
8595
8883
|
ComAtprotoRepoDescribeRepo: 'com.atproto.repo.describeRepo',
|
|
8596
8884
|
ComAtprotoRepoGetRecord: 'com.atproto.repo.getRecord',
|
|
8885
|
+
ComAtprotoRepoImportRepo: 'com.atproto.repo.importRepo',
|
|
8886
|
+
ComAtprotoRepoListMissingBlobs: 'com.atproto.repo.listMissingBlobs',
|
|
8597
8887
|
ComAtprotoRepoListRecords: 'com.atproto.repo.listRecords',
|
|
8598
8888
|
ComAtprotoRepoPutRecord: 'com.atproto.repo.putRecord',
|
|
8599
8889
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
8600
8890
|
ComAtprotoRepoUploadBlob: 'com.atproto.repo.uploadBlob',
|
|
8891
|
+
ComAtprotoServerActivateAccount: 'com.atproto.server.activateAccount',
|
|
8892
|
+
ComAtprotoServerCheckAccountStatus: 'com.atproto.server.checkAccountStatus',
|
|
8601
8893
|
ComAtprotoServerConfirmEmail: 'com.atproto.server.confirmEmail',
|
|
8602
8894
|
ComAtprotoServerCreateAccount: 'com.atproto.server.createAccount',
|
|
8603
8895
|
ComAtprotoServerCreateAppPassword: 'com.atproto.server.createAppPassword',
|
|
8604
8896
|
ComAtprotoServerCreateInviteCode: 'com.atproto.server.createInviteCode',
|
|
8605
8897
|
ComAtprotoServerCreateInviteCodes: 'com.atproto.server.createInviteCodes',
|
|
8606
8898
|
ComAtprotoServerCreateSession: 'com.atproto.server.createSession',
|
|
8899
|
+
ComAtprotoServerDeactivateAccount: 'com.atproto.server.deactivateAccount',
|
|
8607
8900
|
ComAtprotoServerDefs: 'com.atproto.server.defs',
|
|
8608
8901
|
ComAtprotoServerDeleteAccount: 'com.atproto.server.deleteAccount',
|
|
8609
8902
|
ComAtprotoServerDeleteSession: 'com.atproto.server.deleteSession',
|
|
8610
8903
|
ComAtprotoServerDescribeServer: 'com.atproto.server.describeServer',
|
|
8611
8904
|
ComAtprotoServerGetAccountInviteCodes:
|
|
8612
8905
|
'com.atproto.server.getAccountInviteCodes',
|
|
8906
|
+
ComAtprotoServerGetServiceAuth: 'com.atproto.server.getServiceAuth',
|
|
8613
8907
|
ComAtprotoServerGetSession: 'com.atproto.server.getSession',
|
|
8614
8908
|
ComAtprotoServerListAppPasswords: 'com.atproto.server.listAppPasswords',
|
|
8615
8909
|
ComAtprotoServerRefreshSession: 'com.atproto.server.refreshSession',
|
|
@@ -8638,11 +8932,8 @@ export const ids = {
|
|
|
8638
8932
|
ComAtprotoSyncSubscribeRepos: 'com.atproto.sync.subscribeRepos',
|
|
8639
8933
|
ComAtprotoTempCheckSignupQueue: 'com.atproto.temp.checkSignupQueue',
|
|
8640
8934
|
ComAtprotoTempFetchLabels: 'com.atproto.temp.fetchLabels',
|
|
8641
|
-
ComAtprotoTempImportRepo: 'com.atproto.temp.importRepo',
|
|
8642
|
-
ComAtprotoTempPushBlob: 'com.atproto.temp.pushBlob',
|
|
8643
8935
|
ComAtprotoTempRequestPhoneVerification:
|
|
8644
8936
|
'com.atproto.temp.requestPhoneVerification',
|
|
8645
|
-
ComAtprotoTempTransferAccount: 'com.atproto.temp.transferAccount',
|
|
8646
8937
|
AppBskyActorDefs: 'app.bsky.actor.defs',
|
|
8647
8938
|
AppBskyActorGetPreferences: 'app.bsky.actor.getPreferences',
|
|
8648
8939
|
AppBskyActorGetProfile: 'app.bsky.actor.getProfile',
|