@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
|
@@ -1789,6 +1789,53 @@ export declare const schemaDict: {
|
|
|
1789
1789
|
};
|
|
1790
1790
|
};
|
|
1791
1791
|
};
|
|
1792
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
1793
|
+
lexicon: number;
|
|
1794
|
+
id: string;
|
|
1795
|
+
defs: {
|
|
1796
|
+
main: {
|
|
1797
|
+
type: string;
|
|
1798
|
+
description: string;
|
|
1799
|
+
output: {
|
|
1800
|
+
encoding: string;
|
|
1801
|
+
schema: {
|
|
1802
|
+
type: string;
|
|
1803
|
+
properties: {
|
|
1804
|
+
rotationKeys: {
|
|
1805
|
+
description: string;
|
|
1806
|
+
type: string;
|
|
1807
|
+
items: {
|
|
1808
|
+
type: string;
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
alsoKnownAs: {
|
|
1812
|
+
type: string;
|
|
1813
|
+
items: {
|
|
1814
|
+
type: string;
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
verificationMethods: {
|
|
1818
|
+
type: string;
|
|
1819
|
+
};
|
|
1820
|
+
services: {
|
|
1821
|
+
type: string;
|
|
1822
|
+
};
|
|
1823
|
+
};
|
|
1824
|
+
};
|
|
1825
|
+
};
|
|
1826
|
+
};
|
|
1827
|
+
};
|
|
1828
|
+
};
|
|
1829
|
+
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
1830
|
+
lexicon: number;
|
|
1831
|
+
id: string;
|
|
1832
|
+
defs: {
|
|
1833
|
+
main: {
|
|
1834
|
+
type: string;
|
|
1835
|
+
description: string;
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1792
1839
|
ComAtprotoIdentityResolveHandle: {
|
|
1793
1840
|
lexicon: number;
|
|
1794
1841
|
id: string;
|
|
@@ -1823,6 +1870,81 @@ export declare const schemaDict: {
|
|
|
1823
1870
|
};
|
|
1824
1871
|
};
|
|
1825
1872
|
};
|
|
1873
|
+
ComAtprotoIdentitySignPlcOperation: {
|
|
1874
|
+
lexicon: number;
|
|
1875
|
+
id: string;
|
|
1876
|
+
defs: {
|
|
1877
|
+
main: {
|
|
1878
|
+
type: string;
|
|
1879
|
+
description: string;
|
|
1880
|
+
input: {
|
|
1881
|
+
encoding: string;
|
|
1882
|
+
schema: {
|
|
1883
|
+
type: string;
|
|
1884
|
+
properties: {
|
|
1885
|
+
token: {
|
|
1886
|
+
description: string;
|
|
1887
|
+
type: string;
|
|
1888
|
+
};
|
|
1889
|
+
rotationKeys: {
|
|
1890
|
+
type: string;
|
|
1891
|
+
items: {
|
|
1892
|
+
type: string;
|
|
1893
|
+
};
|
|
1894
|
+
};
|
|
1895
|
+
alsoKnownAs: {
|
|
1896
|
+
type: string;
|
|
1897
|
+
items: {
|
|
1898
|
+
type: string;
|
|
1899
|
+
};
|
|
1900
|
+
};
|
|
1901
|
+
verificationMethods: {
|
|
1902
|
+
type: string;
|
|
1903
|
+
};
|
|
1904
|
+
services: {
|
|
1905
|
+
type: string;
|
|
1906
|
+
};
|
|
1907
|
+
};
|
|
1908
|
+
};
|
|
1909
|
+
};
|
|
1910
|
+
output: {
|
|
1911
|
+
encoding: string;
|
|
1912
|
+
schema: {
|
|
1913
|
+
type: string;
|
|
1914
|
+
required: string[];
|
|
1915
|
+
properties: {
|
|
1916
|
+
operation: {
|
|
1917
|
+
type: string;
|
|
1918
|
+
description: string;
|
|
1919
|
+
};
|
|
1920
|
+
};
|
|
1921
|
+
};
|
|
1922
|
+
};
|
|
1923
|
+
};
|
|
1924
|
+
};
|
|
1925
|
+
};
|
|
1926
|
+
ComAtprotoIdentitySubmitPlcOperation: {
|
|
1927
|
+
lexicon: number;
|
|
1928
|
+
id: string;
|
|
1929
|
+
defs: {
|
|
1930
|
+
main: {
|
|
1931
|
+
type: string;
|
|
1932
|
+
description: string;
|
|
1933
|
+
input: {
|
|
1934
|
+
encoding: string;
|
|
1935
|
+
schema: {
|
|
1936
|
+
type: string;
|
|
1937
|
+
required: string[];
|
|
1938
|
+
properties: {
|
|
1939
|
+
operation: {
|
|
1940
|
+
type: string;
|
|
1941
|
+
};
|
|
1942
|
+
};
|
|
1943
|
+
};
|
|
1944
|
+
};
|
|
1945
|
+
};
|
|
1946
|
+
};
|
|
1947
|
+
};
|
|
1826
1948
|
ComAtprotoIdentityUpdateHandle: {
|
|
1827
1949
|
lexicon: number;
|
|
1828
1950
|
id: string;
|
|
@@ -2454,6 +2576,76 @@ export declare const schemaDict: {
|
|
|
2454
2576
|
};
|
|
2455
2577
|
};
|
|
2456
2578
|
};
|
|
2579
|
+
ComAtprotoRepoImportRepo: {
|
|
2580
|
+
lexicon: number;
|
|
2581
|
+
id: string;
|
|
2582
|
+
defs: {
|
|
2583
|
+
main: {
|
|
2584
|
+
type: string;
|
|
2585
|
+
description: string;
|
|
2586
|
+
input: {
|
|
2587
|
+
encoding: string;
|
|
2588
|
+
};
|
|
2589
|
+
};
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
ComAtprotoRepoListMissingBlobs: {
|
|
2593
|
+
lexicon: number;
|
|
2594
|
+
id: string;
|
|
2595
|
+
defs: {
|
|
2596
|
+
main: {
|
|
2597
|
+
type: string;
|
|
2598
|
+
description: string;
|
|
2599
|
+
parameters: {
|
|
2600
|
+
type: string;
|
|
2601
|
+
properties: {
|
|
2602
|
+
limit: {
|
|
2603
|
+
type: string;
|
|
2604
|
+
minimum: number;
|
|
2605
|
+
maximum: number;
|
|
2606
|
+
default: number;
|
|
2607
|
+
};
|
|
2608
|
+
cursor: {
|
|
2609
|
+
type: string;
|
|
2610
|
+
};
|
|
2611
|
+
};
|
|
2612
|
+
};
|
|
2613
|
+
output: {
|
|
2614
|
+
encoding: string;
|
|
2615
|
+
schema: {
|
|
2616
|
+
type: string;
|
|
2617
|
+
required: string[];
|
|
2618
|
+
properties: {
|
|
2619
|
+
cursor: {
|
|
2620
|
+
type: string;
|
|
2621
|
+
};
|
|
2622
|
+
blobs: {
|
|
2623
|
+
type: string;
|
|
2624
|
+
items: {
|
|
2625
|
+
type: string;
|
|
2626
|
+
ref: string;
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2629
|
+
};
|
|
2630
|
+
};
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
recordBlob: {
|
|
2634
|
+
type: string;
|
|
2635
|
+
required: string[];
|
|
2636
|
+
properties: {
|
|
2637
|
+
cid: {
|
|
2638
|
+
type: string;
|
|
2639
|
+
format: string;
|
|
2640
|
+
};
|
|
2641
|
+
recordUri: {
|
|
2642
|
+
type: string;
|
|
2643
|
+
format: string;
|
|
2644
|
+
};
|
|
2645
|
+
};
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
};
|
|
2457
2649
|
ComAtprotoRepoListRecords: {
|
|
2458
2650
|
lexicon: number;
|
|
2459
2651
|
id: string;
|
|
@@ -2658,6 +2850,63 @@ export declare const schemaDict: {
|
|
|
2658
2850
|
};
|
|
2659
2851
|
};
|
|
2660
2852
|
};
|
|
2853
|
+
ComAtprotoServerActivateAccount: {
|
|
2854
|
+
lexicon: number;
|
|
2855
|
+
id: string;
|
|
2856
|
+
defs: {
|
|
2857
|
+
main: {
|
|
2858
|
+
type: string;
|
|
2859
|
+
description: string;
|
|
2860
|
+
};
|
|
2861
|
+
};
|
|
2862
|
+
};
|
|
2863
|
+
ComAtprotoServerCheckAccountStatus: {
|
|
2864
|
+
lexicon: number;
|
|
2865
|
+
id: string;
|
|
2866
|
+
defs: {
|
|
2867
|
+
main: {
|
|
2868
|
+
type: string;
|
|
2869
|
+
description: string;
|
|
2870
|
+
output: {
|
|
2871
|
+
encoding: string;
|
|
2872
|
+
schema: {
|
|
2873
|
+
type: string;
|
|
2874
|
+
required: string[];
|
|
2875
|
+
properties: {
|
|
2876
|
+
activated: {
|
|
2877
|
+
type: string;
|
|
2878
|
+
};
|
|
2879
|
+
validDid: {
|
|
2880
|
+
type: string;
|
|
2881
|
+
};
|
|
2882
|
+
repoCommit: {
|
|
2883
|
+
type: string;
|
|
2884
|
+
format: string;
|
|
2885
|
+
};
|
|
2886
|
+
repoRev: {
|
|
2887
|
+
type: string;
|
|
2888
|
+
};
|
|
2889
|
+
repoBlocks: {
|
|
2890
|
+
type: string;
|
|
2891
|
+
};
|
|
2892
|
+
indexedRecords: {
|
|
2893
|
+
type: string;
|
|
2894
|
+
};
|
|
2895
|
+
privateStateValues: {
|
|
2896
|
+
type: string;
|
|
2897
|
+
};
|
|
2898
|
+
expectedBlobs: {
|
|
2899
|
+
type: string;
|
|
2900
|
+
};
|
|
2901
|
+
importedBlobs: {
|
|
2902
|
+
type: string;
|
|
2903
|
+
};
|
|
2904
|
+
};
|
|
2905
|
+
};
|
|
2906
|
+
};
|
|
2907
|
+
};
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2661
2910
|
ComAtprotoServerConfirmEmail: {
|
|
2662
2911
|
lexicon: number;
|
|
2663
2912
|
id: string;
|
|
@@ -2983,6 +3232,29 @@ export declare const schemaDict: {
|
|
|
2983
3232
|
};
|
|
2984
3233
|
};
|
|
2985
3234
|
};
|
|
3235
|
+
ComAtprotoServerDeactivateAccount: {
|
|
3236
|
+
lexicon: number;
|
|
3237
|
+
id: string;
|
|
3238
|
+
defs: {
|
|
3239
|
+
main: {
|
|
3240
|
+
type: string;
|
|
3241
|
+
description: string;
|
|
3242
|
+
input: {
|
|
3243
|
+
encoding: string;
|
|
3244
|
+
schema: {
|
|
3245
|
+
type: string;
|
|
3246
|
+
properties: {
|
|
3247
|
+
deleteAfter: {
|
|
3248
|
+
type: string;
|
|
3249
|
+
format: string;
|
|
3250
|
+
description: string;
|
|
3251
|
+
};
|
|
3252
|
+
};
|
|
3253
|
+
};
|
|
3254
|
+
};
|
|
3255
|
+
};
|
|
3256
|
+
};
|
|
3257
|
+
};
|
|
2986
3258
|
ComAtprotoServerDefs: {
|
|
2987
3259
|
lexicon: number;
|
|
2988
3260
|
id: string;
|
|
@@ -3110,6 +3382,10 @@ export declare const schemaDict: {
|
|
|
3110
3382
|
description: string;
|
|
3111
3383
|
ref: string;
|
|
3112
3384
|
};
|
|
3385
|
+
did: {
|
|
3386
|
+
type: string;
|
|
3387
|
+
format: string;
|
|
3388
|
+
};
|
|
3113
3389
|
};
|
|
3114
3390
|
};
|
|
3115
3391
|
};
|
|
@@ -3170,6 +3446,39 @@ export declare const schemaDict: {
|
|
|
3170
3446
|
};
|
|
3171
3447
|
};
|
|
3172
3448
|
};
|
|
3449
|
+
ComAtprotoServerGetServiceAuth: {
|
|
3450
|
+
lexicon: number;
|
|
3451
|
+
id: string;
|
|
3452
|
+
defs: {
|
|
3453
|
+
main: {
|
|
3454
|
+
type: string;
|
|
3455
|
+
description: string;
|
|
3456
|
+
parameters: {
|
|
3457
|
+
type: string;
|
|
3458
|
+
required: string[];
|
|
3459
|
+
properties: {
|
|
3460
|
+
aud: {
|
|
3461
|
+
type: string;
|
|
3462
|
+
format: string;
|
|
3463
|
+
description: string;
|
|
3464
|
+
};
|
|
3465
|
+
};
|
|
3466
|
+
};
|
|
3467
|
+
output: {
|
|
3468
|
+
encoding: string;
|
|
3469
|
+
schema: {
|
|
3470
|
+
type: string;
|
|
3471
|
+
required: string[];
|
|
3472
|
+
properties: {
|
|
3473
|
+
token: {
|
|
3474
|
+
type: string;
|
|
3475
|
+
};
|
|
3476
|
+
};
|
|
3477
|
+
};
|
|
3478
|
+
};
|
|
3479
|
+
};
|
|
3480
|
+
};
|
|
3481
|
+
};
|
|
3173
3482
|
ComAtprotoServerGetSession: {
|
|
3174
3483
|
lexicon: number;
|
|
3175
3484
|
id: string;
|
|
@@ -3949,6 +4258,24 @@ export declare const schemaDict: {
|
|
|
3949
4258
|
};
|
|
3950
4259
|
};
|
|
3951
4260
|
};
|
|
4261
|
+
identity: {
|
|
4262
|
+
type: string;
|
|
4263
|
+
description: string;
|
|
4264
|
+
required: string[];
|
|
4265
|
+
properties: {
|
|
4266
|
+
seq: {
|
|
4267
|
+
type: string;
|
|
4268
|
+
};
|
|
4269
|
+
did: {
|
|
4270
|
+
type: string;
|
|
4271
|
+
format: string;
|
|
4272
|
+
};
|
|
4273
|
+
time: {
|
|
4274
|
+
type: string;
|
|
4275
|
+
format: string;
|
|
4276
|
+
};
|
|
4277
|
+
};
|
|
4278
|
+
};
|
|
3952
4279
|
handle: {
|
|
3953
4280
|
type: string;
|
|
3954
4281
|
description: string;
|
|
@@ -4113,57 +4440,6 @@ export declare const schemaDict: {
|
|
|
4113
4440
|
};
|
|
4114
4441
|
};
|
|
4115
4442
|
};
|
|
4116
|
-
ComAtprotoTempImportRepo: {
|
|
4117
|
-
lexicon: number;
|
|
4118
|
-
id: string;
|
|
4119
|
-
defs: {
|
|
4120
|
-
main: {
|
|
4121
|
-
type: string;
|
|
4122
|
-
description: string;
|
|
4123
|
-
parameters: {
|
|
4124
|
-
type: string;
|
|
4125
|
-
required: string[];
|
|
4126
|
-
properties: {
|
|
4127
|
-
did: {
|
|
4128
|
-
type: string;
|
|
4129
|
-
format: string;
|
|
4130
|
-
description: string;
|
|
4131
|
-
};
|
|
4132
|
-
};
|
|
4133
|
-
};
|
|
4134
|
-
input: {
|
|
4135
|
-
encoding: string;
|
|
4136
|
-
};
|
|
4137
|
-
output: {
|
|
4138
|
-
encoding: string;
|
|
4139
|
-
};
|
|
4140
|
-
};
|
|
4141
|
-
};
|
|
4142
|
-
};
|
|
4143
|
-
ComAtprotoTempPushBlob: {
|
|
4144
|
-
lexicon: number;
|
|
4145
|
-
id: string;
|
|
4146
|
-
defs: {
|
|
4147
|
-
main: {
|
|
4148
|
-
type: string;
|
|
4149
|
-
description: string;
|
|
4150
|
-
parameters: {
|
|
4151
|
-
type: string;
|
|
4152
|
-
required: string[];
|
|
4153
|
-
properties: {
|
|
4154
|
-
did: {
|
|
4155
|
-
type: string;
|
|
4156
|
-
format: string;
|
|
4157
|
-
description: string;
|
|
4158
|
-
};
|
|
4159
|
-
};
|
|
4160
|
-
};
|
|
4161
|
-
input: {
|
|
4162
|
-
encoding: string;
|
|
4163
|
-
};
|
|
4164
|
-
};
|
|
4165
|
-
};
|
|
4166
|
-
};
|
|
4167
4443
|
ComAtprotoTempRequestPhoneVerification: {
|
|
4168
4444
|
lexicon: number;
|
|
4169
4445
|
id: string;
|
|
@@ -4186,62 +4462,6 @@ export declare const schemaDict: {
|
|
|
4186
4462
|
};
|
|
4187
4463
|
};
|
|
4188
4464
|
};
|
|
4189
|
-
ComAtprotoTempTransferAccount: {
|
|
4190
|
-
lexicon: number;
|
|
4191
|
-
id: string;
|
|
4192
|
-
defs: {
|
|
4193
|
-
main: {
|
|
4194
|
-
type: string;
|
|
4195
|
-
description: string;
|
|
4196
|
-
input: {
|
|
4197
|
-
encoding: string;
|
|
4198
|
-
schema: {
|
|
4199
|
-
type: string;
|
|
4200
|
-
required: string[];
|
|
4201
|
-
properties: {
|
|
4202
|
-
handle: {
|
|
4203
|
-
type: string;
|
|
4204
|
-
format: string;
|
|
4205
|
-
};
|
|
4206
|
-
did: {
|
|
4207
|
-
type: string;
|
|
4208
|
-
format: string;
|
|
4209
|
-
};
|
|
4210
|
-
plcOp: {
|
|
4211
|
-
type: string;
|
|
4212
|
-
};
|
|
4213
|
-
};
|
|
4214
|
-
};
|
|
4215
|
-
};
|
|
4216
|
-
output: {
|
|
4217
|
-
encoding: string;
|
|
4218
|
-
schema: {
|
|
4219
|
-
type: string;
|
|
4220
|
-
required: string[];
|
|
4221
|
-
properties: {
|
|
4222
|
-
accessJwt: {
|
|
4223
|
-
type: string;
|
|
4224
|
-
};
|
|
4225
|
-
refreshJwt: {
|
|
4226
|
-
type: string;
|
|
4227
|
-
};
|
|
4228
|
-
handle: {
|
|
4229
|
-
type: string;
|
|
4230
|
-
format: string;
|
|
4231
|
-
};
|
|
4232
|
-
did: {
|
|
4233
|
-
type: string;
|
|
4234
|
-
format: string;
|
|
4235
|
-
};
|
|
4236
|
-
};
|
|
4237
|
-
};
|
|
4238
|
-
};
|
|
4239
|
-
errors: {
|
|
4240
|
-
name: string;
|
|
4241
|
-
}[];
|
|
4242
|
-
};
|
|
4243
|
-
};
|
|
4244
|
-
};
|
|
4245
4465
|
AppBskyActorDefs: {
|
|
4246
4466
|
lexicon: number;
|
|
4247
4467
|
id: string;
|
|
@@ -4530,6 +4750,61 @@ export declare const schemaDict: {
|
|
|
4530
4750
|
};
|
|
4531
4751
|
};
|
|
4532
4752
|
};
|
|
4753
|
+
mutedWordTarget: {
|
|
4754
|
+
type: string;
|
|
4755
|
+
knownValues: string[];
|
|
4756
|
+
maxLength: number;
|
|
4757
|
+
maxGraphemes: number;
|
|
4758
|
+
};
|
|
4759
|
+
mutedWord: {
|
|
4760
|
+
type: string;
|
|
4761
|
+
description: string;
|
|
4762
|
+
required: string[];
|
|
4763
|
+
properties: {
|
|
4764
|
+
value: {
|
|
4765
|
+
type: string;
|
|
4766
|
+
description: string;
|
|
4767
|
+
maxLength: number;
|
|
4768
|
+
maxGraphemes: number;
|
|
4769
|
+
};
|
|
4770
|
+
targets: {
|
|
4771
|
+
type: string;
|
|
4772
|
+
description: string;
|
|
4773
|
+
items: {
|
|
4774
|
+
type: string;
|
|
4775
|
+
ref: string;
|
|
4776
|
+
};
|
|
4777
|
+
};
|
|
4778
|
+
};
|
|
4779
|
+
};
|
|
4780
|
+
mutedWordsPref: {
|
|
4781
|
+
type: string;
|
|
4782
|
+
required: string[];
|
|
4783
|
+
properties: {
|
|
4784
|
+
items: {
|
|
4785
|
+
type: string;
|
|
4786
|
+
items: {
|
|
4787
|
+
type: string;
|
|
4788
|
+
ref: string;
|
|
4789
|
+
};
|
|
4790
|
+
description: string;
|
|
4791
|
+
};
|
|
4792
|
+
};
|
|
4793
|
+
};
|
|
4794
|
+
hiddenPostsPref: {
|
|
4795
|
+
type: string;
|
|
4796
|
+
required: string[];
|
|
4797
|
+
properties: {
|
|
4798
|
+
items: {
|
|
4799
|
+
type: string;
|
|
4800
|
+
items: {
|
|
4801
|
+
type: string;
|
|
4802
|
+
format: string;
|
|
4803
|
+
};
|
|
4804
|
+
description: string;
|
|
4805
|
+
};
|
|
4806
|
+
};
|
|
4807
|
+
};
|
|
4533
4808
|
};
|
|
4534
4809
|
};
|
|
4535
4810
|
AppBskyActorGetPreferences: {
|
|
@@ -7932,7 +8207,11 @@ export declare const ids: {
|
|
|
7932
8207
|
ComAtprotoAdminUpdateAccountHandle: string;
|
|
7933
8208
|
ComAtprotoAdminUpdateCommunicationTemplate: string;
|
|
7934
8209
|
ComAtprotoAdminUpdateSubjectStatus: string;
|
|
8210
|
+
ComAtprotoIdentityGetRecommendedDidCredentials: string;
|
|
8211
|
+
ComAtprotoIdentityRequestPlcOperationSignature: string;
|
|
7935
8212
|
ComAtprotoIdentityResolveHandle: string;
|
|
8213
|
+
ComAtprotoIdentitySignPlcOperation: string;
|
|
8214
|
+
ComAtprotoIdentitySubmitPlcOperation: string;
|
|
7936
8215
|
ComAtprotoIdentityUpdateHandle: string;
|
|
7937
8216
|
ComAtprotoLabelDefs: string;
|
|
7938
8217
|
ComAtprotoLabelQueryLabels: string;
|
|
@@ -7944,21 +8223,27 @@ export declare const ids: {
|
|
|
7944
8223
|
ComAtprotoRepoDeleteRecord: string;
|
|
7945
8224
|
ComAtprotoRepoDescribeRepo: string;
|
|
7946
8225
|
ComAtprotoRepoGetRecord: string;
|
|
8226
|
+
ComAtprotoRepoImportRepo: string;
|
|
8227
|
+
ComAtprotoRepoListMissingBlobs: string;
|
|
7947
8228
|
ComAtprotoRepoListRecords: string;
|
|
7948
8229
|
ComAtprotoRepoPutRecord: string;
|
|
7949
8230
|
ComAtprotoRepoStrongRef: string;
|
|
7950
8231
|
ComAtprotoRepoUploadBlob: string;
|
|
8232
|
+
ComAtprotoServerActivateAccount: string;
|
|
8233
|
+
ComAtprotoServerCheckAccountStatus: string;
|
|
7951
8234
|
ComAtprotoServerConfirmEmail: string;
|
|
7952
8235
|
ComAtprotoServerCreateAccount: string;
|
|
7953
8236
|
ComAtprotoServerCreateAppPassword: string;
|
|
7954
8237
|
ComAtprotoServerCreateInviteCode: string;
|
|
7955
8238
|
ComAtprotoServerCreateInviteCodes: string;
|
|
7956
8239
|
ComAtprotoServerCreateSession: string;
|
|
8240
|
+
ComAtprotoServerDeactivateAccount: string;
|
|
7957
8241
|
ComAtprotoServerDefs: string;
|
|
7958
8242
|
ComAtprotoServerDeleteAccount: string;
|
|
7959
8243
|
ComAtprotoServerDeleteSession: string;
|
|
7960
8244
|
ComAtprotoServerDescribeServer: string;
|
|
7961
8245
|
ComAtprotoServerGetAccountInviteCodes: string;
|
|
8246
|
+
ComAtprotoServerGetServiceAuth: string;
|
|
7962
8247
|
ComAtprotoServerGetSession: string;
|
|
7963
8248
|
ComAtprotoServerListAppPasswords: string;
|
|
7964
8249
|
ComAtprotoServerRefreshSession: string;
|
|
@@ -7984,10 +8269,7 @@ export declare const ids: {
|
|
|
7984
8269
|
ComAtprotoSyncSubscribeRepos: string;
|
|
7985
8270
|
ComAtprotoTempCheckSignupQueue: string;
|
|
7986
8271
|
ComAtprotoTempFetchLabels: string;
|
|
7987
|
-
ComAtprotoTempImportRepo: string;
|
|
7988
|
-
ComAtprotoTempPushBlob: string;
|
|
7989
8272
|
ComAtprotoTempRequestPhoneVerification: string;
|
|
7990
|
-
ComAtprotoTempTransferAccount: string;
|
|
7991
8273
|
AppBskyActorDefs: string;
|
|
7992
8274
|
AppBskyActorGetPreferences: string;
|
|
7993
8275
|
AppBskyActorGetProfile: string;
|
|
@@ -109,3 +109,23 @@ export interface InterestsPref {
|
|
|
109
109
|
}
|
|
110
110
|
export declare function isInterestsPref(v: unknown): v is InterestsPref;
|
|
111
111
|
export declare function validateInterestsPref(v: unknown): ValidationResult;
|
|
112
|
+
export type MutedWordTarget = 'content' | 'tag' | (string & {});
|
|
113
|
+
export interface MutedWord {
|
|
114
|
+
value: string;
|
|
115
|
+
targets: MutedWordTarget[];
|
|
116
|
+
[k: string]: unknown;
|
|
117
|
+
}
|
|
118
|
+
export declare function isMutedWord(v: unknown): v is MutedWord;
|
|
119
|
+
export declare function validateMutedWord(v: unknown): ValidationResult;
|
|
120
|
+
export interface MutedWordsPref {
|
|
121
|
+
items: MutedWord[];
|
|
122
|
+
[k: string]: unknown;
|
|
123
|
+
}
|
|
124
|
+
export declare function isMutedWordsPref(v: unknown): v is MutedWordsPref;
|
|
125
|
+
export declare function validateMutedWordsPref(v: unknown): ValidationResult;
|
|
126
|
+
export interface HiddenPostsPref {
|
|
127
|
+
items: string[];
|
|
128
|
+
[k: string]: unknown;
|
|
129
|
+
}
|
|
130
|
+
export declare function isHiddenPostsPref(v: unknown): v is HiddenPostsPref;
|
|
131
|
+
export declare function validateHiddenPostsPref(v: unknown): ValidationResult;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import express from 'express';
|
|
2
|
+
import { HandlerAuth, HandlerPipeThrough } from '@atproto/xrpc-server';
|
|
3
|
+
export interface QueryParams {
|
|
4
|
+
}
|
|
5
|
+
export type InputSchema = undefined;
|
|
6
|
+
export interface OutputSchema {
|
|
7
|
+
rotationKeys?: string[];
|
|
8
|
+
alsoKnownAs?: string[];
|
|
9
|
+
verificationMethods?: {};
|
|
10
|
+
services?: {};
|
|
11
|
+
[k: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
export type HandlerInput = undefined;
|
|
14
|
+
export interface HandlerSuccess {
|
|
15
|
+
encoding: 'application/json';
|
|
16
|
+
body: OutputSchema;
|
|
17
|
+
headers?: {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export interface HandlerError {
|
|
22
|
+
status: number;
|
|
23
|
+
message?: string;
|
|
24
|
+
}
|
|
25
|
+
export type HandlerOutput = HandlerError | HandlerSuccess | HandlerPipeThrough;
|
|
26
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
27
|
+
auth: HA;
|
|
28
|
+
params: QueryParams;
|
|
29
|
+
input: HandlerInput;
|
|
30
|
+
req: express.Request;
|
|
31
|
+
res: express.Response;
|
|
32
|
+
};
|
|
33
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import express from 'express';
|
|
2
|
+
import { HandlerAuth } from '@atproto/xrpc-server';
|
|
3
|
+
export interface QueryParams {
|
|
4
|
+
}
|
|
5
|
+
export type InputSchema = undefined;
|
|
6
|
+
export type HandlerInput = undefined;
|
|
7
|
+
export interface HandlerError {
|
|
8
|
+
status: number;
|
|
9
|
+
message?: string;
|
|
10
|
+
}
|
|
11
|
+
export type HandlerOutput = HandlerError | void;
|
|
12
|
+
export type HandlerReqCtx<HA extends HandlerAuth = never> = {
|
|
13
|
+
auth: HA;
|
|
14
|
+
params: QueryParams;
|
|
15
|
+
input: HandlerInput;
|
|
16
|
+
req: express.Request;
|
|
17
|
+
res: express.Response;
|
|
18
|
+
};
|
|
19
|
+
export type Handler<HA extends HandlerAuth = never> = (ctx: HandlerReqCtx<HA>) => Promise<HandlerOutput> | HandlerOutput;
|