@atproto/ozone 0.1.176 → 0.2.1
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 +22 -0
- package/dist/api/chat/getConvo.d.ts +4 -0
- package/dist/api/chat/getConvo.d.ts.map +1 -0
- package/dist/api/chat/getConvo.js +18 -0
- package/dist/api/chat/getConvo.js.map +1 -0
- package/dist/api/chat/getConvoMembers.d.ts +4 -0
- package/dist/api/chat/getConvoMembers.d.ts.map +1 -0
- package/dist/api/chat/getConvoMembers.js +18 -0
- package/dist/api/chat/getConvoMembers.js.map +1 -0
- package/dist/api/chat/index.d.ts.map +1 -1
- package/dist/api/chat/index.js +4 -0
- package/dist/api/chat/index.js.map +1 -1
- package/dist/daemon/event-reverser.d.ts.map +1 -1
- package/dist/daemon/event-reverser.js +1 -0
- package/dist/daemon/event-reverser.js.map +1 -1
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.d.ts +4 -0
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.d.ts.map +1 -0
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.js +107 -0
- package/dist/db/migrations/20260513T202941104Z-add-subject-convo-id.js.map +1 -0
- package/dist/db/migrations/index.d.ts +1 -0
- package/dist/db/migrations/index.d.ts.map +1 -1
- package/dist/db/migrations/index.js +1 -0
- package/dist/db/migrations/index.js.map +1 -1
- package/dist/db/schema/expiring_tag.d.ts +1 -0
- package/dist/db/schema/expiring_tag.d.ts.map +1 -1
- package/dist/db/schema/expiring_tag.js.map +1 -1
- package/dist/db/schema/moderation_event.d.ts +2 -1
- package/dist/db/schema/moderation_event.d.ts.map +1 -1
- package/dist/db/schema/moderation_event.js.map +1 -1
- package/dist/db/schema/moderation_subject_status.d.ts +1 -0
- package/dist/db/schema/moderation_subject_status.d.ts.map +1 -1
- package/dist/db/schema/moderation_subject_status.js.map +1 -1
- package/dist/db/schema/report.d.ts +1 -0
- package/dist/db/schema/report.d.ts.map +1 -1
- package/dist/db/schema/report.js.map +1 -1
- package/dist/lexicon/index.d.ts +21 -2
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +36 -2
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +1617 -305
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +762 -44
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +4 -0
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/external.d.ts +48 -2
- package/dist/lexicon/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/external.js +21 -0
- package/dist/lexicon/types/app/bsky/embed/external.js.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.d.ts +31 -0
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.js +5 -0
- package/dist/lexicon/types/app/bsky/embed/getEmbedExternalView.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/actor/getStatus.d.ts +24 -0
- package/dist/lexicon/types/chat/bsky/actor/getStatus.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/{group/getJoinLinkPreview.js → actor/getStatus.js} +2 -2
- package/dist/lexicon/types/chat/bsky/actor/getStatus.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts +39 -7
- package/dist/lexicon/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/defs.js +21 -0
- package/dist/lexicon/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getConvoForMembers.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/getLog.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/convo/listConvoRequests.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts +19 -0
- package/dist/lexicon/types/chat/bsky/embed/joinLink.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/embed/joinLink.js +19 -0
- package/dist/lexicon/types/chat/bsky/embed/joinLink.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts +1 -1
- package/dist/lexicon/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/defs.d.ts +23 -0
- package/dist/lexicon/types/chat/bsky/group/defs.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/defs.js +14 -0
- package/dist/lexicon/types/chat/bsky/group/defs.js.map +1 -1
- package/dist/lexicon/types/chat/bsky/group/{getJoinLinkPreview.d.ts → getJoinLinkPreviews.d.ts} +3 -4
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.js +5 -0
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreviews.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.d.ts +24 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.js +5 -0
- package/dist/lexicon/types/chat/bsky/group/updateJoinRequestsRead.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.d.ts +24 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.js +5 -0
- package/dist/lexicon/types/chat/bsky/group/withdrawJoinRequest.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts +42 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.js +26 -0
- package/dist/lexicon/types/chat/bsky/moderation/defs.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.d.ts +23 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.js +5 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvo.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.d.ts +26 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.js +5 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvoMembers.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvos.d.ts +22 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvos.d.ts.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvos.js +5 -0
- package/dist/lexicon/types/chat/bsky/moderation/getConvos.js.map +1 -0
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts +13 -1
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js +7 -0
- package/dist/lexicon/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts +1 -1
- package/dist/lexicon/types/com/atproto/server/getServiceAuth.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getServiceAuth.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts +10 -3
- package/dist/lexicon/types/tools/ozone/moderation/defs.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/defs.js +7 -0
- package/dist/lexicon/types/tools/ozone/moderation/defs.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts +2 -2
- package/dist/lexicon/types/tools/ozone/moderation/queryEvents.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryEvents.js.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts +2 -2
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.d.ts.map +1 -1
- package/dist/lexicon/types/tools/ozone/moderation/queryStatuses.js.map +1 -1
- package/dist/mod-service/expiring-tags.d.ts +3 -0
- package/dist/mod-service/expiring-tags.d.ts.map +1 -1
- package/dist/mod-service/expiring-tags.js +5 -2
- package/dist/mod-service/expiring-tags.js.map +1 -1
- package/dist/mod-service/index.d.ts +3 -1
- package/dist/mod-service/index.d.ts.map +1 -1
- package/dist/mod-service/index.js +48 -10
- package/dist/mod-service/index.js.map +1 -1
- package/dist/mod-service/status.d.ts +7 -1
- package/dist/mod-service/status.d.ts.map +1 -1
- package/dist/mod-service/status.js +18 -3
- package/dist/mod-service/status.js.map +1 -1
- package/dist/mod-service/subject.d.ts +38 -2
- package/dist/mod-service/subject.d.ts.map +1 -1
- package/dist/mod-service/subject.js +67 -0
- package/dist/mod-service/subject.js.map +1 -1
- package/dist/mod-service/views.d.ts +2 -1
- package/dist/mod-service/views.d.ts.map +1 -1
- package/dist/mod-service/views.js +45 -23
- package/dist/mod-service/views.js.map +1 -1
- package/dist/queue/service.d.ts.map +1 -1
- package/dist/queue/service.js +7 -3
- package/dist/queue/service.js.map +1 -1
- package/dist/safelink/service.d.ts +1 -1
- package/package.json +5 -5
- package/src/api/chat/getConvo.ts +23 -0
- package/src/api/chat/getConvoMembers.ts +23 -0
- package/src/api/chat/index.ts +4 -0
- package/src/daemon/event-reverser.ts +1 -0
- package/src/db/migrations/20260513T202941104Z-add-subject-convo-id.ts +114 -0
- package/src/db/migrations/index.ts +1 -0
- package/src/db/schema/expiring_tag.ts +1 -0
- package/src/db/schema/moderation_event.ts +2 -0
- package/src/db/schema/moderation_subject_status.ts +4 -0
- package/src/db/schema/report.ts +2 -1
- package/src/mod-service/expiring-tags.ts +8 -2
- package/src/mod-service/index.ts +52 -16
- package/src/mod-service/status.ts +24 -2
- package/src/mod-service/subject.ts +79 -1
- package/src/mod-service/views.ts +52 -24
- package/src/queue/service.ts +8 -4
- package/tests/__snapshots__/verification.test.ts.snap +2 -0
- package/tests/expiring-tags.test.ts +1 -0
- package/tests/moderation-events.test.ts +108 -1
- package/tests/moderation-status-tags.test.ts +23 -0
- package/tests/moderation-statuses.test.ts +82 -0
- package/tests/moderation.test.ts +73 -0
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.d.ts.map +0 -1
- package/dist/lexicon/types/chat/bsky/group/getJoinLinkPreview.js.map +0 -1
package/dist/lexicon/lexicons.js
CHANGED
|
@@ -385,6 +385,15 @@ export const schemaDict = {
|
|
|
385
385
|
description: 'The user who issued this verification.',
|
|
386
386
|
format: 'did',
|
|
387
387
|
},
|
|
388
|
+
issuerDisplayName: {
|
|
389
|
+
type: 'string',
|
|
390
|
+
description: 'The display name of the issuer.',
|
|
391
|
+
},
|
|
392
|
+
issuerHandle: {
|
|
393
|
+
type: 'string',
|
|
394
|
+
description: 'The handle of the issuer.',
|
|
395
|
+
format: 'handle',
|
|
396
|
+
},
|
|
388
397
|
uri: {
|
|
389
398
|
type: 'string',
|
|
390
399
|
description: 'The AT-URI of the verification record.',
|
|
@@ -2597,13 +2606,13 @@ export const schemaDict = {
|
|
|
2597
2606
|
accept: ['image/*'],
|
|
2598
2607
|
maxSize: 1000000,
|
|
2599
2608
|
},
|
|
2600
|
-
|
|
2609
|
+
associatedRefs: {
|
|
2601
2610
|
type: 'array',
|
|
2602
2611
|
items: {
|
|
2603
2612
|
type: 'ref',
|
|
2604
2613
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
2605
2614
|
},
|
|
2606
|
-
description: '
|
|
2615
|
+
description: 'StrongRefs (uri+cid) of the Atmosphere records that backed this view.',
|
|
2607
2616
|
},
|
|
2608
2617
|
},
|
|
2609
2618
|
},
|
|
@@ -2635,6 +2644,176 @@ export const schemaDict = {
|
|
|
2635
2644
|
type: 'string',
|
|
2636
2645
|
format: 'uri',
|
|
2637
2646
|
},
|
|
2647
|
+
createdAt: {
|
|
2648
|
+
type: 'string',
|
|
2649
|
+
format: 'datetime',
|
|
2650
|
+
description: 'When the external content was created, if available. Example: a publication date, for an article.',
|
|
2651
|
+
},
|
|
2652
|
+
updatedAt: {
|
|
2653
|
+
type: 'string',
|
|
2654
|
+
format: 'datetime',
|
|
2655
|
+
description: 'When the external content was updated, if available.',
|
|
2656
|
+
},
|
|
2657
|
+
readingTime: {
|
|
2658
|
+
type: 'integer',
|
|
2659
|
+
description: 'Estimated reading time in minutes, if applicable and available.',
|
|
2660
|
+
},
|
|
2661
|
+
labels: {
|
|
2662
|
+
type: 'array',
|
|
2663
|
+
items: {
|
|
2664
|
+
type: 'ref',
|
|
2665
|
+
ref: 'lex:com.atproto.label.defs#label',
|
|
2666
|
+
},
|
|
2667
|
+
},
|
|
2668
|
+
source: {
|
|
2669
|
+
type: 'ref',
|
|
2670
|
+
ref: 'lex:app.bsky.embed.external#viewExternalSource',
|
|
2671
|
+
},
|
|
2672
|
+
associatedRefs: {
|
|
2673
|
+
type: 'array',
|
|
2674
|
+
items: {
|
|
2675
|
+
type: 'ref',
|
|
2676
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
2677
|
+
},
|
|
2678
|
+
description: 'StrongRefs (uri+cid) of the Atmosphere records that backed this view.',
|
|
2679
|
+
},
|
|
2680
|
+
associatedProfiles: {
|
|
2681
|
+
type: 'array',
|
|
2682
|
+
items: {
|
|
2683
|
+
type: 'ref',
|
|
2684
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
2685
|
+
},
|
|
2686
|
+
description: 'Profiles of the owners of the Atmosphere records that backed this view.',
|
|
2687
|
+
},
|
|
2688
|
+
},
|
|
2689
|
+
},
|
|
2690
|
+
viewExternalSource: {
|
|
2691
|
+
type: 'object',
|
|
2692
|
+
description: 'The source of an external embed, such as a standard.site publication.',
|
|
2693
|
+
required: ['uri', 'title'],
|
|
2694
|
+
properties: {
|
|
2695
|
+
uri: {
|
|
2696
|
+
type: 'string',
|
|
2697
|
+
format: 'uri',
|
|
2698
|
+
description: 'URI of the source, if available. Example: the https:// URL of a site.standard.publication record.',
|
|
2699
|
+
},
|
|
2700
|
+
icon: {
|
|
2701
|
+
type: 'string',
|
|
2702
|
+
format: 'uri',
|
|
2703
|
+
description: 'Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.',
|
|
2704
|
+
},
|
|
2705
|
+
title: {
|
|
2706
|
+
type: 'string',
|
|
2707
|
+
},
|
|
2708
|
+
description: {
|
|
2709
|
+
type: 'string',
|
|
2710
|
+
},
|
|
2711
|
+
theme: {
|
|
2712
|
+
type: 'ref',
|
|
2713
|
+
ref: 'lex:app.bsky.embed.external#viewExternalSourceTheme',
|
|
2714
|
+
},
|
|
2715
|
+
},
|
|
2716
|
+
},
|
|
2717
|
+
viewExternalSourceTheme: {
|
|
2718
|
+
type: 'object',
|
|
2719
|
+
description: 'The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source.',
|
|
2720
|
+
properties: {
|
|
2721
|
+
backgroundRGB: {
|
|
2722
|
+
type: 'ref',
|
|
2723
|
+
ref: 'lex:app.bsky.embed.external#colorRGB',
|
|
2724
|
+
},
|
|
2725
|
+
foregroundRGB: {
|
|
2726
|
+
type: 'ref',
|
|
2727
|
+
ref: 'lex:app.bsky.embed.external#colorRGB',
|
|
2728
|
+
},
|
|
2729
|
+
accentRGB: {
|
|
2730
|
+
type: 'ref',
|
|
2731
|
+
ref: 'lex:app.bsky.embed.external#colorRGB',
|
|
2732
|
+
},
|
|
2733
|
+
accentForegroundRGB: {
|
|
2734
|
+
type: 'ref',
|
|
2735
|
+
ref: 'lex:app.bsky.embed.external#colorRGB',
|
|
2736
|
+
},
|
|
2737
|
+
},
|
|
2738
|
+
},
|
|
2739
|
+
colorRGB: {
|
|
2740
|
+
type: 'object',
|
|
2741
|
+
description: 'RGB color definition, inspired by site.standard.theme.color#rgb',
|
|
2742
|
+
required: ['r', 'g', 'b'],
|
|
2743
|
+
properties: {
|
|
2744
|
+
r: {
|
|
2745
|
+
type: 'integer',
|
|
2746
|
+
minimum: 0,
|
|
2747
|
+
maximum: 255,
|
|
2748
|
+
},
|
|
2749
|
+
g: {
|
|
2750
|
+
type: 'integer',
|
|
2751
|
+
minimum: 0,
|
|
2752
|
+
maximum: 255,
|
|
2753
|
+
},
|
|
2754
|
+
b: {
|
|
2755
|
+
type: 'integer',
|
|
2756
|
+
minimum: 0,
|
|
2757
|
+
maximum: 255,
|
|
2758
|
+
},
|
|
2759
|
+
},
|
|
2760
|
+
},
|
|
2761
|
+
},
|
|
2762
|
+
},
|
|
2763
|
+
AppBskyEmbedGetEmbedExternalView: {
|
|
2764
|
+
lexicon: 1,
|
|
2765
|
+
id: 'app.bsky.embed.getEmbedExternalView',
|
|
2766
|
+
defs: {
|
|
2767
|
+
main: {
|
|
2768
|
+
type: 'query',
|
|
2769
|
+
description: "Resolve one or more AT-URIs into the data needed to render an enhanced external embed. Returns `associatedRefs` (strongRefs to embed into a post's external.associatedRefs), the raw `associatedRecords`, and a hydrated `view`. The response is empty (`{}`) when no records were resolvable, or when validation determined the resolved records don't actually back the requested URL; clients should fall back to their own link-card rendering in that case and skip writing strongRefs to the post.",
|
|
2770
|
+
parameters: {
|
|
2771
|
+
type: 'params',
|
|
2772
|
+
required: ['url', 'uris'],
|
|
2773
|
+
properties: {
|
|
2774
|
+
url: {
|
|
2775
|
+
type: 'string',
|
|
2776
|
+
format: 'uri',
|
|
2777
|
+
description: "The canonical web URL the embed represents (typically the URL the user pasted into the composer). Used as the returned view's `uri`. May be used for validation in the future.",
|
|
2778
|
+
},
|
|
2779
|
+
uris: {
|
|
2780
|
+
type: 'array',
|
|
2781
|
+
description: 'AT-URIs of any Atmosphere records that can be resolved and used to construct #externalView views. Example: a site.standard.document and optionally its associated site.standard.publication.',
|
|
2782
|
+
items: {
|
|
2783
|
+
type: 'string',
|
|
2784
|
+
format: 'at-uri',
|
|
2785
|
+
},
|
|
2786
|
+
maxLength: 4,
|
|
2787
|
+
},
|
|
2788
|
+
},
|
|
2789
|
+
},
|
|
2790
|
+
output: {
|
|
2791
|
+
encoding: 'application/json',
|
|
2792
|
+
schema: {
|
|
2793
|
+
type: 'object',
|
|
2794
|
+
properties: {
|
|
2795
|
+
view: {
|
|
2796
|
+
type: 'ref',
|
|
2797
|
+
ref: 'lex:app.bsky.embed.external#view',
|
|
2798
|
+
description: 'Hydrated view of the embed. Present only when the resolved records back the requested URL and supply enough information to populate the required `viewExternal` fields. Omitted alongside the rest of the response when no records resolved or validation failed.',
|
|
2799
|
+
},
|
|
2800
|
+
associatedRefs: {
|
|
2801
|
+
type: 'array',
|
|
2802
|
+
items: {
|
|
2803
|
+
type: 'ref',
|
|
2804
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
2805
|
+
},
|
|
2806
|
+
description: "StrongRefs (URI+CID) of the Atmosphere records that backed this view, suitable for embedding into a post's external.associatedRefs.",
|
|
2807
|
+
},
|
|
2808
|
+
associatedRecords: {
|
|
2809
|
+
type: 'array',
|
|
2810
|
+
items: {
|
|
2811
|
+
type: 'unknown',
|
|
2812
|
+
description: 'The raw record data of the Atmosphere records that backed this view. This is returned for convenience, to avoid the need for the client to separately fetch the record data for the associatedRefs. Example: the site.standard.document and site.standard.publication records that backed this view.',
|
|
2813
|
+
},
|
|
2814
|
+
},
|
|
2815
|
+
},
|
|
2816
|
+
},
|
|
2638
2817
|
},
|
|
2639
2818
|
},
|
|
2640
2819
|
},
|
|
@@ -9468,6 +9647,37 @@ export const schemaDict = {
|
|
|
9468
9647
|
},
|
|
9469
9648
|
},
|
|
9470
9649
|
},
|
|
9650
|
+
ChatBskyActorGetStatus: {
|
|
9651
|
+
lexicon: 1,
|
|
9652
|
+
id: 'chat.bsky.actor.getStatus',
|
|
9653
|
+
defs: {
|
|
9654
|
+
main: {
|
|
9655
|
+
type: 'query',
|
|
9656
|
+
description: "Get the authenticated viewer's chat status: whether their account is chat-disabled and whether their group-membership additions are restricted to accounts they follow.",
|
|
9657
|
+
output: {
|
|
9658
|
+
encoding: 'application/json',
|
|
9659
|
+
schema: {
|
|
9660
|
+
type: 'object',
|
|
9661
|
+
required: ['chatDisabled', 'canCreateGroups', 'groupMemberLimit'],
|
|
9662
|
+
properties: {
|
|
9663
|
+
chatDisabled: {
|
|
9664
|
+
type: 'boolean',
|
|
9665
|
+
description: "True when the viewer's account is disabled and cannot actively participate in chat.",
|
|
9666
|
+
},
|
|
9667
|
+
canCreateGroups: {
|
|
9668
|
+
type: 'boolean',
|
|
9669
|
+
description: "Whether the viewer's account is allowed to create group chats. New accounts are restricted from creating groups.",
|
|
9670
|
+
},
|
|
9671
|
+
groupMemberLimit: {
|
|
9672
|
+
type: 'integer',
|
|
9673
|
+
description: 'The maximum number of members allowed in a group conversation.',
|
|
9674
|
+
},
|
|
9675
|
+
},
|
|
9676
|
+
},
|
|
9677
|
+
},
|
|
9678
|
+
},
|
|
9679
|
+
},
|
|
9680
|
+
},
|
|
9471
9681
|
ChatBskyConvoAcceptConvo: {
|
|
9472
9682
|
lexicon: 1,
|
|
9473
9683
|
id: 'chat.bsky.convo.acceptConvo',
|
|
@@ -9637,7 +9847,7 @@ export const schemaDict = {
|
|
|
9637
9847
|
},
|
|
9638
9848
|
embed: {
|
|
9639
9849
|
type: 'union',
|
|
9640
|
-
refs: ['lex:app.bsky.embed.record'],
|
|
9850
|
+
refs: ['lex:app.bsky.embed.record', 'lex:chat.bsky.embed.joinLink'],
|
|
9641
9851
|
},
|
|
9642
9852
|
},
|
|
9643
9853
|
},
|
|
@@ -9666,7 +9876,10 @@ export const schemaDict = {
|
|
|
9666
9876
|
},
|
|
9667
9877
|
embed: {
|
|
9668
9878
|
type: 'union',
|
|
9669
|
-
refs: [
|
|
9879
|
+
refs: [
|
|
9880
|
+
'lex:app.bsky.embed.record#view',
|
|
9881
|
+
'lex:chat.bsky.embed.joinLink#view',
|
|
9882
|
+
],
|
|
9670
9883
|
},
|
|
9671
9884
|
reactions: {
|
|
9672
9885
|
type: 'array',
|
|
@@ -10001,18 +10214,14 @@ export const schemaDict = {
|
|
|
10001
10214
|
groupConvo: {
|
|
10002
10215
|
description: '[NOTE: This is under active development and should be considered unstable while this note is here].',
|
|
10003
10216
|
type: 'object',
|
|
10004
|
-
required: [
|
|
10217
|
+
required: [
|
|
10218
|
+
'createdAt',
|
|
10219
|
+
'lockStatus',
|
|
10220
|
+
'memberCount',
|
|
10221
|
+
'memberLimit',
|
|
10222
|
+
'name',
|
|
10223
|
+
],
|
|
10005
10224
|
properties: {
|
|
10006
|
-
name: {
|
|
10007
|
-
type: 'string',
|
|
10008
|
-
description: 'The display name of the group conversation.',
|
|
10009
|
-
maxGraphemes: 128,
|
|
10010
|
-
maxLength: 1280,
|
|
10011
|
-
},
|
|
10012
|
-
memberCount: {
|
|
10013
|
-
type: 'integer',
|
|
10014
|
-
description: 'The total number of members in the group conversation.',
|
|
10015
|
-
},
|
|
10016
10225
|
createdAt: {
|
|
10017
10226
|
type: 'string',
|
|
10018
10227
|
format: 'datetime',
|
|
@@ -10021,11 +10230,33 @@ export const schemaDict = {
|
|
|
10021
10230
|
type: 'ref',
|
|
10022
10231
|
ref: 'lex:chat.bsky.group.defs#joinLinkView',
|
|
10023
10232
|
},
|
|
10233
|
+
joinRequestCount: {
|
|
10234
|
+
type: 'integer',
|
|
10235
|
+
description: 'The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.',
|
|
10236
|
+
},
|
|
10024
10237
|
lockStatus: {
|
|
10025
10238
|
description: 'The lock status of the conversation.',
|
|
10026
10239
|
type: 'ref',
|
|
10027
10240
|
ref: 'lex:chat.bsky.convo.defs#convoLockStatus',
|
|
10028
10241
|
},
|
|
10242
|
+
memberCount: {
|
|
10243
|
+
type: 'integer',
|
|
10244
|
+
description: 'The total number of members in the group conversation.',
|
|
10245
|
+
},
|
|
10246
|
+
memberLimit: {
|
|
10247
|
+
type: 'integer',
|
|
10248
|
+
description: 'The maximum number of members allowed in the group conversation.',
|
|
10249
|
+
},
|
|
10250
|
+
name: {
|
|
10251
|
+
type: 'string',
|
|
10252
|
+
description: 'The display name of the group conversation.',
|
|
10253
|
+
maxGraphemes: 128,
|
|
10254
|
+
maxLength: 1280,
|
|
10255
|
+
},
|
|
10256
|
+
unreadJoinRequestCount: {
|
|
10257
|
+
type: 'integer',
|
|
10258
|
+
description: 'The number of unread join requests for the group conversation. Only present for the owner.',
|
|
10259
|
+
},
|
|
10029
10260
|
},
|
|
10030
10261
|
},
|
|
10031
10262
|
logBeginConvo: {
|
|
@@ -10574,7 +10805,51 @@ export const schemaDict = {
|
|
|
10574
10805
|
},
|
|
10575
10806
|
},
|
|
10576
10807
|
logOutgoingJoinRequest: {
|
|
10577
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the
|
|
10808
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the requester. Only requester actor gets this.',
|
|
10809
|
+
type: 'object',
|
|
10810
|
+
required: ['rev', 'convoId'],
|
|
10811
|
+
properties: {
|
|
10812
|
+
rev: {
|
|
10813
|
+
type: 'string',
|
|
10814
|
+
},
|
|
10815
|
+
convoId: {
|
|
10816
|
+
type: 'string',
|
|
10817
|
+
},
|
|
10818
|
+
},
|
|
10819
|
+
},
|
|
10820
|
+
logWithdrawIncomingJoinRequest: {
|
|
10821
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a prospective member withdrew their join request. Only the owner gets this.',
|
|
10822
|
+
type: 'object',
|
|
10823
|
+
required: ['rev', 'convoId', 'member'],
|
|
10824
|
+
properties: {
|
|
10825
|
+
rev: {
|
|
10826
|
+
type: 'string',
|
|
10827
|
+
},
|
|
10828
|
+
convoId: {
|
|
10829
|
+
type: 'string',
|
|
10830
|
+
},
|
|
10831
|
+
member: {
|
|
10832
|
+
description: 'Prospective member who withdrew their join request.',
|
|
10833
|
+
type: 'ref',
|
|
10834
|
+
ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
|
|
10835
|
+
},
|
|
10836
|
+
},
|
|
10837
|
+
},
|
|
10838
|
+
logWithdrawOutgoingJoinRequest: {
|
|
10839
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the viewer withdrew their own join request. Only requester actor gets this.',
|
|
10840
|
+
type: 'object',
|
|
10841
|
+
required: ['rev', 'convoId'],
|
|
10842
|
+
properties: {
|
|
10843
|
+
rev: {
|
|
10844
|
+
type: 'string',
|
|
10845
|
+
},
|
|
10846
|
+
convoId: {
|
|
10847
|
+
type: 'string',
|
|
10848
|
+
},
|
|
10849
|
+
},
|
|
10850
|
+
},
|
|
10851
|
+
logReadJoinRequests: {
|
|
10852
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating the group owner marked join requests as read. Only the owner gets this.',
|
|
10578
10853
|
type: 'object',
|
|
10579
10854
|
required: ['rev', 'convoId'],
|
|
10580
10855
|
properties: {
|
|
@@ -10721,6 +10996,9 @@ export const schemaDict = {
|
|
|
10721
10996
|
{
|
|
10722
10997
|
name: 'BlockedActor',
|
|
10723
10998
|
},
|
|
10999
|
+
{
|
|
11000
|
+
name: 'BlockedSubject',
|
|
11001
|
+
},
|
|
10724
11002
|
{
|
|
10725
11003
|
name: 'MessagesDisabled',
|
|
10726
11004
|
},
|
|
@@ -10870,6 +11148,9 @@ export const schemaDict = {
|
|
|
10870
11148
|
'lex:chat.bsky.convo.defs#logApproveJoinRequest',
|
|
10871
11149
|
'lex:chat.bsky.convo.defs#logRejectJoinRequest',
|
|
10872
11150
|
'lex:chat.bsky.convo.defs#logOutgoingJoinRequest',
|
|
11151
|
+
'lex:chat.bsky.convo.defs#logWithdrawIncomingJoinRequest',
|
|
11152
|
+
'lex:chat.bsky.convo.defs#logWithdrawOutgoingJoinRequest',
|
|
11153
|
+
'lex:chat.bsky.convo.defs#logReadJoinRequests',
|
|
10873
11154
|
],
|
|
10874
11155
|
},
|
|
10875
11156
|
},
|
|
@@ -10995,7 +11276,7 @@ export const schemaDict = {
|
|
|
10995
11276
|
defs: {
|
|
10996
11277
|
main: {
|
|
10997
11278
|
type: 'query',
|
|
10998
|
-
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests are returned as
|
|
11279
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a page of incoming conversation requests for the user. Direct convo requests are returned as convoView; group join requests made by the user are returned as joinRequestConvoView.',
|
|
10999
11280
|
parameters: {
|
|
11000
11281
|
type: 'params',
|
|
11001
11282
|
properties: {
|
|
@@ -11025,7 +11306,7 @@ export const schemaDict = {
|
|
|
11025
11306
|
type: 'union',
|
|
11026
11307
|
refs: [
|
|
11027
11308
|
'lex:chat.bsky.convo.defs#convoView',
|
|
11028
|
-
'lex:chat.bsky.group.defs#
|
|
11309
|
+
'lex:chat.bsky.group.defs#joinRequestConvoView',
|
|
11029
11310
|
],
|
|
11030
11311
|
},
|
|
11031
11312
|
},
|
|
@@ -11511,6 +11792,33 @@ export const schemaDict = {
|
|
|
11511
11792
|
},
|
|
11512
11793
|
},
|
|
11513
11794
|
},
|
|
11795
|
+
ChatBskyEmbedJoinLink: {
|
|
11796
|
+
lexicon: 1,
|
|
11797
|
+
id: 'chat.bsky.embed.joinLink',
|
|
11798
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A join link embedded in a chat message.',
|
|
11799
|
+
defs: {
|
|
11800
|
+
main: {
|
|
11801
|
+
type: 'object',
|
|
11802
|
+
required: ['code'],
|
|
11803
|
+
properties: {
|
|
11804
|
+
code: {
|
|
11805
|
+
type: 'string',
|
|
11806
|
+
description: 'The join link code.',
|
|
11807
|
+
},
|
|
11808
|
+
},
|
|
11809
|
+
},
|
|
11810
|
+
view: {
|
|
11811
|
+
type: 'object',
|
|
11812
|
+
required: ['joinLinkPreview'],
|
|
11813
|
+
properties: {
|
|
11814
|
+
joinLinkPreview: {
|
|
11815
|
+
type: 'ref',
|
|
11816
|
+
ref: 'lex:chat.bsky.group.defs#joinLinkPreviewView',
|
|
11817
|
+
},
|
|
11818
|
+
},
|
|
11819
|
+
},
|
|
11820
|
+
},
|
|
11821
|
+
},
|
|
11514
11822
|
ChatBskyGroupAddMembers: {
|
|
11515
11823
|
lexicon: 1,
|
|
11516
11824
|
id: 'chat.bsky.group.addMembers',
|
|
@@ -11526,7 +11834,7 @@ export const schemaDict = {
|
|
|
11526
11834
|
name: 'BlockedActor',
|
|
11527
11835
|
},
|
|
11528
11836
|
{
|
|
11529
|
-
name: '
|
|
11837
|
+
name: 'BlockedSubject',
|
|
11530
11838
|
},
|
|
11531
11839
|
{
|
|
11532
11840
|
name: 'ConvoLocked',
|
|
@@ -11546,6 +11854,9 @@ export const schemaDict = {
|
|
|
11546
11854
|
{
|
|
11547
11855
|
name: 'RecipientNotFound',
|
|
11548
11856
|
},
|
|
11857
|
+
{
|
|
11858
|
+
name: 'UserForbidsGroups',
|
|
11859
|
+
},
|
|
11549
11860
|
],
|
|
11550
11861
|
input: {
|
|
11551
11862
|
encoding: 'application/json',
|
|
@@ -11655,7 +11966,10 @@ export const schemaDict = {
|
|
|
11655
11966
|
name: 'BlockedActor',
|
|
11656
11967
|
},
|
|
11657
11968
|
{
|
|
11658
|
-
name: '
|
|
11969
|
+
name: 'BlockedSubject',
|
|
11970
|
+
},
|
|
11971
|
+
{
|
|
11972
|
+
name: 'NewAccountCannotCreateGroup',
|
|
11659
11973
|
},
|
|
11660
11974
|
{
|
|
11661
11975
|
name: 'NotFollowedBySender',
|
|
@@ -11663,6 +11977,9 @@ export const schemaDict = {
|
|
|
11663
11977
|
{
|
|
11664
11978
|
name: 'RecipientNotFound',
|
|
11665
11979
|
},
|
|
11980
|
+
{
|
|
11981
|
+
name: 'UserForbidsGroups',
|
|
11982
|
+
},
|
|
11666
11983
|
],
|
|
11667
11984
|
input: {
|
|
11668
11985
|
encoding: 'application/json',
|
|
@@ -11802,8 +12119,20 @@ export const schemaDict = {
|
|
|
11802
12119
|
},
|
|
11803
12120
|
joinLinkPreviewView: {
|
|
11804
12121
|
type: 'object',
|
|
11805
|
-
required: [
|
|
12122
|
+
required: [
|
|
12123
|
+
'code',
|
|
12124
|
+
'name',
|
|
12125
|
+
'owner',
|
|
12126
|
+
'memberCount',
|
|
12127
|
+
'memberLimit',
|
|
12128
|
+
'requireApproval',
|
|
12129
|
+
'joinRule',
|
|
12130
|
+
'enabledStatus',
|
|
12131
|
+
],
|
|
11806
12132
|
properties: {
|
|
12133
|
+
code: {
|
|
12134
|
+
type: 'string',
|
|
12135
|
+
},
|
|
11807
12136
|
name: {
|
|
11808
12137
|
type: 'string',
|
|
11809
12138
|
},
|
|
@@ -11814,14 +12143,38 @@ export const schemaDict = {
|
|
|
11814
12143
|
memberCount: {
|
|
11815
12144
|
type: 'integer',
|
|
11816
12145
|
},
|
|
11817
|
-
|
|
12146
|
+
memberLimit: {
|
|
12147
|
+
type: 'integer',
|
|
12148
|
+
},
|
|
12149
|
+
requireApproval: {
|
|
11818
12150
|
type: 'boolean',
|
|
11819
12151
|
},
|
|
12152
|
+
joinRule: {
|
|
12153
|
+
type: 'ref',
|
|
12154
|
+
ref: 'lex:chat.bsky.group.defs#joinRule',
|
|
12155
|
+
},
|
|
12156
|
+
enabledStatus: {
|
|
12157
|
+
type: 'ref',
|
|
12158
|
+
ref: 'lex:chat.bsky.group.defs#linkEnabledStatus',
|
|
12159
|
+
},
|
|
11820
12160
|
convo: {
|
|
11821
12161
|
type: 'ref',
|
|
11822
12162
|
ref: 'lex:chat.bsky.convo.defs#convoView',
|
|
11823
12163
|
description: 'Present only if the request is authenticated and the user is a member of the group.',
|
|
11824
12164
|
},
|
|
12165
|
+
viewer: {
|
|
12166
|
+
type: 'ref',
|
|
12167
|
+
ref: 'lex:chat.bsky.group.defs#joinLinkViewerState',
|
|
12168
|
+
},
|
|
12169
|
+
},
|
|
12170
|
+
},
|
|
12171
|
+
joinLinkViewerState: {
|
|
12172
|
+
type: 'object',
|
|
12173
|
+
properties: {
|
|
12174
|
+
requestedAt: {
|
|
12175
|
+
type: 'string',
|
|
12176
|
+
format: 'datetime',
|
|
12177
|
+
},
|
|
11825
12178
|
},
|
|
11826
12179
|
},
|
|
11827
12180
|
joinRequestView: {
|
|
@@ -11841,6 +12194,40 @@ export const schemaDict = {
|
|
|
11841
12194
|
},
|
|
11842
12195
|
},
|
|
11843
12196
|
},
|
|
12197
|
+
joinRequestConvoView: {
|
|
12198
|
+
description: 'A join request from the perspective of the requester, including enough group context to render the request in a list (e.g. group name, owner, member count).',
|
|
12199
|
+
type: 'object',
|
|
12200
|
+
required: [
|
|
12201
|
+
'convoId',
|
|
12202
|
+
'name',
|
|
12203
|
+
'owner',
|
|
12204
|
+
'memberCount',
|
|
12205
|
+
'memberLimit',
|
|
12206
|
+
'requestedAt',
|
|
12207
|
+
],
|
|
12208
|
+
properties: {
|
|
12209
|
+
convoId: {
|
|
12210
|
+
type: 'string',
|
|
12211
|
+
},
|
|
12212
|
+
name: {
|
|
12213
|
+
type: 'string',
|
|
12214
|
+
},
|
|
12215
|
+
owner: {
|
|
12216
|
+
type: 'ref',
|
|
12217
|
+
ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
|
|
12218
|
+
},
|
|
12219
|
+
memberCount: {
|
|
12220
|
+
type: 'integer',
|
|
12221
|
+
},
|
|
12222
|
+
memberLimit: {
|
|
12223
|
+
type: 'integer',
|
|
12224
|
+
},
|
|
12225
|
+
requestedAt: {
|
|
12226
|
+
type: 'string',
|
|
12227
|
+
format: 'datetime',
|
|
12228
|
+
},
|
|
12229
|
+
},
|
|
12230
|
+
},
|
|
11844
12231
|
},
|
|
11845
12232
|
},
|
|
11846
12233
|
ChatBskyGroupDisableJoinLink: {
|
|
@@ -12043,24 +12430,24 @@ export const schemaDict = {
|
|
|
12043
12430
|
},
|
|
12044
12431
|
},
|
|
12045
12432
|
},
|
|
12046
|
-
|
|
12433
|
+
ChatBskyGroupGetJoinLinkPreviews: {
|
|
12047
12434
|
lexicon: 1,
|
|
12048
|
-
id: 'chat.bsky.group.
|
|
12435
|
+
id: 'chat.bsky.group.getJoinLinkPreviews',
|
|
12049
12436
|
defs: {
|
|
12050
12437
|
main: {
|
|
12051
12438
|
type: 'query',
|
|
12052
|
-
description:
|
|
12053
|
-
errors: [
|
|
12054
|
-
{
|
|
12055
|
-
name: 'InvalidCode',
|
|
12056
|
-
},
|
|
12057
|
-
],
|
|
12439
|
+
description: "[NOTE: This is under active development and should be considered unstable while this note is here]. Get public information about groups from join links. Invalid or disabled codes are silently omitted from results. Use the 'code' property on the views to correlate with the input codes, not array positions.",
|
|
12058
12440
|
parameters: {
|
|
12059
12441
|
type: 'params',
|
|
12060
|
-
required: ['
|
|
12442
|
+
required: ['codes'],
|
|
12061
12443
|
properties: {
|
|
12062
|
-
|
|
12063
|
-
type: '
|
|
12444
|
+
codes: {
|
|
12445
|
+
type: 'array',
|
|
12446
|
+
minLength: 1,
|
|
12447
|
+
maxLength: 50,
|
|
12448
|
+
items: {
|
|
12449
|
+
type: 'string',
|
|
12450
|
+
},
|
|
12064
12451
|
},
|
|
12065
12452
|
},
|
|
12066
12453
|
},
|
|
@@ -12068,11 +12455,14 @@ export const schemaDict = {
|
|
|
12068
12455
|
encoding: 'application/json',
|
|
12069
12456
|
schema: {
|
|
12070
12457
|
type: 'object',
|
|
12071
|
-
required: ['
|
|
12458
|
+
required: ['joinLinkPreviews'],
|
|
12072
12459
|
properties: {
|
|
12073
|
-
|
|
12074
|
-
type: '
|
|
12075
|
-
|
|
12460
|
+
joinLinkPreviews: {
|
|
12461
|
+
type: 'array',
|
|
12462
|
+
items: {
|
|
12463
|
+
type: 'ref',
|
|
12464
|
+
ref: 'lex:chat.bsky.group.defs#joinLinkPreviewView',
|
|
12465
|
+
},
|
|
12076
12466
|
},
|
|
12077
12467
|
},
|
|
12078
12468
|
},
|
|
@@ -12336,6 +12726,156 @@ export const schemaDict = {
|
|
|
12336
12726
|
},
|
|
12337
12727
|
},
|
|
12338
12728
|
},
|
|
12729
|
+
ChatBskyGroupUpdateJoinRequestsRead: {
|
|
12730
|
+
lexicon: 1,
|
|
12731
|
+
id: 'chat.bsky.group.updateJoinRequestsRead',
|
|
12732
|
+
defs: {
|
|
12733
|
+
main: {
|
|
12734
|
+
type: 'procedure',
|
|
12735
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Marks all join requests as read for the group owner.',
|
|
12736
|
+
errors: [
|
|
12737
|
+
{
|
|
12738
|
+
name: 'InvalidConvo',
|
|
12739
|
+
},
|
|
12740
|
+
{
|
|
12741
|
+
name: 'InsufficientRole',
|
|
12742
|
+
},
|
|
12743
|
+
],
|
|
12744
|
+
input: {
|
|
12745
|
+
encoding: 'application/json',
|
|
12746
|
+
schema: {
|
|
12747
|
+
type: 'object',
|
|
12748
|
+
required: ['convoId'],
|
|
12749
|
+
properties: {
|
|
12750
|
+
convoId: {
|
|
12751
|
+
type: 'string',
|
|
12752
|
+
},
|
|
12753
|
+
},
|
|
12754
|
+
},
|
|
12755
|
+
},
|
|
12756
|
+
output: {
|
|
12757
|
+
encoding: 'application/json',
|
|
12758
|
+
schema: {
|
|
12759
|
+
type: 'object',
|
|
12760
|
+
required: [],
|
|
12761
|
+
properties: {},
|
|
12762
|
+
},
|
|
12763
|
+
},
|
|
12764
|
+
},
|
|
12765
|
+
},
|
|
12766
|
+
},
|
|
12767
|
+
ChatBskyGroupWithdrawJoinRequest: {
|
|
12768
|
+
lexicon: 1,
|
|
12769
|
+
id: 'chat.bsky.group.withdrawJoinRequest',
|
|
12770
|
+
defs: {
|
|
12771
|
+
main: {
|
|
12772
|
+
type: 'procedure',
|
|
12773
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Withdraws a pending request to join a group. Action taken by the prospective member who originally requested to join.',
|
|
12774
|
+
errors: [
|
|
12775
|
+
{
|
|
12776
|
+
name: 'InvalidJoinRequest',
|
|
12777
|
+
},
|
|
12778
|
+
],
|
|
12779
|
+
input: {
|
|
12780
|
+
encoding: 'application/json',
|
|
12781
|
+
schema: {
|
|
12782
|
+
type: 'object',
|
|
12783
|
+
required: ['convoId'],
|
|
12784
|
+
properties: {
|
|
12785
|
+
convoId: {
|
|
12786
|
+
type: 'string',
|
|
12787
|
+
},
|
|
12788
|
+
},
|
|
12789
|
+
},
|
|
12790
|
+
},
|
|
12791
|
+
output: {
|
|
12792
|
+
encoding: 'application/json',
|
|
12793
|
+
schema: {
|
|
12794
|
+
type: 'object',
|
|
12795
|
+
required: [],
|
|
12796
|
+
properties: {},
|
|
12797
|
+
},
|
|
12798
|
+
},
|
|
12799
|
+
},
|
|
12800
|
+
},
|
|
12801
|
+
},
|
|
12802
|
+
ChatBskyModerationDefs: {
|
|
12803
|
+
lexicon: 1,
|
|
12804
|
+
id: 'chat.bsky.moderation.defs',
|
|
12805
|
+
defs: {
|
|
12806
|
+
convoView: {
|
|
12807
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.',
|
|
12808
|
+
type: 'object',
|
|
12809
|
+
required: ['id', 'rev'],
|
|
12810
|
+
properties: {
|
|
12811
|
+
id: {
|
|
12812
|
+
type: 'string',
|
|
12813
|
+
},
|
|
12814
|
+
rev: {
|
|
12815
|
+
type: 'string',
|
|
12816
|
+
},
|
|
12817
|
+
kind: {
|
|
12818
|
+
description: 'Union field that has data specific to different kinds of convos.',
|
|
12819
|
+
type: 'union',
|
|
12820
|
+
refs: [
|
|
12821
|
+
'lex:chat.bsky.moderation.defs#directConvo',
|
|
12822
|
+
'lex:chat.bsky.moderation.defs#groupConvo',
|
|
12823
|
+
],
|
|
12824
|
+
},
|
|
12825
|
+
},
|
|
12826
|
+
},
|
|
12827
|
+
directConvo: {
|
|
12828
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.',
|
|
12829
|
+
type: 'object',
|
|
12830
|
+
properties: {},
|
|
12831
|
+
},
|
|
12832
|
+
groupConvo: {
|
|
12833
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.',
|
|
12834
|
+
type: 'object',
|
|
12835
|
+
required: [
|
|
12836
|
+
'createdAt',
|
|
12837
|
+
'joinRequestCount',
|
|
12838
|
+
'lockStatus',
|
|
12839
|
+
'memberCount',
|
|
12840
|
+
'memberLimit',
|
|
12841
|
+
'name',
|
|
12842
|
+
],
|
|
12843
|
+
properties: {
|
|
12844
|
+
createdAt: {
|
|
12845
|
+
type: 'string',
|
|
12846
|
+
format: 'datetime',
|
|
12847
|
+
},
|
|
12848
|
+
joinLink: {
|
|
12849
|
+
type: 'ref',
|
|
12850
|
+
ref: 'lex:chat.bsky.group.defs#joinLinkView',
|
|
12851
|
+
},
|
|
12852
|
+
joinRequestCount: {
|
|
12853
|
+
type: 'integer',
|
|
12854
|
+
description: 'The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.',
|
|
12855
|
+
},
|
|
12856
|
+
lockStatus: {
|
|
12857
|
+
description: 'The lock status of the conversation.',
|
|
12858
|
+
type: 'ref',
|
|
12859
|
+
ref: 'lex:chat.bsky.convo.defs#convoLockStatus',
|
|
12860
|
+
},
|
|
12861
|
+
memberCount: {
|
|
12862
|
+
type: 'integer',
|
|
12863
|
+
description: 'The total number of members in the group conversation.',
|
|
12864
|
+
},
|
|
12865
|
+
memberLimit: {
|
|
12866
|
+
type: 'integer',
|
|
12867
|
+
description: 'The maximum number of members allowed in the group conversation.',
|
|
12868
|
+
},
|
|
12869
|
+
name: {
|
|
12870
|
+
type: 'string',
|
|
12871
|
+
description: 'The display name of the group conversation.',
|
|
12872
|
+
maxGraphemes: 128,
|
|
12873
|
+
maxLength: 1280,
|
|
12874
|
+
},
|
|
12875
|
+
},
|
|
12876
|
+
},
|
|
12877
|
+
},
|
|
12878
|
+
},
|
|
12339
12879
|
ChatBskyModerationGetActorMetadata: {
|
|
12340
12880
|
lexicon: 1,
|
|
12341
12881
|
id: 'chat.bsky.moderation.getActorMetadata',
|
|
@@ -12399,6 +12939,135 @@ export const schemaDict = {
|
|
|
12399
12939
|
},
|
|
12400
12940
|
},
|
|
12401
12941
|
},
|
|
12942
|
+
ChatBskyModerationGetConvo: {
|
|
12943
|
+
lexicon: 1,
|
|
12944
|
+
id: 'chat.bsky.moderation.getConvo',
|
|
12945
|
+
defs: {
|
|
12946
|
+
main: {
|
|
12947
|
+
type: 'query',
|
|
12948
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.',
|
|
12949
|
+
errors: [
|
|
12950
|
+
{
|
|
12951
|
+
name: 'InvalidConvo',
|
|
12952
|
+
},
|
|
12953
|
+
],
|
|
12954
|
+
parameters: {
|
|
12955
|
+
type: 'params',
|
|
12956
|
+
required: ['convoId'],
|
|
12957
|
+
properties: {
|
|
12958
|
+
convoId: {
|
|
12959
|
+
type: 'string',
|
|
12960
|
+
},
|
|
12961
|
+
},
|
|
12962
|
+
},
|
|
12963
|
+
output: {
|
|
12964
|
+
encoding: 'application/json',
|
|
12965
|
+
schema: {
|
|
12966
|
+
type: 'object',
|
|
12967
|
+
required: ['convo'],
|
|
12968
|
+
properties: {
|
|
12969
|
+
convo: {
|
|
12970
|
+
type: 'ref',
|
|
12971
|
+
ref: 'lex:chat.bsky.moderation.defs#convoView',
|
|
12972
|
+
},
|
|
12973
|
+
},
|
|
12974
|
+
},
|
|
12975
|
+
},
|
|
12976
|
+
},
|
|
12977
|
+
},
|
|
12978
|
+
},
|
|
12979
|
+
ChatBskyModerationGetConvoMembers: {
|
|
12980
|
+
lexicon: 1,
|
|
12981
|
+
id: 'chat.bsky.moderation.getConvoMembers',
|
|
12982
|
+
defs: {
|
|
12983
|
+
main: {
|
|
12984
|
+
type: 'query',
|
|
12985
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Returns a paginated list of members from a conversation, for moderation purposes. Does not require the requester to be a member of the conversation.',
|
|
12986
|
+
errors: [
|
|
12987
|
+
{
|
|
12988
|
+
name: 'InvalidConvo',
|
|
12989
|
+
},
|
|
12990
|
+
],
|
|
12991
|
+
parameters: {
|
|
12992
|
+
type: 'params',
|
|
12993
|
+
required: ['convoId'],
|
|
12994
|
+
properties: {
|
|
12995
|
+
convoId: {
|
|
12996
|
+
type: 'string',
|
|
12997
|
+
},
|
|
12998
|
+
limit: {
|
|
12999
|
+
type: 'integer',
|
|
13000
|
+
minimum: 1,
|
|
13001
|
+
maximum: 100,
|
|
13002
|
+
default: 50,
|
|
13003
|
+
},
|
|
13004
|
+
cursor: {
|
|
13005
|
+
type: 'string',
|
|
13006
|
+
},
|
|
13007
|
+
},
|
|
13008
|
+
},
|
|
13009
|
+
output: {
|
|
13010
|
+
encoding: 'application/json',
|
|
13011
|
+
schema: {
|
|
13012
|
+
type: 'object',
|
|
13013
|
+
required: ['members'],
|
|
13014
|
+
properties: {
|
|
13015
|
+
cursor: {
|
|
13016
|
+
type: 'string',
|
|
13017
|
+
},
|
|
13018
|
+
members: {
|
|
13019
|
+
type: 'array',
|
|
13020
|
+
items: {
|
|
13021
|
+
type: 'ref',
|
|
13022
|
+
ref: 'lex:chat.bsky.actor.defs#profileViewBasic',
|
|
13023
|
+
},
|
|
13024
|
+
},
|
|
13025
|
+
},
|
|
13026
|
+
},
|
|
13027
|
+
},
|
|
13028
|
+
},
|
|
13029
|
+
},
|
|
13030
|
+
},
|
|
13031
|
+
ChatBskyModerationGetConvos: {
|
|
13032
|
+
lexicon: 1,
|
|
13033
|
+
id: 'chat.bsky.moderation.getConvos',
|
|
13034
|
+
defs: {
|
|
13035
|
+
main: {
|
|
13036
|
+
type: 'query',
|
|
13037
|
+
description: '[NOTE: This is under active development and should be considered unstable while this note is here]. Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.',
|
|
13038
|
+
parameters: {
|
|
13039
|
+
type: 'params',
|
|
13040
|
+
required: ['convoIds'],
|
|
13041
|
+
properties: {
|
|
13042
|
+
convoIds: {
|
|
13043
|
+
type: 'array',
|
|
13044
|
+
minLength: 1,
|
|
13045
|
+
maxLength: 100,
|
|
13046
|
+
items: {
|
|
13047
|
+
type: 'string',
|
|
13048
|
+
},
|
|
13049
|
+
},
|
|
13050
|
+
},
|
|
13051
|
+
},
|
|
13052
|
+
output: {
|
|
13053
|
+
encoding: 'application/json',
|
|
13054
|
+
schema: {
|
|
13055
|
+
type: 'object',
|
|
13056
|
+
required: ['convos'],
|
|
13057
|
+
properties: {
|
|
13058
|
+
convos: {
|
|
13059
|
+
type: 'array',
|
|
13060
|
+
items: {
|
|
13061
|
+
type: 'ref',
|
|
13062
|
+
ref: 'lex:chat.bsky.moderation.defs#convoView',
|
|
13063
|
+
},
|
|
13064
|
+
},
|
|
13065
|
+
},
|
|
13066
|
+
},
|
|
13067
|
+
},
|
|
13068
|
+
},
|
|
13069
|
+
},
|
|
13070
|
+
},
|
|
12402
13071
|
ChatBskyModerationGetMessageContext: {
|
|
12403
13072
|
lexicon: 1,
|
|
12404
13073
|
id: 'chat.bsky.moderation.getMessageContext',
|
|
@@ -12487,6 +13156,7 @@ export const schemaDict = {
|
|
|
12487
13156
|
'lex:chat.bsky.moderation.subscribeModEvents#eventChatAccepted',
|
|
12488
13157
|
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatMemberLeft',
|
|
12489
13158
|
'lex:chat.bsky.moderation.subscribeModEvents#eventGroupChatUpdated',
|
|
13159
|
+
'lex:chat.bsky.moderation.subscribeModEvents#eventRateLimitExceeded',
|
|
12490
13160
|
],
|
|
12491
13161
|
},
|
|
12492
13162
|
},
|
|
@@ -13087,6 +13757,29 @@ export const schemaDict = {
|
|
|
13087
13757
|
},
|
|
13088
13758
|
},
|
|
13089
13759
|
},
|
|
13760
|
+
eventRateLimitExceeded: {
|
|
13761
|
+
type: 'object',
|
|
13762
|
+
description: 'Fired when a user exceeds a rate limit.',
|
|
13763
|
+
required: ['actorDid', 'createdAt', 'endpoint', 'rev'],
|
|
13764
|
+
properties: {
|
|
13765
|
+
actorDid: {
|
|
13766
|
+
description: 'The DID of the user who hit the rate limit.',
|
|
13767
|
+
type: 'string',
|
|
13768
|
+
format: 'did',
|
|
13769
|
+
},
|
|
13770
|
+
createdAt: {
|
|
13771
|
+
type: 'string',
|
|
13772
|
+
format: 'datetime',
|
|
13773
|
+
},
|
|
13774
|
+
endpoint: {
|
|
13775
|
+
description: 'The NSID of the endpoint that was rate limited.',
|
|
13776
|
+
type: 'string',
|
|
13777
|
+
},
|
|
13778
|
+
rev: {
|
|
13779
|
+
type: 'string',
|
|
13780
|
+
},
|
|
13781
|
+
},
|
|
13782
|
+
},
|
|
13090
13783
|
},
|
|
13091
13784
|
},
|
|
13092
13785
|
ChatBskyModerationUpdateActorAccess: {
|
|
@@ -16095,8 +16788,8 @@ export const schemaDict = {
|
|
|
16095
16788
|
properties: {
|
|
16096
16789
|
aud: {
|
|
16097
16790
|
type: 'string',
|
|
16098
|
-
|
|
16099
|
-
description: 'The DID of the service that the token will be used to authenticate with',
|
|
16791
|
+
maxLength: 2048,
|
|
16792
|
+
description: 'The DID or `did#serviceId` reference of the service that the token will be used to authenticate with.',
|
|
16100
16793
|
},
|
|
16101
16794
|
exp: {
|
|
16102
16795
|
type: 'integer',
|
|
@@ -18217,6 +18910,7 @@ export const schemaDict = {
|
|
|
18217
18910
|
'lex:com.atproto.admin.defs#repoRef',
|
|
18218
18911
|
'lex:com.atproto.repo.strongRef',
|
|
18219
18912
|
'lex:chat.bsky.convo.defs#messageRef',
|
|
18913
|
+
'lex:chat.bsky.convo.defs#convoRef',
|
|
18220
18914
|
],
|
|
18221
18915
|
},
|
|
18222
18916
|
subjectBlobCids: {
|
|
@@ -18296,6 +18990,7 @@ export const schemaDict = {
|
|
|
18296
18990
|
'lex:tools.ozone.moderation.defs#repoViewNotFound',
|
|
18297
18991
|
'lex:tools.ozone.moderation.defs#recordView',
|
|
18298
18992
|
'lex:tools.ozone.moderation.defs#recordViewNotFound',
|
|
18993
|
+
'lex:tools.ozone.moderation.defs#convoView',
|
|
18299
18994
|
],
|
|
18300
18995
|
},
|
|
18301
18996
|
subjectBlobs: {
|
|
@@ -18332,6 +19027,7 @@ export const schemaDict = {
|
|
|
18332
19027
|
'lex:com.atproto.admin.defs#repoRef',
|
|
18333
19028
|
'lex:com.atproto.repo.strongRef',
|
|
18334
19029
|
'lex:chat.bsky.convo.defs#messageRef',
|
|
19030
|
+
'lex:chat.bsky.convo.defs#convoRef',
|
|
18335
19031
|
],
|
|
18336
19032
|
},
|
|
18337
19033
|
hosting: {
|
|
@@ -19339,6 +20035,19 @@ export const schemaDict = {
|
|
|
19339
20035
|
},
|
|
19340
20036
|
},
|
|
19341
20037
|
},
|
|
20038
|
+
convoView: {
|
|
20039
|
+
type: 'object',
|
|
20040
|
+
required: ['did', 'convoId'],
|
|
20041
|
+
properties: {
|
|
20042
|
+
did: {
|
|
20043
|
+
type: 'string',
|
|
20044
|
+
format: 'did',
|
|
20045
|
+
},
|
|
20046
|
+
convoId: {
|
|
20047
|
+
type: 'string',
|
|
20048
|
+
},
|
|
20049
|
+
},
|
|
20050
|
+
},
|
|
19342
20051
|
moderation: {
|
|
19343
20052
|
type: 'object',
|
|
19344
20053
|
properties: {
|
|
@@ -20251,8 +20960,8 @@ export const schemaDict = {
|
|
|
20251
20960
|
},
|
|
20252
20961
|
subjectType: {
|
|
20253
20962
|
type: 'string',
|
|
20254
|
-
description: "If specified, only events where the subject is of the given type (account or
|
|
20255
|
-
knownValues: ['account', 'record'],
|
|
20963
|
+
description: "If specified, only events where the subject is of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
|
|
20964
|
+
knownValues: ['account', 'record', 'conversation'],
|
|
20256
20965
|
},
|
|
20257
20966
|
includeAllUserRecords: {
|
|
20258
20967
|
type: 'boolean',
|
|
@@ -20537,8 +21246,8 @@ export const schemaDict = {
|
|
|
20537
21246
|
},
|
|
20538
21247
|
subjectType: {
|
|
20539
21248
|
type: 'string',
|
|
20540
|
-
description: "If specified, subjects of the given type (account or
|
|
20541
|
-
knownValues: ['account', 'record'],
|
|
21249
|
+
description: "If specified, subjects of the given type (account, record, or conversation) will be returned. When this is set to 'account' the 'collections' parameter will be ignored. When includeAllUserRecords or subject is set, this will be ignored.",
|
|
21250
|
+
knownValues: ['account', 'record', 'conversation'],
|
|
20542
21251
|
},
|
|
20543
21252
|
minAccountSuspendCount: {
|
|
20544
21253
|
type: 'integer',
|
|
@@ -24432,6 +25141,7 @@ export const ids = {
|
|
|
24432
25141
|
AppBskyDraftUpdateDraft: 'app.bsky.draft.updateDraft',
|
|
24433
25142
|
AppBskyEmbedDefs: 'app.bsky.embed.defs',
|
|
24434
25143
|
AppBskyEmbedExternal: 'app.bsky.embed.external',
|
|
25144
|
+
AppBskyEmbedGetEmbedExternalView: 'app.bsky.embed.getEmbedExternalView',
|
|
24435
25145
|
AppBskyEmbedImages: 'app.bsky.embed.images',
|
|
24436
25146
|
AppBskyEmbedRecord: 'app.bsky.embed.record',
|
|
24437
25147
|
AppBskyEmbedRecordWithMedia: 'app.bsky.embed.recordWithMedia',
|
|
@@ -24547,6 +25257,7 @@ export const ids = {
|
|
|
24547
25257
|
ChatBskyActorDefs: 'chat.bsky.actor.defs',
|
|
24548
25258
|
ChatBskyActorDeleteAccount: 'chat.bsky.actor.deleteAccount',
|
|
24549
25259
|
ChatBskyActorExportAccountData: 'chat.bsky.actor.exportAccountData',
|
|
25260
|
+
ChatBskyActorGetStatus: 'chat.bsky.actor.getStatus',
|
|
24550
25261
|
ChatBskyConvoAcceptConvo: 'chat.bsky.convo.acceptConvo',
|
|
24551
25262
|
ChatBskyConvoAddReaction: 'chat.bsky.convo.addReaction',
|
|
24552
25263
|
ChatBskyConvoDefs: 'chat.bsky.convo.defs',
|
|
@@ -24569,6 +25280,7 @@ export const ids = {
|
|
|
24569
25280
|
ChatBskyConvoUnmuteConvo: 'chat.bsky.convo.unmuteConvo',
|
|
24570
25281
|
ChatBskyConvoUpdateAllRead: 'chat.bsky.convo.updateAllRead',
|
|
24571
25282
|
ChatBskyConvoUpdateRead: 'chat.bsky.convo.updateRead',
|
|
25283
|
+
ChatBskyEmbedJoinLink: 'chat.bsky.embed.joinLink',
|
|
24572
25284
|
ChatBskyGroupAddMembers: 'chat.bsky.group.addMembers',
|
|
24573
25285
|
ChatBskyGroupApproveJoinRequest: 'chat.bsky.group.approveJoinRequest',
|
|
24574
25286
|
ChatBskyGroupCreateGroup: 'chat.bsky.group.createGroup',
|
|
@@ -24578,13 +25290,19 @@ export const ids = {
|
|
|
24578
25290
|
ChatBskyGroupEditGroup: 'chat.bsky.group.editGroup',
|
|
24579
25291
|
ChatBskyGroupEditJoinLink: 'chat.bsky.group.editJoinLink',
|
|
24580
25292
|
ChatBskyGroupEnableJoinLink: 'chat.bsky.group.enableJoinLink',
|
|
24581
|
-
|
|
25293
|
+
ChatBskyGroupGetJoinLinkPreviews: 'chat.bsky.group.getJoinLinkPreviews',
|
|
24582
25294
|
ChatBskyGroupListJoinRequests: 'chat.bsky.group.listJoinRequests',
|
|
24583
25295
|
ChatBskyGroupListMutualGroups: 'chat.bsky.group.listMutualGroups',
|
|
24584
25296
|
ChatBskyGroupRejectJoinRequest: 'chat.bsky.group.rejectJoinRequest',
|
|
24585
25297
|
ChatBskyGroupRemoveMembers: 'chat.bsky.group.removeMembers',
|
|
24586
25298
|
ChatBskyGroupRequestJoin: 'chat.bsky.group.requestJoin',
|
|
25299
|
+
ChatBskyGroupUpdateJoinRequestsRead: 'chat.bsky.group.updateJoinRequestsRead',
|
|
25300
|
+
ChatBskyGroupWithdrawJoinRequest: 'chat.bsky.group.withdrawJoinRequest',
|
|
25301
|
+
ChatBskyModerationDefs: 'chat.bsky.moderation.defs',
|
|
24587
25302
|
ChatBskyModerationGetActorMetadata: 'chat.bsky.moderation.getActorMetadata',
|
|
25303
|
+
ChatBskyModerationGetConvo: 'chat.bsky.moderation.getConvo',
|
|
25304
|
+
ChatBskyModerationGetConvoMembers: 'chat.bsky.moderation.getConvoMembers',
|
|
25305
|
+
ChatBskyModerationGetConvos: 'chat.bsky.moderation.getConvos',
|
|
24588
25306
|
ChatBskyModerationGetMessageContext: 'chat.bsky.moderation.getMessageContext',
|
|
24589
25307
|
ChatBskyModerationSubscribeModEvents: 'chat.bsky.moderation.subscribeModEvents',
|
|
24590
25308
|
ChatBskyModerationUpdateActorAccess: 'chat.bsky.moderation.updateActorAccess',
|