@atproto/bsky 0.0.14 → 0.0.15
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 +11 -0
- package/dist/api/app/bsky/feed/searchPosts.d.ts +3 -0
- package/dist/api/com/atproto/temp/fetchLabels.d.ts +3 -0
- package/dist/config.d.ts +2 -2
- package/dist/context.d.ts +1 -1
- package/dist/index.js +716 -443
- package/dist/index.js.map +3 -3
- package/dist/lexicon/index.d.ts +7 -0
- package/dist/lexicon/lexicons.d.ts +60 -0
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts +2 -0
- package/dist/lexicon/types/com/atproto/temp/fetchLabels.d.ts +33 -0
- package/package.json +8 -9
- package/src/api/app/bsky/actor/getSuggestions.ts +45 -21
- package/src/api/app/bsky/feed/getPostThread.ts +16 -4
- package/src/api/app/bsky/feed/searchPosts.ts +127 -0
- package/src/api/com/atproto/admin/reverseModerationAction.ts +3 -3
- package/src/api/com/atproto/admin/takeModerationAction.ts +2 -2
- package/src/api/com/atproto/admin/util.ts +3 -1
- package/src/api/com/atproto/temp/fetchLabels.ts +30 -0
- package/src/api/index.ts +4 -0
- package/src/config.ts +6 -6
- package/src/context.ts +11 -9
- package/src/db/periodic-moderation-action-reversal.ts +1 -9
- package/src/lexicon/index.ts +22 -0
- package/src/lexicon/lexicons.ts +189 -129
- package/src/lexicon/types/app/bsky/actor/defs.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/searchActors.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/searchPosts.ts +3 -3
- package/src/lexicon/types/app/bsky/graph/defs.ts +2 -2
- package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +4 -4
- package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +3 -3
- package/src/lexicon/types/com/atproto/admin/defs.ts +5 -3
- package/src/lexicon/types/com/atproto/admin/disableAccountInvites.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/enableAccountInvites.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/getModerationReports.ts +3 -3
- package/src/lexicon/types/com/atproto/admin/takeModerationAction.ts +1 -1
- package/src/lexicon/types/com/atproto/label/defs.ts +9 -9
- package/src/lexicon/types/com/atproto/label/queryLabels.ts +2 -2
- package/src/lexicon/types/com/atproto/repo/applyWrites.ts +1 -1
- package/src/lexicon/types/com/atproto/repo/createRecord.ts +2 -2
- package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +2 -2
- package/src/lexicon/types/com/atproto/repo/listRecords.ts +1 -1
- package/src/lexicon/types/com/atproto/repo/putRecord.ts +3 -3
- package/src/lexicon/types/com/atproto/sync/listBlobs.ts +1 -1
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +4 -4
- package/src/lexicon/types/com/atproto/temp/fetchLabels.ts +47 -0
- package/tests/admin/get-repo.test.ts +33 -0
- package/tests/views/suggestions.test.ts +15 -7
package/dist/index.js
CHANGED
|
@@ -92101,7 +92101,7 @@ var require_utils7 = __commonJS({
|
|
|
92101
92101
|
return array2[from3 + Math.floor(Math.random() * (length2 - from3))];
|
|
92102
92102
|
}
|
|
92103
92103
|
exports.sample = sample;
|
|
92104
|
-
function
|
|
92104
|
+
function shuffle2(array2) {
|
|
92105
92105
|
let counter = array2.length;
|
|
92106
92106
|
while (counter > 0) {
|
|
92107
92107
|
const index = Math.floor(Math.random() * counter);
|
|
@@ -92110,7 +92110,7 @@ var require_utils7 = __commonJS({
|
|
|
92110
92110
|
}
|
|
92111
92111
|
return array2;
|
|
92112
92112
|
}
|
|
92113
|
-
exports.shuffle =
|
|
92113
|
+
exports.shuffle = shuffle2;
|
|
92114
92114
|
exports.CONNECTION_CLOSED_ERROR_MSG = "Connection is closed.";
|
|
92115
92115
|
function zipMap(keys, values) {
|
|
92116
92116
|
const map = /* @__PURE__ */ new Map();
|
|
@@ -99631,11 +99631,23 @@ var verifyDidSig = async (did2, data, sig, opts) => {
|
|
|
99631
99631
|
return verifySig(keyBytes, data, sig, opts);
|
|
99632
99632
|
};
|
|
99633
99633
|
var verifySig = async (publicKey, data, sig, opts) => {
|
|
99634
|
+
const allowMalleable = opts?.allowMalleableSig ?? false;
|
|
99634
99635
|
const msgHash = await sha2562(data);
|
|
99636
|
+
if (!allowMalleable && !isCompactFormat(sig)) {
|
|
99637
|
+
return false;
|
|
99638
|
+
}
|
|
99635
99639
|
return p256.verify(sig, msgHash, publicKey, {
|
|
99636
|
-
lowS:
|
|
99640
|
+
lowS: !allowMalleable
|
|
99637
99641
|
});
|
|
99638
99642
|
};
|
|
99643
|
+
var isCompactFormat = (sig) => {
|
|
99644
|
+
try {
|
|
99645
|
+
const parsed = p256.Signature.fromCompact(sig);
|
|
99646
|
+
return equals(parsed.toCompactRawBytes(), sig);
|
|
99647
|
+
} catch {
|
|
99648
|
+
return false;
|
|
99649
|
+
}
|
|
99650
|
+
};
|
|
99639
99651
|
|
|
99640
99652
|
// ../crypto/src/p256/plugin.ts
|
|
99641
99653
|
var p256Plugin = {
|
|
@@ -99654,11 +99666,23 @@ var verifyDidSig2 = async (did2, data, sig, opts) => {
|
|
|
99654
99666
|
return verifySig2(keyBytes, data, sig, opts);
|
|
99655
99667
|
};
|
|
99656
99668
|
var verifySig2 = async (publicKey, data, sig, opts) => {
|
|
99669
|
+
const allowMalleable = opts?.allowMalleableSig ?? false;
|
|
99657
99670
|
const msgHash = await sha2562(data);
|
|
99671
|
+
if (!allowMalleable && !isCompactFormat2(sig)) {
|
|
99672
|
+
return false;
|
|
99673
|
+
}
|
|
99658
99674
|
return secp256k1.verify(sig, msgHash, publicKey, {
|
|
99659
|
-
lowS:
|
|
99675
|
+
lowS: !allowMalleable
|
|
99660
99676
|
});
|
|
99661
99677
|
};
|
|
99678
|
+
var isCompactFormat2 = (sig) => {
|
|
99679
|
+
try {
|
|
99680
|
+
const parsed = secp256k1.Signature.fromCompact(sig);
|
|
99681
|
+
return equals(parsed.toCompactRawBytes(), sig);
|
|
99682
|
+
} catch {
|
|
99683
|
+
return false;
|
|
99684
|
+
}
|
|
99685
|
+
};
|
|
99662
99686
|
|
|
99663
99687
|
// ../crypto/src/secp256k1/plugin.ts
|
|
99664
99688
|
var secp256k1Plugin = {
|
|
@@ -109981,7 +110005,7 @@ var verifyJwt = async (jwtStr, ownDid, getSigningKey2) => {
|
|
|
109981
110005
|
const sigBytes = fromString2(sig, "base64url");
|
|
109982
110006
|
const verifySignatureWithKey = (key) => {
|
|
109983
110007
|
return verifySignature(key, msgBytes, sigBytes, {
|
|
109984
|
-
|
|
110008
|
+
allowMalleableSig: true
|
|
109985
110009
|
});
|
|
109986
110010
|
};
|
|
109987
110011
|
const signingKey = await getSigningKey2(payload.iss, false);
|
|
@@ -110412,7 +110436,7 @@ function decodeQueryParam(type, value) {
|
|
|
110412
110436
|
if (type === "float") {
|
|
110413
110437
|
return Number(String(value));
|
|
110414
110438
|
} else if (type === "integer") {
|
|
110415
|
-
return
|
|
110439
|
+
return parseInt(String(value), 10) || 0;
|
|
110416
110440
|
} else if (type === "boolean") {
|
|
110417
110441
|
return value === "true";
|
|
110418
110442
|
}
|
|
@@ -118592,11 +118616,11 @@ var setRepoRev = (res, rev) => {
|
|
|
118592
118616
|
};
|
|
118593
118617
|
|
|
118594
118618
|
// src/pipeline.ts
|
|
118595
|
-
function createPipeline(
|
|
118619
|
+
function createPipeline(skeleton20, hydration20, rules, presentation20) {
|
|
118596
118620
|
return async (params2, ctx) => {
|
|
118597
|
-
const skeletonState = await
|
|
118598
|
-
const hydrationState = await
|
|
118599
|
-
return
|
|
118621
|
+
const skeletonState = await skeleton20(params2, ctx);
|
|
118622
|
+
const hydrationState = await hydration20(skeletonState, ctx);
|
|
118623
|
+
return presentation20(rules(hydrationState, ctx), ctx);
|
|
118600
118624
|
};
|
|
118601
118625
|
}
|
|
118602
118626
|
function noRules(state) {
|
|
@@ -118897,7 +118921,7 @@ var schemaDict = {
|
|
|
118897
118921
|
},
|
|
118898
118922
|
durationInHours: {
|
|
118899
118923
|
type: "integer",
|
|
118900
|
-
description: "Indicates how long this action
|
|
118924
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
118901
118925
|
},
|
|
118902
118926
|
subject: {
|
|
118903
118927
|
type: "union",
|
|
@@ -118969,7 +118993,7 @@ var schemaDict = {
|
|
|
118969
118993
|
},
|
|
118970
118994
|
durationInHours: {
|
|
118971
118995
|
type: "integer",
|
|
118972
|
-
description: "Indicates how long this action
|
|
118996
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
118973
118997
|
},
|
|
118974
118998
|
subject: {
|
|
118975
118999
|
type: "union",
|
|
@@ -119036,7 +119060,7 @@ var schemaDict = {
|
|
|
119036
119060
|
},
|
|
119037
119061
|
durationInHours: {
|
|
119038
119062
|
type: "integer",
|
|
119039
|
-
description: "Indicates how long this action
|
|
119063
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
119040
119064
|
}
|
|
119041
119065
|
}
|
|
119042
119066
|
},
|
|
@@ -119281,6 +119305,10 @@ var schemaDict = {
|
|
|
119281
119305
|
},
|
|
119282
119306
|
inviteNote: {
|
|
119283
119307
|
type: "string"
|
|
119308
|
+
},
|
|
119309
|
+
emailConfirmedAt: {
|
|
119310
|
+
type: "string",
|
|
119311
|
+
format: "datetime"
|
|
119284
119312
|
}
|
|
119285
119313
|
}
|
|
119286
119314
|
},
|
|
@@ -119317,6 +119345,10 @@ var schemaDict = {
|
|
|
119317
119345
|
invitesDisabled: {
|
|
119318
119346
|
type: "boolean"
|
|
119319
119347
|
},
|
|
119348
|
+
emailConfirmedAt: {
|
|
119349
|
+
type: "string",
|
|
119350
|
+
format: "datetime"
|
|
119351
|
+
},
|
|
119320
119352
|
inviteNote: {
|
|
119321
119353
|
type: "string"
|
|
119322
119354
|
}
|
|
@@ -119564,7 +119596,7 @@ var schemaDict = {
|
|
|
119564
119596
|
defs: {
|
|
119565
119597
|
main: {
|
|
119566
119598
|
type: "procedure",
|
|
119567
|
-
description: "Disable an account from receiving new invite codes, but does not invalidate existing codes",
|
|
119599
|
+
description: "Disable an account from receiving new invite codes, but does not invalidate existing codes.",
|
|
119568
119600
|
input: {
|
|
119569
119601
|
encoding: "application/json",
|
|
119570
119602
|
schema: {
|
|
@@ -119577,7 +119609,7 @@ var schemaDict = {
|
|
|
119577
119609
|
},
|
|
119578
119610
|
note: {
|
|
119579
119611
|
type: "string",
|
|
119580
|
-
description: "
|
|
119612
|
+
description: "Optional reason for disabled invites."
|
|
119581
119613
|
}
|
|
119582
119614
|
}
|
|
119583
119615
|
}
|
|
@@ -119591,7 +119623,7 @@ var schemaDict = {
|
|
|
119591
119623
|
defs: {
|
|
119592
119624
|
main: {
|
|
119593
119625
|
type: "procedure",
|
|
119594
|
-
description: "Disable some set of codes and/or all codes associated with a set of users",
|
|
119626
|
+
description: "Disable some set of codes and/or all codes associated with a set of users.",
|
|
119595
119627
|
input: {
|
|
119596
119628
|
encoding: "application/json",
|
|
119597
119629
|
schema: {
|
|
@@ -119621,7 +119653,7 @@ var schemaDict = {
|
|
|
119621
119653
|
defs: {
|
|
119622
119654
|
main: {
|
|
119623
119655
|
type: "procedure",
|
|
119624
|
-
description: "Re-enable an
|
|
119656
|
+
description: "Re-enable an account's ability to receive invite codes.",
|
|
119625
119657
|
input: {
|
|
119626
119658
|
encoding: "application/json",
|
|
119627
119659
|
schema: {
|
|
@@ -119634,7 +119666,7 @@ var schemaDict = {
|
|
|
119634
119666
|
},
|
|
119635
119667
|
note: {
|
|
119636
119668
|
type: "string",
|
|
119637
|
-
description: "
|
|
119669
|
+
description: "Optional reason for enabled invites."
|
|
119638
119670
|
}
|
|
119639
119671
|
}
|
|
119640
119672
|
}
|
|
@@ -119648,7 +119680,7 @@ var schemaDict = {
|
|
|
119648
119680
|
defs: {
|
|
119649
119681
|
main: {
|
|
119650
119682
|
type: "query",
|
|
119651
|
-
description: "
|
|
119683
|
+
description: "Get details about an account.",
|
|
119652
119684
|
parameters: {
|
|
119653
119685
|
type: "params",
|
|
119654
119686
|
required: ["did"],
|
|
@@ -119675,7 +119707,7 @@ var schemaDict = {
|
|
|
119675
119707
|
defs: {
|
|
119676
119708
|
main: {
|
|
119677
119709
|
type: "query",
|
|
119678
|
-
description: "
|
|
119710
|
+
description: "Get an admin view of invite codes.",
|
|
119679
119711
|
parameters: {
|
|
119680
119712
|
type: "params",
|
|
119681
119713
|
properties: {
|
|
@@ -119723,7 +119755,7 @@ var schemaDict = {
|
|
|
119723
119755
|
defs: {
|
|
119724
119756
|
main: {
|
|
119725
119757
|
type: "query",
|
|
119726
|
-
description: "
|
|
119758
|
+
description: "Get details about a moderation action.",
|
|
119727
119759
|
parameters: {
|
|
119728
119760
|
type: "params",
|
|
119729
119761
|
required: ["id"],
|
|
@@ -119749,7 +119781,7 @@ var schemaDict = {
|
|
|
119749
119781
|
defs: {
|
|
119750
119782
|
main: {
|
|
119751
119783
|
type: "query",
|
|
119752
|
-
description: "
|
|
119784
|
+
description: "Get a list of moderation actions related to a subject.",
|
|
119753
119785
|
parameters: {
|
|
119754
119786
|
type: "params",
|
|
119755
119787
|
properties: {
|
|
@@ -119795,7 +119827,7 @@ var schemaDict = {
|
|
|
119795
119827
|
defs: {
|
|
119796
119828
|
main: {
|
|
119797
119829
|
type: "query",
|
|
119798
|
-
description: "
|
|
119830
|
+
description: "Get details about a moderation report.",
|
|
119799
119831
|
parameters: {
|
|
119800
119832
|
type: "params",
|
|
119801
119833
|
required: ["id"],
|
|
@@ -119821,7 +119853,7 @@ var schemaDict = {
|
|
|
119821
119853
|
defs: {
|
|
119822
119854
|
main: {
|
|
119823
119855
|
type: "query",
|
|
119824
|
-
description: "
|
|
119856
|
+
description: "Get moderation reports related to a subject.",
|
|
119825
119857
|
parameters: {
|
|
119826
119858
|
type: "params",
|
|
119827
119859
|
properties: {
|
|
@@ -119837,14 +119869,14 @@ var schemaDict = {
|
|
|
119837
119869
|
actionedBy: {
|
|
119838
119870
|
type: "string",
|
|
119839
119871
|
format: "did",
|
|
119840
|
-
description: "Get all reports that were actioned by a specific moderator"
|
|
119872
|
+
description: "Get all reports that were actioned by a specific moderator."
|
|
119841
119873
|
},
|
|
119842
119874
|
reporters: {
|
|
119843
119875
|
type: "array",
|
|
119844
119876
|
items: {
|
|
119845
119877
|
type: "string"
|
|
119846
119878
|
},
|
|
119847
|
-
description: "Filter reports made by one or more DIDs"
|
|
119879
|
+
description: "Filter reports made by one or more DIDs."
|
|
119848
119880
|
},
|
|
119849
119881
|
resolved: {
|
|
119850
119882
|
type: "boolean"
|
|
@@ -119869,7 +119901,7 @@ var schemaDict = {
|
|
|
119869
119901
|
},
|
|
119870
119902
|
reverse: {
|
|
119871
119903
|
type: "boolean",
|
|
119872
|
-
description: "Reverse the order of the returned records
|
|
119904
|
+
description: "Reverse the order of the returned records. When true, returns reports in chronological order."
|
|
119873
119905
|
}
|
|
119874
119906
|
}
|
|
119875
119907
|
},
|
|
@@ -119901,7 +119933,7 @@ var schemaDict = {
|
|
|
119901
119933
|
defs: {
|
|
119902
119934
|
main: {
|
|
119903
119935
|
type: "query",
|
|
119904
|
-
description: "
|
|
119936
|
+
description: "Get details about a record.",
|
|
119905
119937
|
parameters: {
|
|
119906
119938
|
type: "params",
|
|
119907
119939
|
required: ["uri"],
|
|
@@ -119937,7 +119969,7 @@ var schemaDict = {
|
|
|
119937
119969
|
defs: {
|
|
119938
119970
|
main: {
|
|
119939
119971
|
type: "query",
|
|
119940
|
-
description: "
|
|
119972
|
+
description: "Get details about a repository.",
|
|
119941
119973
|
parameters: {
|
|
119942
119974
|
type: "params",
|
|
119943
119975
|
required: ["did"],
|
|
@@ -119969,7 +120001,7 @@ var schemaDict = {
|
|
|
119969
120001
|
defs: {
|
|
119970
120002
|
main: {
|
|
119971
120003
|
type: "query",
|
|
119972
|
-
description: "
|
|
120004
|
+
description: "Get the service-specific admin status of a subject (account, record, or blob).",
|
|
119973
120005
|
parameters: {
|
|
119974
120006
|
type: "params",
|
|
119975
120007
|
properties: {
|
|
@@ -120142,7 +120174,7 @@ var schemaDict = {
|
|
|
120142
120174
|
defs: {
|
|
120143
120175
|
main: {
|
|
120144
120176
|
type: "procedure",
|
|
120145
|
-
description: "Send email to a user's
|
|
120177
|
+
description: "Send email to a user's account email address.",
|
|
120146
120178
|
input: {
|
|
120147
120179
|
encoding: "application/json",
|
|
120148
120180
|
schema: {
|
|
@@ -120183,7 +120215,7 @@ var schemaDict = {
|
|
|
120183
120215
|
defs: {
|
|
120184
120216
|
main: {
|
|
120185
120217
|
type: "procedure",
|
|
120186
|
-
description: "Take a moderation action on
|
|
120218
|
+
description: "Take a moderation action on an actor.",
|
|
120187
120219
|
input: {
|
|
120188
120220
|
encoding: "application/json",
|
|
120189
120221
|
schema: {
|
|
@@ -120229,7 +120261,7 @@ var schemaDict = {
|
|
|
120229
120261
|
},
|
|
120230
120262
|
durationInHours: {
|
|
120231
120263
|
type: "integer",
|
|
120232
|
-
description: "Indicates how long this action
|
|
120264
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
120233
120265
|
},
|
|
120234
120266
|
createdBy: {
|
|
120235
120267
|
type: "string",
|
|
@@ -120259,7 +120291,7 @@ var schemaDict = {
|
|
|
120259
120291
|
defs: {
|
|
120260
120292
|
main: {
|
|
120261
120293
|
type: "procedure",
|
|
120262
|
-
description: "Administrative action to update an account's email",
|
|
120294
|
+
description: "Administrative action to update an account's email.",
|
|
120263
120295
|
input: {
|
|
120264
120296
|
encoding: "application/json",
|
|
120265
120297
|
schema: {
|
|
@@ -120286,7 +120318,7 @@ var schemaDict = {
|
|
|
120286
120318
|
defs: {
|
|
120287
120319
|
main: {
|
|
120288
120320
|
type: "procedure",
|
|
120289
|
-
description: "Administrative action to update an account's handle",
|
|
120321
|
+
description: "Administrative action to update an account's handle.",
|
|
120290
120322
|
input: {
|
|
120291
120323
|
encoding: "application/json",
|
|
120292
120324
|
schema: {
|
|
@@ -120313,7 +120345,7 @@ var schemaDict = {
|
|
|
120313
120345
|
defs: {
|
|
120314
120346
|
main: {
|
|
120315
120347
|
type: "procedure",
|
|
120316
|
-
description: "Update the service-specific admin status of a subject (account, record, or blob)",
|
|
120348
|
+
description: "Update the service-specific admin status of a subject (account, record, or blob).",
|
|
120317
120349
|
input: {
|
|
120318
120350
|
encoding: "application/json",
|
|
120319
120351
|
schema: {
|
|
@@ -120399,7 +120431,7 @@ var schemaDict = {
|
|
|
120399
120431
|
defs: {
|
|
120400
120432
|
main: {
|
|
120401
120433
|
type: "procedure",
|
|
120402
|
-
description: "Updates the handle of the account",
|
|
120434
|
+
description: "Updates the handle of the account.",
|
|
120403
120435
|
input: {
|
|
120404
120436
|
encoding: "application/json",
|
|
120405
120437
|
schema: {
|
|
@@ -120422,37 +120454,37 @@ var schemaDict = {
|
|
|
120422
120454
|
defs: {
|
|
120423
120455
|
label: {
|
|
120424
120456
|
type: "object",
|
|
120425
|
-
description: "Metadata tag on an atproto resource (eg, repo or record)",
|
|
120457
|
+
description: "Metadata tag on an atproto resource (eg, repo or record).",
|
|
120426
120458
|
required: ["src", "uri", "val", "cts"],
|
|
120427
120459
|
properties: {
|
|
120428
120460
|
src: {
|
|
120429
120461
|
type: "string",
|
|
120430
120462
|
format: "did",
|
|
120431
|
-
description: "DID of the actor who created this label"
|
|
120463
|
+
description: "DID of the actor who created this label."
|
|
120432
120464
|
},
|
|
120433
120465
|
uri: {
|
|
120434
120466
|
type: "string",
|
|
120435
120467
|
format: "uri",
|
|
120436
|
-
description: "AT URI of the record, repository (account), or other resource
|
|
120468
|
+
description: "AT URI of the record, repository (account), or other resource that this label applies to."
|
|
120437
120469
|
},
|
|
120438
120470
|
cid: {
|
|
120439
120471
|
type: "string",
|
|
120440
120472
|
format: "cid",
|
|
120441
|
-
description: "
|
|
120473
|
+
description: "Optionally, CID specifying the specific version of 'uri' resource this label applies to."
|
|
120442
120474
|
},
|
|
120443
120475
|
val: {
|
|
120444
120476
|
type: "string",
|
|
120445
120477
|
maxLength: 128,
|
|
120446
|
-
description: "
|
|
120478
|
+
description: "The short string name of the value or type of this label."
|
|
120447
120479
|
},
|
|
120448
120480
|
neg: {
|
|
120449
120481
|
type: "boolean",
|
|
120450
|
-
description: "
|
|
120482
|
+
description: "If true, this is a negation label, overwriting a previous label."
|
|
120451
120483
|
},
|
|
120452
120484
|
cts: {
|
|
120453
120485
|
type: "string",
|
|
120454
120486
|
format: "datetime",
|
|
120455
|
-
description: "
|
|
120487
|
+
description: "Timestamp when this label was created."
|
|
120456
120488
|
}
|
|
120457
120489
|
}
|
|
120458
120490
|
},
|
|
@@ -120473,13 +120505,13 @@ var schemaDict = {
|
|
|
120473
120505
|
},
|
|
120474
120506
|
selfLabel: {
|
|
120475
120507
|
type: "object",
|
|
120476
|
-
description: "Metadata tag on an atproto record, published by the author within the record. Note
|
|
120508
|
+
description: "Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.",
|
|
120477
120509
|
required: ["val"],
|
|
120478
120510
|
properties: {
|
|
120479
120511
|
val: {
|
|
120480
120512
|
type: "string",
|
|
120481
120513
|
maxLength: 128,
|
|
120482
|
-
description: "
|
|
120514
|
+
description: "The short string name of the value or type of this label."
|
|
120483
120515
|
}
|
|
120484
120516
|
}
|
|
120485
120517
|
}
|
|
@@ -120501,7 +120533,7 @@ var schemaDict = {
|
|
|
120501
120533
|
items: {
|
|
120502
120534
|
type: "string"
|
|
120503
120535
|
},
|
|
120504
|
-
description: "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI"
|
|
120536
|
+
description: "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI."
|
|
120505
120537
|
},
|
|
120506
120538
|
sources: {
|
|
120507
120539
|
type: "array",
|
|
@@ -120509,7 +120541,7 @@ var schemaDict = {
|
|
|
120509
120541
|
type: "string",
|
|
120510
120542
|
format: "did"
|
|
120511
120543
|
},
|
|
120512
|
-
description: "Optional list of label sources (DIDs) to filter on"
|
|
120544
|
+
description: "Optional list of label sources (DIDs) to filter on."
|
|
120513
120545
|
},
|
|
120514
120546
|
limit: {
|
|
120515
120547
|
type: "integer",
|
|
@@ -120550,7 +120582,7 @@ var schemaDict = {
|
|
|
120550
120582
|
defs: {
|
|
120551
120583
|
main: {
|
|
120552
120584
|
type: "subscription",
|
|
120553
|
-
description: "Subscribe to label updates",
|
|
120585
|
+
description: "Subscribe to label updates.",
|
|
120554
120586
|
parameters: {
|
|
120555
120587
|
type: "params",
|
|
120556
120588
|
properties: {
|
|
@@ -120743,7 +120775,7 @@ var schemaDict = {
|
|
|
120743
120775
|
validate: {
|
|
120744
120776
|
type: "boolean",
|
|
120745
120777
|
default: true,
|
|
120746
|
-
description: "
|
|
120778
|
+
description: "Flag for validating the records."
|
|
120747
120779
|
},
|
|
120748
120780
|
writes: {
|
|
120749
120781
|
type: "array",
|
|
@@ -120852,7 +120884,7 @@ var schemaDict = {
|
|
|
120852
120884
|
validate: {
|
|
120853
120885
|
type: "boolean",
|
|
120854
120886
|
default: true,
|
|
120855
|
-
description: "
|
|
120887
|
+
description: "Flag for validating the record."
|
|
120856
120888
|
},
|
|
120857
120889
|
record: {
|
|
120858
120890
|
type: "unknown",
|
|
@@ -120861,7 +120893,7 @@ var schemaDict = {
|
|
|
120861
120893
|
swapCommit: {
|
|
120862
120894
|
type: "string",
|
|
120863
120895
|
format: "cid",
|
|
120864
|
-
description: "Compare and swap with the previous commit by
|
|
120896
|
+
description: "Compare and swap with the previous commit by CID."
|
|
120865
120897
|
}
|
|
120866
120898
|
}
|
|
120867
120899
|
}
|
|
@@ -120921,12 +120953,12 @@ var schemaDict = {
|
|
|
120921
120953
|
swapRecord: {
|
|
120922
120954
|
type: "string",
|
|
120923
120955
|
format: "cid",
|
|
120924
|
-
description: "Compare and swap with the previous record by
|
|
120956
|
+
description: "Compare and swap with the previous record by CID."
|
|
120925
120957
|
},
|
|
120926
120958
|
swapCommit: {
|
|
120927
120959
|
type: "string",
|
|
120928
120960
|
format: "cid",
|
|
120929
|
-
description: "Compare and swap with the previous commit by
|
|
120961
|
+
description: "Compare and swap with the previous commit by CID."
|
|
120930
120962
|
}
|
|
120931
120963
|
}
|
|
120932
120964
|
}
|
|
@@ -121092,7 +121124,7 @@ var schemaDict = {
|
|
|
121092
121124
|
},
|
|
121093
121125
|
reverse: {
|
|
121094
121126
|
type: "boolean",
|
|
121095
|
-
description: "
|
|
121127
|
+
description: "Flag to reverse the order of the returned records."
|
|
121096
121128
|
}
|
|
121097
121129
|
}
|
|
121098
121130
|
},
|
|
@@ -121167,7 +121199,7 @@ var schemaDict = {
|
|
|
121167
121199
|
validate: {
|
|
121168
121200
|
type: "boolean",
|
|
121169
121201
|
default: true,
|
|
121170
|
-
description: "
|
|
121202
|
+
description: "Flag for validating the record."
|
|
121171
121203
|
},
|
|
121172
121204
|
record: {
|
|
121173
121205
|
type: "unknown",
|
|
@@ -121176,12 +121208,12 @@ var schemaDict = {
|
|
|
121176
121208
|
swapRecord: {
|
|
121177
121209
|
type: "string",
|
|
121178
121210
|
format: "cid",
|
|
121179
|
-
description: "Compare and swap with the previous record by
|
|
121211
|
+
description: "Compare and swap with the previous record by CID."
|
|
121180
121212
|
},
|
|
121181
121213
|
swapCommit: {
|
|
121182
121214
|
type: "string",
|
|
121183
121215
|
format: "cid",
|
|
121184
|
-
description: "Compare and swap with the previous commit by
|
|
121216
|
+
description: "Compare and swap with the previous commit by CID."
|
|
121185
121217
|
}
|
|
121186
121218
|
}
|
|
121187
121219
|
}
|
|
@@ -121393,7 +121425,7 @@ var schemaDict = {
|
|
|
121393
121425
|
defs: {
|
|
121394
121426
|
main: {
|
|
121395
121427
|
type: "procedure",
|
|
121396
|
-
description: "Create an
|
|
121428
|
+
description: "Create an App Password.",
|
|
121397
121429
|
input: {
|
|
121398
121430
|
encoding: "application/json",
|
|
121399
121431
|
schema: {
|
|
@@ -121481,7 +121513,7 @@ var schemaDict = {
|
|
|
121481
121513
|
defs: {
|
|
121482
121514
|
main: {
|
|
121483
121515
|
type: "procedure",
|
|
121484
|
-
description: "Create
|
|
121516
|
+
description: "Create invite codes.",
|
|
121485
121517
|
input: {
|
|
121486
121518
|
encoding: "application/json",
|
|
121487
121519
|
schema: {
|
|
@@ -121668,7 +121700,7 @@ var schemaDict = {
|
|
|
121668
121700
|
defs: {
|
|
121669
121701
|
main: {
|
|
121670
121702
|
type: "procedure",
|
|
121671
|
-
description: "Delete
|
|
121703
|
+
description: "Delete an actor's account with a token and password.",
|
|
121672
121704
|
input: {
|
|
121673
121705
|
encoding: "application/json",
|
|
121674
121706
|
schema: {
|
|
@@ -121758,7 +121790,7 @@ var schemaDict = {
|
|
|
121758
121790
|
defs: {
|
|
121759
121791
|
main: {
|
|
121760
121792
|
type: "query",
|
|
121761
|
-
description: "Get all invite codes for a given account",
|
|
121793
|
+
description: "Get all invite codes for a given account.",
|
|
121762
121794
|
parameters: {
|
|
121763
121795
|
type: "params",
|
|
121764
121796
|
properties: {
|
|
@@ -121838,7 +121870,7 @@ var schemaDict = {
|
|
|
121838
121870
|
defs: {
|
|
121839
121871
|
main: {
|
|
121840
121872
|
type: "query",
|
|
121841
|
-
description: "List all
|
|
121873
|
+
description: "List all App Passwords.",
|
|
121842
121874
|
output: {
|
|
121843
121875
|
encoding: "application/json",
|
|
121844
121876
|
schema: {
|
|
@@ -121933,7 +121965,7 @@ var schemaDict = {
|
|
|
121933
121965
|
defs: {
|
|
121934
121966
|
main: {
|
|
121935
121967
|
type: "procedure",
|
|
121936
|
-
description: "Request an email with a code to confirm ownership of email"
|
|
121968
|
+
description: "Request an email with a code to confirm ownership of email."
|
|
121937
121969
|
}
|
|
121938
121970
|
}
|
|
121939
121971
|
},
|
|
@@ -122055,7 +122087,7 @@ var schemaDict = {
|
|
|
122055
122087
|
defs: {
|
|
122056
122088
|
main: {
|
|
122057
122089
|
type: "procedure",
|
|
122058
|
-
description: "Revoke an
|
|
122090
|
+
description: "Revoke an App Password by name.",
|
|
122059
122091
|
input: {
|
|
122060
122092
|
encoding: "application/json",
|
|
122061
122093
|
schema: {
|
|
@@ -122143,7 +122175,7 @@ var schemaDict = {
|
|
|
122143
122175
|
defs: {
|
|
122144
122176
|
main: {
|
|
122145
122177
|
type: "query",
|
|
122146
|
-
description: "
|
|
122178
|
+
description: "Get blocks from a given repo.",
|
|
122147
122179
|
parameters: {
|
|
122148
122180
|
type: "params",
|
|
122149
122181
|
required: ["did", "cids"],
|
|
@@ -122237,7 +122269,7 @@ var schemaDict = {
|
|
|
122237
122269
|
defs: {
|
|
122238
122270
|
main: {
|
|
122239
122271
|
type: "query",
|
|
122240
|
-
description: "
|
|
122272
|
+
description: "Get the current commit CID & revision of the repo.",
|
|
122241
122273
|
parameters: {
|
|
122242
122274
|
type: "params",
|
|
122243
122275
|
required: ["did"],
|
|
@@ -122279,7 +122311,7 @@ var schemaDict = {
|
|
|
122279
122311
|
defs: {
|
|
122280
122312
|
main: {
|
|
122281
122313
|
type: "query",
|
|
122282
|
-
description: "
|
|
122314
|
+
description: "Get blocks needed for existence or non-existence of record.",
|
|
122283
122315
|
parameters: {
|
|
122284
122316
|
type: "params",
|
|
122285
122317
|
required: ["did", "collection", "rkey"],
|
|
@@ -122315,7 +122347,7 @@ var schemaDict = {
|
|
|
122315
122347
|
defs: {
|
|
122316
122348
|
main: {
|
|
122317
122349
|
type: "query",
|
|
122318
|
-
description: "Gets the
|
|
122350
|
+
description: "Gets the DID's repo, optionally catching up from a specific revision.",
|
|
122319
122351
|
parameters: {
|
|
122320
122352
|
type: "params",
|
|
122321
122353
|
required: ["did"],
|
|
@@ -122343,7 +122375,7 @@ var schemaDict = {
|
|
|
122343
122375
|
defs: {
|
|
122344
122376
|
main: {
|
|
122345
122377
|
type: "query",
|
|
122346
|
-
description: "List blob
|
|
122378
|
+
description: "List blob CIDs since some revision.",
|
|
122347
122379
|
parameters: {
|
|
122348
122380
|
type: "params",
|
|
122349
122381
|
required: ["did"],
|
|
@@ -122355,7 +122387,7 @@ var schemaDict = {
|
|
|
122355
122387
|
},
|
|
122356
122388
|
since: {
|
|
122357
122389
|
type: "string",
|
|
122358
|
-
description: "Optional revision of the repo to list blobs since"
|
|
122390
|
+
description: "Optional revision of the repo to list blobs since."
|
|
122359
122391
|
},
|
|
122360
122392
|
limit: {
|
|
122361
122393
|
type: "integer",
|
|
@@ -122396,7 +122428,7 @@ var schemaDict = {
|
|
|
122396
122428
|
defs: {
|
|
122397
122429
|
main: {
|
|
122398
122430
|
type: "query",
|
|
122399
|
-
description: "List
|
|
122431
|
+
description: "List DIDs and root CIDs of hosted repos.",
|
|
122400
122432
|
parameters: {
|
|
122401
122433
|
type: "params",
|
|
122402
122434
|
properties: {
|
|
@@ -122456,7 +122488,7 @@ var schemaDict = {
|
|
|
122456
122488
|
defs: {
|
|
122457
122489
|
main: {
|
|
122458
122490
|
type: "procedure",
|
|
122459
|
-
description: "Notify a crawling service of a recent update
|
|
122491
|
+
description: "Notify a crawling service of a recent update; often when a long break between updates causes the connection with the crawling service to break.",
|
|
122460
122492
|
input: {
|
|
122461
122493
|
encoding: "application/json",
|
|
122462
122494
|
schema: {
|
|
@@ -122502,7 +122534,7 @@ var schemaDict = {
|
|
|
122502
122534
|
defs: {
|
|
122503
122535
|
main: {
|
|
122504
122536
|
type: "subscription",
|
|
122505
|
-
description: "Subscribe to repo updates",
|
|
122537
|
+
description: "Subscribe to repo updates.",
|
|
122506
122538
|
parameters: {
|
|
122507
122539
|
type: "params",
|
|
122508
122540
|
properties: {
|
|
@@ -122571,15 +122603,15 @@ var schemaDict = {
|
|
|
122571
122603
|
},
|
|
122572
122604
|
rev: {
|
|
122573
122605
|
type: "string",
|
|
122574
|
-
description: "The rev of the emitted commit"
|
|
122606
|
+
description: "The rev of the emitted commit."
|
|
122575
122607
|
},
|
|
122576
122608
|
since: {
|
|
122577
122609
|
type: "string",
|
|
122578
|
-
description: "The rev of the last emitted commit from this repo"
|
|
122610
|
+
description: "The rev of the last emitted commit from this repo."
|
|
122579
122611
|
},
|
|
122580
122612
|
blocks: {
|
|
122581
122613
|
type: "bytes",
|
|
122582
|
-
description: "CAR file containing relevant blocks",
|
|
122614
|
+
description: "CAR file containing relevant blocks.",
|
|
122583
122615
|
maxLength: 1e6
|
|
122584
122616
|
},
|
|
122585
122617
|
ops: {
|
|
@@ -122676,7 +122708,7 @@ var schemaDict = {
|
|
|
122676
122708
|
},
|
|
122677
122709
|
repoOp: {
|
|
122678
122710
|
type: "object",
|
|
122679
|
-
description: "A repo operation, ie a write of a single record. For creates and updates,
|
|
122711
|
+
description: "A repo operation, ie a write of a single record. For creates and updates, CID is the record's CID as of this operation. For deletes, it's null.",
|
|
122680
122712
|
required: ["action", "path", "cid"],
|
|
122681
122713
|
nullable: ["cid"],
|
|
122682
122714
|
properties: {
|
|
@@ -122694,6 +122726,46 @@ var schemaDict = {
|
|
|
122694
122726
|
}
|
|
122695
122727
|
}
|
|
122696
122728
|
},
|
|
122729
|
+
ComAtprotoTempFetchLabels: {
|
|
122730
|
+
lexicon: 1,
|
|
122731
|
+
id: "com.atproto.temp.fetchLabels",
|
|
122732
|
+
defs: {
|
|
122733
|
+
main: {
|
|
122734
|
+
type: "query",
|
|
122735
|
+
description: "Fetch all labels from a labeler created after a certain date.",
|
|
122736
|
+
parameters: {
|
|
122737
|
+
type: "params",
|
|
122738
|
+
properties: {
|
|
122739
|
+
since: {
|
|
122740
|
+
type: "integer"
|
|
122741
|
+
},
|
|
122742
|
+
limit: {
|
|
122743
|
+
type: "integer",
|
|
122744
|
+
minimum: 1,
|
|
122745
|
+
maximum: 250,
|
|
122746
|
+
default: 50
|
|
122747
|
+
}
|
|
122748
|
+
}
|
|
122749
|
+
},
|
|
122750
|
+
output: {
|
|
122751
|
+
encoding: "application/json",
|
|
122752
|
+
schema: {
|
|
122753
|
+
type: "object",
|
|
122754
|
+
required: ["labels"],
|
|
122755
|
+
properties: {
|
|
122756
|
+
labels: {
|
|
122757
|
+
type: "array",
|
|
122758
|
+
items: {
|
|
122759
|
+
type: "ref",
|
|
122760
|
+
ref: "lex:com.atproto.label.defs#label"
|
|
122761
|
+
}
|
|
122762
|
+
}
|
|
122763
|
+
}
|
|
122764
|
+
}
|
|
122765
|
+
}
|
|
122766
|
+
}
|
|
122767
|
+
}
|
|
122768
|
+
},
|
|
122697
122769
|
AppBskyActorDefs: {
|
|
122698
122770
|
lexicon: 1,
|
|
122699
122771
|
id: "app.bsky.actor.defs",
|
|
@@ -122922,7 +122994,7 @@ var schemaDict = {
|
|
|
122922
122994
|
birthDate: {
|
|
122923
122995
|
type: "string",
|
|
122924
122996
|
format: "datetime",
|
|
122925
|
-
description: "The birth date of
|
|
122997
|
+
description: "The birth date of account owner."
|
|
122926
122998
|
}
|
|
122927
122999
|
}
|
|
122928
123000
|
},
|
|
@@ -122961,7 +123033,7 @@ var schemaDict = {
|
|
|
122961
123033
|
properties: {
|
|
122962
123034
|
sort: {
|
|
122963
123035
|
type: "string",
|
|
122964
|
-
description: "Sorting mode.",
|
|
123036
|
+
description: "Sorting mode for threads.",
|
|
122965
123037
|
knownValues: ["oldest", "newest", "most-likes", "random"]
|
|
122966
123038
|
},
|
|
122967
123039
|
prioritizeFollowedUsers: {
|
|
@@ -123005,6 +123077,7 @@ var schemaDict = {
|
|
|
123005
123077
|
defs: {
|
|
123006
123078
|
main: {
|
|
123007
123079
|
type: "query",
|
|
123080
|
+
description: "Get detailed profile view of an actor.",
|
|
123008
123081
|
parameters: {
|
|
123009
123082
|
type: "params",
|
|
123010
123083
|
required: ["actor"],
|
|
@@ -123031,6 +123104,7 @@ var schemaDict = {
|
|
|
123031
123104
|
defs: {
|
|
123032
123105
|
main: {
|
|
123033
123106
|
type: "query",
|
|
123107
|
+
description: "Get detailed profile views of multiple actors.",
|
|
123034
123108
|
parameters: {
|
|
123035
123109
|
type: "params",
|
|
123036
123110
|
required: ["actors"],
|
|
@@ -123070,7 +123144,7 @@ var schemaDict = {
|
|
|
123070
123144
|
defs: {
|
|
123071
123145
|
main: {
|
|
123072
123146
|
type: "query",
|
|
123073
|
-
description: "Get a list of actors
|
|
123147
|
+
description: "Get a list of suggested actors, used for discovery.",
|
|
123074
123148
|
parameters: {
|
|
123075
123149
|
type: "params",
|
|
123076
123150
|
properties: {
|
|
@@ -123113,6 +123187,7 @@ var schemaDict = {
|
|
|
123113
123187
|
defs: {
|
|
123114
123188
|
main: {
|
|
123115
123189
|
type: "record",
|
|
123190
|
+
description: "A declaration of a profile.",
|
|
123116
123191
|
key: "literal:self",
|
|
123117
123192
|
record: {
|
|
123118
123193
|
type: "object",
|
|
@@ -123152,7 +123227,7 @@ var schemaDict = {
|
|
|
123152
123227
|
defs: {
|
|
123153
123228
|
main: {
|
|
123154
123229
|
type: "procedure",
|
|
123155
|
-
description: "
|
|
123230
|
+
description: "Set the private preferences attached to the account.",
|
|
123156
123231
|
input: {
|
|
123157
123232
|
encoding: "application/json",
|
|
123158
123233
|
schema: {
|
|
@@ -123181,11 +123256,11 @@ var schemaDict = {
|
|
|
123181
123256
|
properties: {
|
|
123182
123257
|
term: {
|
|
123183
123258
|
type: "string",
|
|
123184
|
-
description: "DEPRECATED: use 'q' instead"
|
|
123259
|
+
description: "DEPRECATED: use 'q' instead."
|
|
123185
123260
|
},
|
|
123186
123261
|
q: {
|
|
123187
123262
|
type: "string",
|
|
123188
|
-
description: "
|
|
123263
|
+
description: "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
|
|
123189
123264
|
},
|
|
123190
123265
|
limit: {
|
|
123191
123266
|
type: "integer",
|
|
@@ -123226,17 +123301,17 @@ var schemaDict = {
|
|
|
123226
123301
|
defs: {
|
|
123227
123302
|
main: {
|
|
123228
123303
|
type: "query",
|
|
123229
|
-
description: "Find actor suggestions for a search term.",
|
|
123304
|
+
description: "Find actor suggestions for a prefix search term.",
|
|
123230
123305
|
parameters: {
|
|
123231
123306
|
type: "params",
|
|
123232
123307
|
properties: {
|
|
123233
123308
|
term: {
|
|
123234
123309
|
type: "string",
|
|
123235
|
-
description: "DEPRECATED: use 'q' instead"
|
|
123310
|
+
description: "DEPRECATED: use 'q' instead."
|
|
123236
123311
|
},
|
|
123237
123312
|
q: {
|
|
123238
123313
|
type: "string",
|
|
123239
|
-
description: "
|
|
123314
|
+
description: "Search query prefix; not a full query string."
|
|
123240
123315
|
},
|
|
123241
123316
|
limit: {
|
|
123242
123317
|
type: "integer",
|
|
@@ -123268,7 +123343,7 @@ var schemaDict = {
|
|
|
123268
123343
|
AppBskyEmbedExternal: {
|
|
123269
123344
|
lexicon: 1,
|
|
123270
123345
|
id: "app.bsky.embed.external",
|
|
123271
|
-
description: "A representation of some externally linked content, embedded in another form of content",
|
|
123346
|
+
description: "A representation of some externally linked content, embedded in another form of content.",
|
|
123272
123347
|
defs: {
|
|
123273
123348
|
main: {
|
|
123274
123349
|
type: "object",
|
|
@@ -123335,7 +123410,7 @@ var schemaDict = {
|
|
|
123335
123410
|
AppBskyEmbedImages: {
|
|
123336
123411
|
lexicon: 1,
|
|
123337
123412
|
id: "app.bsky.embed.images",
|
|
123338
|
-
description: "A set of images embedded in some other form of content",
|
|
123413
|
+
description: "A set of images embedded in some other form of content.",
|
|
123339
123414
|
defs: {
|
|
123340
123415
|
main: {
|
|
123341
123416
|
type: "object",
|
|
@@ -123422,7 +123497,7 @@ var schemaDict = {
|
|
|
123422
123497
|
AppBskyEmbedRecord: {
|
|
123423
123498
|
lexicon: 1,
|
|
123424
123499
|
id: "app.bsky.embed.record",
|
|
123425
|
-
description: "A representation of a record embedded in another form of content",
|
|
123500
|
+
description: "A representation of a record embedded in another form of content.",
|
|
123426
123501
|
defs: {
|
|
123427
123502
|
main: {
|
|
123428
123503
|
type: "object",
|
|
@@ -123531,7 +123606,7 @@ var schemaDict = {
|
|
|
123531
123606
|
AppBskyEmbedRecordWithMedia: {
|
|
123532
123607
|
lexicon: 1,
|
|
123533
123608
|
id: "app.bsky.embed.recordWithMedia",
|
|
123534
|
-
description: "A representation of a record embedded in another form of content, alongside other compatible embeds",
|
|
123609
|
+
description: "A representation of a record embedded in another form of content, alongside other compatible embeds.",
|
|
123535
123610
|
defs: {
|
|
123536
123611
|
main: {
|
|
123537
123612
|
type: "object",
|
|
@@ -123898,7 +123973,7 @@ var schemaDict = {
|
|
|
123898
123973
|
defs: {
|
|
123899
123974
|
main: {
|
|
123900
123975
|
type: "query",
|
|
123901
|
-
description: "
|
|
123976
|
+
description: "Get information about a feed generator, including policies and offered feed URIs.",
|
|
123902
123977
|
output: {
|
|
123903
123978
|
encoding: "application/json",
|
|
123904
123979
|
schema: {
|
|
@@ -123953,7 +124028,7 @@ var schemaDict = {
|
|
|
123953
124028
|
defs: {
|
|
123954
124029
|
main: {
|
|
123955
124030
|
type: "record",
|
|
123956
|
-
description: "A declaration of the existence of a feed generator",
|
|
124031
|
+
description: "A declaration of the existence of a feed generator.",
|
|
123957
124032
|
key: "any",
|
|
123958
124033
|
record: {
|
|
123959
124034
|
type: "object",
|
|
@@ -124004,7 +124079,7 @@ var schemaDict = {
|
|
|
124004
124079
|
defs: {
|
|
124005
124080
|
main: {
|
|
124006
124081
|
type: "query",
|
|
124007
|
-
description: "
|
|
124082
|
+
description: "Get a list of feeds created by the actor.",
|
|
124008
124083
|
parameters: {
|
|
124009
124084
|
type: "params",
|
|
124010
124085
|
required: ["actor"],
|
|
@@ -124052,7 +124127,7 @@ var schemaDict = {
|
|
|
124052
124127
|
defs: {
|
|
124053
124128
|
main: {
|
|
124054
124129
|
type: "query",
|
|
124055
|
-
description: "
|
|
124130
|
+
description: "Get a list of posts liked by an actor.",
|
|
124056
124131
|
parameters: {
|
|
124057
124132
|
type: "params",
|
|
124058
124133
|
required: ["actor"],
|
|
@@ -124108,7 +124183,7 @@ var schemaDict = {
|
|
|
124108
124183
|
defs: {
|
|
124109
124184
|
main: {
|
|
124110
124185
|
type: "query",
|
|
124111
|
-
description: "
|
|
124186
|
+
description: "Get a view of an actor's feed.",
|
|
124112
124187
|
parameters: {
|
|
124113
124188
|
type: "params",
|
|
124114
124189
|
required: ["actor"],
|
|
@@ -124173,7 +124248,7 @@ var schemaDict = {
|
|
|
124173
124248
|
defs: {
|
|
124174
124249
|
main: {
|
|
124175
124250
|
type: "query",
|
|
124176
|
-
description: "
|
|
124251
|
+
description: "Get a hydrated feed from an actor's selected feed generator.",
|
|
124177
124252
|
parameters: {
|
|
124178
124253
|
type: "params",
|
|
124179
124254
|
required: ["feed"],
|
|
@@ -124226,7 +124301,7 @@ var schemaDict = {
|
|
|
124226
124301
|
defs: {
|
|
124227
124302
|
main: {
|
|
124228
124303
|
type: "query",
|
|
124229
|
-
description: "Get information about a
|
|
124304
|
+
description: "Get information about a feed generator.",
|
|
124230
124305
|
parameters: {
|
|
124231
124306
|
type: "params",
|
|
124232
124307
|
required: ["feed"],
|
|
@@ -124265,7 +124340,7 @@ var schemaDict = {
|
|
|
124265
124340
|
defs: {
|
|
124266
124341
|
main: {
|
|
124267
124342
|
type: "query",
|
|
124268
|
-
description: "Get information about a list of feed generators",
|
|
124343
|
+
description: "Get information about a list of feed generators.",
|
|
124269
124344
|
parameters: {
|
|
124270
124345
|
type: "params",
|
|
124271
124346
|
required: ["feeds"],
|
|
@@ -124304,7 +124379,7 @@ var schemaDict = {
|
|
|
124304
124379
|
defs: {
|
|
124305
124380
|
main: {
|
|
124306
124381
|
type: "query",
|
|
124307
|
-
description: "
|
|
124382
|
+
description: "Get a skeleton of a feed provided by a feed generator.",
|
|
124308
124383
|
parameters: {
|
|
124309
124384
|
type: "params",
|
|
124310
124385
|
required: ["feed"],
|
|
@@ -124357,6 +124432,7 @@ var schemaDict = {
|
|
|
124357
124432
|
defs: {
|
|
124358
124433
|
main: {
|
|
124359
124434
|
type: "query",
|
|
124435
|
+
description: "Get the list of likes.",
|
|
124360
124436
|
parameters: {
|
|
124361
124437
|
type: "params",
|
|
124362
124438
|
required: ["uri"],
|
|
@@ -124434,7 +124510,7 @@ var schemaDict = {
|
|
|
124434
124510
|
defs: {
|
|
124435
124511
|
main: {
|
|
124436
124512
|
type: "query",
|
|
124437
|
-
description: "
|
|
124513
|
+
description: "Get a view of a recent posts from actors in a list.",
|
|
124438
124514
|
parameters: {
|
|
124439
124515
|
type: "params",
|
|
124440
124516
|
required: ["list"],
|
|
@@ -124487,6 +124563,7 @@ var schemaDict = {
|
|
|
124487
124563
|
defs: {
|
|
124488
124564
|
main: {
|
|
124489
124565
|
type: "query",
|
|
124566
|
+
description: "Get posts in a thread.",
|
|
124490
124567
|
parameters: {
|
|
124491
124568
|
type: "params",
|
|
124492
124569
|
required: ["uri"],
|
|
@@ -124540,7 +124617,7 @@ var schemaDict = {
|
|
|
124540
124617
|
defs: {
|
|
124541
124618
|
main: {
|
|
124542
124619
|
type: "query",
|
|
124543
|
-
description: "
|
|
124620
|
+
description: "Get a view of an actor's feed.",
|
|
124544
124621
|
parameters: {
|
|
124545
124622
|
type: "params",
|
|
124546
124623
|
required: ["uris"],
|
|
@@ -124580,6 +124657,7 @@ var schemaDict = {
|
|
|
124580
124657
|
defs: {
|
|
124581
124658
|
main: {
|
|
124582
124659
|
type: "query",
|
|
124660
|
+
description: "Get a list of reposts.",
|
|
124583
124661
|
parameters: {
|
|
124584
124662
|
type: "params",
|
|
124585
124663
|
required: ["uri"],
|
|
@@ -124682,7 +124760,7 @@ var schemaDict = {
|
|
|
124682
124760
|
defs: {
|
|
124683
124761
|
main: {
|
|
124684
124762
|
type: "query",
|
|
124685
|
-
description: "
|
|
124763
|
+
description: "Get a view of the actor's home timeline.",
|
|
124686
124764
|
parameters: {
|
|
124687
124765
|
type: "params",
|
|
124688
124766
|
properties: {
|
|
@@ -124728,6 +124806,7 @@ var schemaDict = {
|
|
|
124728
124806
|
defs: {
|
|
124729
124807
|
main: {
|
|
124730
124808
|
type: "record",
|
|
124809
|
+
description: "A declaration of a like.",
|
|
124731
124810
|
key: "tid",
|
|
124732
124811
|
record: {
|
|
124733
124812
|
type: "object",
|
|
@@ -124752,6 +124831,7 @@ var schemaDict = {
|
|
|
124752
124831
|
defs: {
|
|
124753
124832
|
main: {
|
|
124754
124833
|
type: "record",
|
|
124834
|
+
description: "A declaration of a post.",
|
|
124755
124835
|
key: "tid",
|
|
124756
124836
|
record: {
|
|
124757
124837
|
type: "object",
|
|
@@ -124873,6 +124953,7 @@ var schemaDict = {
|
|
|
124873
124953
|
id: "app.bsky.feed.repost",
|
|
124874
124954
|
defs: {
|
|
124875
124955
|
main: {
|
|
124956
|
+
description: "A declaration of a repost.",
|
|
124876
124957
|
type: "record",
|
|
124877
124958
|
key: "tid",
|
|
124878
124959
|
record: {
|
|
@@ -124898,14 +124979,14 @@ var schemaDict = {
|
|
|
124898
124979
|
defs: {
|
|
124899
124980
|
main: {
|
|
124900
124981
|
type: "query",
|
|
124901
|
-
description: "Find posts matching search criteria",
|
|
124982
|
+
description: "Find posts matching search criteria.",
|
|
124902
124983
|
parameters: {
|
|
124903
124984
|
type: "params",
|
|
124904
124985
|
required: ["q"],
|
|
124905
124986
|
properties: {
|
|
124906
124987
|
q: {
|
|
124907
124988
|
type: "string",
|
|
124908
|
-
description: "
|
|
124989
|
+
description: "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
|
|
124909
124990
|
},
|
|
124910
124991
|
limit: {
|
|
124911
124992
|
type: "integer",
|
|
@@ -124915,7 +124996,7 @@ var schemaDict = {
|
|
|
124915
124996
|
},
|
|
124916
124997
|
cursor: {
|
|
124917
124998
|
type: "string",
|
|
124918
|
-
description: "
|
|
124999
|
+
description: "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
|
|
124919
125000
|
}
|
|
124920
125001
|
}
|
|
124921
125002
|
},
|
|
@@ -124930,7 +125011,7 @@ var schemaDict = {
|
|
|
124930
125011
|
},
|
|
124931
125012
|
hitsTotal: {
|
|
124932
125013
|
type: "integer",
|
|
124933
|
-
description: "
|
|
125014
|
+
description: "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
|
|
124934
125015
|
},
|
|
124935
125016
|
posts: {
|
|
124936
125017
|
type: "array",
|
|
@@ -125014,7 +125095,7 @@ var schemaDict = {
|
|
|
125014
125095
|
defs: {
|
|
125015
125096
|
main: {
|
|
125016
125097
|
type: "record",
|
|
125017
|
-
description: "A block.",
|
|
125098
|
+
description: "A declaration of a block.",
|
|
125018
125099
|
key: "tid",
|
|
125019
125100
|
record: {
|
|
125020
125101
|
type: "object",
|
|
@@ -125140,11 +125221,11 @@ var schemaDict = {
|
|
|
125140
125221
|
},
|
|
125141
125222
|
modlist: {
|
|
125142
125223
|
type: "token",
|
|
125143
|
-
description: "A list of actors to apply an aggregate moderation action (mute/block) on"
|
|
125224
|
+
description: "A list of actors to apply an aggregate moderation action (mute/block) on."
|
|
125144
125225
|
},
|
|
125145
125226
|
curatelist: {
|
|
125146
125227
|
type: "token",
|
|
125147
|
-
description: "A list of actors used for curation purposes such as list feeds or interaction gating"
|
|
125228
|
+
description: "A list of actors used for curation purposes such as list feeds or interaction gating."
|
|
125148
125229
|
},
|
|
125149
125230
|
listViewerState: {
|
|
125150
125231
|
type: "object",
|
|
@@ -125166,7 +125247,7 @@ var schemaDict = {
|
|
|
125166
125247
|
defs: {
|
|
125167
125248
|
main: {
|
|
125168
125249
|
type: "record",
|
|
125169
|
-
description: "A social follow.",
|
|
125250
|
+
description: "A declaration of a social follow.",
|
|
125170
125251
|
key: "tid",
|
|
125171
125252
|
record: {
|
|
125172
125253
|
type: "object",
|
|
@@ -125191,7 +125272,7 @@ var schemaDict = {
|
|
|
125191
125272
|
defs: {
|
|
125192
125273
|
main: {
|
|
125193
125274
|
type: "query",
|
|
125194
|
-
description: "
|
|
125275
|
+
description: "Get a list of who the actor is blocking.",
|
|
125195
125276
|
parameters: {
|
|
125196
125277
|
type: "params",
|
|
125197
125278
|
properties: {
|
|
@@ -125234,7 +125315,7 @@ var schemaDict = {
|
|
|
125234
125315
|
defs: {
|
|
125235
125316
|
main: {
|
|
125236
125317
|
type: "query",
|
|
125237
|
-
description: "
|
|
125318
|
+
description: "Get a list of an actor's followers.",
|
|
125238
125319
|
parameters: {
|
|
125239
125320
|
type: "params",
|
|
125240
125321
|
required: ["actor"],
|
|
@@ -125286,7 +125367,7 @@ var schemaDict = {
|
|
|
125286
125367
|
defs: {
|
|
125287
125368
|
main: {
|
|
125288
125369
|
type: "query",
|
|
125289
|
-
description: "
|
|
125370
|
+
description: "Get a list of who the actor follows.",
|
|
125290
125371
|
parameters: {
|
|
125291
125372
|
type: "params",
|
|
125292
125373
|
required: ["actor"],
|
|
@@ -125338,7 +125419,7 @@ var schemaDict = {
|
|
|
125338
125419
|
defs: {
|
|
125339
125420
|
main: {
|
|
125340
125421
|
type: "query",
|
|
125341
|
-
description: "
|
|
125422
|
+
description: "Get a list of actors.",
|
|
125342
125423
|
parameters: {
|
|
125343
125424
|
type: "params",
|
|
125344
125425
|
required: ["list"],
|
|
@@ -125390,7 +125471,7 @@ var schemaDict = {
|
|
|
125390
125471
|
defs: {
|
|
125391
125472
|
main: {
|
|
125392
125473
|
type: "query",
|
|
125393
|
-
description: "
|
|
125474
|
+
description: "Get lists that the actor is blocking.",
|
|
125394
125475
|
parameters: {
|
|
125395
125476
|
type: "params",
|
|
125396
125477
|
properties: {
|
|
@@ -125433,7 +125514,7 @@ var schemaDict = {
|
|
|
125433
125514
|
defs: {
|
|
125434
125515
|
main: {
|
|
125435
125516
|
type: "query",
|
|
125436
|
-
description: "
|
|
125517
|
+
description: "Get lists that the actor is muting.",
|
|
125437
125518
|
parameters: {
|
|
125438
125519
|
type: "params",
|
|
125439
125520
|
properties: {
|
|
@@ -125476,7 +125557,7 @@ var schemaDict = {
|
|
|
125476
125557
|
defs: {
|
|
125477
125558
|
main: {
|
|
125478
125559
|
type: "query",
|
|
125479
|
-
description: "
|
|
125560
|
+
description: "Get a list of lists that belong to an actor.",
|
|
125480
125561
|
parameters: {
|
|
125481
125562
|
type: "params",
|
|
125482
125563
|
required: ["actor"],
|
|
@@ -125524,7 +125605,7 @@ var schemaDict = {
|
|
|
125524
125605
|
defs: {
|
|
125525
125606
|
main: {
|
|
125526
125607
|
type: "query",
|
|
125527
|
-
description: "
|
|
125608
|
+
description: "Get a list of who the actor mutes.",
|
|
125528
125609
|
parameters: {
|
|
125529
125610
|
type: "params",
|
|
125530
125611
|
properties: {
|
|
@@ -125679,7 +125760,7 @@ var schemaDict = {
|
|
|
125679
125760
|
defs: {
|
|
125680
125761
|
main: {
|
|
125681
125762
|
type: "record",
|
|
125682
|
-
description: "An item under a declared list of actors",
|
|
125763
|
+
description: "An item under a declared list of actors.",
|
|
125683
125764
|
key: "tid",
|
|
125684
125765
|
record: {
|
|
125685
125766
|
type: "object",
|
|
@@ -125708,7 +125789,7 @@ var schemaDict = {
|
|
|
125708
125789
|
defs: {
|
|
125709
125790
|
main: {
|
|
125710
125791
|
type: "procedure",
|
|
125711
|
-
description: "Mute an actor by
|
|
125792
|
+
description: "Mute an actor by DID or handle.",
|
|
125712
125793
|
input: {
|
|
125713
125794
|
encoding: "application/json",
|
|
125714
125795
|
schema: {
|
|
@@ -125754,7 +125835,7 @@ var schemaDict = {
|
|
|
125754
125835
|
defs: {
|
|
125755
125836
|
main: {
|
|
125756
125837
|
type: "procedure",
|
|
125757
|
-
description: "Unmute an actor by
|
|
125838
|
+
description: "Unmute an actor by DID or handle.",
|
|
125758
125839
|
input: {
|
|
125759
125840
|
encoding: "application/json",
|
|
125760
125841
|
schema: {
|
|
@@ -125800,6 +125881,7 @@ var schemaDict = {
|
|
|
125800
125881
|
defs: {
|
|
125801
125882
|
main: {
|
|
125802
125883
|
type: "query",
|
|
125884
|
+
description: "Get the count of unread notifications.",
|
|
125803
125885
|
parameters: {
|
|
125804
125886
|
type: "params",
|
|
125805
125887
|
properties: {
|
|
@@ -125830,6 +125912,7 @@ var schemaDict = {
|
|
|
125830
125912
|
defs: {
|
|
125831
125913
|
main: {
|
|
125832
125914
|
type: "query",
|
|
125915
|
+
description: "Get a list of notifications.",
|
|
125833
125916
|
parameters: {
|
|
125834
125917
|
type: "params",
|
|
125835
125918
|
properties: {
|
|
@@ -125935,7 +126018,7 @@ var schemaDict = {
|
|
|
125935
126018
|
defs: {
|
|
125936
126019
|
main: {
|
|
125937
126020
|
type: "procedure",
|
|
125938
|
-
description: "Register for push notifications with a service",
|
|
126021
|
+
description: "Register for push notifications with a service.",
|
|
125939
126022
|
input: {
|
|
125940
126023
|
encoding: "application/json",
|
|
125941
126024
|
schema: {
|
|
@@ -126093,7 +126176,7 @@ var schemaDict = {
|
|
|
126093
126176
|
defs: {
|
|
126094
126177
|
main: {
|
|
126095
126178
|
type: "query",
|
|
126096
|
-
description: "DEPRECATED: will be removed soon
|
|
126179
|
+
description: "DEPRECATED: will be removed soon. Use a feed generator alternative.",
|
|
126097
126180
|
parameters: {
|
|
126098
126181
|
type: "params",
|
|
126099
126182
|
properties: {
|
|
@@ -126140,7 +126223,7 @@ var schemaDict = {
|
|
|
126140
126223
|
defs: {
|
|
126141
126224
|
main: {
|
|
126142
126225
|
type: "query",
|
|
126143
|
-
description: "An unspecced view of globally popular feed generators",
|
|
126226
|
+
description: "An unspecced view of globally popular feed generators.",
|
|
126144
126227
|
parameters: {
|
|
126145
126228
|
type: "params",
|
|
126146
126229
|
properties: {
|
|
@@ -126186,7 +126269,7 @@ var schemaDict = {
|
|
|
126186
126269
|
defs: {
|
|
126187
126270
|
main: {
|
|
126188
126271
|
type: "query",
|
|
126189
|
-
description: "
|
|
126272
|
+
description: "DEPRECATED: a skeleton of a timeline. Unspecced and will be unavailable soon.",
|
|
126190
126273
|
parameters: {
|
|
126191
126274
|
type: "params",
|
|
126192
126275
|
properties: {
|
|
@@ -126234,18 +126317,18 @@ var schemaDict = {
|
|
|
126234
126317
|
defs: {
|
|
126235
126318
|
main: {
|
|
126236
126319
|
type: "query",
|
|
126237
|
-
description: "Backend Actors (profile) search,
|
|
126320
|
+
description: "Backend Actors (profile) search, returns only skeleton.",
|
|
126238
126321
|
parameters: {
|
|
126239
126322
|
type: "params",
|
|
126240
126323
|
required: ["q"],
|
|
126241
126324
|
properties: {
|
|
126242
126325
|
q: {
|
|
126243
126326
|
type: "string",
|
|
126244
|
-
description: "
|
|
126327
|
+
description: "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax."
|
|
126245
126328
|
},
|
|
126246
126329
|
typeahead: {
|
|
126247
126330
|
type: "boolean",
|
|
126248
|
-
description: "
|
|
126331
|
+
description: "If true, acts as fast/simple 'typeahead' query."
|
|
126249
126332
|
},
|
|
126250
126333
|
limit: {
|
|
126251
126334
|
type: "integer",
|
|
@@ -126255,7 +126338,7 @@ var schemaDict = {
|
|
|
126255
126338
|
},
|
|
126256
126339
|
cursor: {
|
|
126257
126340
|
type: "string",
|
|
126258
|
-
description: "
|
|
126341
|
+
description: "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
|
|
126259
126342
|
}
|
|
126260
126343
|
}
|
|
126261
126344
|
},
|
|
@@ -126270,7 +126353,7 @@ var schemaDict = {
|
|
|
126270
126353
|
},
|
|
126271
126354
|
hitsTotal: {
|
|
126272
126355
|
type: "integer",
|
|
126273
|
-
description: "
|
|
126356
|
+
description: "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
|
|
126274
126357
|
},
|
|
126275
126358
|
actors: {
|
|
126276
126359
|
type: "array",
|
|
@@ -126296,14 +126379,14 @@ var schemaDict = {
|
|
|
126296
126379
|
defs: {
|
|
126297
126380
|
main: {
|
|
126298
126381
|
type: "query",
|
|
126299
|
-
description: "Backend Posts search,
|
|
126382
|
+
description: "Backend Posts search, returns only skeleton",
|
|
126300
126383
|
parameters: {
|
|
126301
126384
|
type: "params",
|
|
126302
126385
|
required: ["q"],
|
|
126303
126386
|
properties: {
|
|
126304
126387
|
q: {
|
|
126305
126388
|
type: "string",
|
|
126306
|
-
description: "
|
|
126389
|
+
description: "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
|
|
126307
126390
|
},
|
|
126308
126391
|
limit: {
|
|
126309
126392
|
type: "integer",
|
|
@@ -126313,7 +126396,7 @@ var schemaDict = {
|
|
|
126313
126396
|
},
|
|
126314
126397
|
cursor: {
|
|
126315
126398
|
type: "string",
|
|
126316
|
-
description: "
|
|
126399
|
+
description: "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
|
|
126317
126400
|
}
|
|
126318
126401
|
}
|
|
126319
126402
|
},
|
|
@@ -126328,7 +126411,7 @@ var schemaDict = {
|
|
|
126328
126411
|
},
|
|
126329
126412
|
hitsTotal: {
|
|
126330
126413
|
type: "integer",
|
|
126331
|
-
description: "
|
|
126414
|
+
description: "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
|
|
126332
126415
|
},
|
|
126333
126416
|
posts: {
|
|
126334
126417
|
type: "array",
|
|
@@ -127029,69 +127112,76 @@ function toKnownErr64(e) {
|
|
|
127029
127112
|
return e;
|
|
127030
127113
|
}
|
|
127031
127114
|
|
|
127032
|
-
// ../api/src/client/types/
|
|
127115
|
+
// ../api/src/client/types/com/atproto/temp/fetchLabels.ts
|
|
127033
127116
|
function toKnownErr65(e) {
|
|
127034
127117
|
if (e instanceof XRPCError) {
|
|
127035
127118
|
}
|
|
127036
127119
|
return e;
|
|
127037
127120
|
}
|
|
127038
127121
|
|
|
127039
|
-
// ../api/src/client/types/app/bsky/actor/
|
|
127122
|
+
// ../api/src/client/types/app/bsky/actor/getPreferences.ts
|
|
127040
127123
|
function toKnownErr66(e) {
|
|
127041
127124
|
if (e instanceof XRPCError) {
|
|
127042
127125
|
}
|
|
127043
127126
|
return e;
|
|
127044
127127
|
}
|
|
127045
127128
|
|
|
127046
|
-
// ../api/src/client/types/app/bsky/actor/
|
|
127129
|
+
// ../api/src/client/types/app/bsky/actor/getProfile.ts
|
|
127047
127130
|
function toKnownErr67(e) {
|
|
127048
127131
|
if (e instanceof XRPCError) {
|
|
127049
127132
|
}
|
|
127050
127133
|
return e;
|
|
127051
127134
|
}
|
|
127052
127135
|
|
|
127053
|
-
// ../api/src/client/types/app/bsky/actor/
|
|
127136
|
+
// ../api/src/client/types/app/bsky/actor/getProfiles.ts
|
|
127054
127137
|
function toKnownErr68(e) {
|
|
127055
127138
|
if (e instanceof XRPCError) {
|
|
127056
127139
|
}
|
|
127057
127140
|
return e;
|
|
127058
127141
|
}
|
|
127059
127142
|
|
|
127060
|
-
// ../api/src/client/types/app/bsky/actor/
|
|
127143
|
+
// ../api/src/client/types/app/bsky/actor/getSuggestions.ts
|
|
127061
127144
|
function toKnownErr69(e) {
|
|
127062
127145
|
if (e instanceof XRPCError) {
|
|
127063
127146
|
}
|
|
127064
127147
|
return e;
|
|
127065
127148
|
}
|
|
127066
127149
|
|
|
127067
|
-
// ../api/src/client/types/app/bsky/actor/
|
|
127150
|
+
// ../api/src/client/types/app/bsky/actor/putPreferences.ts
|
|
127068
127151
|
function toKnownErr70(e) {
|
|
127069
127152
|
if (e instanceof XRPCError) {
|
|
127070
127153
|
}
|
|
127071
127154
|
return e;
|
|
127072
127155
|
}
|
|
127073
127156
|
|
|
127074
|
-
// ../api/src/client/types/app/bsky/actor/
|
|
127157
|
+
// ../api/src/client/types/app/bsky/actor/searchActors.ts
|
|
127075
127158
|
function toKnownErr71(e) {
|
|
127076
127159
|
if (e instanceof XRPCError) {
|
|
127077
127160
|
}
|
|
127078
127161
|
return e;
|
|
127079
127162
|
}
|
|
127080
127163
|
|
|
127081
|
-
// ../api/src/client/types/app/bsky/
|
|
127164
|
+
// ../api/src/client/types/app/bsky/actor/searchActorsTypeahead.ts
|
|
127082
127165
|
function toKnownErr72(e) {
|
|
127083
127166
|
if (e instanceof XRPCError) {
|
|
127084
127167
|
}
|
|
127085
127168
|
return e;
|
|
127086
127169
|
}
|
|
127087
127170
|
|
|
127088
|
-
// ../api/src/client/types/app/bsky/feed/
|
|
127171
|
+
// ../api/src/client/types/app/bsky/feed/describeFeedGenerator.ts
|
|
127089
127172
|
function toKnownErr73(e) {
|
|
127090
127173
|
if (e instanceof XRPCError) {
|
|
127091
127174
|
}
|
|
127092
127175
|
return e;
|
|
127093
127176
|
}
|
|
127094
127177
|
|
|
127178
|
+
// ../api/src/client/types/app/bsky/feed/getActorFeeds.ts
|
|
127179
|
+
function toKnownErr74(e) {
|
|
127180
|
+
if (e instanceof XRPCError) {
|
|
127181
|
+
}
|
|
127182
|
+
return e;
|
|
127183
|
+
}
|
|
127184
|
+
|
|
127095
127185
|
// ../api/src/client/types/app/bsky/feed/getActorLikes.ts
|
|
127096
127186
|
var BlockedActorError = class extends XRPCError {
|
|
127097
127187
|
constructor(src3) {
|
|
@@ -127103,7 +127193,7 @@ var BlockedByActorError = class extends XRPCError {
|
|
|
127103
127193
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127104
127194
|
}
|
|
127105
127195
|
};
|
|
127106
|
-
function
|
|
127196
|
+
function toKnownErr75(e) {
|
|
127107
127197
|
if (e instanceof XRPCError) {
|
|
127108
127198
|
if (e.error === "BlockedActor")
|
|
127109
127199
|
return new BlockedActorError(e);
|
|
@@ -127124,7 +127214,7 @@ var BlockedByActorError2 = class extends XRPCError {
|
|
|
127124
127214
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127125
127215
|
}
|
|
127126
127216
|
};
|
|
127127
|
-
function
|
|
127217
|
+
function toKnownErr76(e) {
|
|
127128
127218
|
if (e instanceof XRPCError) {
|
|
127129
127219
|
if (e.error === "BlockedActor")
|
|
127130
127220
|
return new BlockedActorError2(e);
|
|
@@ -127140,7 +127230,7 @@ var UnknownFeedError = class extends XRPCError {
|
|
|
127140
127230
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127141
127231
|
}
|
|
127142
127232
|
};
|
|
127143
|
-
function
|
|
127233
|
+
function toKnownErr77(e) {
|
|
127144
127234
|
if (e instanceof XRPCError) {
|
|
127145
127235
|
if (e.error === "UnknownFeed")
|
|
127146
127236
|
return new UnknownFeedError(e);
|
|
@@ -127149,14 +127239,14 @@ function toKnownErr76(e) {
|
|
|
127149
127239
|
}
|
|
127150
127240
|
|
|
127151
127241
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerator.ts
|
|
127152
|
-
function
|
|
127242
|
+
function toKnownErr78(e) {
|
|
127153
127243
|
if (e instanceof XRPCError) {
|
|
127154
127244
|
}
|
|
127155
127245
|
return e;
|
|
127156
127246
|
}
|
|
127157
127247
|
|
|
127158
127248
|
// ../api/src/client/types/app/bsky/feed/getFeedGenerators.ts
|
|
127159
|
-
function
|
|
127249
|
+
function toKnownErr79(e) {
|
|
127160
127250
|
if (e instanceof XRPCError) {
|
|
127161
127251
|
}
|
|
127162
127252
|
return e;
|
|
@@ -127166,14 +127256,14 @@ function toKnownErr78(e) {
|
|
|
127166
127256
|
var getFeedSkeleton_exports = {};
|
|
127167
127257
|
__export(getFeedSkeleton_exports, {
|
|
127168
127258
|
UnknownFeedError: () => UnknownFeedError2,
|
|
127169
|
-
toKnownErr: () =>
|
|
127259
|
+
toKnownErr: () => toKnownErr80
|
|
127170
127260
|
});
|
|
127171
127261
|
var UnknownFeedError2 = class extends XRPCError {
|
|
127172
127262
|
constructor(src3) {
|
|
127173
127263
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127174
127264
|
}
|
|
127175
127265
|
};
|
|
127176
|
-
function
|
|
127266
|
+
function toKnownErr80(e) {
|
|
127177
127267
|
if (e instanceof XRPCError) {
|
|
127178
127268
|
if (e.error === "UnknownFeed")
|
|
127179
127269
|
return new UnknownFeedError2(e);
|
|
@@ -127182,7 +127272,7 @@ function toKnownErr79(e) {
|
|
|
127182
127272
|
}
|
|
127183
127273
|
|
|
127184
127274
|
// ../api/src/client/types/app/bsky/feed/getLikes.ts
|
|
127185
|
-
function
|
|
127275
|
+
function toKnownErr81(e) {
|
|
127186
127276
|
if (e instanceof XRPCError) {
|
|
127187
127277
|
}
|
|
127188
127278
|
return e;
|
|
@@ -127194,7 +127284,7 @@ var UnknownListError = class extends XRPCError {
|
|
|
127194
127284
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127195
127285
|
}
|
|
127196
127286
|
};
|
|
127197
|
-
function
|
|
127287
|
+
function toKnownErr82(e) {
|
|
127198
127288
|
if (e instanceof XRPCError) {
|
|
127199
127289
|
if (e.error === "UnknownList")
|
|
127200
127290
|
return new UnknownListError(e);
|
|
@@ -127208,7 +127298,7 @@ var NotFoundError = class extends XRPCError {
|
|
|
127208
127298
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127209
127299
|
}
|
|
127210
127300
|
};
|
|
127211
|
-
function
|
|
127301
|
+
function toKnownErr83(e) {
|
|
127212
127302
|
if (e instanceof XRPCError) {
|
|
127213
127303
|
if (e.error === "NotFound")
|
|
127214
127304
|
return new NotFoundError(e);
|
|
@@ -127217,28 +127307,28 @@ function toKnownErr82(e) {
|
|
|
127217
127307
|
}
|
|
127218
127308
|
|
|
127219
127309
|
// ../api/src/client/types/app/bsky/feed/getPosts.ts
|
|
127220
|
-
function
|
|
127310
|
+
function toKnownErr84(e) {
|
|
127221
127311
|
if (e instanceof XRPCError) {
|
|
127222
127312
|
}
|
|
127223
127313
|
return e;
|
|
127224
127314
|
}
|
|
127225
127315
|
|
|
127226
127316
|
// ../api/src/client/types/app/bsky/feed/getRepostedBy.ts
|
|
127227
|
-
function
|
|
127317
|
+
function toKnownErr85(e) {
|
|
127228
127318
|
if (e instanceof XRPCError) {
|
|
127229
127319
|
}
|
|
127230
127320
|
return e;
|
|
127231
127321
|
}
|
|
127232
127322
|
|
|
127233
127323
|
// ../api/src/client/types/app/bsky/feed/getSuggestedFeeds.ts
|
|
127234
|
-
function
|
|
127324
|
+
function toKnownErr86(e) {
|
|
127235
127325
|
if (e instanceof XRPCError) {
|
|
127236
127326
|
}
|
|
127237
127327
|
return e;
|
|
127238
127328
|
}
|
|
127239
127329
|
|
|
127240
127330
|
// ../api/src/client/types/app/bsky/feed/getTimeline.ts
|
|
127241
|
-
function
|
|
127331
|
+
function toKnownErr87(e) {
|
|
127242
127332
|
if (e instanceof XRPCError) {
|
|
127243
127333
|
}
|
|
127244
127334
|
return e;
|
|
@@ -127250,7 +127340,7 @@ var BadQueryStringError = class extends XRPCError {
|
|
|
127250
127340
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127251
127341
|
}
|
|
127252
127342
|
};
|
|
127253
|
-
function
|
|
127343
|
+
function toKnownErr88(e) {
|
|
127254
127344
|
if (e instanceof XRPCError) {
|
|
127255
127345
|
if (e.error === "BadQueryString")
|
|
127256
127346
|
return new BadQueryStringError(e);
|
|
@@ -127259,133 +127349,133 @@ function toKnownErr87(e) {
|
|
|
127259
127349
|
}
|
|
127260
127350
|
|
|
127261
127351
|
// ../api/src/client/types/app/bsky/graph/getBlocks.ts
|
|
127262
|
-
function
|
|
127352
|
+
function toKnownErr89(e) {
|
|
127263
127353
|
if (e instanceof XRPCError) {
|
|
127264
127354
|
}
|
|
127265
127355
|
return e;
|
|
127266
127356
|
}
|
|
127267
127357
|
|
|
127268
127358
|
// ../api/src/client/types/app/bsky/graph/getFollowers.ts
|
|
127269
|
-
function
|
|
127359
|
+
function toKnownErr90(e) {
|
|
127270
127360
|
if (e instanceof XRPCError) {
|
|
127271
127361
|
}
|
|
127272
127362
|
return e;
|
|
127273
127363
|
}
|
|
127274
127364
|
|
|
127275
127365
|
// ../api/src/client/types/app/bsky/graph/getFollows.ts
|
|
127276
|
-
function
|
|
127366
|
+
function toKnownErr91(e) {
|
|
127277
127367
|
if (e instanceof XRPCError) {
|
|
127278
127368
|
}
|
|
127279
127369
|
return e;
|
|
127280
127370
|
}
|
|
127281
127371
|
|
|
127282
127372
|
// ../api/src/client/types/app/bsky/graph/getList.ts
|
|
127283
|
-
function
|
|
127373
|
+
function toKnownErr92(e) {
|
|
127284
127374
|
if (e instanceof XRPCError) {
|
|
127285
127375
|
}
|
|
127286
127376
|
return e;
|
|
127287
127377
|
}
|
|
127288
127378
|
|
|
127289
127379
|
// ../api/src/client/types/app/bsky/graph/getListBlocks.ts
|
|
127290
|
-
function
|
|
127380
|
+
function toKnownErr93(e) {
|
|
127291
127381
|
if (e instanceof XRPCError) {
|
|
127292
127382
|
}
|
|
127293
127383
|
return e;
|
|
127294
127384
|
}
|
|
127295
127385
|
|
|
127296
127386
|
// ../api/src/client/types/app/bsky/graph/getListMutes.ts
|
|
127297
|
-
function
|
|
127387
|
+
function toKnownErr94(e) {
|
|
127298
127388
|
if (e instanceof XRPCError) {
|
|
127299
127389
|
}
|
|
127300
127390
|
return e;
|
|
127301
127391
|
}
|
|
127302
127392
|
|
|
127303
127393
|
// ../api/src/client/types/app/bsky/graph/getLists.ts
|
|
127304
|
-
function
|
|
127394
|
+
function toKnownErr95(e) {
|
|
127305
127395
|
if (e instanceof XRPCError) {
|
|
127306
127396
|
}
|
|
127307
127397
|
return e;
|
|
127308
127398
|
}
|
|
127309
127399
|
|
|
127310
127400
|
// ../api/src/client/types/app/bsky/graph/getMutes.ts
|
|
127311
|
-
function
|
|
127401
|
+
function toKnownErr96(e) {
|
|
127312
127402
|
if (e instanceof XRPCError) {
|
|
127313
127403
|
}
|
|
127314
127404
|
return e;
|
|
127315
127405
|
}
|
|
127316
127406
|
|
|
127317
127407
|
// ../api/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts
|
|
127318
|
-
function
|
|
127408
|
+
function toKnownErr97(e) {
|
|
127319
127409
|
if (e instanceof XRPCError) {
|
|
127320
127410
|
}
|
|
127321
127411
|
return e;
|
|
127322
127412
|
}
|
|
127323
127413
|
|
|
127324
127414
|
// ../api/src/client/types/app/bsky/graph/muteActor.ts
|
|
127325
|
-
function
|
|
127415
|
+
function toKnownErr98(e) {
|
|
127326
127416
|
if (e instanceof XRPCError) {
|
|
127327
127417
|
}
|
|
127328
127418
|
return e;
|
|
127329
127419
|
}
|
|
127330
127420
|
|
|
127331
127421
|
// ../api/src/client/types/app/bsky/graph/muteActorList.ts
|
|
127332
|
-
function
|
|
127422
|
+
function toKnownErr99(e) {
|
|
127333
127423
|
if (e instanceof XRPCError) {
|
|
127334
127424
|
}
|
|
127335
127425
|
return e;
|
|
127336
127426
|
}
|
|
127337
127427
|
|
|
127338
127428
|
// ../api/src/client/types/app/bsky/graph/unmuteActor.ts
|
|
127339
|
-
function
|
|
127429
|
+
function toKnownErr100(e) {
|
|
127340
127430
|
if (e instanceof XRPCError) {
|
|
127341
127431
|
}
|
|
127342
127432
|
return e;
|
|
127343
127433
|
}
|
|
127344
127434
|
|
|
127345
127435
|
// ../api/src/client/types/app/bsky/graph/unmuteActorList.ts
|
|
127346
|
-
function
|
|
127436
|
+
function toKnownErr101(e) {
|
|
127347
127437
|
if (e instanceof XRPCError) {
|
|
127348
127438
|
}
|
|
127349
127439
|
return e;
|
|
127350
127440
|
}
|
|
127351
127441
|
|
|
127352
127442
|
// ../api/src/client/types/app/bsky/notification/getUnreadCount.ts
|
|
127353
|
-
function
|
|
127443
|
+
function toKnownErr102(e) {
|
|
127354
127444
|
if (e instanceof XRPCError) {
|
|
127355
127445
|
}
|
|
127356
127446
|
return e;
|
|
127357
127447
|
}
|
|
127358
127448
|
|
|
127359
127449
|
// ../api/src/client/types/app/bsky/notification/listNotifications.ts
|
|
127360
|
-
function
|
|
127450
|
+
function toKnownErr103(e) {
|
|
127361
127451
|
if (e instanceof XRPCError) {
|
|
127362
127452
|
}
|
|
127363
127453
|
return e;
|
|
127364
127454
|
}
|
|
127365
127455
|
|
|
127366
127456
|
// ../api/src/client/types/app/bsky/notification/registerPush.ts
|
|
127367
|
-
function
|
|
127457
|
+
function toKnownErr104(e) {
|
|
127368
127458
|
if (e instanceof XRPCError) {
|
|
127369
127459
|
}
|
|
127370
127460
|
return e;
|
|
127371
127461
|
}
|
|
127372
127462
|
|
|
127373
127463
|
// ../api/src/client/types/app/bsky/notification/updateSeen.ts
|
|
127374
|
-
function
|
|
127464
|
+
function toKnownErr105(e) {
|
|
127375
127465
|
if (e instanceof XRPCError) {
|
|
127376
127466
|
}
|
|
127377
127467
|
return e;
|
|
127378
127468
|
}
|
|
127379
127469
|
|
|
127380
127470
|
// ../api/src/client/types/app/bsky/unspecced/getPopular.ts
|
|
127381
|
-
function
|
|
127471
|
+
function toKnownErr106(e) {
|
|
127382
127472
|
if (e instanceof XRPCError) {
|
|
127383
127473
|
}
|
|
127384
127474
|
return e;
|
|
127385
127475
|
}
|
|
127386
127476
|
|
|
127387
127477
|
// ../api/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts
|
|
127388
|
-
function
|
|
127478
|
+
function toKnownErr107(e) {
|
|
127389
127479
|
if (e instanceof XRPCError) {
|
|
127390
127480
|
}
|
|
127391
127481
|
return e;
|
|
@@ -127397,7 +127487,7 @@ var UnknownFeedError3 = class extends XRPCError {
|
|
|
127397
127487
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127398
127488
|
}
|
|
127399
127489
|
};
|
|
127400
|
-
function
|
|
127490
|
+
function toKnownErr108(e) {
|
|
127401
127491
|
if (e instanceof XRPCError) {
|
|
127402
127492
|
if (e.error === "UnknownFeed")
|
|
127403
127493
|
return new UnknownFeedError3(e);
|
|
@@ -127411,7 +127501,7 @@ var BadQueryStringError2 = class extends XRPCError {
|
|
|
127411
127501
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127412
127502
|
}
|
|
127413
127503
|
};
|
|
127414
|
-
function
|
|
127504
|
+
function toKnownErr109(e) {
|
|
127415
127505
|
if (e instanceof XRPCError) {
|
|
127416
127506
|
if (e.error === "BadQueryString")
|
|
127417
127507
|
return new BadQueryStringError2(e);
|
|
@@ -127425,7 +127515,7 @@ var BadQueryStringError3 = class extends XRPCError {
|
|
|
127425
127515
|
super(src3.status, src3.error, src3.message, src3.headers);
|
|
127426
127516
|
}
|
|
127427
127517
|
};
|
|
127428
|
-
function
|
|
127518
|
+
function toKnownErr110(e) {
|
|
127429
127519
|
if (e instanceof XRPCError) {
|
|
127430
127520
|
if (e.error === "BadQueryString")
|
|
127431
127521
|
return new BadQueryStringError3(e);
|
|
@@ -127470,6 +127560,7 @@ var AtprotoNS = class {
|
|
|
127470
127560
|
this.repo = new RepoNS(service2);
|
|
127471
127561
|
this.server = new ServerNS(service2);
|
|
127472
127562
|
this.sync = new SyncNS(service2);
|
|
127563
|
+
this.temp = new TempNS(service2);
|
|
127473
127564
|
}
|
|
127474
127565
|
};
|
|
127475
127566
|
var AdminNS = class {
|
|
@@ -127827,6 +127918,16 @@ var SyncNS = class {
|
|
|
127827
127918
|
});
|
|
127828
127919
|
}
|
|
127829
127920
|
};
|
|
127921
|
+
var TempNS = class {
|
|
127922
|
+
constructor(service2) {
|
|
127923
|
+
this._service = service2;
|
|
127924
|
+
}
|
|
127925
|
+
fetchLabels(params2, opts) {
|
|
127926
|
+
return this._service.xrpc.call("com.atproto.temp.fetchLabels", params2, void 0, opts).catch((e) => {
|
|
127927
|
+
throw toKnownErr65(e);
|
|
127928
|
+
});
|
|
127929
|
+
}
|
|
127930
|
+
};
|
|
127830
127931
|
var AppNS = class {
|
|
127831
127932
|
constructor(service2) {
|
|
127832
127933
|
this._service = service2;
|
|
@@ -127852,37 +127953,37 @@ var ActorNS = class {
|
|
|
127852
127953
|
}
|
|
127853
127954
|
getPreferences(params2, opts) {
|
|
127854
127955
|
return this._service.xrpc.call("app.bsky.actor.getPreferences", params2, void 0, opts).catch((e) => {
|
|
127855
|
-
throw
|
|
127956
|
+
throw toKnownErr66(e);
|
|
127856
127957
|
});
|
|
127857
127958
|
}
|
|
127858
127959
|
getProfile(params2, opts) {
|
|
127859
127960
|
return this._service.xrpc.call("app.bsky.actor.getProfile", params2, void 0, opts).catch((e) => {
|
|
127860
|
-
throw
|
|
127961
|
+
throw toKnownErr67(e);
|
|
127861
127962
|
});
|
|
127862
127963
|
}
|
|
127863
127964
|
getProfiles(params2, opts) {
|
|
127864
127965
|
return this._service.xrpc.call("app.bsky.actor.getProfiles", params2, void 0, opts).catch((e) => {
|
|
127865
|
-
throw
|
|
127966
|
+
throw toKnownErr68(e);
|
|
127866
127967
|
});
|
|
127867
127968
|
}
|
|
127868
127969
|
getSuggestions(params2, opts) {
|
|
127869
127970
|
return this._service.xrpc.call("app.bsky.actor.getSuggestions", params2, void 0, opts).catch((e) => {
|
|
127870
|
-
throw
|
|
127971
|
+
throw toKnownErr69(e);
|
|
127871
127972
|
});
|
|
127872
127973
|
}
|
|
127873
127974
|
putPreferences(data, opts) {
|
|
127874
127975
|
return this._service.xrpc.call("app.bsky.actor.putPreferences", opts?.qp, data, opts).catch((e) => {
|
|
127875
|
-
throw
|
|
127976
|
+
throw toKnownErr70(e);
|
|
127876
127977
|
});
|
|
127877
127978
|
}
|
|
127878
127979
|
searchActors(params2, opts) {
|
|
127879
127980
|
return this._service.xrpc.call("app.bsky.actor.searchActors", params2, void 0, opts).catch((e) => {
|
|
127880
|
-
throw
|
|
127981
|
+
throw toKnownErr71(e);
|
|
127881
127982
|
});
|
|
127882
127983
|
}
|
|
127883
127984
|
searchActorsTypeahead(params2, opts) {
|
|
127884
127985
|
return this._service.xrpc.call("app.bsky.actor.searchActorsTypeahead", params2, void 0, opts).catch((e) => {
|
|
127885
|
-
throw
|
|
127986
|
+
throw toKnownErr72(e);
|
|
127886
127987
|
});
|
|
127887
127988
|
}
|
|
127888
127989
|
};
|
|
@@ -127929,82 +128030,82 @@ var FeedNS = class {
|
|
|
127929
128030
|
}
|
|
127930
128031
|
describeFeedGenerator(params2, opts) {
|
|
127931
128032
|
return this._service.xrpc.call("app.bsky.feed.describeFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
127932
|
-
throw
|
|
128033
|
+
throw toKnownErr73(e);
|
|
127933
128034
|
});
|
|
127934
128035
|
}
|
|
127935
128036
|
getActorFeeds(params2, opts) {
|
|
127936
128037
|
return this._service.xrpc.call("app.bsky.feed.getActorFeeds", params2, void 0, opts).catch((e) => {
|
|
127937
|
-
throw
|
|
128038
|
+
throw toKnownErr74(e);
|
|
127938
128039
|
});
|
|
127939
128040
|
}
|
|
127940
128041
|
getActorLikes(params2, opts) {
|
|
127941
128042
|
return this._service.xrpc.call("app.bsky.feed.getActorLikes", params2, void 0, opts).catch((e) => {
|
|
127942
|
-
throw
|
|
128043
|
+
throw toKnownErr75(e);
|
|
127943
128044
|
});
|
|
127944
128045
|
}
|
|
127945
128046
|
getAuthorFeed(params2, opts) {
|
|
127946
128047
|
return this._service.xrpc.call("app.bsky.feed.getAuthorFeed", params2, void 0, opts).catch((e) => {
|
|
127947
|
-
throw
|
|
128048
|
+
throw toKnownErr76(e);
|
|
127948
128049
|
});
|
|
127949
128050
|
}
|
|
127950
128051
|
getFeed(params2, opts) {
|
|
127951
128052
|
return this._service.xrpc.call("app.bsky.feed.getFeed", params2, void 0, opts).catch((e) => {
|
|
127952
|
-
throw
|
|
128053
|
+
throw toKnownErr77(e);
|
|
127953
128054
|
});
|
|
127954
128055
|
}
|
|
127955
128056
|
getFeedGenerator(params2, opts) {
|
|
127956
128057
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerator", params2, void 0, opts).catch((e) => {
|
|
127957
|
-
throw
|
|
128058
|
+
throw toKnownErr78(e);
|
|
127958
128059
|
});
|
|
127959
128060
|
}
|
|
127960
128061
|
getFeedGenerators(params2, opts) {
|
|
127961
128062
|
return this._service.xrpc.call("app.bsky.feed.getFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
127962
|
-
throw
|
|
128063
|
+
throw toKnownErr79(e);
|
|
127963
128064
|
});
|
|
127964
128065
|
}
|
|
127965
128066
|
getFeedSkeleton(params2, opts) {
|
|
127966
128067
|
return this._service.xrpc.call("app.bsky.feed.getFeedSkeleton", params2, void 0, opts).catch((e) => {
|
|
127967
|
-
throw
|
|
128068
|
+
throw toKnownErr80(e);
|
|
127968
128069
|
});
|
|
127969
128070
|
}
|
|
127970
128071
|
getLikes(params2, opts) {
|
|
127971
128072
|
return this._service.xrpc.call("app.bsky.feed.getLikes", params2, void 0, opts).catch((e) => {
|
|
127972
|
-
throw
|
|
128073
|
+
throw toKnownErr81(e);
|
|
127973
128074
|
});
|
|
127974
128075
|
}
|
|
127975
128076
|
getListFeed(params2, opts) {
|
|
127976
128077
|
return this._service.xrpc.call("app.bsky.feed.getListFeed", params2, void 0, opts).catch((e) => {
|
|
127977
|
-
throw
|
|
128078
|
+
throw toKnownErr82(e);
|
|
127978
128079
|
});
|
|
127979
128080
|
}
|
|
127980
128081
|
getPostThread(params2, opts) {
|
|
127981
128082
|
return this._service.xrpc.call("app.bsky.feed.getPostThread", params2, void 0, opts).catch((e) => {
|
|
127982
|
-
throw
|
|
128083
|
+
throw toKnownErr83(e);
|
|
127983
128084
|
});
|
|
127984
128085
|
}
|
|
127985
128086
|
getPosts(params2, opts) {
|
|
127986
128087
|
return this._service.xrpc.call("app.bsky.feed.getPosts", params2, void 0, opts).catch((e) => {
|
|
127987
|
-
throw
|
|
128088
|
+
throw toKnownErr84(e);
|
|
127988
128089
|
});
|
|
127989
128090
|
}
|
|
127990
128091
|
getRepostedBy(params2, opts) {
|
|
127991
128092
|
return this._service.xrpc.call("app.bsky.feed.getRepostedBy", params2, void 0, opts).catch((e) => {
|
|
127992
|
-
throw
|
|
128093
|
+
throw toKnownErr85(e);
|
|
127993
128094
|
});
|
|
127994
128095
|
}
|
|
127995
128096
|
getSuggestedFeeds(params2, opts) {
|
|
127996
128097
|
return this._service.xrpc.call("app.bsky.feed.getSuggestedFeeds", params2, void 0, opts).catch((e) => {
|
|
127997
|
-
throw
|
|
128098
|
+
throw toKnownErr86(e);
|
|
127998
128099
|
});
|
|
127999
128100
|
}
|
|
128000
128101
|
getTimeline(params2, opts) {
|
|
128001
128102
|
return this._service.xrpc.call("app.bsky.feed.getTimeline", params2, void 0, opts).catch((e) => {
|
|
128002
|
-
throw
|
|
128103
|
+
throw toKnownErr87(e);
|
|
128003
128104
|
});
|
|
128004
128105
|
}
|
|
128005
128106
|
searchPosts(params2, opts) {
|
|
128006
128107
|
return this._service.xrpc.call("app.bsky.feed.searchPosts", params2, void 0, opts).catch((e) => {
|
|
128007
|
-
throw
|
|
128108
|
+
throw toKnownErr88(e);
|
|
128008
128109
|
});
|
|
128009
128110
|
}
|
|
128010
128111
|
};
|
|
@@ -128154,67 +128255,67 @@ var GraphNS = class {
|
|
|
128154
128255
|
}
|
|
128155
128256
|
getBlocks(params2, opts) {
|
|
128156
128257
|
return this._service.xrpc.call("app.bsky.graph.getBlocks", params2, void 0, opts).catch((e) => {
|
|
128157
|
-
throw
|
|
128258
|
+
throw toKnownErr89(e);
|
|
128158
128259
|
});
|
|
128159
128260
|
}
|
|
128160
128261
|
getFollowers(params2, opts) {
|
|
128161
128262
|
return this._service.xrpc.call("app.bsky.graph.getFollowers", params2, void 0, opts).catch((e) => {
|
|
128162
|
-
throw
|
|
128263
|
+
throw toKnownErr90(e);
|
|
128163
128264
|
});
|
|
128164
128265
|
}
|
|
128165
128266
|
getFollows(params2, opts) {
|
|
128166
128267
|
return this._service.xrpc.call("app.bsky.graph.getFollows", params2, void 0, opts).catch((e) => {
|
|
128167
|
-
throw
|
|
128268
|
+
throw toKnownErr91(e);
|
|
128168
128269
|
});
|
|
128169
128270
|
}
|
|
128170
128271
|
getList(params2, opts) {
|
|
128171
128272
|
return this._service.xrpc.call("app.bsky.graph.getList", params2, void 0, opts).catch((e) => {
|
|
128172
|
-
throw
|
|
128273
|
+
throw toKnownErr92(e);
|
|
128173
128274
|
});
|
|
128174
128275
|
}
|
|
128175
128276
|
getListBlocks(params2, opts) {
|
|
128176
128277
|
return this._service.xrpc.call("app.bsky.graph.getListBlocks", params2, void 0, opts).catch((e) => {
|
|
128177
|
-
throw
|
|
128278
|
+
throw toKnownErr93(e);
|
|
128178
128279
|
});
|
|
128179
128280
|
}
|
|
128180
128281
|
getListMutes(params2, opts) {
|
|
128181
128282
|
return this._service.xrpc.call("app.bsky.graph.getListMutes", params2, void 0, opts).catch((e) => {
|
|
128182
|
-
throw
|
|
128283
|
+
throw toKnownErr94(e);
|
|
128183
128284
|
});
|
|
128184
128285
|
}
|
|
128185
128286
|
getLists(params2, opts) {
|
|
128186
128287
|
return this._service.xrpc.call("app.bsky.graph.getLists", params2, void 0, opts).catch((e) => {
|
|
128187
|
-
throw
|
|
128288
|
+
throw toKnownErr95(e);
|
|
128188
128289
|
});
|
|
128189
128290
|
}
|
|
128190
128291
|
getMutes(params2, opts) {
|
|
128191
128292
|
return this._service.xrpc.call("app.bsky.graph.getMutes", params2, void 0, opts).catch((e) => {
|
|
128192
|
-
throw
|
|
128293
|
+
throw toKnownErr96(e);
|
|
128193
128294
|
});
|
|
128194
128295
|
}
|
|
128195
128296
|
getSuggestedFollowsByActor(params2, opts) {
|
|
128196
128297
|
return this._service.xrpc.call("app.bsky.graph.getSuggestedFollowsByActor", params2, void 0, opts).catch((e) => {
|
|
128197
|
-
throw
|
|
128298
|
+
throw toKnownErr97(e);
|
|
128198
128299
|
});
|
|
128199
128300
|
}
|
|
128200
128301
|
muteActor(data, opts) {
|
|
128201
128302
|
return this._service.xrpc.call("app.bsky.graph.muteActor", opts?.qp, data, opts).catch((e) => {
|
|
128202
|
-
throw
|
|
128303
|
+
throw toKnownErr98(e);
|
|
128203
128304
|
});
|
|
128204
128305
|
}
|
|
128205
128306
|
muteActorList(data, opts) {
|
|
128206
128307
|
return this._service.xrpc.call("app.bsky.graph.muteActorList", opts?.qp, data, opts).catch((e) => {
|
|
128207
|
-
throw
|
|
128308
|
+
throw toKnownErr99(e);
|
|
128208
128309
|
});
|
|
128209
128310
|
}
|
|
128210
128311
|
unmuteActor(data, opts) {
|
|
128211
128312
|
return this._service.xrpc.call("app.bsky.graph.unmuteActor", opts?.qp, data, opts).catch((e) => {
|
|
128212
|
-
throw
|
|
128313
|
+
throw toKnownErr100(e);
|
|
128213
128314
|
});
|
|
128214
128315
|
}
|
|
128215
128316
|
unmuteActorList(data, opts) {
|
|
128216
128317
|
return this._service.xrpc.call("app.bsky.graph.unmuteActorList", opts?.qp, data, opts).catch((e) => {
|
|
128217
|
-
throw
|
|
128318
|
+
throw toKnownErr101(e);
|
|
128218
128319
|
});
|
|
128219
128320
|
}
|
|
128220
128321
|
};
|
|
@@ -128359,22 +128460,22 @@ var NotificationNS = class {
|
|
|
128359
128460
|
}
|
|
128360
128461
|
getUnreadCount(params2, opts) {
|
|
128361
128462
|
return this._service.xrpc.call("app.bsky.notification.getUnreadCount", params2, void 0, opts).catch((e) => {
|
|
128362
|
-
throw
|
|
128463
|
+
throw toKnownErr102(e);
|
|
128363
128464
|
});
|
|
128364
128465
|
}
|
|
128365
128466
|
listNotifications(params2, opts) {
|
|
128366
128467
|
return this._service.xrpc.call("app.bsky.notification.listNotifications", params2, void 0, opts).catch((e) => {
|
|
128367
|
-
throw
|
|
128468
|
+
throw toKnownErr103(e);
|
|
128368
128469
|
});
|
|
128369
128470
|
}
|
|
128370
128471
|
registerPush(data, opts) {
|
|
128371
128472
|
return this._service.xrpc.call("app.bsky.notification.registerPush", opts?.qp, data, opts).catch((e) => {
|
|
128372
|
-
throw
|
|
128473
|
+
throw toKnownErr104(e);
|
|
128373
128474
|
});
|
|
128374
128475
|
}
|
|
128375
128476
|
updateSeen(data, opts) {
|
|
128376
128477
|
return this._service.xrpc.call("app.bsky.notification.updateSeen", opts?.qp, data, opts).catch((e) => {
|
|
128377
|
-
throw
|
|
128478
|
+
throw toKnownErr105(e);
|
|
128378
128479
|
});
|
|
128379
128480
|
}
|
|
128380
128481
|
};
|
|
@@ -128389,27 +128490,27 @@ var UnspeccedNS = class {
|
|
|
128389
128490
|
}
|
|
128390
128491
|
getPopular(params2, opts) {
|
|
128391
128492
|
return this._service.xrpc.call("app.bsky.unspecced.getPopular", params2, void 0, opts).catch((e) => {
|
|
128392
|
-
throw
|
|
128493
|
+
throw toKnownErr106(e);
|
|
128393
128494
|
});
|
|
128394
128495
|
}
|
|
128395
128496
|
getPopularFeedGenerators(params2, opts) {
|
|
128396
128497
|
return this._service.xrpc.call("app.bsky.unspecced.getPopularFeedGenerators", params2, void 0, opts).catch((e) => {
|
|
128397
|
-
throw
|
|
128498
|
+
throw toKnownErr107(e);
|
|
128398
128499
|
});
|
|
128399
128500
|
}
|
|
128400
128501
|
getTimelineSkeleton(params2, opts) {
|
|
128401
128502
|
return this._service.xrpc.call("app.bsky.unspecced.getTimelineSkeleton", params2, void 0, opts).catch((e) => {
|
|
128402
|
-
throw
|
|
128503
|
+
throw toKnownErr108(e);
|
|
128403
128504
|
});
|
|
128404
128505
|
}
|
|
128405
128506
|
searchActorsSkeleton(params2, opts) {
|
|
128406
128507
|
return this._service.xrpc.call("app.bsky.unspecced.searchActorsSkeleton", params2, void 0, opts).catch((e) => {
|
|
128407
|
-
throw
|
|
128508
|
+
throw toKnownErr109(e);
|
|
128408
128509
|
});
|
|
128409
128510
|
}
|
|
128410
128511
|
searchPostsSkeleton(params2, opts) {
|
|
128411
128512
|
return this._service.xrpc.call("app.bsky.unspecced.searchPostsSkeleton", params2, void 0, opts).catch((e) => {
|
|
128412
|
-
throw
|
|
128513
|
+
throw toKnownErr110(e);
|
|
128413
128514
|
});
|
|
128414
128515
|
}
|
|
128415
128516
|
};
|
|
@@ -129610,13 +129711,13 @@ var skeletonFromFeedGen = async (ctx, params2) => {
|
|
|
129610
129711
|
throw new InvalidRequestError(`invalid feed generator service details in did document: ${feedDid}`);
|
|
129611
129712
|
}
|
|
129612
129713
|
const agent = new AtpAgent({ service: fgEndpoint });
|
|
129613
|
-
let
|
|
129714
|
+
let skeleton20;
|
|
129614
129715
|
try {
|
|
129615
129716
|
const headers = authorization ? { authorization } : {};
|
|
129616
129717
|
const result = await agent.api.app.bsky.feed.getFeedSkeleton(params2, {
|
|
129617
129718
|
headers
|
|
129618
129719
|
});
|
|
129619
|
-
|
|
129720
|
+
skeleton20 = result.data;
|
|
129620
129721
|
} catch (err) {
|
|
129621
129722
|
if (err instanceof getFeedSkeleton_exports.UnknownFeedError) {
|
|
129622
129723
|
throw new InvalidRequestError(err.message, "UnknownFeed");
|
|
@@ -129631,16 +129732,16 @@ var skeletonFromFeedGen = async (ctx, params2) => {
|
|
|
129631
129732
|
}
|
|
129632
129733
|
throw err;
|
|
129633
129734
|
}
|
|
129634
|
-
const { feed: feedSkele, ...skele } =
|
|
129735
|
+
const { feed: feedSkele, ...skele } = skeleton20;
|
|
129635
129736
|
const feedItems = await skeletonToFeedItems(feedSkele.slice(0, params2.limit), ctx);
|
|
129636
129737
|
return { ...skele, feedItems };
|
|
129637
129738
|
};
|
|
129638
|
-
var skeletonToFeedItems = async (
|
|
129739
|
+
var skeletonToFeedItems = async (skeleton20, ctx) => {
|
|
129639
129740
|
const { feedService } = ctx;
|
|
129640
|
-
const feedItemUris =
|
|
129741
|
+
const feedItemUris = skeleton20.map(getSkeleFeedItemUri);
|
|
129641
129742
|
const feedItemsRaw = await feedService.getFeedItems(feedItemUris);
|
|
129642
129743
|
const results = [];
|
|
129643
|
-
for (const skeleItem of
|
|
129744
|
+
for (const skeleItem of skeleton20) {
|
|
129644
129745
|
const feedItem = feedItemsRaw[getSkeleFeedItemUri(skeleItem)];
|
|
129645
129746
|
if (feedItem && feedItem.postUri === skeleItem.post) {
|
|
129646
129747
|
results.push(feedItem);
|
|
@@ -129964,7 +130065,7 @@ var schemaDict2 = {
|
|
|
129964
130065
|
},
|
|
129965
130066
|
durationInHours: {
|
|
129966
130067
|
type: "integer",
|
|
129967
|
-
description: "Indicates how long this action
|
|
130068
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
129968
130069
|
},
|
|
129969
130070
|
subject: {
|
|
129970
130071
|
type: "union",
|
|
@@ -130036,7 +130137,7 @@ var schemaDict2 = {
|
|
|
130036
130137
|
},
|
|
130037
130138
|
durationInHours: {
|
|
130038
130139
|
type: "integer",
|
|
130039
|
-
description: "Indicates how long this action
|
|
130140
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
130040
130141
|
},
|
|
130041
130142
|
subject: {
|
|
130042
130143
|
type: "union",
|
|
@@ -130103,7 +130204,7 @@ var schemaDict2 = {
|
|
|
130103
130204
|
},
|
|
130104
130205
|
durationInHours: {
|
|
130105
130206
|
type: "integer",
|
|
130106
|
-
description: "Indicates how long this action
|
|
130207
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
130107
130208
|
}
|
|
130108
130209
|
}
|
|
130109
130210
|
},
|
|
@@ -130348,6 +130449,10 @@ var schemaDict2 = {
|
|
|
130348
130449
|
},
|
|
130349
130450
|
inviteNote: {
|
|
130350
130451
|
type: "string"
|
|
130452
|
+
},
|
|
130453
|
+
emailConfirmedAt: {
|
|
130454
|
+
type: "string",
|
|
130455
|
+
format: "datetime"
|
|
130351
130456
|
}
|
|
130352
130457
|
}
|
|
130353
130458
|
},
|
|
@@ -130384,6 +130489,10 @@ var schemaDict2 = {
|
|
|
130384
130489
|
invitesDisabled: {
|
|
130385
130490
|
type: "boolean"
|
|
130386
130491
|
},
|
|
130492
|
+
emailConfirmedAt: {
|
|
130493
|
+
type: "string",
|
|
130494
|
+
format: "datetime"
|
|
130495
|
+
},
|
|
130387
130496
|
inviteNote: {
|
|
130388
130497
|
type: "string"
|
|
130389
130498
|
}
|
|
@@ -130631,7 +130740,7 @@ var schemaDict2 = {
|
|
|
130631
130740
|
defs: {
|
|
130632
130741
|
main: {
|
|
130633
130742
|
type: "procedure",
|
|
130634
|
-
description: "Disable an account from receiving new invite codes, but does not invalidate existing codes",
|
|
130743
|
+
description: "Disable an account from receiving new invite codes, but does not invalidate existing codes.",
|
|
130635
130744
|
input: {
|
|
130636
130745
|
encoding: "application/json",
|
|
130637
130746
|
schema: {
|
|
@@ -130644,7 +130753,7 @@ var schemaDict2 = {
|
|
|
130644
130753
|
},
|
|
130645
130754
|
note: {
|
|
130646
130755
|
type: "string",
|
|
130647
|
-
description: "
|
|
130756
|
+
description: "Optional reason for disabled invites."
|
|
130648
130757
|
}
|
|
130649
130758
|
}
|
|
130650
130759
|
}
|
|
@@ -130658,7 +130767,7 @@ var schemaDict2 = {
|
|
|
130658
130767
|
defs: {
|
|
130659
130768
|
main: {
|
|
130660
130769
|
type: "procedure",
|
|
130661
|
-
description: "Disable some set of codes and/or all codes associated with a set of users",
|
|
130770
|
+
description: "Disable some set of codes and/or all codes associated with a set of users.",
|
|
130662
130771
|
input: {
|
|
130663
130772
|
encoding: "application/json",
|
|
130664
130773
|
schema: {
|
|
@@ -130688,7 +130797,7 @@ var schemaDict2 = {
|
|
|
130688
130797
|
defs: {
|
|
130689
130798
|
main: {
|
|
130690
130799
|
type: "procedure",
|
|
130691
|
-
description: "Re-enable an
|
|
130800
|
+
description: "Re-enable an account's ability to receive invite codes.",
|
|
130692
130801
|
input: {
|
|
130693
130802
|
encoding: "application/json",
|
|
130694
130803
|
schema: {
|
|
@@ -130701,7 +130810,7 @@ var schemaDict2 = {
|
|
|
130701
130810
|
},
|
|
130702
130811
|
note: {
|
|
130703
130812
|
type: "string",
|
|
130704
|
-
description: "
|
|
130813
|
+
description: "Optional reason for enabled invites."
|
|
130705
130814
|
}
|
|
130706
130815
|
}
|
|
130707
130816
|
}
|
|
@@ -130715,7 +130824,7 @@ var schemaDict2 = {
|
|
|
130715
130824
|
defs: {
|
|
130716
130825
|
main: {
|
|
130717
130826
|
type: "query",
|
|
130718
|
-
description: "
|
|
130827
|
+
description: "Get details about an account.",
|
|
130719
130828
|
parameters: {
|
|
130720
130829
|
type: "params",
|
|
130721
130830
|
required: ["did"],
|
|
@@ -130742,7 +130851,7 @@ var schemaDict2 = {
|
|
|
130742
130851
|
defs: {
|
|
130743
130852
|
main: {
|
|
130744
130853
|
type: "query",
|
|
130745
|
-
description: "
|
|
130854
|
+
description: "Get an admin view of invite codes.",
|
|
130746
130855
|
parameters: {
|
|
130747
130856
|
type: "params",
|
|
130748
130857
|
properties: {
|
|
@@ -130790,7 +130899,7 @@ var schemaDict2 = {
|
|
|
130790
130899
|
defs: {
|
|
130791
130900
|
main: {
|
|
130792
130901
|
type: "query",
|
|
130793
|
-
description: "
|
|
130902
|
+
description: "Get details about a moderation action.",
|
|
130794
130903
|
parameters: {
|
|
130795
130904
|
type: "params",
|
|
130796
130905
|
required: ["id"],
|
|
@@ -130816,7 +130925,7 @@ var schemaDict2 = {
|
|
|
130816
130925
|
defs: {
|
|
130817
130926
|
main: {
|
|
130818
130927
|
type: "query",
|
|
130819
|
-
description: "
|
|
130928
|
+
description: "Get a list of moderation actions related to a subject.",
|
|
130820
130929
|
parameters: {
|
|
130821
130930
|
type: "params",
|
|
130822
130931
|
properties: {
|
|
@@ -130862,7 +130971,7 @@ var schemaDict2 = {
|
|
|
130862
130971
|
defs: {
|
|
130863
130972
|
main: {
|
|
130864
130973
|
type: "query",
|
|
130865
|
-
description: "
|
|
130974
|
+
description: "Get details about a moderation report.",
|
|
130866
130975
|
parameters: {
|
|
130867
130976
|
type: "params",
|
|
130868
130977
|
required: ["id"],
|
|
@@ -130888,7 +130997,7 @@ var schemaDict2 = {
|
|
|
130888
130997
|
defs: {
|
|
130889
130998
|
main: {
|
|
130890
130999
|
type: "query",
|
|
130891
|
-
description: "
|
|
131000
|
+
description: "Get moderation reports related to a subject.",
|
|
130892
131001
|
parameters: {
|
|
130893
131002
|
type: "params",
|
|
130894
131003
|
properties: {
|
|
@@ -130904,14 +131013,14 @@ var schemaDict2 = {
|
|
|
130904
131013
|
actionedBy: {
|
|
130905
131014
|
type: "string",
|
|
130906
131015
|
format: "did",
|
|
130907
|
-
description: "Get all reports that were actioned by a specific moderator"
|
|
131016
|
+
description: "Get all reports that were actioned by a specific moderator."
|
|
130908
131017
|
},
|
|
130909
131018
|
reporters: {
|
|
130910
131019
|
type: "array",
|
|
130911
131020
|
items: {
|
|
130912
131021
|
type: "string"
|
|
130913
131022
|
},
|
|
130914
|
-
description: "Filter reports made by one or more DIDs"
|
|
131023
|
+
description: "Filter reports made by one or more DIDs."
|
|
130915
131024
|
},
|
|
130916
131025
|
resolved: {
|
|
130917
131026
|
type: "boolean"
|
|
@@ -130936,7 +131045,7 @@ var schemaDict2 = {
|
|
|
130936
131045
|
},
|
|
130937
131046
|
reverse: {
|
|
130938
131047
|
type: "boolean",
|
|
130939
|
-
description: "Reverse the order of the returned records
|
|
131048
|
+
description: "Reverse the order of the returned records. When true, returns reports in chronological order."
|
|
130940
131049
|
}
|
|
130941
131050
|
}
|
|
130942
131051
|
},
|
|
@@ -130968,7 +131077,7 @@ var schemaDict2 = {
|
|
|
130968
131077
|
defs: {
|
|
130969
131078
|
main: {
|
|
130970
131079
|
type: "query",
|
|
130971
|
-
description: "
|
|
131080
|
+
description: "Get details about a record.",
|
|
130972
131081
|
parameters: {
|
|
130973
131082
|
type: "params",
|
|
130974
131083
|
required: ["uri"],
|
|
@@ -131004,7 +131113,7 @@ var schemaDict2 = {
|
|
|
131004
131113
|
defs: {
|
|
131005
131114
|
main: {
|
|
131006
131115
|
type: "query",
|
|
131007
|
-
description: "
|
|
131116
|
+
description: "Get details about a repository.",
|
|
131008
131117
|
parameters: {
|
|
131009
131118
|
type: "params",
|
|
131010
131119
|
required: ["did"],
|
|
@@ -131036,7 +131145,7 @@ var schemaDict2 = {
|
|
|
131036
131145
|
defs: {
|
|
131037
131146
|
main: {
|
|
131038
131147
|
type: "query",
|
|
131039
|
-
description: "
|
|
131148
|
+
description: "Get the service-specific admin status of a subject (account, record, or blob).",
|
|
131040
131149
|
parameters: {
|
|
131041
131150
|
type: "params",
|
|
131042
131151
|
properties: {
|
|
@@ -131209,7 +131318,7 @@ var schemaDict2 = {
|
|
|
131209
131318
|
defs: {
|
|
131210
131319
|
main: {
|
|
131211
131320
|
type: "procedure",
|
|
131212
|
-
description: "Send email to a user's
|
|
131321
|
+
description: "Send email to a user's account email address.",
|
|
131213
131322
|
input: {
|
|
131214
131323
|
encoding: "application/json",
|
|
131215
131324
|
schema: {
|
|
@@ -131250,7 +131359,7 @@ var schemaDict2 = {
|
|
|
131250
131359
|
defs: {
|
|
131251
131360
|
main: {
|
|
131252
131361
|
type: "procedure",
|
|
131253
|
-
description: "Take a moderation action on
|
|
131362
|
+
description: "Take a moderation action on an actor.",
|
|
131254
131363
|
input: {
|
|
131255
131364
|
encoding: "application/json",
|
|
131256
131365
|
schema: {
|
|
@@ -131296,7 +131405,7 @@ var schemaDict2 = {
|
|
|
131296
131405
|
},
|
|
131297
131406
|
durationInHours: {
|
|
131298
131407
|
type: "integer",
|
|
131299
|
-
description: "Indicates how long this action
|
|
131408
|
+
description: "Indicates how long this action is meant to be in effect before automatically expiring."
|
|
131300
131409
|
},
|
|
131301
131410
|
createdBy: {
|
|
131302
131411
|
type: "string",
|
|
@@ -131326,7 +131435,7 @@ var schemaDict2 = {
|
|
|
131326
131435
|
defs: {
|
|
131327
131436
|
main: {
|
|
131328
131437
|
type: "procedure",
|
|
131329
|
-
description: "Administrative action to update an account's email",
|
|
131438
|
+
description: "Administrative action to update an account's email.",
|
|
131330
131439
|
input: {
|
|
131331
131440
|
encoding: "application/json",
|
|
131332
131441
|
schema: {
|
|
@@ -131353,7 +131462,7 @@ var schemaDict2 = {
|
|
|
131353
131462
|
defs: {
|
|
131354
131463
|
main: {
|
|
131355
131464
|
type: "procedure",
|
|
131356
|
-
description: "Administrative action to update an account's handle",
|
|
131465
|
+
description: "Administrative action to update an account's handle.",
|
|
131357
131466
|
input: {
|
|
131358
131467
|
encoding: "application/json",
|
|
131359
131468
|
schema: {
|
|
@@ -131380,7 +131489,7 @@ var schemaDict2 = {
|
|
|
131380
131489
|
defs: {
|
|
131381
131490
|
main: {
|
|
131382
131491
|
type: "procedure",
|
|
131383
|
-
description: "Update the service-specific admin status of a subject (account, record, or blob)",
|
|
131492
|
+
description: "Update the service-specific admin status of a subject (account, record, or blob).",
|
|
131384
131493
|
input: {
|
|
131385
131494
|
encoding: "application/json",
|
|
131386
131495
|
schema: {
|
|
@@ -131466,7 +131575,7 @@ var schemaDict2 = {
|
|
|
131466
131575
|
defs: {
|
|
131467
131576
|
main: {
|
|
131468
131577
|
type: "procedure",
|
|
131469
|
-
description: "Updates the handle of the account",
|
|
131578
|
+
description: "Updates the handle of the account.",
|
|
131470
131579
|
input: {
|
|
131471
131580
|
encoding: "application/json",
|
|
131472
131581
|
schema: {
|
|
@@ -131489,37 +131598,37 @@ var schemaDict2 = {
|
|
|
131489
131598
|
defs: {
|
|
131490
131599
|
label: {
|
|
131491
131600
|
type: "object",
|
|
131492
|
-
description: "Metadata tag on an atproto resource (eg, repo or record)",
|
|
131601
|
+
description: "Metadata tag on an atproto resource (eg, repo or record).",
|
|
131493
131602
|
required: ["src", "uri", "val", "cts"],
|
|
131494
131603
|
properties: {
|
|
131495
131604
|
src: {
|
|
131496
131605
|
type: "string",
|
|
131497
131606
|
format: "did",
|
|
131498
|
-
description: "DID of the actor who created this label"
|
|
131607
|
+
description: "DID of the actor who created this label."
|
|
131499
131608
|
},
|
|
131500
131609
|
uri: {
|
|
131501
131610
|
type: "string",
|
|
131502
131611
|
format: "uri",
|
|
131503
|
-
description: "AT URI of the record, repository (account), or other resource
|
|
131612
|
+
description: "AT URI of the record, repository (account), or other resource that this label applies to."
|
|
131504
131613
|
},
|
|
131505
131614
|
cid: {
|
|
131506
131615
|
type: "string",
|
|
131507
131616
|
format: "cid",
|
|
131508
|
-
description: "
|
|
131617
|
+
description: "Optionally, CID specifying the specific version of 'uri' resource this label applies to."
|
|
131509
131618
|
},
|
|
131510
131619
|
val: {
|
|
131511
131620
|
type: "string",
|
|
131512
131621
|
maxLength: 128,
|
|
131513
|
-
description: "
|
|
131622
|
+
description: "The short string name of the value or type of this label."
|
|
131514
131623
|
},
|
|
131515
131624
|
neg: {
|
|
131516
131625
|
type: "boolean",
|
|
131517
|
-
description: "
|
|
131626
|
+
description: "If true, this is a negation label, overwriting a previous label."
|
|
131518
131627
|
},
|
|
131519
131628
|
cts: {
|
|
131520
131629
|
type: "string",
|
|
131521
131630
|
format: "datetime",
|
|
131522
|
-
description: "
|
|
131631
|
+
description: "Timestamp when this label was created."
|
|
131523
131632
|
}
|
|
131524
131633
|
}
|
|
131525
131634
|
},
|
|
@@ -131540,13 +131649,13 @@ var schemaDict2 = {
|
|
|
131540
131649
|
},
|
|
131541
131650
|
selfLabel: {
|
|
131542
131651
|
type: "object",
|
|
131543
|
-
description: "Metadata tag on an atproto record, published by the author within the record. Note
|
|
131652
|
+
description: "Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.",
|
|
131544
131653
|
required: ["val"],
|
|
131545
131654
|
properties: {
|
|
131546
131655
|
val: {
|
|
131547
131656
|
type: "string",
|
|
131548
131657
|
maxLength: 128,
|
|
131549
|
-
description: "
|
|
131658
|
+
description: "The short string name of the value or type of this label."
|
|
131550
131659
|
}
|
|
131551
131660
|
}
|
|
131552
131661
|
}
|
|
@@ -131568,7 +131677,7 @@ var schemaDict2 = {
|
|
|
131568
131677
|
items: {
|
|
131569
131678
|
type: "string"
|
|
131570
131679
|
},
|
|
131571
|
-
description: "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI"
|
|
131680
|
+
description: "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI."
|
|
131572
131681
|
},
|
|
131573
131682
|
sources: {
|
|
131574
131683
|
type: "array",
|
|
@@ -131576,7 +131685,7 @@ var schemaDict2 = {
|
|
|
131576
131685
|
type: "string",
|
|
131577
131686
|
format: "did"
|
|
131578
131687
|
},
|
|
131579
|
-
description: "Optional list of label sources (DIDs) to filter on"
|
|
131688
|
+
description: "Optional list of label sources (DIDs) to filter on."
|
|
131580
131689
|
},
|
|
131581
131690
|
limit: {
|
|
131582
131691
|
type: "integer",
|
|
@@ -131617,7 +131726,7 @@ var schemaDict2 = {
|
|
|
131617
131726
|
defs: {
|
|
131618
131727
|
main: {
|
|
131619
131728
|
type: "subscription",
|
|
131620
|
-
description: "Subscribe to label updates",
|
|
131729
|
+
description: "Subscribe to label updates.",
|
|
131621
131730
|
parameters: {
|
|
131622
131731
|
type: "params",
|
|
131623
131732
|
properties: {
|
|
@@ -131810,7 +131919,7 @@ var schemaDict2 = {
|
|
|
131810
131919
|
validate: {
|
|
131811
131920
|
type: "boolean",
|
|
131812
131921
|
default: true,
|
|
131813
|
-
description: "
|
|
131922
|
+
description: "Flag for validating the records."
|
|
131814
131923
|
},
|
|
131815
131924
|
writes: {
|
|
131816
131925
|
type: "array",
|
|
@@ -131919,7 +132028,7 @@ var schemaDict2 = {
|
|
|
131919
132028
|
validate: {
|
|
131920
132029
|
type: "boolean",
|
|
131921
132030
|
default: true,
|
|
131922
|
-
description: "
|
|
132031
|
+
description: "Flag for validating the record."
|
|
131923
132032
|
},
|
|
131924
132033
|
record: {
|
|
131925
132034
|
type: "unknown",
|
|
@@ -131928,7 +132037,7 @@ var schemaDict2 = {
|
|
|
131928
132037
|
swapCommit: {
|
|
131929
132038
|
type: "string",
|
|
131930
132039
|
format: "cid",
|
|
131931
|
-
description: "Compare and swap with the previous commit by
|
|
132040
|
+
description: "Compare and swap with the previous commit by CID."
|
|
131932
132041
|
}
|
|
131933
132042
|
}
|
|
131934
132043
|
}
|
|
@@ -131988,12 +132097,12 @@ var schemaDict2 = {
|
|
|
131988
132097
|
swapRecord: {
|
|
131989
132098
|
type: "string",
|
|
131990
132099
|
format: "cid",
|
|
131991
|
-
description: "Compare and swap with the previous record by
|
|
132100
|
+
description: "Compare and swap with the previous record by CID."
|
|
131992
132101
|
},
|
|
131993
132102
|
swapCommit: {
|
|
131994
132103
|
type: "string",
|
|
131995
132104
|
format: "cid",
|
|
131996
|
-
description: "Compare and swap with the previous commit by
|
|
132105
|
+
description: "Compare and swap with the previous commit by CID."
|
|
131997
132106
|
}
|
|
131998
132107
|
}
|
|
131999
132108
|
}
|
|
@@ -132159,7 +132268,7 @@ var schemaDict2 = {
|
|
|
132159
132268
|
},
|
|
132160
132269
|
reverse: {
|
|
132161
132270
|
type: "boolean",
|
|
132162
|
-
description: "
|
|
132271
|
+
description: "Flag to reverse the order of the returned records."
|
|
132163
132272
|
}
|
|
132164
132273
|
}
|
|
132165
132274
|
},
|
|
@@ -132234,7 +132343,7 @@ var schemaDict2 = {
|
|
|
132234
132343
|
validate: {
|
|
132235
132344
|
type: "boolean",
|
|
132236
132345
|
default: true,
|
|
132237
|
-
description: "
|
|
132346
|
+
description: "Flag for validating the record."
|
|
132238
132347
|
},
|
|
132239
132348
|
record: {
|
|
132240
132349
|
type: "unknown",
|
|
@@ -132243,12 +132352,12 @@ var schemaDict2 = {
|
|
|
132243
132352
|
swapRecord: {
|
|
132244
132353
|
type: "string",
|
|
132245
132354
|
format: "cid",
|
|
132246
|
-
description: "Compare and swap with the previous record by
|
|
132355
|
+
description: "Compare and swap with the previous record by CID."
|
|
132247
132356
|
},
|
|
132248
132357
|
swapCommit: {
|
|
132249
132358
|
type: "string",
|
|
132250
132359
|
format: "cid",
|
|
132251
|
-
description: "Compare and swap with the previous commit by
|
|
132360
|
+
description: "Compare and swap with the previous commit by CID."
|
|
132252
132361
|
}
|
|
132253
132362
|
}
|
|
132254
132363
|
}
|
|
@@ -132460,7 +132569,7 @@ var schemaDict2 = {
|
|
|
132460
132569
|
defs: {
|
|
132461
132570
|
main: {
|
|
132462
132571
|
type: "procedure",
|
|
132463
|
-
description: "Create an
|
|
132572
|
+
description: "Create an App Password.",
|
|
132464
132573
|
input: {
|
|
132465
132574
|
encoding: "application/json",
|
|
132466
132575
|
schema: {
|
|
@@ -132548,7 +132657,7 @@ var schemaDict2 = {
|
|
|
132548
132657
|
defs: {
|
|
132549
132658
|
main: {
|
|
132550
132659
|
type: "procedure",
|
|
132551
|
-
description: "Create
|
|
132660
|
+
description: "Create invite codes.",
|
|
132552
132661
|
input: {
|
|
132553
132662
|
encoding: "application/json",
|
|
132554
132663
|
schema: {
|
|
@@ -132735,7 +132844,7 @@ var schemaDict2 = {
|
|
|
132735
132844
|
defs: {
|
|
132736
132845
|
main: {
|
|
132737
132846
|
type: "procedure",
|
|
132738
|
-
description: "Delete
|
|
132847
|
+
description: "Delete an actor's account with a token and password.",
|
|
132739
132848
|
input: {
|
|
132740
132849
|
encoding: "application/json",
|
|
132741
132850
|
schema: {
|
|
@@ -132825,7 +132934,7 @@ var schemaDict2 = {
|
|
|
132825
132934
|
defs: {
|
|
132826
132935
|
main: {
|
|
132827
132936
|
type: "query",
|
|
132828
|
-
description: "Get all invite codes for a given account",
|
|
132937
|
+
description: "Get all invite codes for a given account.",
|
|
132829
132938
|
parameters: {
|
|
132830
132939
|
type: "params",
|
|
132831
132940
|
properties: {
|
|
@@ -132905,7 +133014,7 @@ var schemaDict2 = {
|
|
|
132905
133014
|
defs: {
|
|
132906
133015
|
main: {
|
|
132907
133016
|
type: "query",
|
|
132908
|
-
description: "List all
|
|
133017
|
+
description: "List all App Passwords.",
|
|
132909
133018
|
output: {
|
|
132910
133019
|
encoding: "application/json",
|
|
132911
133020
|
schema: {
|
|
@@ -133000,7 +133109,7 @@ var schemaDict2 = {
|
|
|
133000
133109
|
defs: {
|
|
133001
133110
|
main: {
|
|
133002
133111
|
type: "procedure",
|
|
133003
|
-
description: "Request an email with a code to confirm ownership of email"
|
|
133112
|
+
description: "Request an email with a code to confirm ownership of email."
|
|
133004
133113
|
}
|
|
133005
133114
|
}
|
|
133006
133115
|
},
|
|
@@ -133122,7 +133231,7 @@ var schemaDict2 = {
|
|
|
133122
133231
|
defs: {
|
|
133123
133232
|
main: {
|
|
133124
133233
|
type: "procedure",
|
|
133125
|
-
description: "Revoke an
|
|
133234
|
+
description: "Revoke an App Password by name.",
|
|
133126
133235
|
input: {
|
|
133127
133236
|
encoding: "application/json",
|
|
133128
133237
|
schema: {
|
|
@@ -133210,7 +133319,7 @@ var schemaDict2 = {
|
|
|
133210
133319
|
defs: {
|
|
133211
133320
|
main: {
|
|
133212
133321
|
type: "query",
|
|
133213
|
-
description: "
|
|
133322
|
+
description: "Get blocks from a given repo.",
|
|
133214
133323
|
parameters: {
|
|
133215
133324
|
type: "params",
|
|
133216
133325
|
required: ["did", "cids"],
|
|
@@ -133304,7 +133413,7 @@ var schemaDict2 = {
|
|
|
133304
133413
|
defs: {
|
|
133305
133414
|
main: {
|
|
133306
133415
|
type: "query",
|
|
133307
|
-
description: "
|
|
133416
|
+
description: "Get the current commit CID & revision of the repo.",
|
|
133308
133417
|
parameters: {
|
|
133309
133418
|
type: "params",
|
|
133310
133419
|
required: ["did"],
|
|
@@ -133346,7 +133455,7 @@ var schemaDict2 = {
|
|
|
133346
133455
|
defs: {
|
|
133347
133456
|
main: {
|
|
133348
133457
|
type: "query",
|
|
133349
|
-
description: "
|
|
133458
|
+
description: "Get blocks needed for existence or non-existence of record.",
|
|
133350
133459
|
parameters: {
|
|
133351
133460
|
type: "params",
|
|
133352
133461
|
required: ["did", "collection", "rkey"],
|
|
@@ -133382,7 +133491,7 @@ var schemaDict2 = {
|
|
|
133382
133491
|
defs: {
|
|
133383
133492
|
main: {
|
|
133384
133493
|
type: "query",
|
|
133385
|
-
description: "Gets the
|
|
133494
|
+
description: "Gets the DID's repo, optionally catching up from a specific revision.",
|
|
133386
133495
|
parameters: {
|
|
133387
133496
|
type: "params",
|
|
133388
133497
|
required: ["did"],
|
|
@@ -133410,7 +133519,7 @@ var schemaDict2 = {
|
|
|
133410
133519
|
defs: {
|
|
133411
133520
|
main: {
|
|
133412
133521
|
type: "query",
|
|
133413
|
-
description: "List blob
|
|
133522
|
+
description: "List blob CIDs since some revision.",
|
|
133414
133523
|
parameters: {
|
|
133415
133524
|
type: "params",
|
|
133416
133525
|
required: ["did"],
|
|
@@ -133422,7 +133531,7 @@ var schemaDict2 = {
|
|
|
133422
133531
|
},
|
|
133423
133532
|
since: {
|
|
133424
133533
|
type: "string",
|
|
133425
|
-
description: "Optional revision of the repo to list blobs since"
|
|
133534
|
+
description: "Optional revision of the repo to list blobs since."
|
|
133426
133535
|
},
|
|
133427
133536
|
limit: {
|
|
133428
133537
|
type: "integer",
|
|
@@ -133463,7 +133572,7 @@ var schemaDict2 = {
|
|
|
133463
133572
|
defs: {
|
|
133464
133573
|
main: {
|
|
133465
133574
|
type: "query",
|
|
133466
|
-
description: "List
|
|
133575
|
+
description: "List DIDs and root CIDs of hosted repos.",
|
|
133467
133576
|
parameters: {
|
|
133468
133577
|
type: "params",
|
|
133469
133578
|
properties: {
|
|
@@ -133523,7 +133632,7 @@ var schemaDict2 = {
|
|
|
133523
133632
|
defs: {
|
|
133524
133633
|
main: {
|
|
133525
133634
|
type: "procedure",
|
|
133526
|
-
description: "Notify a crawling service of a recent update
|
|
133635
|
+
description: "Notify a crawling service of a recent update; often when a long break between updates causes the connection with the crawling service to break.",
|
|
133527
133636
|
input: {
|
|
133528
133637
|
encoding: "application/json",
|
|
133529
133638
|
schema: {
|
|
@@ -133569,7 +133678,7 @@ var schemaDict2 = {
|
|
|
133569
133678
|
defs: {
|
|
133570
133679
|
main: {
|
|
133571
133680
|
type: "subscription",
|
|
133572
|
-
description: "Subscribe to repo updates",
|
|
133681
|
+
description: "Subscribe to repo updates.",
|
|
133573
133682
|
parameters: {
|
|
133574
133683
|
type: "params",
|
|
133575
133684
|
properties: {
|
|
@@ -133638,15 +133747,15 @@ var schemaDict2 = {
|
|
|
133638
133747
|
},
|
|
133639
133748
|
rev: {
|
|
133640
133749
|
type: "string",
|
|
133641
|
-
description: "The rev of the emitted commit"
|
|
133750
|
+
description: "The rev of the emitted commit."
|
|
133642
133751
|
},
|
|
133643
133752
|
since: {
|
|
133644
133753
|
type: "string",
|
|
133645
|
-
description: "The rev of the last emitted commit from this repo"
|
|
133754
|
+
description: "The rev of the last emitted commit from this repo."
|
|
133646
133755
|
},
|
|
133647
133756
|
blocks: {
|
|
133648
133757
|
type: "bytes",
|
|
133649
|
-
description: "CAR file containing relevant blocks",
|
|
133758
|
+
description: "CAR file containing relevant blocks.",
|
|
133650
133759
|
maxLength: 1e6
|
|
133651
133760
|
},
|
|
133652
133761
|
ops: {
|
|
@@ -133743,7 +133852,7 @@ var schemaDict2 = {
|
|
|
133743
133852
|
},
|
|
133744
133853
|
repoOp: {
|
|
133745
133854
|
type: "object",
|
|
133746
|
-
description: "A repo operation, ie a write of a single record. For creates and updates,
|
|
133855
|
+
description: "A repo operation, ie a write of a single record. For creates and updates, CID is the record's CID as of this operation. For deletes, it's null.",
|
|
133747
133856
|
required: ["action", "path", "cid"],
|
|
133748
133857
|
nullable: ["cid"],
|
|
133749
133858
|
properties: {
|
|
@@ -133761,6 +133870,46 @@ var schemaDict2 = {
|
|
|
133761
133870
|
}
|
|
133762
133871
|
}
|
|
133763
133872
|
},
|
|
133873
|
+
ComAtprotoTempFetchLabels: {
|
|
133874
|
+
lexicon: 1,
|
|
133875
|
+
id: "com.atproto.temp.fetchLabels",
|
|
133876
|
+
defs: {
|
|
133877
|
+
main: {
|
|
133878
|
+
type: "query",
|
|
133879
|
+
description: "Fetch all labels from a labeler created after a certain date.",
|
|
133880
|
+
parameters: {
|
|
133881
|
+
type: "params",
|
|
133882
|
+
properties: {
|
|
133883
|
+
since: {
|
|
133884
|
+
type: "integer"
|
|
133885
|
+
},
|
|
133886
|
+
limit: {
|
|
133887
|
+
type: "integer",
|
|
133888
|
+
minimum: 1,
|
|
133889
|
+
maximum: 250,
|
|
133890
|
+
default: 50
|
|
133891
|
+
}
|
|
133892
|
+
}
|
|
133893
|
+
},
|
|
133894
|
+
output: {
|
|
133895
|
+
encoding: "application/json",
|
|
133896
|
+
schema: {
|
|
133897
|
+
type: "object",
|
|
133898
|
+
required: ["labels"],
|
|
133899
|
+
properties: {
|
|
133900
|
+
labels: {
|
|
133901
|
+
type: "array",
|
|
133902
|
+
items: {
|
|
133903
|
+
type: "ref",
|
|
133904
|
+
ref: "lex:com.atproto.label.defs#label"
|
|
133905
|
+
}
|
|
133906
|
+
}
|
|
133907
|
+
}
|
|
133908
|
+
}
|
|
133909
|
+
}
|
|
133910
|
+
}
|
|
133911
|
+
}
|
|
133912
|
+
},
|
|
133764
133913
|
AppBskyActorDefs: {
|
|
133765
133914
|
lexicon: 1,
|
|
133766
133915
|
id: "app.bsky.actor.defs",
|
|
@@ -133989,7 +134138,7 @@ var schemaDict2 = {
|
|
|
133989
134138
|
birthDate: {
|
|
133990
134139
|
type: "string",
|
|
133991
134140
|
format: "datetime",
|
|
133992
|
-
description: "The birth date of
|
|
134141
|
+
description: "The birth date of account owner."
|
|
133993
134142
|
}
|
|
133994
134143
|
}
|
|
133995
134144
|
},
|
|
@@ -134028,7 +134177,7 @@ var schemaDict2 = {
|
|
|
134028
134177
|
properties: {
|
|
134029
134178
|
sort: {
|
|
134030
134179
|
type: "string",
|
|
134031
|
-
description: "Sorting mode.",
|
|
134180
|
+
description: "Sorting mode for threads.",
|
|
134032
134181
|
knownValues: ["oldest", "newest", "most-likes", "random"]
|
|
134033
134182
|
},
|
|
134034
134183
|
prioritizeFollowedUsers: {
|
|
@@ -134072,6 +134221,7 @@ var schemaDict2 = {
|
|
|
134072
134221
|
defs: {
|
|
134073
134222
|
main: {
|
|
134074
134223
|
type: "query",
|
|
134224
|
+
description: "Get detailed profile view of an actor.",
|
|
134075
134225
|
parameters: {
|
|
134076
134226
|
type: "params",
|
|
134077
134227
|
required: ["actor"],
|
|
@@ -134098,6 +134248,7 @@ var schemaDict2 = {
|
|
|
134098
134248
|
defs: {
|
|
134099
134249
|
main: {
|
|
134100
134250
|
type: "query",
|
|
134251
|
+
description: "Get detailed profile views of multiple actors.",
|
|
134101
134252
|
parameters: {
|
|
134102
134253
|
type: "params",
|
|
134103
134254
|
required: ["actors"],
|
|
@@ -134137,7 +134288,7 @@ var schemaDict2 = {
|
|
|
134137
134288
|
defs: {
|
|
134138
134289
|
main: {
|
|
134139
134290
|
type: "query",
|
|
134140
|
-
description: "Get a list of actors
|
|
134291
|
+
description: "Get a list of suggested actors, used for discovery.",
|
|
134141
134292
|
parameters: {
|
|
134142
134293
|
type: "params",
|
|
134143
134294
|
properties: {
|
|
@@ -134180,6 +134331,7 @@ var schemaDict2 = {
|
|
|
134180
134331
|
defs: {
|
|
134181
134332
|
main: {
|
|
134182
134333
|
type: "record",
|
|
134334
|
+
description: "A declaration of a profile.",
|
|
134183
134335
|
key: "literal:self",
|
|
134184
134336
|
record: {
|
|
134185
134337
|
type: "object",
|
|
@@ -134219,7 +134371,7 @@ var schemaDict2 = {
|
|
|
134219
134371
|
defs: {
|
|
134220
134372
|
main: {
|
|
134221
134373
|
type: "procedure",
|
|
134222
|
-
description: "
|
|
134374
|
+
description: "Set the private preferences attached to the account.",
|
|
134223
134375
|
input: {
|
|
134224
134376
|
encoding: "application/json",
|
|
134225
134377
|
schema: {
|
|
@@ -134248,11 +134400,11 @@ var schemaDict2 = {
|
|
|
134248
134400
|
properties: {
|
|
134249
134401
|
term: {
|
|
134250
134402
|
type: "string",
|
|
134251
|
-
description: "DEPRECATED: use 'q' instead"
|
|
134403
|
+
description: "DEPRECATED: use 'q' instead."
|
|
134252
134404
|
},
|
|
134253
134405
|
q: {
|
|
134254
134406
|
type: "string",
|
|
134255
|
-
description: "
|
|
134407
|
+
description: "Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
|
|
134256
134408
|
},
|
|
134257
134409
|
limit: {
|
|
134258
134410
|
type: "integer",
|
|
@@ -134293,17 +134445,17 @@ var schemaDict2 = {
|
|
|
134293
134445
|
defs: {
|
|
134294
134446
|
main: {
|
|
134295
134447
|
type: "query",
|
|
134296
|
-
description: "Find actor suggestions for a search term.",
|
|
134448
|
+
description: "Find actor suggestions for a prefix search term.",
|
|
134297
134449
|
parameters: {
|
|
134298
134450
|
type: "params",
|
|
134299
134451
|
properties: {
|
|
134300
134452
|
term: {
|
|
134301
134453
|
type: "string",
|
|
134302
|
-
description: "DEPRECATED: use 'q' instead"
|
|
134454
|
+
description: "DEPRECATED: use 'q' instead."
|
|
134303
134455
|
},
|
|
134304
134456
|
q: {
|
|
134305
134457
|
type: "string",
|
|
134306
|
-
description: "
|
|
134458
|
+
description: "Search query prefix; not a full query string."
|
|
134307
134459
|
},
|
|
134308
134460
|
limit: {
|
|
134309
134461
|
type: "integer",
|
|
@@ -134335,7 +134487,7 @@ var schemaDict2 = {
|
|
|
134335
134487
|
AppBskyEmbedExternal: {
|
|
134336
134488
|
lexicon: 1,
|
|
134337
134489
|
id: "app.bsky.embed.external",
|
|
134338
|
-
description: "A representation of some externally linked content, embedded in another form of content",
|
|
134490
|
+
description: "A representation of some externally linked content, embedded in another form of content.",
|
|
134339
134491
|
defs: {
|
|
134340
134492
|
main: {
|
|
134341
134493
|
type: "object",
|
|
@@ -134402,7 +134554,7 @@ var schemaDict2 = {
|
|
|
134402
134554
|
AppBskyEmbedImages: {
|
|
134403
134555
|
lexicon: 1,
|
|
134404
134556
|
id: "app.bsky.embed.images",
|
|
134405
|
-
description: "A set of images embedded in some other form of content",
|
|
134557
|
+
description: "A set of images embedded in some other form of content.",
|
|
134406
134558
|
defs: {
|
|
134407
134559
|
main: {
|
|
134408
134560
|
type: "object",
|
|
@@ -134489,7 +134641,7 @@ var schemaDict2 = {
|
|
|
134489
134641
|
AppBskyEmbedRecord: {
|
|
134490
134642
|
lexicon: 1,
|
|
134491
134643
|
id: "app.bsky.embed.record",
|
|
134492
|
-
description: "A representation of a record embedded in another form of content",
|
|
134644
|
+
description: "A representation of a record embedded in another form of content.",
|
|
134493
134645
|
defs: {
|
|
134494
134646
|
main: {
|
|
134495
134647
|
type: "object",
|
|
@@ -134598,7 +134750,7 @@ var schemaDict2 = {
|
|
|
134598
134750
|
AppBskyEmbedRecordWithMedia: {
|
|
134599
134751
|
lexicon: 1,
|
|
134600
134752
|
id: "app.bsky.embed.recordWithMedia",
|
|
134601
|
-
description: "A representation of a record embedded in another form of content, alongside other compatible embeds",
|
|
134753
|
+
description: "A representation of a record embedded in another form of content, alongside other compatible embeds.",
|
|
134602
134754
|
defs: {
|
|
134603
134755
|
main: {
|
|
134604
134756
|
type: "object",
|
|
@@ -134965,7 +135117,7 @@ var schemaDict2 = {
|
|
|
134965
135117
|
defs: {
|
|
134966
135118
|
main: {
|
|
134967
135119
|
type: "query",
|
|
134968
|
-
description: "
|
|
135120
|
+
description: "Get information about a feed generator, including policies and offered feed URIs.",
|
|
134969
135121
|
output: {
|
|
134970
135122
|
encoding: "application/json",
|
|
134971
135123
|
schema: {
|
|
@@ -135020,7 +135172,7 @@ var schemaDict2 = {
|
|
|
135020
135172
|
defs: {
|
|
135021
135173
|
main: {
|
|
135022
135174
|
type: "record",
|
|
135023
|
-
description: "A declaration of the existence of a feed generator",
|
|
135175
|
+
description: "A declaration of the existence of a feed generator.",
|
|
135024
135176
|
key: "any",
|
|
135025
135177
|
record: {
|
|
135026
135178
|
type: "object",
|
|
@@ -135071,7 +135223,7 @@ var schemaDict2 = {
|
|
|
135071
135223
|
defs: {
|
|
135072
135224
|
main: {
|
|
135073
135225
|
type: "query",
|
|
135074
|
-
description: "
|
|
135226
|
+
description: "Get a list of feeds created by the actor.",
|
|
135075
135227
|
parameters: {
|
|
135076
135228
|
type: "params",
|
|
135077
135229
|
required: ["actor"],
|
|
@@ -135119,7 +135271,7 @@ var schemaDict2 = {
|
|
|
135119
135271
|
defs: {
|
|
135120
135272
|
main: {
|
|
135121
135273
|
type: "query",
|
|
135122
|
-
description: "
|
|
135274
|
+
description: "Get a list of posts liked by an actor.",
|
|
135123
135275
|
parameters: {
|
|
135124
135276
|
type: "params",
|
|
135125
135277
|
required: ["actor"],
|
|
@@ -135175,7 +135327,7 @@ var schemaDict2 = {
|
|
|
135175
135327
|
defs: {
|
|
135176
135328
|
main: {
|
|
135177
135329
|
type: "query",
|
|
135178
|
-
description: "
|
|
135330
|
+
description: "Get a view of an actor's feed.",
|
|
135179
135331
|
parameters: {
|
|
135180
135332
|
type: "params",
|
|
135181
135333
|
required: ["actor"],
|
|
@@ -135240,7 +135392,7 @@ var schemaDict2 = {
|
|
|
135240
135392
|
defs: {
|
|
135241
135393
|
main: {
|
|
135242
135394
|
type: "query",
|
|
135243
|
-
description: "
|
|
135395
|
+
description: "Get a hydrated feed from an actor's selected feed generator.",
|
|
135244
135396
|
parameters: {
|
|
135245
135397
|
type: "params",
|
|
135246
135398
|
required: ["feed"],
|
|
@@ -135293,7 +135445,7 @@ var schemaDict2 = {
|
|
|
135293
135445
|
defs: {
|
|
135294
135446
|
main: {
|
|
135295
135447
|
type: "query",
|
|
135296
|
-
description: "Get information about a
|
|
135448
|
+
description: "Get information about a feed generator.",
|
|
135297
135449
|
parameters: {
|
|
135298
135450
|
type: "params",
|
|
135299
135451
|
required: ["feed"],
|
|
@@ -135332,7 +135484,7 @@ var schemaDict2 = {
|
|
|
135332
135484
|
defs: {
|
|
135333
135485
|
main: {
|
|
135334
135486
|
type: "query",
|
|
135335
|
-
description: "Get information about a list of feed generators",
|
|
135487
|
+
description: "Get information about a list of feed generators.",
|
|
135336
135488
|
parameters: {
|
|
135337
135489
|
type: "params",
|
|
135338
135490
|
required: ["feeds"],
|
|
@@ -135371,7 +135523,7 @@ var schemaDict2 = {
|
|
|
135371
135523
|
defs: {
|
|
135372
135524
|
main: {
|
|
135373
135525
|
type: "query",
|
|
135374
|
-
description: "
|
|
135526
|
+
description: "Get a skeleton of a feed provided by a feed generator.",
|
|
135375
135527
|
parameters: {
|
|
135376
135528
|
type: "params",
|
|
135377
135529
|
required: ["feed"],
|
|
@@ -135424,6 +135576,7 @@ var schemaDict2 = {
|
|
|
135424
135576
|
defs: {
|
|
135425
135577
|
main: {
|
|
135426
135578
|
type: "query",
|
|
135579
|
+
description: "Get the list of likes.",
|
|
135427
135580
|
parameters: {
|
|
135428
135581
|
type: "params",
|
|
135429
135582
|
required: ["uri"],
|
|
@@ -135501,7 +135654,7 @@ var schemaDict2 = {
|
|
|
135501
135654
|
defs: {
|
|
135502
135655
|
main: {
|
|
135503
135656
|
type: "query",
|
|
135504
|
-
description: "
|
|
135657
|
+
description: "Get a view of a recent posts from actors in a list.",
|
|
135505
135658
|
parameters: {
|
|
135506
135659
|
type: "params",
|
|
135507
135660
|
required: ["list"],
|
|
@@ -135554,6 +135707,7 @@ var schemaDict2 = {
|
|
|
135554
135707
|
defs: {
|
|
135555
135708
|
main: {
|
|
135556
135709
|
type: "query",
|
|
135710
|
+
description: "Get posts in a thread.",
|
|
135557
135711
|
parameters: {
|
|
135558
135712
|
type: "params",
|
|
135559
135713
|
required: ["uri"],
|
|
@@ -135607,7 +135761,7 @@ var schemaDict2 = {
|
|
|
135607
135761
|
defs: {
|
|
135608
135762
|
main: {
|
|
135609
135763
|
type: "query",
|
|
135610
|
-
description: "
|
|
135764
|
+
description: "Get a view of an actor's feed.",
|
|
135611
135765
|
parameters: {
|
|
135612
135766
|
type: "params",
|
|
135613
135767
|
required: ["uris"],
|
|
@@ -135647,6 +135801,7 @@ var schemaDict2 = {
|
|
|
135647
135801
|
defs: {
|
|
135648
135802
|
main: {
|
|
135649
135803
|
type: "query",
|
|
135804
|
+
description: "Get a list of reposts.",
|
|
135650
135805
|
parameters: {
|
|
135651
135806
|
type: "params",
|
|
135652
135807
|
required: ["uri"],
|
|
@@ -135749,7 +135904,7 @@ var schemaDict2 = {
|
|
|
135749
135904
|
defs: {
|
|
135750
135905
|
main: {
|
|
135751
135906
|
type: "query",
|
|
135752
|
-
description: "
|
|
135907
|
+
description: "Get a view of the actor's home timeline.",
|
|
135753
135908
|
parameters: {
|
|
135754
135909
|
type: "params",
|
|
135755
135910
|
properties: {
|
|
@@ -135795,6 +135950,7 @@ var schemaDict2 = {
|
|
|
135795
135950
|
defs: {
|
|
135796
135951
|
main: {
|
|
135797
135952
|
type: "record",
|
|
135953
|
+
description: "A declaration of a like.",
|
|
135798
135954
|
key: "tid",
|
|
135799
135955
|
record: {
|
|
135800
135956
|
type: "object",
|
|
@@ -135819,6 +135975,7 @@ var schemaDict2 = {
|
|
|
135819
135975
|
defs: {
|
|
135820
135976
|
main: {
|
|
135821
135977
|
type: "record",
|
|
135978
|
+
description: "A declaration of a post.",
|
|
135822
135979
|
key: "tid",
|
|
135823
135980
|
record: {
|
|
135824
135981
|
type: "object",
|
|
@@ -135940,6 +136097,7 @@ var schemaDict2 = {
|
|
|
135940
136097
|
id: "app.bsky.feed.repost",
|
|
135941
136098
|
defs: {
|
|
135942
136099
|
main: {
|
|
136100
|
+
description: "A declaration of a repost.",
|
|
135943
136101
|
type: "record",
|
|
135944
136102
|
key: "tid",
|
|
135945
136103
|
record: {
|
|
@@ -135965,14 +136123,14 @@ var schemaDict2 = {
|
|
|
135965
136123
|
defs: {
|
|
135966
136124
|
main: {
|
|
135967
136125
|
type: "query",
|
|
135968
|
-
description: "Find posts matching search criteria",
|
|
136126
|
+
description: "Find posts matching search criteria.",
|
|
135969
136127
|
parameters: {
|
|
135970
136128
|
type: "params",
|
|
135971
136129
|
required: ["q"],
|
|
135972
136130
|
properties: {
|
|
135973
136131
|
q: {
|
|
135974
136132
|
type: "string",
|
|
135975
|
-
description: "
|
|
136133
|
+
description: "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
|
|
135976
136134
|
},
|
|
135977
136135
|
limit: {
|
|
135978
136136
|
type: "integer",
|
|
@@ -135982,7 +136140,7 @@ var schemaDict2 = {
|
|
|
135982
136140
|
},
|
|
135983
136141
|
cursor: {
|
|
135984
136142
|
type: "string",
|
|
135985
|
-
description: "
|
|
136143
|
+
description: "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
|
|
135986
136144
|
}
|
|
135987
136145
|
}
|
|
135988
136146
|
},
|
|
@@ -135997,7 +136155,7 @@ var schemaDict2 = {
|
|
|
135997
136155
|
},
|
|
135998
136156
|
hitsTotal: {
|
|
135999
136157
|
type: "integer",
|
|
136000
|
-
description: "
|
|
136158
|
+
description: "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
|
|
136001
136159
|
},
|
|
136002
136160
|
posts: {
|
|
136003
136161
|
type: "array",
|
|
@@ -136081,7 +136239,7 @@ var schemaDict2 = {
|
|
|
136081
136239
|
defs: {
|
|
136082
136240
|
main: {
|
|
136083
136241
|
type: "record",
|
|
136084
|
-
description: "A block.",
|
|
136242
|
+
description: "A declaration of a block.",
|
|
136085
136243
|
key: "tid",
|
|
136086
136244
|
record: {
|
|
136087
136245
|
type: "object",
|
|
@@ -136207,11 +136365,11 @@ var schemaDict2 = {
|
|
|
136207
136365
|
},
|
|
136208
136366
|
modlist: {
|
|
136209
136367
|
type: "token",
|
|
136210
|
-
description: "A list of actors to apply an aggregate moderation action (mute/block) on"
|
|
136368
|
+
description: "A list of actors to apply an aggregate moderation action (mute/block) on."
|
|
136211
136369
|
},
|
|
136212
136370
|
curatelist: {
|
|
136213
136371
|
type: "token",
|
|
136214
|
-
description: "A list of actors used for curation purposes such as list feeds or interaction gating"
|
|
136372
|
+
description: "A list of actors used for curation purposes such as list feeds or interaction gating."
|
|
136215
136373
|
},
|
|
136216
136374
|
listViewerState: {
|
|
136217
136375
|
type: "object",
|
|
@@ -136233,7 +136391,7 @@ var schemaDict2 = {
|
|
|
136233
136391
|
defs: {
|
|
136234
136392
|
main: {
|
|
136235
136393
|
type: "record",
|
|
136236
|
-
description: "A social follow.",
|
|
136394
|
+
description: "A declaration of a social follow.",
|
|
136237
136395
|
key: "tid",
|
|
136238
136396
|
record: {
|
|
136239
136397
|
type: "object",
|
|
@@ -136258,7 +136416,7 @@ var schemaDict2 = {
|
|
|
136258
136416
|
defs: {
|
|
136259
136417
|
main: {
|
|
136260
136418
|
type: "query",
|
|
136261
|
-
description: "
|
|
136419
|
+
description: "Get a list of who the actor is blocking.",
|
|
136262
136420
|
parameters: {
|
|
136263
136421
|
type: "params",
|
|
136264
136422
|
properties: {
|
|
@@ -136301,7 +136459,7 @@ var schemaDict2 = {
|
|
|
136301
136459
|
defs: {
|
|
136302
136460
|
main: {
|
|
136303
136461
|
type: "query",
|
|
136304
|
-
description: "
|
|
136462
|
+
description: "Get a list of an actor's followers.",
|
|
136305
136463
|
parameters: {
|
|
136306
136464
|
type: "params",
|
|
136307
136465
|
required: ["actor"],
|
|
@@ -136353,7 +136511,7 @@ var schemaDict2 = {
|
|
|
136353
136511
|
defs: {
|
|
136354
136512
|
main: {
|
|
136355
136513
|
type: "query",
|
|
136356
|
-
description: "
|
|
136514
|
+
description: "Get a list of who the actor follows.",
|
|
136357
136515
|
parameters: {
|
|
136358
136516
|
type: "params",
|
|
136359
136517
|
required: ["actor"],
|
|
@@ -136405,7 +136563,7 @@ var schemaDict2 = {
|
|
|
136405
136563
|
defs: {
|
|
136406
136564
|
main: {
|
|
136407
136565
|
type: "query",
|
|
136408
|
-
description: "
|
|
136566
|
+
description: "Get a list of actors.",
|
|
136409
136567
|
parameters: {
|
|
136410
136568
|
type: "params",
|
|
136411
136569
|
required: ["list"],
|
|
@@ -136457,7 +136615,7 @@ var schemaDict2 = {
|
|
|
136457
136615
|
defs: {
|
|
136458
136616
|
main: {
|
|
136459
136617
|
type: "query",
|
|
136460
|
-
description: "
|
|
136618
|
+
description: "Get lists that the actor is blocking.",
|
|
136461
136619
|
parameters: {
|
|
136462
136620
|
type: "params",
|
|
136463
136621
|
properties: {
|
|
@@ -136500,7 +136658,7 @@ var schemaDict2 = {
|
|
|
136500
136658
|
defs: {
|
|
136501
136659
|
main: {
|
|
136502
136660
|
type: "query",
|
|
136503
|
-
description: "
|
|
136661
|
+
description: "Get lists that the actor is muting.",
|
|
136504
136662
|
parameters: {
|
|
136505
136663
|
type: "params",
|
|
136506
136664
|
properties: {
|
|
@@ -136543,7 +136701,7 @@ var schemaDict2 = {
|
|
|
136543
136701
|
defs: {
|
|
136544
136702
|
main: {
|
|
136545
136703
|
type: "query",
|
|
136546
|
-
description: "
|
|
136704
|
+
description: "Get a list of lists that belong to an actor.",
|
|
136547
136705
|
parameters: {
|
|
136548
136706
|
type: "params",
|
|
136549
136707
|
required: ["actor"],
|
|
@@ -136591,7 +136749,7 @@ var schemaDict2 = {
|
|
|
136591
136749
|
defs: {
|
|
136592
136750
|
main: {
|
|
136593
136751
|
type: "query",
|
|
136594
|
-
description: "
|
|
136752
|
+
description: "Get a list of who the actor mutes.",
|
|
136595
136753
|
parameters: {
|
|
136596
136754
|
type: "params",
|
|
136597
136755
|
properties: {
|
|
@@ -136746,7 +136904,7 @@ var schemaDict2 = {
|
|
|
136746
136904
|
defs: {
|
|
136747
136905
|
main: {
|
|
136748
136906
|
type: "record",
|
|
136749
|
-
description: "An item under a declared list of actors",
|
|
136907
|
+
description: "An item under a declared list of actors.",
|
|
136750
136908
|
key: "tid",
|
|
136751
136909
|
record: {
|
|
136752
136910
|
type: "object",
|
|
@@ -136775,7 +136933,7 @@ var schemaDict2 = {
|
|
|
136775
136933
|
defs: {
|
|
136776
136934
|
main: {
|
|
136777
136935
|
type: "procedure",
|
|
136778
|
-
description: "Mute an actor by
|
|
136936
|
+
description: "Mute an actor by DID or handle.",
|
|
136779
136937
|
input: {
|
|
136780
136938
|
encoding: "application/json",
|
|
136781
136939
|
schema: {
|
|
@@ -136821,7 +136979,7 @@ var schemaDict2 = {
|
|
|
136821
136979
|
defs: {
|
|
136822
136980
|
main: {
|
|
136823
136981
|
type: "procedure",
|
|
136824
|
-
description: "Unmute an actor by
|
|
136982
|
+
description: "Unmute an actor by DID or handle.",
|
|
136825
136983
|
input: {
|
|
136826
136984
|
encoding: "application/json",
|
|
136827
136985
|
schema: {
|
|
@@ -136867,6 +137025,7 @@ var schemaDict2 = {
|
|
|
136867
137025
|
defs: {
|
|
136868
137026
|
main: {
|
|
136869
137027
|
type: "query",
|
|
137028
|
+
description: "Get the count of unread notifications.",
|
|
136870
137029
|
parameters: {
|
|
136871
137030
|
type: "params",
|
|
136872
137031
|
properties: {
|
|
@@ -136897,6 +137056,7 @@ var schemaDict2 = {
|
|
|
136897
137056
|
defs: {
|
|
136898
137057
|
main: {
|
|
136899
137058
|
type: "query",
|
|
137059
|
+
description: "Get a list of notifications.",
|
|
136900
137060
|
parameters: {
|
|
136901
137061
|
type: "params",
|
|
136902
137062
|
properties: {
|
|
@@ -137002,7 +137162,7 @@ var schemaDict2 = {
|
|
|
137002
137162
|
defs: {
|
|
137003
137163
|
main: {
|
|
137004
137164
|
type: "procedure",
|
|
137005
|
-
description: "Register for push notifications with a service",
|
|
137165
|
+
description: "Register for push notifications with a service.",
|
|
137006
137166
|
input: {
|
|
137007
137167
|
encoding: "application/json",
|
|
137008
137168
|
schema: {
|
|
@@ -137160,7 +137320,7 @@ var schemaDict2 = {
|
|
|
137160
137320
|
defs: {
|
|
137161
137321
|
main: {
|
|
137162
137322
|
type: "query",
|
|
137163
|
-
description: "DEPRECATED: will be removed soon
|
|
137323
|
+
description: "DEPRECATED: will be removed soon. Use a feed generator alternative.",
|
|
137164
137324
|
parameters: {
|
|
137165
137325
|
type: "params",
|
|
137166
137326
|
properties: {
|
|
@@ -137207,7 +137367,7 @@ var schemaDict2 = {
|
|
|
137207
137367
|
defs: {
|
|
137208
137368
|
main: {
|
|
137209
137369
|
type: "query",
|
|
137210
|
-
description: "An unspecced view of globally popular feed generators",
|
|
137370
|
+
description: "An unspecced view of globally popular feed generators.",
|
|
137211
137371
|
parameters: {
|
|
137212
137372
|
type: "params",
|
|
137213
137373
|
properties: {
|
|
@@ -137253,7 +137413,7 @@ var schemaDict2 = {
|
|
|
137253
137413
|
defs: {
|
|
137254
137414
|
main: {
|
|
137255
137415
|
type: "query",
|
|
137256
|
-
description: "
|
|
137416
|
+
description: "DEPRECATED: a skeleton of a timeline. Unspecced and will be unavailable soon.",
|
|
137257
137417
|
parameters: {
|
|
137258
137418
|
type: "params",
|
|
137259
137419
|
properties: {
|
|
@@ -137301,18 +137461,18 @@ var schemaDict2 = {
|
|
|
137301
137461
|
defs: {
|
|
137302
137462
|
main: {
|
|
137303
137463
|
type: "query",
|
|
137304
|
-
description: "Backend Actors (profile) search,
|
|
137464
|
+
description: "Backend Actors (profile) search, returns only skeleton.",
|
|
137305
137465
|
parameters: {
|
|
137306
137466
|
type: "params",
|
|
137307
137467
|
required: ["q"],
|
|
137308
137468
|
properties: {
|
|
137309
137469
|
q: {
|
|
137310
137470
|
type: "string",
|
|
137311
|
-
description: "
|
|
137471
|
+
description: "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax."
|
|
137312
137472
|
},
|
|
137313
137473
|
typeahead: {
|
|
137314
137474
|
type: "boolean",
|
|
137315
|
-
description: "
|
|
137475
|
+
description: "If true, acts as fast/simple 'typeahead' query."
|
|
137316
137476
|
},
|
|
137317
137477
|
limit: {
|
|
137318
137478
|
type: "integer",
|
|
@@ -137322,7 +137482,7 @@ var schemaDict2 = {
|
|
|
137322
137482
|
},
|
|
137323
137483
|
cursor: {
|
|
137324
137484
|
type: "string",
|
|
137325
|
-
description: "
|
|
137485
|
+
description: "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
|
|
137326
137486
|
}
|
|
137327
137487
|
}
|
|
137328
137488
|
},
|
|
@@ -137337,7 +137497,7 @@ var schemaDict2 = {
|
|
|
137337
137497
|
},
|
|
137338
137498
|
hitsTotal: {
|
|
137339
137499
|
type: "integer",
|
|
137340
|
-
description: "
|
|
137500
|
+
description: "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
|
|
137341
137501
|
},
|
|
137342
137502
|
actors: {
|
|
137343
137503
|
type: "array",
|
|
@@ -137363,14 +137523,14 @@ var schemaDict2 = {
|
|
|
137363
137523
|
defs: {
|
|
137364
137524
|
main: {
|
|
137365
137525
|
type: "query",
|
|
137366
|
-
description: "Backend Posts search,
|
|
137526
|
+
description: "Backend Posts search, returns only skeleton",
|
|
137367
137527
|
parameters: {
|
|
137368
137528
|
type: "params",
|
|
137369
137529
|
required: ["q"],
|
|
137370
137530
|
properties: {
|
|
137371
137531
|
q: {
|
|
137372
137532
|
type: "string",
|
|
137373
|
-
description: "
|
|
137533
|
+
description: "Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended."
|
|
137374
137534
|
},
|
|
137375
137535
|
limit: {
|
|
137376
137536
|
type: "integer",
|
|
@@ -137380,7 +137540,7 @@ var schemaDict2 = {
|
|
|
137380
137540
|
},
|
|
137381
137541
|
cursor: {
|
|
137382
137542
|
type: "string",
|
|
137383
|
-
description: "
|
|
137543
|
+
description: "Optional pagination mechanism; may not necessarily allow scrolling through entire result set."
|
|
137384
137544
|
}
|
|
137385
137545
|
}
|
|
137386
137546
|
},
|
|
@@ -137395,7 +137555,7 @@ var schemaDict2 = {
|
|
|
137395
137555
|
},
|
|
137396
137556
|
hitsTotal: {
|
|
137397
137557
|
type: "integer",
|
|
137398
|
-
description: "
|
|
137558
|
+
description: "Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits."
|
|
137399
137559
|
},
|
|
137400
137560
|
posts: {
|
|
137401
137561
|
type: "array",
|
|
@@ -137490,6 +137650,7 @@ var ids = {
|
|
|
137490
137650
|
ComAtprotoSyncNotifyOfUpdate: "com.atproto.sync.notifyOfUpdate",
|
|
137491
137651
|
ComAtprotoSyncRequestCrawl: "com.atproto.sync.requestCrawl",
|
|
137492
137652
|
ComAtprotoSyncSubscribeRepos: "com.atproto.sync.subscribeRepos",
|
|
137653
|
+
ComAtprotoTempFetchLabels: "com.atproto.temp.fetchLabels",
|
|
137493
137654
|
AppBskyActorDefs: "app.bsky.actor.defs",
|
|
137494
137655
|
AppBskyActorGetPreferences: "app.bsky.actor.getPreferences",
|
|
137495
137656
|
AppBskyActorGetProfile: "app.bsky.actor.getProfile",
|
|
@@ -137823,13 +137984,17 @@ var getThreadData = async (params2, ctx) => {
|
|
|
137823
137984
|
getAncestorsAndSelfQb(db.db, { uri: uri2, parentHeight }).selectFrom("ancestor").innerJoin(feedService.selectPostQb().as("post"), "post.uri", "ancestor.uri").selectAll("post").execute(),
|
|
137824
137985
|
getDescendentsQb(db.db, { uri: uri2, depth }).selectFrom("descendent").innerJoin(feedService.selectPostQb().as("post"), "post.uri", "descendent.uri").selectAll("post").orderBy("sortAt", "desc").execute()
|
|
137825
137986
|
]);
|
|
137826
|
-
const
|
|
137827
|
-
|
|
137987
|
+
const includedPosts = /* @__PURE__ */ new Set([uri2]);
|
|
137988
|
+
const parentsByUri = parents.reduce((acc, post2) => {
|
|
137989
|
+
return Object.assign(acc, { [post2.uri]: post2 });
|
|
137828
137990
|
}, {});
|
|
137829
137991
|
const childrenByParentUri = children.reduce((acc, child) => {
|
|
137830
137992
|
var _a;
|
|
137831
137993
|
if (!child.replyParent)
|
|
137832
137994
|
return acc;
|
|
137995
|
+
if (includedPosts.has(child.uri))
|
|
137996
|
+
return acc;
|
|
137997
|
+
includedPosts.add(child.uri);
|
|
137833
137998
|
acc[_a = child.replyParent] ?? (acc[_a] = []);
|
|
137834
137999
|
acc[child.replyParent].push(child);
|
|
137835
138000
|
return acc;
|
|
@@ -137839,19 +138004,22 @@ var getThreadData = async (params2, ctx) => {
|
|
|
137839
138004
|
return null;
|
|
137840
138005
|
return {
|
|
137841
138006
|
post,
|
|
137842
|
-
parent: post.replyParent ? getParentData(parentsByUri, post.replyParent, parentHeight) : void 0,
|
|
138007
|
+
parent: post.replyParent ? getParentData(parentsByUri, includedPosts, post.replyParent, parentHeight) : void 0,
|
|
137843
138008
|
replies: getChildrenData(childrenByParentUri, uri2, depth)
|
|
137844
138009
|
};
|
|
137845
138010
|
};
|
|
137846
|
-
var getParentData = (postsByUri, uri2, depth) => {
|
|
138011
|
+
var getParentData = (postsByUri, includedPosts, uri2, depth) => {
|
|
137847
138012
|
if (depth < 1)
|
|
137848
138013
|
return void 0;
|
|
138014
|
+
if (includedPosts.has(uri2))
|
|
138015
|
+
return void 0;
|
|
138016
|
+
includedPosts.add(uri2);
|
|
137849
138017
|
const post = postsByUri[uri2];
|
|
137850
138018
|
if (!post)
|
|
137851
138019
|
return new ParentNotFoundError(uri2);
|
|
137852
138020
|
return {
|
|
137853
138021
|
post,
|
|
137854
|
-
parent: post.replyParent ? getParentData(postsByUri, post.replyParent, depth - 1) : void 0,
|
|
138022
|
+
parent: post.replyParent ? getParentData(postsByUri, includedPosts, post.replyParent, depth - 1) : void 0,
|
|
137855
138023
|
replies: []
|
|
137856
138024
|
};
|
|
137857
138025
|
};
|
|
@@ -137934,9 +138102,74 @@ var presentation8 = (state, ctx) => {
|
|
|
137934
138102
|
return { posts: postViews };
|
|
137935
138103
|
};
|
|
137936
138104
|
|
|
138105
|
+
// src/api/app/bsky/feed/searchPosts.ts
|
|
138106
|
+
function searchPosts_default(server, ctx) {
|
|
138107
|
+
const searchPosts = createPipeline(skeleton9, hydration9, noBlocks3, presentation9);
|
|
138108
|
+
server.app.bsky.feed.searchPosts({
|
|
138109
|
+
auth: ctx.authOptionalVerifier,
|
|
138110
|
+
handler: async ({ auth, params: params2 }) => {
|
|
138111
|
+
const viewer = auth.credentials.did;
|
|
138112
|
+
const db = ctx.db.getReplica("search");
|
|
138113
|
+
const feedService = ctx.services.feed(db);
|
|
138114
|
+
const actorService = ctx.services.actor(db);
|
|
138115
|
+
const searchAgent = ctx.searchAgent;
|
|
138116
|
+
if (!searchAgent) {
|
|
138117
|
+
throw new InvalidRequestError("Search not available");
|
|
138118
|
+
}
|
|
138119
|
+
const results = await searchPosts({ ...params2, viewer }, { db, feedService, actorService, searchAgent });
|
|
138120
|
+
return {
|
|
138121
|
+
encoding: "application/json",
|
|
138122
|
+
body: results
|
|
138123
|
+
};
|
|
138124
|
+
}
|
|
138125
|
+
});
|
|
138126
|
+
}
|
|
138127
|
+
var skeleton9 = async (params2, ctx) => {
|
|
138128
|
+
const res = await ctx.searchAgent.api.app.bsky.unspecced.searchPostsSkeleton({
|
|
138129
|
+
q: params2.q,
|
|
138130
|
+
cursor: params2.cursor,
|
|
138131
|
+
limit: params2.limit
|
|
138132
|
+
});
|
|
138133
|
+
return {
|
|
138134
|
+
params: params2,
|
|
138135
|
+
postUris: res.data.posts.map((a) => a.uri),
|
|
138136
|
+
cursor: res.data.cursor,
|
|
138137
|
+
hitsTotal: res.data.hitsTotal
|
|
138138
|
+
};
|
|
138139
|
+
};
|
|
138140
|
+
var hydration9 = async (state, ctx) => {
|
|
138141
|
+
const { feedService } = ctx;
|
|
138142
|
+
const { params: params2, postUris } = state;
|
|
138143
|
+
const uris = new Set(postUris);
|
|
138144
|
+
const dids = new Set(postUris.map((uri2) => new AtUri(uri2).hostname));
|
|
138145
|
+
const hydrated = await feedService.feedHydration({
|
|
138146
|
+
uris,
|
|
138147
|
+
dids,
|
|
138148
|
+
viewer: params2.viewer
|
|
138149
|
+
});
|
|
138150
|
+
return { ...state, ...hydrated };
|
|
138151
|
+
};
|
|
138152
|
+
var noBlocks3 = (state) => {
|
|
138153
|
+
const { viewer } = state.params;
|
|
138154
|
+
state.postUris = state.postUris.filter((uri2) => {
|
|
138155
|
+
const post = state.posts[uri2];
|
|
138156
|
+
if (!viewer || !post)
|
|
138157
|
+
return true;
|
|
138158
|
+
return !state.bam.block([viewer, post.creator]);
|
|
138159
|
+
});
|
|
138160
|
+
return state;
|
|
138161
|
+
};
|
|
138162
|
+
var presentation9 = (state, ctx) => {
|
|
138163
|
+
const { feedService, actorService } = ctx;
|
|
138164
|
+
const { postUris, profiles, params: params2 } = state;
|
|
138165
|
+
const actors = actorService.views.profileBasicPresentation(Object.keys(profiles), state, { viewer: params2.viewer });
|
|
138166
|
+
const postViews = mapDefined(postUris, (uri2) => feedService.views.formatPostView(uri2, actors, state.posts, state.threadgates, state.embeds, state.labels, state.lists));
|
|
138167
|
+
return { posts: postViews, cursor: state.cursor, hitsTotal: state.hitsTotal };
|
|
138168
|
+
};
|
|
138169
|
+
|
|
137937
138170
|
// src/api/app/bsky/feed/getActorLikes.ts
|
|
137938
138171
|
function getActorLikes_default(server, ctx) {
|
|
137939
|
-
const getActorLikes = createPipeline(
|
|
138172
|
+
const getActorLikes = createPipeline(skeleton10, hydration10, noPostBlocks, presentation10);
|
|
137940
138173
|
server.app.bsky.feed.getActorLikes({
|
|
137941
138174
|
auth: ctx.authOptionalVerifier,
|
|
137942
138175
|
handler: async ({ params: params2, auth, res }) => {
|
|
@@ -137957,7 +138190,7 @@ function getActorLikes_default(server, ctx) {
|
|
|
137957
138190
|
}
|
|
137958
138191
|
});
|
|
137959
138192
|
}
|
|
137960
|
-
var
|
|
138193
|
+
var skeleton10 = async (params2, ctx) => {
|
|
137961
138194
|
const { db, actorService, feedService } = ctx;
|
|
137962
138195
|
const { actor, limit, cursor, viewer } = params2;
|
|
137963
138196
|
const { ref } = db.db.dynamic;
|
|
@@ -137979,7 +138212,7 @@ var skeleton9 = async (params2, ctx) => {
|
|
|
137979
138212
|
const feedItems = await feedItemsQb.execute();
|
|
137980
138213
|
return { params: params2, feedItems, cursor: keyset.packFromResult(feedItems) };
|
|
137981
138214
|
};
|
|
137982
|
-
var
|
|
138215
|
+
var hydration10 = async (state, ctx) => {
|
|
137983
138216
|
const { feedService } = ctx;
|
|
137984
138217
|
const { params: params2, feedItems } = state;
|
|
137985
138218
|
const refs = feedService.feedItemRefs(feedItems);
|
|
@@ -137994,7 +138227,7 @@ var noPostBlocks = (state) => {
|
|
|
137994
138227
|
state.feedItems = state.feedItems.filter((item) => !viewer || !state.bam.block([viewer, item.postAuthorDid]));
|
|
137995
138228
|
return state;
|
|
137996
138229
|
};
|
|
137997
|
-
var
|
|
138230
|
+
var presentation10 = (state, ctx) => {
|
|
137998
138231
|
const { feedService } = ctx;
|
|
137999
138232
|
const { feedItems, cursor, params: params2 } = state;
|
|
138000
138233
|
const feed = feedService.views.formatFeed(feedItems, state, {
|
|
@@ -138005,7 +138238,7 @@ var presentation9 = (state, ctx) => {
|
|
|
138005
138238
|
|
|
138006
138239
|
// src/api/app/bsky/actor/getProfile.ts
|
|
138007
138240
|
function getProfile_default(server, ctx) {
|
|
138008
|
-
const getProfile = createPipeline(
|
|
138241
|
+
const getProfile = createPipeline(skeleton11, hydration11, noRules, presentation11);
|
|
138009
138242
|
server.app.bsky.actor.getProfile({
|
|
138010
138243
|
auth: ctx.authOptionalAccessOrRoleVerifier,
|
|
138011
138244
|
handler: async ({ auth, params: params2, res }) => {
|
|
@@ -138030,7 +138263,7 @@ function getProfile_default(server, ctx) {
|
|
|
138030
138263
|
}
|
|
138031
138264
|
});
|
|
138032
138265
|
}
|
|
138033
|
-
var
|
|
138266
|
+
var skeleton11 = async (params2, ctx) => {
|
|
138034
138267
|
const { actorService } = ctx;
|
|
138035
138268
|
const { canViewTakendownProfile } = params2;
|
|
138036
138269
|
const actor = await actorService.getActor(params2.actor, true);
|
|
@@ -138042,14 +138275,14 @@ var skeleton10 = async (params2, ctx) => {
|
|
|
138042
138275
|
}
|
|
138043
138276
|
return { params: params2, actor };
|
|
138044
138277
|
};
|
|
138045
|
-
var
|
|
138278
|
+
var hydration11 = async (state, ctx) => {
|
|
138046
138279
|
const { actorService } = ctx;
|
|
138047
138280
|
const { params: params2, actor } = state;
|
|
138048
138281
|
const { viewer, canViewTakendownProfile } = params2;
|
|
138049
|
-
const
|
|
138050
|
-
return { ...state, ...
|
|
138282
|
+
const hydration20 = await actorService.views.profileDetailHydration([actor.did], { viewer, includeSoftDeleted: canViewTakendownProfile });
|
|
138283
|
+
return { ...state, ...hydration20 };
|
|
138051
138284
|
};
|
|
138052
|
-
var
|
|
138285
|
+
var presentation11 = (state, ctx) => {
|
|
138053
138286
|
const { actorService } = ctx;
|
|
138054
138287
|
const { params: params2, actor } = state;
|
|
138055
138288
|
const { viewer } = params2;
|
|
@@ -138063,7 +138296,7 @@ var presentation10 = (state, ctx) => {
|
|
|
138063
138296
|
|
|
138064
138297
|
// src/api/app/bsky/actor/getProfiles.ts
|
|
138065
138298
|
function getProfiles_default(server, ctx) {
|
|
138066
|
-
const getProfile = createPipeline(
|
|
138299
|
+
const getProfile = createPipeline(skeleton12, hydration12, noRules, presentation12);
|
|
138067
138300
|
server.app.bsky.actor.getProfiles({
|
|
138068
138301
|
auth: ctx.authOptionalVerifier,
|
|
138069
138302
|
handler: async ({ auth, params: params2, res }) => {
|
|
@@ -138082,21 +138315,21 @@ function getProfiles_default(server, ctx) {
|
|
|
138082
138315
|
}
|
|
138083
138316
|
});
|
|
138084
138317
|
}
|
|
138085
|
-
var
|
|
138318
|
+
var skeleton12 = async (params2, ctx) => {
|
|
138086
138319
|
const { actorService } = ctx;
|
|
138087
138320
|
const actors = await actorService.getActors(params2.actors);
|
|
138088
138321
|
return { params: params2, dids: actors.map((a) => a.did) };
|
|
138089
138322
|
};
|
|
138090
|
-
var
|
|
138323
|
+
var hydration12 = async (state, ctx) => {
|
|
138091
138324
|
const { actorService } = ctx;
|
|
138092
138325
|
const { params: params2, dids } = state;
|
|
138093
138326
|
const { viewer } = params2;
|
|
138094
|
-
const
|
|
138327
|
+
const hydration20 = await actorService.views.profileDetailHydration(dids, {
|
|
138095
138328
|
viewer
|
|
138096
138329
|
});
|
|
138097
|
-
return { ...state, ...
|
|
138330
|
+
return { ...state, ...hydration20 };
|
|
138098
138331
|
};
|
|
138099
|
-
var
|
|
138332
|
+
var presentation12 = (state, ctx) => {
|
|
138100
138333
|
const { actorService } = ctx;
|
|
138101
138334
|
const { params: params2, dids } = state;
|
|
138102
138335
|
const { viewer } = params2;
|
|
@@ -138109,7 +138342,7 @@ var presentation11 = (state, ctx) => {
|
|
|
138109
138342
|
|
|
138110
138343
|
// src/api/app/bsky/feed/getRepostedBy.ts
|
|
138111
138344
|
function getRepostedBy_default(server, ctx) {
|
|
138112
|
-
const getRepostedBy = createPipeline(
|
|
138345
|
+
const getRepostedBy = createPipeline(skeleton13, hydration13, noBlocks4, presentation13);
|
|
138113
138346
|
server.app.bsky.feed.getRepostedBy({
|
|
138114
138347
|
auth: ctx.authOptionalVerifier,
|
|
138115
138348
|
handler: async ({ params: params2, auth }) => {
|
|
@@ -138125,7 +138358,7 @@ function getRepostedBy_default(server, ctx) {
|
|
|
138125
138358
|
}
|
|
138126
138359
|
});
|
|
138127
138360
|
}
|
|
138128
|
-
var
|
|
138361
|
+
var skeleton13 = async (params2, ctx) => {
|
|
138129
138362
|
const { db } = ctx;
|
|
138130
138363
|
const { limit, cursor, uri: uri2, cid: cid2 } = params2;
|
|
138131
138364
|
const { ref } = db.db.dynamic;
|
|
@@ -138142,7 +138375,7 @@ var skeleton12 = async (params2, ctx) => {
|
|
|
138142
138375
|
const repostedBy = await builder.execute();
|
|
138143
138376
|
return { params: params2, repostedBy, cursor: keyset.packFromResult(repostedBy) };
|
|
138144
138377
|
};
|
|
138145
|
-
var
|
|
138378
|
+
var hydration13 = async (state, ctx) => {
|
|
138146
138379
|
const { graphService, actorService } = ctx;
|
|
138147
138380
|
const { params: params2, repostedBy } = state;
|
|
138148
138381
|
const { viewer } = params2;
|
|
@@ -138152,14 +138385,14 @@ var hydration12 = async (state, ctx) => {
|
|
|
138152
138385
|
]);
|
|
138153
138386
|
return { ...state, bam, actors };
|
|
138154
138387
|
};
|
|
138155
|
-
var
|
|
138388
|
+
var noBlocks4 = (state) => {
|
|
138156
138389
|
const { viewer } = state.params;
|
|
138157
138390
|
if (!viewer)
|
|
138158
138391
|
return state;
|
|
138159
138392
|
state.repostedBy = state.repostedBy.filter((item) => !state.bam.block([viewer, item.did]));
|
|
138160
138393
|
return state;
|
|
138161
138394
|
};
|
|
138162
|
-
var
|
|
138395
|
+
var presentation13 = (state) => {
|
|
138163
138396
|
const { params: params2, repostedBy, actors, cursor } = state;
|
|
138164
138397
|
const { uri: uri2, cid: cid2 } = params2;
|
|
138165
138398
|
const repostedByView = mapDefined(repostedBy, (item) => actors[item.did]);
|
|
@@ -138198,7 +138431,7 @@ function getBlocks_default(server, ctx) {
|
|
|
138198
138431
|
|
|
138199
138432
|
// src/api/app/bsky/graph/getListBlocks.ts
|
|
138200
138433
|
function getListBlocks_default(server, ctx) {
|
|
138201
|
-
const getListBlocks = createPipeline(
|
|
138434
|
+
const getListBlocks = createPipeline(skeleton14, hydration14, noRules, presentation14);
|
|
138202
138435
|
server.app.bsky.graph.getListBlocks({
|
|
138203
138436
|
auth: ctx.authVerifier,
|
|
138204
138437
|
handler: async ({ params: params2, auth }) => {
|
|
@@ -138214,7 +138447,7 @@ function getListBlocks_default(server, ctx) {
|
|
|
138214
138447
|
}
|
|
138215
138448
|
});
|
|
138216
138449
|
}
|
|
138217
|
-
var
|
|
138450
|
+
var skeleton14 = async (params2, ctx) => {
|
|
138218
138451
|
const { db, graphService } = ctx;
|
|
138219
138452
|
const { limit, cursor, viewer } = params2;
|
|
138220
138453
|
const { ref } = db.db.dynamic;
|
|
@@ -138232,13 +138465,13 @@ var skeleton13 = async (params2, ctx) => {
|
|
|
138232
138465
|
cursor: keyset.packFromResult(listInfos)
|
|
138233
138466
|
};
|
|
138234
138467
|
};
|
|
138235
|
-
var
|
|
138468
|
+
var hydration14 = async (state, ctx) => {
|
|
138236
138469
|
const { actorService } = ctx;
|
|
138237
138470
|
const { params: params2, listInfos } = state;
|
|
138238
138471
|
const profileState = await actorService.views.profileHydration(listInfos.map((list) => list.creator), { viewer: params2.viewer });
|
|
138239
138472
|
return { ...state, ...profileState };
|
|
138240
138473
|
};
|
|
138241
|
-
var
|
|
138474
|
+
var presentation14 = (state, ctx) => {
|
|
138242
138475
|
const { actorService, graphService } = ctx;
|
|
138243
138476
|
const { params: params2, listInfos, cursor, ...profileState } = state;
|
|
138244
138477
|
const actors = actorService.views.profilePresentation(Object.keys(profileState.profiles), profileState, { viewer: params2.viewer });
|
|
@@ -138248,7 +138481,7 @@ var presentation13 = (state, ctx) => {
|
|
|
138248
138481
|
|
|
138249
138482
|
// src/api/app/bsky/graph/getFollowers.ts
|
|
138250
138483
|
function getFollowers_default(server, ctx) {
|
|
138251
|
-
const getFollowers = createPipeline(
|
|
138484
|
+
const getFollowers = createPipeline(skeleton15, hydration15, noBlocksInclInvalid, presentation15);
|
|
138252
138485
|
server.app.bsky.graph.getFollowers({
|
|
138253
138486
|
auth: ctx.authOptionalAccessOrRoleVerifier,
|
|
138254
138487
|
handler: async ({ params: params2, auth }) => {
|
|
@@ -138265,7 +138498,7 @@ function getFollowers_default(server, ctx) {
|
|
|
138265
138498
|
}
|
|
138266
138499
|
});
|
|
138267
138500
|
}
|
|
138268
|
-
var
|
|
138501
|
+
var skeleton15 = async (params2, ctx) => {
|
|
138269
138502
|
const { db, actorService } = ctx;
|
|
138270
138503
|
const { limit, cursor, actor, canViewTakendownProfile } = params2;
|
|
138271
138504
|
const { ref } = db.db.dynamic;
|
|
@@ -138288,7 +138521,7 @@ var skeleton14 = async (params2, ctx) => {
|
|
|
138288
138521
|
cursor: keyset.packFromResult(followers)
|
|
138289
138522
|
};
|
|
138290
138523
|
};
|
|
138291
|
-
var
|
|
138524
|
+
var hydration15 = async (state, ctx) => {
|
|
138292
138525
|
const { graphService, actorService } = ctx;
|
|
138293
138526
|
const { params: params2, followers, subject } = state;
|
|
138294
138527
|
const { viewer } = params2;
|
|
@@ -138312,7 +138545,7 @@ var noBlocksInclInvalid = (state) => {
|
|
|
138312
138545
|
state.followers = state.followers.filter((item) => !state.bam.block([subject.did, item.did]) && (!viewer || !state.bam.block([viewer, item.did])));
|
|
138313
138546
|
return state;
|
|
138314
138547
|
};
|
|
138315
|
-
var
|
|
138548
|
+
var presentation15 = (state) => {
|
|
138316
138549
|
const { params: params2, followers, subject, actors, cursor } = state;
|
|
138317
138550
|
const subjectView = actors[subject.did];
|
|
138318
138551
|
const followersView = mapDefined(followers, (item) => actors[item.did]);
|
|
@@ -138324,7 +138557,7 @@ var presentation14 = (state) => {
|
|
|
138324
138557
|
|
|
138325
138558
|
// src/api/app/bsky/graph/getFollows.ts
|
|
138326
138559
|
function getFollows_default(server, ctx) {
|
|
138327
|
-
const getFollows = createPipeline(
|
|
138560
|
+
const getFollows = createPipeline(skeleton16, hydration16, noBlocksInclInvalid2, presentation16);
|
|
138328
138561
|
server.app.bsky.graph.getFollows({
|
|
138329
138562
|
auth: ctx.authOptionalAccessOrRoleVerifier,
|
|
138330
138563
|
handler: async ({ params: params2, auth }) => {
|
|
@@ -138341,7 +138574,7 @@ function getFollows_default(server, ctx) {
|
|
|
138341
138574
|
}
|
|
138342
138575
|
});
|
|
138343
138576
|
}
|
|
138344
|
-
var
|
|
138577
|
+
var skeleton16 = async (params2, ctx) => {
|
|
138345
138578
|
const { db, actorService } = ctx;
|
|
138346
138579
|
const { limit, cursor, actor, canViewTakendownProfile } = params2;
|
|
138347
138580
|
const { ref } = db.db.dynamic;
|
|
@@ -138364,7 +138597,7 @@ var skeleton15 = async (params2, ctx) => {
|
|
|
138364
138597
|
cursor: keyset.packFromResult(follows)
|
|
138365
138598
|
};
|
|
138366
138599
|
};
|
|
138367
|
-
var
|
|
138600
|
+
var hydration16 = async (state, ctx) => {
|
|
138368
138601
|
const { graphService, actorService } = ctx;
|
|
138369
138602
|
const { params: params2, follows, creator } = state;
|
|
138370
138603
|
const { viewer } = params2;
|
|
@@ -138388,7 +138621,7 @@ var noBlocksInclInvalid2 = (state) => {
|
|
|
138388
138621
|
state.follows = state.follows.filter((item) => !state.bam.block([creator.did, item.did]) && (!viewer || !state.bam.block([viewer, item.did])));
|
|
138389
138622
|
return state;
|
|
138390
138623
|
};
|
|
138391
|
-
var
|
|
138624
|
+
var presentation16 = (state) => {
|
|
138392
138625
|
const { params: params2, follows, creator, actors, cursor } = state;
|
|
138393
138626
|
const creatorView = actors[creator.did];
|
|
138394
138627
|
const followsView = mapDefined(follows, (item) => actors[item.did]);
|
|
@@ -138400,7 +138633,7 @@ var presentation15 = (state) => {
|
|
|
138400
138633
|
|
|
138401
138634
|
// src/api/app/bsky/graph/getList.ts
|
|
138402
138635
|
function getList_default(server, ctx) {
|
|
138403
|
-
const getList = createPipeline(
|
|
138636
|
+
const getList = createPipeline(skeleton17, hydration17, noRules, presentation17);
|
|
138404
138637
|
server.app.bsky.graph.getList({
|
|
138405
138638
|
auth: ctx.authOptionalVerifier,
|
|
138406
138639
|
handler: async ({ params: params2, auth }) => {
|
|
@@ -138416,7 +138649,7 @@ function getList_default(server, ctx) {
|
|
|
138416
138649
|
}
|
|
138417
138650
|
});
|
|
138418
138651
|
}
|
|
138419
|
-
var
|
|
138652
|
+
var skeleton17 = async (params2, ctx) => {
|
|
138420
138653
|
const { db, graphService } = ctx;
|
|
138421
138654
|
const { list, limit, cursor, viewer } = params2;
|
|
138422
138655
|
const { ref } = db.db.dynamic;
|
|
@@ -138439,13 +138672,13 @@ var skeleton16 = async (params2, ctx) => {
|
|
|
138439
138672
|
cursor: keyset.packFromResult(listItems)
|
|
138440
138673
|
};
|
|
138441
138674
|
};
|
|
138442
|
-
var
|
|
138675
|
+
var hydration17 = async (state, ctx) => {
|
|
138443
138676
|
const { actorService } = ctx;
|
|
138444
138677
|
const { params: params2, list, listItems } = state;
|
|
138445
138678
|
const profileState = await actorService.views.profileHydration([list, ...listItems].map((x) => x.did), { viewer: params2.viewer });
|
|
138446
138679
|
return { ...state, ...profileState };
|
|
138447
138680
|
};
|
|
138448
|
-
var
|
|
138681
|
+
var presentation17 = (state, ctx) => {
|
|
138449
138682
|
const { actorService, graphService } = ctx;
|
|
138450
138683
|
const { params: params2, list, listItems, cursor, ...profileState } = state;
|
|
138451
138684
|
const actors = actorService.views.profilePresentation(Object.keys(profileState.profiles), profileState, { viewer: params2.viewer });
|
|
@@ -138667,15 +138900,15 @@ function getSuggestedFollowsByActor_default(server, ctx) {
|
|
|
138667
138900
|
if (!actorDid) {
|
|
138668
138901
|
throw new InvalidRequestError("Actor not found");
|
|
138669
138902
|
}
|
|
138670
|
-
const
|
|
138903
|
+
const skeleton20 = await getSkeleton({
|
|
138671
138904
|
actor: actorDid,
|
|
138672
138905
|
viewer
|
|
138673
138906
|
}, {
|
|
138674
138907
|
db,
|
|
138675
138908
|
actorService
|
|
138676
138909
|
});
|
|
138677
|
-
const hydrationState = await actorService.views.profileDetailHydration(
|
|
138678
|
-
const presentationState = actorService.views.profileDetailPresentation(
|
|
138910
|
+
const hydrationState = await actorService.views.profileDetailHydration(skeleton20.map((a) => a.did), { viewer });
|
|
138911
|
+
const presentationState = actorService.views.profileDetailPresentation(skeleton20.map((a) => a.did), hydrationState, { viewer });
|
|
138679
138912
|
const suggestions = Object.values(presentationState).filter((profile) => {
|
|
138680
138913
|
return !profile.viewer?.muted && !profile.viewer?.mutedByList && !profile.viewer?.blocking && !profile.viewer?.blockedBy;
|
|
138681
138914
|
});
|
|
@@ -138875,7 +139108,7 @@ function searchActorsTypeahead_default(server, ctx) {
|
|
|
138875
139108
|
|
|
138876
139109
|
// src/api/app/bsky/actor/getSuggestions.ts
|
|
138877
139110
|
function getSuggestions_default(server, ctx) {
|
|
138878
|
-
const getSuggestions = createPipeline(
|
|
139111
|
+
const getSuggestions = createPipeline(skeleton18, hydration18, noBlocksOrMutes4, presentation18);
|
|
138879
139112
|
server.app.bsky.actor.getSuggestions({
|
|
138880
139113
|
auth: ctx.authOptionalVerifier,
|
|
138881
139114
|
handler: async ({ params: params2, auth }) => {
|
|
@@ -138891,21 +139124,19 @@ function getSuggestions_default(server, ctx) {
|
|
|
138891
139124
|
}
|
|
138892
139125
|
});
|
|
138893
139126
|
}
|
|
138894
|
-
var
|
|
139127
|
+
var skeleton18 = async (params2, ctx) => {
|
|
138895
139128
|
const { db } = ctx;
|
|
138896
|
-
const {
|
|
139129
|
+
const { viewer } = params2;
|
|
139130
|
+
const alreadyIncluded = parseCursor(params2.cursor);
|
|
138897
139131
|
const { ref } = db.db.dynamic;
|
|
138898
|
-
|
|
138899
|
-
|
|
138900
|
-
|
|
138901
|
-
|
|
138902
|
-
|
|
138903
|
-
|
|
138904
|
-
}
|
|
138905
|
-
const suggestions = await suggestionsQb.execute();
|
|
138906
|
-
return { params: params2, suggestions, cursor: suggestions.at(-1)?.did };
|
|
139132
|
+
const suggestions = await db.db.selectFrom("suggested_follow").innerJoin("actor", "actor.did", "suggested_follow.did").where(notSoftDeletedClause(ref("actor"))).where("suggested_follow.did", "!=", viewer ?? "").whereNotExists((qb) => qb.selectFrom("follow").selectAll().where("creator", "=", viewer ?? "").whereRef("subjectDid", "=", ref("actor.did"))).if(alreadyIncluded.length > 0, (qb) => qb.where("suggested_follow.order", "not in", alreadyIncluded)).selectAll().orderBy("suggested_follow.order", "asc").execute();
|
|
139133
|
+
const firstTwo = suggestions.filter((row) => row.order === 1 || row.order === 2);
|
|
139134
|
+
const rest = suggestions.filter((row) => row.order !== 1 && row.order !== 2);
|
|
139135
|
+
const limited = firstTwo.concat(shuffle(rest)).slice(0, params2.limit);
|
|
139136
|
+
const cursor = limited.length > 0 ? limited.map((row) => row.order.toString()).concat(alreadyIncluded.map((id) => id.toString())).join(":") : void 0;
|
|
139137
|
+
return { params: params2, suggestions: limited, cursor };
|
|
138907
139138
|
};
|
|
138908
|
-
var
|
|
139139
|
+
var hydration18 = async (state, ctx) => {
|
|
138909
139140
|
const { graphService, actorService } = ctx;
|
|
138910
139141
|
const { params: params2, suggestions } = state;
|
|
138911
139142
|
const { viewer } = params2;
|
|
@@ -138922,11 +139153,24 @@ var noBlocksOrMutes4 = (state) => {
|
|
|
138922
139153
|
state.suggestions = state.suggestions.filter((item) => !state.bam.block([viewer, item.did]) && !state.bam.mute([viewer, item.did]));
|
|
138923
139154
|
return state;
|
|
138924
139155
|
};
|
|
138925
|
-
var
|
|
139156
|
+
var presentation18 = (state) => {
|
|
138926
139157
|
const { suggestions, actors, cursor } = state;
|
|
138927
139158
|
const suggestedActors = mapDefined(suggestions, (sug) => actors[sug.did]);
|
|
138928
139159
|
return { actors: suggestedActors, cursor };
|
|
138929
139160
|
};
|
|
139161
|
+
var parseCursor = (cursor) => {
|
|
139162
|
+
if (!cursor) {
|
|
139163
|
+
return [];
|
|
139164
|
+
}
|
|
139165
|
+
try {
|
|
139166
|
+
return cursor.split(":").map((id) => parseInt(id, 10)).filter((id) => !isNaN(id));
|
|
139167
|
+
} catch {
|
|
139168
|
+
return [];
|
|
139169
|
+
}
|
|
139170
|
+
};
|
|
139171
|
+
var shuffle = (arr) => {
|
|
139172
|
+
return arr.map((value) => ({ value, sort: Math.random() })).sort((a, b) => a.sort - b.sort).map(({ value }) => value);
|
|
139173
|
+
};
|
|
138930
139174
|
|
|
138931
139175
|
// src/api/app/bsky/notification/getUnreadCount.ts
|
|
138932
139176
|
function getUnreadCount_default(server, ctx) {
|
|
@@ -139066,7 +139310,7 @@ function getSelfLabels(details) {
|
|
|
139066
139310
|
|
|
139067
139311
|
// src/api/app/bsky/notification/listNotifications.ts
|
|
139068
139312
|
function listNotifications_default(server, ctx) {
|
|
139069
|
-
const listNotifications = createPipeline(
|
|
139313
|
+
const listNotifications = createPipeline(skeleton19, hydration19, noBlockOrMutes, presentation19);
|
|
139070
139314
|
server.app.bsky.notification.listNotifications({
|
|
139071
139315
|
auth: ctx.authVerifier,
|
|
139072
139316
|
handler: async ({ params: params2, auth }) => {
|
|
@@ -139083,7 +139327,7 @@ function listNotifications_default(server, ctx) {
|
|
|
139083
139327
|
}
|
|
139084
139328
|
});
|
|
139085
139329
|
}
|
|
139086
|
-
var
|
|
139330
|
+
var skeleton19 = async (params2, ctx) => {
|
|
139087
139331
|
const { db } = ctx;
|
|
139088
139332
|
const { limit, cursor, viewer } = params2;
|
|
139089
139333
|
const { ref } = db.db.dynamic;
|
|
@@ -139117,7 +139361,7 @@ var skeleton18 = async (params2, ctx) => {
|
|
|
139117
139361
|
lastSeenNotifs: actorState?.lastSeenNotifs
|
|
139118
139362
|
};
|
|
139119
139363
|
};
|
|
139120
|
-
var
|
|
139364
|
+
var hydration19 = async (state, ctx) => {
|
|
139121
139365
|
const { graphService, actorService, labelService, db } = ctx;
|
|
139122
139366
|
const { params: params2, notifs } = state;
|
|
139123
139367
|
const { viewer } = params2;
|
|
@@ -139136,7 +139380,7 @@ var noBlockOrMutes = (state) => {
|
|
|
139136
139380
|
state.notifs = state.notifs.filter((item) => !state.bam.block([viewer, item.authorDid]) && !state.bam.mute([viewer, item.authorDid]));
|
|
139137
139381
|
return state;
|
|
139138
139382
|
};
|
|
139139
|
-
var
|
|
139383
|
+
var presentation19 = (state) => {
|
|
139140
139384
|
const { notifs, cursor, actors, records, labels, lastSeenNotifs } = state;
|
|
139141
139385
|
const notifications = mapDefined(notifs, (notif) => {
|
|
139142
139386
|
const author = actors[notif.authorDid];
|
|
@@ -139513,9 +139757,9 @@ function reverseModerationAction_default(server, ctx) {
|
|
|
139513
139757
|
await labelTxn.formatAndCreate(ctx.cfg.labelerDid, result2.subjectUri ?? result2.subjectDid, result2.subjectCid, { create: create3, negate });
|
|
139514
139758
|
return { result: result2, restored: restored2 };
|
|
139515
139759
|
});
|
|
139516
|
-
if (restored) {
|
|
139517
|
-
const
|
|
139518
|
-
const
|
|
139760
|
+
if (restored && ctx.moderationPushAgent) {
|
|
139761
|
+
const agent = ctx.moderationPushAgent;
|
|
139762
|
+
const { subjects } = restored;
|
|
139519
139763
|
const results = await Promise.allSettled(subjects.map((subject) => retryHttp(() => agent.api.com.atproto.admin.updateSubjectStatus({
|
|
139520
139764
|
subject,
|
|
139521
139765
|
takedown: {
|
|
@@ -139594,10 +139838,10 @@ function takeModerationAction_default(server, ctx) {
|
|
|
139594
139838
|
await labelTxn.formatAndCreate(ctx.cfg.labelerDid, result2.subjectUri ?? result2.subjectDid, result2.subjectCid, { create: createLabelVals, negate: negateLabelVals });
|
|
139595
139839
|
return { result: result2, takenDown: takenDown2 };
|
|
139596
139840
|
});
|
|
139597
|
-
if (takenDown) {
|
|
139841
|
+
if (takenDown && ctx.moderationPushAgent) {
|
|
139842
|
+
const agent = ctx.moderationPushAgent;
|
|
139598
139843
|
const { did: did2, subjects } = takenDown;
|
|
139599
139844
|
if (did2 && subjects.length > 0) {
|
|
139600
|
-
const agent = await ctx.pdsAdminAgent(did2);
|
|
139601
139845
|
const results = await Promise.allSettled(subjects.map((subject2) => retryHttp(() => agent.api.com.atproto.admin.updateSubjectStatus({
|
|
139602
139846
|
subject: subject2,
|
|
139603
139847
|
takedown: {
|
|
@@ -139652,8 +139896,10 @@ function searchRepos_default(server, ctx) {
|
|
|
139652
139896
|
|
|
139653
139897
|
// src/api/com/atproto/admin/util.ts
|
|
139654
139898
|
var getPdsAccountInfo = async (ctx, did2) => {
|
|
139899
|
+
const agent = ctx.moderationPushAgent;
|
|
139900
|
+
if (!agent)
|
|
139901
|
+
return null;
|
|
139655
139902
|
try {
|
|
139656
|
-
const agent = await ctx.pdsAdminAgent(did2);
|
|
139657
139903
|
const res = await agent.api.com.atproto.admin.getAccountInfo({ did: did2 });
|
|
139658
139904
|
return res.data;
|
|
139659
139905
|
} catch (err) {
|
|
@@ -139669,7 +139915,8 @@ var addAccountInfoToRepoViewDetail = (repoView, accountInfo, includeEmail = fals
|
|
|
139669
139915
|
invitedBy: accountInfo.invitedBy,
|
|
139670
139916
|
invitesDisabled: accountInfo.invitesDisabled,
|
|
139671
139917
|
inviteNote: accountInfo.inviteNote,
|
|
139672
|
-
invites: accountInfo.invites
|
|
139918
|
+
invites: accountInfo.invites,
|
|
139919
|
+
emailConfirmedAt: accountInfo.emailConfirmedAt
|
|
139673
139920
|
};
|
|
139674
139921
|
};
|
|
139675
139922
|
var addAccountInfoToRepoView = (repoView, accountInfo, includeEmail = false) => {
|
|
@@ -139903,6 +140150,26 @@ function getRecord_default2(server, ctx) {
|
|
|
139903
140150
|
});
|
|
139904
140151
|
}
|
|
139905
140152
|
|
|
140153
|
+
// src/api/com/atproto/temp/fetchLabels.ts
|
|
140154
|
+
function fetchLabels_default(server, ctx) {
|
|
140155
|
+
server.com.atproto.temp.fetchLabels(async ({ params: params2 }) => {
|
|
140156
|
+
const { limit } = params2;
|
|
140157
|
+
const db = ctx.db.getReplica();
|
|
140158
|
+
const since = params2.since !== void 0 ? new Date(params2.since).toISOString() : "";
|
|
140159
|
+
const labelRes = await db.db.selectFrom("label").selectAll().orderBy("label.cts", "asc").where("cts", ">", since).limit(limit).execute();
|
|
140160
|
+
const labels = labelRes.map((l) => ({
|
|
140161
|
+
...l,
|
|
140162
|
+
cid: l.cid === "" ? void 0 : l.cid
|
|
140163
|
+
}));
|
|
140164
|
+
return {
|
|
140165
|
+
encoding: "application/json",
|
|
140166
|
+
body: {
|
|
140167
|
+
labels
|
|
140168
|
+
}
|
|
140169
|
+
};
|
|
140170
|
+
});
|
|
140171
|
+
}
|
|
140172
|
+
|
|
139906
140173
|
// src/api/health.ts
|
|
139907
140174
|
var health_exports = {};
|
|
139908
140175
|
__export(health_exports, {
|
|
@@ -140082,6 +140349,7 @@ function api_default(server, ctx) {
|
|
|
140082
140349
|
getListFeed_default(server, ctx);
|
|
140083
140350
|
getPostThread_default(server, ctx);
|
|
140084
140351
|
getPosts_default(server, ctx);
|
|
140352
|
+
searchPosts_default(server, ctx);
|
|
140085
140353
|
getActorLikes_default(server, ctx);
|
|
140086
140354
|
getProfile_default(server, ctx);
|
|
140087
140355
|
getProfiles_default(server, ctx);
|
|
@@ -140121,6 +140389,7 @@ function api_default(server, ctx) {
|
|
|
140121
140389
|
getModerationReports_default(server, ctx);
|
|
140122
140390
|
resolveHandle_default(server, ctx);
|
|
140123
140391
|
getRecord_default2(server, ctx);
|
|
140392
|
+
fetchLabels_default(server, ctx);
|
|
140124
140393
|
return server;
|
|
140125
140394
|
}
|
|
140126
140395
|
|
|
@@ -140161,6 +140430,7 @@ var AtprotoNS2 = class {
|
|
|
140161
140430
|
this.repo = new RepoNS2(server);
|
|
140162
140431
|
this.server = new ServerNS2(server);
|
|
140163
140432
|
this.sync = new SyncNS2(server);
|
|
140433
|
+
this.temp = new TempNS2(server);
|
|
140164
140434
|
}
|
|
140165
140435
|
};
|
|
140166
140436
|
var AdminNS2 = class {
|
|
@@ -140462,6 +140732,15 @@ var SyncNS2 = class {
|
|
|
140462
140732
|
return this._server.xrpc.streamMethod(nsid2, cfg);
|
|
140463
140733
|
}
|
|
140464
140734
|
};
|
|
140735
|
+
var TempNS2 = class {
|
|
140736
|
+
constructor(server) {
|
|
140737
|
+
this._server = server;
|
|
140738
|
+
}
|
|
140739
|
+
fetchLabels(cfg) {
|
|
140740
|
+
const nsid2 = "com.atproto.temp.fetchLabels";
|
|
140741
|
+
return this._server.xrpc.method(nsid2, cfg);
|
|
140742
|
+
}
|
|
140743
|
+
};
|
|
140465
140744
|
var AppNS2 = class {
|
|
140466
140745
|
constructor(server) {
|
|
140467
140746
|
this._server = server;
|
|
@@ -144749,6 +145028,11 @@ var getJwtStrFromReq = (req) => {
|
|
|
144749
145028
|
var AppContext = class {
|
|
144750
145029
|
constructor(opts) {
|
|
144751
145030
|
this.opts = opts;
|
|
145031
|
+
if (opts.cfg.moderationPushUrl) {
|
|
145032
|
+
const url = new URL(opts.cfg.moderationPushUrl);
|
|
145033
|
+
this.moderationPushAgent = new AtpAgent({ service: url.origin });
|
|
145034
|
+
this.moderationPushAgent.api.setHeader("authorization", buildBasicAuth(url.username, url.password));
|
|
145035
|
+
}
|
|
144752
145036
|
}
|
|
144753
145037
|
get db() {
|
|
144754
145038
|
return this.opts.db;
|
|
@@ -144808,13 +145092,6 @@ var AppContext = class {
|
|
|
144808
145092
|
keypair: this.signingKey
|
|
144809
145093
|
});
|
|
144810
145094
|
}
|
|
144811
|
-
async pdsAdminAgent(did2) {
|
|
144812
|
-
const data = await this.idResolver.did.resolveAtprotoData(did2);
|
|
144813
|
-
const agent = new AtpAgent({ service: data.pds });
|
|
144814
|
-
const jwt = await this.serviceAuthJwt(did2);
|
|
144815
|
-
agent.api.setHeader("authorization", `Bearer ${jwt}`);
|
|
144816
|
-
return agent;
|
|
144817
|
-
}
|
|
144818
145095
|
get backgroundQueue() {
|
|
144819
145096
|
return this.opts.backgroundQueue;
|
|
144820
145097
|
}
|
|
@@ -145261,7 +145538,7 @@ var ServerConfig = class {
|
|
|
145261
145538
|
const moderatorPassword = process.env.MODERATOR_PASSWORD || void 0;
|
|
145262
145539
|
const triagePassword = process.env.TRIAGE_PASSWORD || void 0;
|
|
145263
145540
|
const labelerDid = process.env.LABELER_DID || "did:example:labeler";
|
|
145264
|
-
const
|
|
145541
|
+
const moderationPushUrl = overrides?.moderationPushUrl || process.env.MODERATION_PUSH_URL || void 0;
|
|
145265
145542
|
return new ServerConfig({
|
|
145266
145543
|
version: version2,
|
|
145267
145544
|
debugMode,
|
|
@@ -145284,7 +145561,7 @@ var ServerConfig = class {
|
|
|
145284
145561
|
adminPassword,
|
|
145285
145562
|
moderatorPassword,
|
|
145286
145563
|
triagePassword,
|
|
145287
|
-
|
|
145564
|
+
moderationPushUrl,
|
|
145288
145565
|
...stripUndefineds(overrides ?? {})
|
|
145289
145566
|
});
|
|
145290
145567
|
}
|
|
@@ -145359,8 +145636,8 @@ var ServerConfig = class {
|
|
|
145359
145636
|
get triagePassword() {
|
|
145360
145637
|
return this.cfg.triagePassword;
|
|
145361
145638
|
}
|
|
145362
|
-
get
|
|
145363
|
-
return this.cfg.
|
|
145639
|
+
get moderationPushUrl() {
|
|
145640
|
+
return this.cfg.moderationPushUrl;
|
|
145364
145641
|
}
|
|
145365
145642
|
};
|
|
145366
145643
|
function getTagIdxs(str) {
|
|
@@ -146235,11 +146512,7 @@ var PeriodicModerationActionReversal = class {
|
|
|
146235
146512
|
this.appContext = appContext;
|
|
146236
146513
|
this.leader = new Leader(MODERATION_ACTION_REVERSAL_ID, this.appContext.db.getPrimary());
|
|
146237
146514
|
this.destroyed = false;
|
|
146238
|
-
|
|
146239
|
-
const url = new URL(appContext.cfg.moderationActionReverseUrl);
|
|
146240
|
-
this.pushAgent = new AtpAgent({ service: url.origin });
|
|
146241
|
-
this.pushAgent.api.setHeader("authorization", buildBasicAuth(url.username, url.password));
|
|
146242
|
-
}
|
|
146515
|
+
this.pushAgent = appContext.moderationPushAgent;
|
|
146243
146516
|
}
|
|
146244
146517
|
async reverseLabels(labelTxn, actionRow) {
|
|
146245
146518
|
let uri2;
|