@atproto/ozone 0.1.161 → 0.1.162
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 +9 -0
- package/LICENSE.txt +1 -1
- package/dist/daemon/materialized-view-refresher.d.ts.map +1 -1
- package/dist/daemon/materialized-view-refresher.js +8 -1
- package/dist/daemon/materialized-view-refresher.js.map +1 -1
- package/dist/lexicon/index.d.ts +13 -0
- package/dist/lexicon/index.d.ts.map +1 -1
- package/dist/lexicon/index.js +37 -1
- package/dist/lexicon/index.js.map +1 -1
- package/dist/lexicon/lexicons.d.ts +894 -12
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +464 -5
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +23 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.js +18 -0
- package/dist/lexicon/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/ageassurance/defs.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/ageassurance/defs.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/ageassurance/defs.js.map +1 -1
- package/dist/lexicon/types/app/bsky/draft/createDraft.d.ts +27 -0
- package/dist/lexicon/types/app/bsky/draft/createDraft.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/createDraft.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/createDraft.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/defs.d.ts +106 -0
- package/dist/lexicon/types/app/bsky/draft/defs.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/defs.js +97 -0
- package/dist/lexicon/types/app/bsky/draft/defs.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.d.ts +14 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/deleteDraft.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.d.ts +24 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/getDrafts.js.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.d.ts +15 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.d.ts.map +1 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.js +7 -0
- package/dist/lexicon/types/app/bsky/draft/updateDraft.js.map +1 -0
- package/dist/lexicon/types/app/bsky/embed/video.d.ts +4 -0
- package/dist/lexicon/types/app/bsky/embed/video.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/embed/video.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +2 -0
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts +1 -0
- package/dist/lexicon/types/com/atproto/server/deleteSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/deleteSession.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +3 -3
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/getSession.js.map +1 -1
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +4 -1
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts.map +1 -1
- package/dist/lexicon/types/com/atproto/server/refreshSession.js.map +1 -1
- package/dist/mod-service/util.d.ts.map +1 -1
- package/dist/mod-service/util.js +3 -1
- package/dist/mod-service/util.js.map +1 -1
- package/package.json +7 -7
- package/src/daemon/materialized-view-refresher.ts +9 -3
- package/src/lexicon/index.ts +62 -0
- package/src/lexicon/lexicons.ts +479 -5
- package/src/lexicon/types/app/bsky/actor/defs.ts +41 -0
- package/src/lexicon/types/app/bsky/ageassurance/defs.ts +2 -0
- package/src/lexicon/types/app/bsky/draft/createDraft.ts +46 -0
- package/src/lexicon/types/app/bsky/draft/defs.ts +208 -0
- package/src/lexicon/types/app/bsky/draft/deleteDraft.ts +33 -0
- package/src/lexicon/types/app/bsky/draft/getDrafts.ts +42 -0
- package/src/lexicon/types/app/bsky/draft/updateDraft.ts +34 -0
- package/src/lexicon/types/app/bsky/embed/video.ts +4 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsers.ts +2 -0
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +2 -0
- package/src/lexicon/types/com/atproto/server/deleteSession.ts +1 -0
- package/src/lexicon/types/com/atproto/server/getSession.ts +1 -1
- package/src/lexicon/types/com/atproto/server/refreshSession.ts +4 -1
- package/src/mod-service/util.ts +3 -2
- package/tests/query-labels.test.ts +0 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tests.tsbuildinfo +0 -1
|
@@ -244,6 +244,10 @@ export declare const schemaDict: {
|
|
|
244
244
|
readonly type: "ref";
|
|
245
245
|
readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription";
|
|
246
246
|
};
|
|
247
|
+
readonly germ: {
|
|
248
|
+
readonly type: "ref";
|
|
249
|
+
readonly ref: "lex:app.bsky.actor.defs#profileAssociatedGerm";
|
|
250
|
+
};
|
|
247
251
|
};
|
|
248
252
|
};
|
|
249
253
|
readonly profileAssociatedChat: {
|
|
@@ -256,6 +260,20 @@ export declare const schemaDict: {
|
|
|
256
260
|
};
|
|
257
261
|
};
|
|
258
262
|
};
|
|
263
|
+
readonly profileAssociatedGerm: {
|
|
264
|
+
readonly type: "object";
|
|
265
|
+
readonly required: ["showButtonTo", "messageMeUrl"];
|
|
266
|
+
readonly properties: {
|
|
267
|
+
readonly messageMeUrl: {
|
|
268
|
+
readonly type: "string";
|
|
269
|
+
readonly format: "uri";
|
|
270
|
+
};
|
|
271
|
+
readonly showButtonTo: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
readonly knownValues: ["usersIFollow", "everyone"];
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
};
|
|
259
277
|
readonly profileAssociatedActivitySubscription: {
|
|
260
278
|
readonly type: "object";
|
|
261
279
|
readonly required: ["allowSubscriptions"];
|
|
@@ -382,7 +400,7 @@ export declare const schemaDict: {
|
|
|
382
400
|
readonly type: "array";
|
|
383
401
|
readonly items: {
|
|
384
402
|
readonly type: "union";
|
|
385
|
-
readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
|
|
403
|
+
readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs", "lex:app.bsky.actor.defs#liveEventPreferences"];
|
|
386
404
|
};
|
|
387
405
|
};
|
|
388
406
|
readonly adultContentPref: {
|
|
@@ -722,6 +740,24 @@ export declare const schemaDict: {
|
|
|
722
740
|
};
|
|
723
741
|
};
|
|
724
742
|
};
|
|
743
|
+
readonly liveEventPreferences: {
|
|
744
|
+
readonly type: "object";
|
|
745
|
+
readonly description: "Preferences for live events.";
|
|
746
|
+
readonly properties: {
|
|
747
|
+
readonly hiddenFeedIds: {
|
|
748
|
+
readonly description: "A list of feed IDs that the user has hidden from live events.";
|
|
749
|
+
readonly type: "array";
|
|
750
|
+
readonly items: {
|
|
751
|
+
readonly type: "string";
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
readonly hideAllFeeds: {
|
|
755
|
+
readonly description: "Whether to hide all feeds from live events.";
|
|
756
|
+
readonly type: "boolean";
|
|
757
|
+
readonly default: false;
|
|
758
|
+
};
|
|
759
|
+
};
|
|
760
|
+
};
|
|
725
761
|
readonly postInteractionSettingsPref: {
|
|
726
762
|
readonly type: "object";
|
|
727
763
|
readonly description: "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.";
|
|
@@ -751,6 +787,14 @@ export declare const schemaDict: {
|
|
|
751
787
|
readonly type: "object";
|
|
752
788
|
readonly required: ["status", "record"];
|
|
753
789
|
readonly properties: {
|
|
790
|
+
readonly uri: {
|
|
791
|
+
readonly type: "string";
|
|
792
|
+
readonly format: "at-uri";
|
|
793
|
+
};
|
|
794
|
+
readonly cid: {
|
|
795
|
+
readonly type: "string";
|
|
796
|
+
readonly format: "cid";
|
|
797
|
+
};
|
|
754
798
|
readonly status: {
|
|
755
799
|
readonly type: "string";
|
|
756
800
|
readonly description: "The status for the account.";
|
|
@@ -773,6 +817,10 @@ export declare const schemaDict: {
|
|
|
773
817
|
readonly type: "boolean";
|
|
774
818
|
readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
|
|
775
819
|
};
|
|
820
|
+
readonly isDisabled: {
|
|
821
|
+
readonly type: "boolean";
|
|
822
|
+
readonly description: "True if the user's go-live access has been disabled by a moderator, false otherwise.";
|
|
823
|
+
};
|
|
776
824
|
};
|
|
777
825
|
};
|
|
778
826
|
};
|
|
@@ -1259,7 +1307,7 @@ export declare const schemaDict: {
|
|
|
1259
1307
|
readonly configRegion: {
|
|
1260
1308
|
readonly type: "object";
|
|
1261
1309
|
readonly description: "The Age Assurance configuration for a specific region.";
|
|
1262
|
-
readonly required: ["countryCode", "rules"];
|
|
1310
|
+
readonly required: ["countryCode", "minAccessAge", "rules"];
|
|
1263
1311
|
readonly properties: {
|
|
1264
1312
|
readonly countryCode: {
|
|
1265
1313
|
readonly type: "string";
|
|
@@ -1269,6 +1317,10 @@ export declare const schemaDict: {
|
|
|
1269
1317
|
readonly type: "string";
|
|
1270
1318
|
readonly description: "The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.";
|
|
1271
1319
|
};
|
|
1320
|
+
readonly minAccessAge: {
|
|
1321
|
+
readonly type: "integer";
|
|
1322
|
+
readonly description: "The minimum age (as a whole integer) required to use Bluesky in this region.";
|
|
1323
|
+
};
|
|
1272
1324
|
readonly rules: {
|
|
1273
1325
|
readonly type: "array";
|
|
1274
1326
|
readonly description: "The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.";
|
|
@@ -2024,6 +2076,359 @@ export declare const schemaDict: {
|
|
|
2024
2076
|
};
|
|
2025
2077
|
};
|
|
2026
2078
|
};
|
|
2079
|
+
readonly AppBskyDraftCreateDraft: {
|
|
2080
|
+
readonly lexicon: 1;
|
|
2081
|
+
readonly id: "app.bsky.draft.createDraft";
|
|
2082
|
+
readonly defs: {
|
|
2083
|
+
readonly main: {
|
|
2084
|
+
readonly type: "procedure";
|
|
2085
|
+
readonly description: "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.";
|
|
2086
|
+
readonly input: {
|
|
2087
|
+
readonly encoding: "application/json";
|
|
2088
|
+
readonly schema: {
|
|
2089
|
+
readonly type: "object";
|
|
2090
|
+
readonly required: ["draft"];
|
|
2091
|
+
readonly properties: {
|
|
2092
|
+
readonly draft: {
|
|
2093
|
+
readonly type: "ref";
|
|
2094
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
2095
|
+
};
|
|
2096
|
+
};
|
|
2097
|
+
};
|
|
2098
|
+
};
|
|
2099
|
+
readonly output: {
|
|
2100
|
+
readonly encoding: "application/json";
|
|
2101
|
+
readonly schema: {
|
|
2102
|
+
readonly type: "object";
|
|
2103
|
+
readonly required: ["id"];
|
|
2104
|
+
readonly properties: {
|
|
2105
|
+
readonly id: {
|
|
2106
|
+
readonly type: "string";
|
|
2107
|
+
readonly description: "The ID of the created draft.";
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
};
|
|
2111
|
+
};
|
|
2112
|
+
readonly errors: [{
|
|
2113
|
+
readonly name: "DraftLimitReached";
|
|
2114
|
+
readonly description: "Trying to insert a new draft when the limit was already reached.";
|
|
2115
|
+
}];
|
|
2116
|
+
};
|
|
2117
|
+
};
|
|
2118
|
+
};
|
|
2119
|
+
readonly AppBskyDraftDefs: {
|
|
2120
|
+
readonly lexicon: 1;
|
|
2121
|
+
readonly id: "app.bsky.draft.defs";
|
|
2122
|
+
readonly defs: {
|
|
2123
|
+
readonly draftWithId: {
|
|
2124
|
+
readonly description: "A draft with an identifier, used to store drafts in private storage (stash).";
|
|
2125
|
+
readonly type: "object";
|
|
2126
|
+
readonly required: ["id", "draft"];
|
|
2127
|
+
readonly properties: {
|
|
2128
|
+
readonly id: {
|
|
2129
|
+
readonly description: "A TID to be used as a draft identifier.";
|
|
2130
|
+
readonly type: "string";
|
|
2131
|
+
readonly format: "tid";
|
|
2132
|
+
};
|
|
2133
|
+
readonly draft: {
|
|
2134
|
+
readonly type: "ref";
|
|
2135
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
2136
|
+
};
|
|
2137
|
+
};
|
|
2138
|
+
};
|
|
2139
|
+
readonly draft: {
|
|
2140
|
+
readonly description: "A draft containing an array of draft posts.";
|
|
2141
|
+
readonly type: "object";
|
|
2142
|
+
readonly required: ["posts"];
|
|
2143
|
+
readonly properties: {
|
|
2144
|
+
readonly posts: {
|
|
2145
|
+
readonly description: "Array of draft posts that compose this draft.";
|
|
2146
|
+
readonly type: "array";
|
|
2147
|
+
readonly minLength: 1;
|
|
2148
|
+
readonly maxLength: 100;
|
|
2149
|
+
readonly items: {
|
|
2150
|
+
readonly type: "ref";
|
|
2151
|
+
readonly ref: "lex:app.bsky.draft.defs#draftPost";
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
readonly langs: {
|
|
2155
|
+
readonly type: "array";
|
|
2156
|
+
readonly description: "Indicates human language of posts primary text content.";
|
|
2157
|
+
readonly maxLength: 3;
|
|
2158
|
+
readonly items: {
|
|
2159
|
+
readonly type: "string";
|
|
2160
|
+
readonly format: "language";
|
|
2161
|
+
};
|
|
2162
|
+
};
|
|
2163
|
+
readonly postgateEmbeddingRules: {
|
|
2164
|
+
readonly description: "Embedding rules for the postgates to be created when this draft is published.";
|
|
2165
|
+
readonly type: "array";
|
|
2166
|
+
readonly maxLength: 5;
|
|
2167
|
+
readonly items: {
|
|
2168
|
+
readonly type: "union";
|
|
2169
|
+
readonly refs: ["lex:app.bsky.feed.postgate#disableRule"];
|
|
2170
|
+
};
|
|
2171
|
+
};
|
|
2172
|
+
readonly threadgateAllow: {
|
|
2173
|
+
readonly description: "Allow-rules for the threadgate to be created when this draft is published.";
|
|
2174
|
+
readonly type: "array";
|
|
2175
|
+
readonly maxLength: 5;
|
|
2176
|
+
readonly items: {
|
|
2177
|
+
readonly type: "union";
|
|
2178
|
+
readonly refs: ["lex:app.bsky.feed.threadgate#mentionRule", "lex:app.bsky.feed.threadgate#followerRule", "lex:app.bsky.feed.threadgate#followingRule", "lex:app.bsky.feed.threadgate#listRule"];
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
2182
|
+
};
|
|
2183
|
+
readonly draftPost: {
|
|
2184
|
+
readonly description: "One of the posts that compose a draft.";
|
|
2185
|
+
readonly type: "object";
|
|
2186
|
+
readonly required: ["text"];
|
|
2187
|
+
readonly properties: {
|
|
2188
|
+
readonly text: {
|
|
2189
|
+
readonly type: "string";
|
|
2190
|
+
readonly maxLength: 3000;
|
|
2191
|
+
readonly maxGraphemes: 300;
|
|
2192
|
+
readonly description: "The primary post content.";
|
|
2193
|
+
};
|
|
2194
|
+
readonly labels: {
|
|
2195
|
+
readonly type: "union";
|
|
2196
|
+
readonly description: "Self-label values for this post. Effectively content warnings.";
|
|
2197
|
+
readonly refs: ["lex:com.atproto.label.defs#selfLabels"];
|
|
2198
|
+
};
|
|
2199
|
+
readonly embedImages: {
|
|
2200
|
+
readonly type: "array";
|
|
2201
|
+
readonly items: {
|
|
2202
|
+
readonly type: "ref";
|
|
2203
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedImage";
|
|
2204
|
+
};
|
|
2205
|
+
readonly maxLength: 4;
|
|
2206
|
+
};
|
|
2207
|
+
readonly embedVideos: {
|
|
2208
|
+
readonly type: "array";
|
|
2209
|
+
readonly items: {
|
|
2210
|
+
readonly type: "ref";
|
|
2211
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedVideo";
|
|
2212
|
+
};
|
|
2213
|
+
readonly maxLength: 1;
|
|
2214
|
+
};
|
|
2215
|
+
readonly embedExternals: {
|
|
2216
|
+
readonly type: "array";
|
|
2217
|
+
readonly items: {
|
|
2218
|
+
readonly type: "ref";
|
|
2219
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedExternal";
|
|
2220
|
+
};
|
|
2221
|
+
readonly maxLength: 1;
|
|
2222
|
+
};
|
|
2223
|
+
readonly embedRecords: {
|
|
2224
|
+
readonly type: "array";
|
|
2225
|
+
readonly items: {
|
|
2226
|
+
readonly type: "ref";
|
|
2227
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedRecord";
|
|
2228
|
+
};
|
|
2229
|
+
readonly maxLength: 1;
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
};
|
|
2233
|
+
readonly draftView: {
|
|
2234
|
+
readonly description: "View to present drafts data to users.";
|
|
2235
|
+
readonly type: "object";
|
|
2236
|
+
readonly required: ["id", "draft", "createdAt", "updatedAt"];
|
|
2237
|
+
readonly properties: {
|
|
2238
|
+
readonly id: {
|
|
2239
|
+
readonly description: "A TID to be used as a draft identifier.";
|
|
2240
|
+
readonly type: "string";
|
|
2241
|
+
readonly format: "tid";
|
|
2242
|
+
};
|
|
2243
|
+
readonly draft: {
|
|
2244
|
+
readonly type: "ref";
|
|
2245
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
2246
|
+
};
|
|
2247
|
+
readonly createdAt: {
|
|
2248
|
+
readonly description: "The time the draft was created.";
|
|
2249
|
+
readonly type: "string";
|
|
2250
|
+
readonly format: "datetime";
|
|
2251
|
+
};
|
|
2252
|
+
readonly updatedAt: {
|
|
2253
|
+
readonly description: "The time the draft was last updated.";
|
|
2254
|
+
readonly type: "string";
|
|
2255
|
+
readonly format: "datetime";
|
|
2256
|
+
};
|
|
2257
|
+
};
|
|
2258
|
+
};
|
|
2259
|
+
readonly draftEmbedLocalRef: {
|
|
2260
|
+
readonly type: "object";
|
|
2261
|
+
readonly required: ["path"];
|
|
2262
|
+
readonly properties: {
|
|
2263
|
+
readonly path: {
|
|
2264
|
+
readonly type: "string";
|
|
2265
|
+
readonly description: "Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.";
|
|
2266
|
+
readonly minLength: 1;
|
|
2267
|
+
readonly maxLength: 1024;
|
|
2268
|
+
};
|
|
2269
|
+
};
|
|
2270
|
+
};
|
|
2271
|
+
readonly draftEmbedCaption: {
|
|
2272
|
+
readonly type: "object";
|
|
2273
|
+
readonly required: ["lang", "content"];
|
|
2274
|
+
readonly properties: {
|
|
2275
|
+
readonly lang: {
|
|
2276
|
+
readonly type: "string";
|
|
2277
|
+
readonly format: "language";
|
|
2278
|
+
};
|
|
2279
|
+
readonly content: {
|
|
2280
|
+
readonly type: "string";
|
|
2281
|
+
readonly maxLength: 10000;
|
|
2282
|
+
};
|
|
2283
|
+
};
|
|
2284
|
+
};
|
|
2285
|
+
readonly draftEmbedImage: {
|
|
2286
|
+
readonly type: "object";
|
|
2287
|
+
readonly required: ["localRef"];
|
|
2288
|
+
readonly properties: {
|
|
2289
|
+
readonly localRef: {
|
|
2290
|
+
readonly type: "ref";
|
|
2291
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
|
|
2292
|
+
};
|
|
2293
|
+
readonly alt: {
|
|
2294
|
+
readonly type: "string";
|
|
2295
|
+
readonly maxGraphemes: 2000;
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
};
|
|
2299
|
+
readonly draftEmbedVideo: {
|
|
2300
|
+
readonly type: "object";
|
|
2301
|
+
readonly required: ["localRef"];
|
|
2302
|
+
readonly properties: {
|
|
2303
|
+
readonly localRef: {
|
|
2304
|
+
readonly type: "ref";
|
|
2305
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
|
|
2306
|
+
};
|
|
2307
|
+
readonly alt: {
|
|
2308
|
+
readonly type: "string";
|
|
2309
|
+
readonly maxGraphemes: 2000;
|
|
2310
|
+
};
|
|
2311
|
+
readonly captions: {
|
|
2312
|
+
readonly type: "array";
|
|
2313
|
+
readonly items: {
|
|
2314
|
+
readonly type: "ref";
|
|
2315
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedCaption";
|
|
2316
|
+
};
|
|
2317
|
+
readonly maxLength: 20;
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
};
|
|
2321
|
+
readonly draftEmbedExternal: {
|
|
2322
|
+
readonly type: "object";
|
|
2323
|
+
readonly required: ["uri"];
|
|
2324
|
+
readonly properties: {
|
|
2325
|
+
readonly uri: {
|
|
2326
|
+
readonly type: "string";
|
|
2327
|
+
readonly format: "uri";
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
};
|
|
2331
|
+
readonly draftEmbedRecord: {
|
|
2332
|
+
readonly type: "object";
|
|
2333
|
+
readonly required: ["record"];
|
|
2334
|
+
readonly properties: {
|
|
2335
|
+
readonly record: {
|
|
2336
|
+
readonly type: "ref";
|
|
2337
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
};
|
|
2342
|
+
};
|
|
2343
|
+
readonly AppBskyDraftDeleteDraft: {
|
|
2344
|
+
readonly lexicon: 1;
|
|
2345
|
+
readonly id: "app.bsky.draft.deleteDraft";
|
|
2346
|
+
readonly defs: {
|
|
2347
|
+
readonly main: {
|
|
2348
|
+
readonly type: "procedure";
|
|
2349
|
+
readonly description: "Deletes a draft by ID. Requires authentication.";
|
|
2350
|
+
readonly input: {
|
|
2351
|
+
readonly encoding: "application/json";
|
|
2352
|
+
readonly schema: {
|
|
2353
|
+
readonly type: "object";
|
|
2354
|
+
readonly required: ["id"];
|
|
2355
|
+
readonly properties: {
|
|
2356
|
+
readonly id: {
|
|
2357
|
+
readonly type: "string";
|
|
2358
|
+
readonly format: "tid";
|
|
2359
|
+
};
|
|
2360
|
+
};
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
};
|
|
2364
|
+
};
|
|
2365
|
+
};
|
|
2366
|
+
readonly AppBskyDraftGetDrafts: {
|
|
2367
|
+
readonly lexicon: 1;
|
|
2368
|
+
readonly id: "app.bsky.draft.getDrafts";
|
|
2369
|
+
readonly defs: {
|
|
2370
|
+
readonly main: {
|
|
2371
|
+
readonly type: "query";
|
|
2372
|
+
readonly description: "Gets views of user drafts. Requires authentication.";
|
|
2373
|
+
readonly parameters: {
|
|
2374
|
+
readonly type: "params";
|
|
2375
|
+
readonly properties: {
|
|
2376
|
+
readonly limit: {
|
|
2377
|
+
readonly type: "integer";
|
|
2378
|
+
readonly minimum: 1;
|
|
2379
|
+
readonly maximum: 100;
|
|
2380
|
+
readonly default: 50;
|
|
2381
|
+
};
|
|
2382
|
+
readonly cursor: {
|
|
2383
|
+
readonly type: "string";
|
|
2384
|
+
};
|
|
2385
|
+
};
|
|
2386
|
+
};
|
|
2387
|
+
readonly output: {
|
|
2388
|
+
readonly encoding: "application/json";
|
|
2389
|
+
readonly schema: {
|
|
2390
|
+
readonly type: "object";
|
|
2391
|
+
readonly required: ["drafts"];
|
|
2392
|
+
readonly properties: {
|
|
2393
|
+
readonly cursor: {
|
|
2394
|
+
readonly type: "string";
|
|
2395
|
+
};
|
|
2396
|
+
readonly drafts: {
|
|
2397
|
+
readonly type: "array";
|
|
2398
|
+
readonly items: {
|
|
2399
|
+
readonly type: "ref";
|
|
2400
|
+
readonly ref: "lex:app.bsky.draft.defs#draftView";
|
|
2401
|
+
};
|
|
2402
|
+
};
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
};
|
|
2407
|
+
};
|
|
2408
|
+
};
|
|
2409
|
+
readonly AppBskyDraftUpdateDraft: {
|
|
2410
|
+
readonly lexicon: 1;
|
|
2411
|
+
readonly id: "app.bsky.draft.updateDraft";
|
|
2412
|
+
readonly defs: {
|
|
2413
|
+
readonly main: {
|
|
2414
|
+
readonly type: "procedure";
|
|
2415
|
+
readonly description: "Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication.";
|
|
2416
|
+
readonly input: {
|
|
2417
|
+
readonly encoding: "application/json";
|
|
2418
|
+
readonly schema: {
|
|
2419
|
+
readonly type: "object";
|
|
2420
|
+
readonly required: ["draft"];
|
|
2421
|
+
readonly properties: {
|
|
2422
|
+
readonly draft: {
|
|
2423
|
+
readonly type: "ref";
|
|
2424
|
+
readonly ref: "lex:app.bsky.draft.defs#draftWithId";
|
|
2425
|
+
};
|
|
2426
|
+
};
|
|
2427
|
+
};
|
|
2428
|
+
};
|
|
2429
|
+
};
|
|
2430
|
+
};
|
|
2431
|
+
};
|
|
2027
2432
|
readonly AppBskyEmbedDefs: {
|
|
2028
2433
|
readonly lexicon: 1;
|
|
2029
2434
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -2384,6 +2789,11 @@ export declare const schemaDict: {
|
|
|
2384
2789
|
readonly type: "ref";
|
|
2385
2790
|
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
2386
2791
|
};
|
|
2792
|
+
readonly presentation: {
|
|
2793
|
+
readonly type: "string";
|
|
2794
|
+
readonly description: "A hint to the client about how to present the video.";
|
|
2795
|
+
readonly knownValues: ["default", "gif"];
|
|
2796
|
+
};
|
|
2387
2797
|
};
|
|
2388
2798
|
};
|
|
2389
2799
|
readonly caption: {
|
|
@@ -2426,6 +2836,11 @@ export declare const schemaDict: {
|
|
|
2426
2836
|
readonly type: "ref";
|
|
2427
2837
|
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
2428
2838
|
};
|
|
2839
|
+
readonly presentation: {
|
|
2840
|
+
readonly type: "string";
|
|
2841
|
+
readonly description: "A hint to the client about how to present the video.";
|
|
2842
|
+
readonly knownValues: ["default", "gif"];
|
|
2843
|
+
};
|
|
2429
2844
|
};
|
|
2430
2845
|
};
|
|
2431
2846
|
};
|
|
@@ -7478,6 +7893,10 @@ export declare const schemaDict: {
|
|
|
7478
7893
|
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
7479
7894
|
};
|
|
7480
7895
|
};
|
|
7896
|
+
readonly recId: {
|
|
7897
|
+
readonly type: "string";
|
|
7898
|
+
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
7899
|
+
};
|
|
7481
7900
|
};
|
|
7482
7901
|
};
|
|
7483
7902
|
};
|
|
@@ -7524,6 +7943,10 @@ export declare const schemaDict: {
|
|
|
7524
7943
|
readonly format: "did";
|
|
7525
7944
|
};
|
|
7526
7945
|
};
|
|
7946
|
+
readonly recId: {
|
|
7947
|
+
readonly type: "string";
|
|
7948
|
+
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
7949
|
+
};
|
|
7527
7950
|
};
|
|
7528
7951
|
};
|
|
7529
7952
|
};
|
|
@@ -12106,7 +12529,12 @@ export declare const schemaDict: {
|
|
|
12106
12529
|
readonly defs: {
|
|
12107
12530
|
readonly main: {
|
|
12108
12531
|
readonly type: "procedure";
|
|
12109
|
-
readonly description: "Delete the current session. Requires auth.";
|
|
12532
|
+
readonly description: "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').";
|
|
12533
|
+
readonly errors: [{
|
|
12534
|
+
readonly name: "InvalidToken";
|
|
12535
|
+
}, {
|
|
12536
|
+
readonly name: "ExpiredToken";
|
|
12537
|
+
}];
|
|
12110
12538
|
};
|
|
12111
12539
|
};
|
|
12112
12540
|
};
|
|
@@ -12289,6 +12717,9 @@ export declare const schemaDict: {
|
|
|
12289
12717
|
readonly type: "string";
|
|
12290
12718
|
readonly format: "did";
|
|
12291
12719
|
};
|
|
12720
|
+
readonly didDoc: {
|
|
12721
|
+
readonly type: "unknown";
|
|
12722
|
+
};
|
|
12292
12723
|
readonly email: {
|
|
12293
12724
|
readonly type: "string";
|
|
12294
12725
|
};
|
|
@@ -12298,9 +12729,6 @@ export declare const schemaDict: {
|
|
|
12298
12729
|
readonly emailAuthFactor: {
|
|
12299
12730
|
readonly type: "boolean";
|
|
12300
12731
|
};
|
|
12301
|
-
readonly didDoc: {
|
|
12302
|
-
readonly type: "unknown";
|
|
12303
|
-
};
|
|
12304
12732
|
readonly active: {
|
|
12305
12733
|
readonly type: "boolean";
|
|
12306
12734
|
};
|
|
@@ -12390,6 +12818,15 @@ export declare const schemaDict: {
|
|
|
12390
12818
|
readonly didDoc: {
|
|
12391
12819
|
readonly type: "unknown";
|
|
12392
12820
|
};
|
|
12821
|
+
readonly email: {
|
|
12822
|
+
readonly type: "string";
|
|
12823
|
+
};
|
|
12824
|
+
readonly emailConfirmed: {
|
|
12825
|
+
readonly type: "boolean";
|
|
12826
|
+
};
|
|
12827
|
+
readonly emailAuthFactor: {
|
|
12828
|
+
readonly type: "boolean";
|
|
12829
|
+
};
|
|
12393
12830
|
readonly active: {
|
|
12394
12831
|
readonly type: "boolean";
|
|
12395
12832
|
};
|
|
@@ -12403,6 +12840,10 @@ export declare const schemaDict: {
|
|
|
12403
12840
|
};
|
|
12404
12841
|
readonly errors: [{
|
|
12405
12842
|
readonly name: "AccountTakedown";
|
|
12843
|
+
}, {
|
|
12844
|
+
readonly name: "InvalidToken";
|
|
12845
|
+
}, {
|
|
12846
|
+
readonly name: "ExpiredToken";
|
|
12406
12847
|
}];
|
|
12407
12848
|
};
|
|
12408
12849
|
};
|
|
@@ -18601,6 +19042,10 @@ export declare const schemas: ({
|
|
|
18601
19042
|
readonly type: "ref";
|
|
18602
19043
|
readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription";
|
|
18603
19044
|
};
|
|
19045
|
+
readonly germ: {
|
|
19046
|
+
readonly type: "ref";
|
|
19047
|
+
readonly ref: "lex:app.bsky.actor.defs#profileAssociatedGerm";
|
|
19048
|
+
};
|
|
18604
19049
|
};
|
|
18605
19050
|
};
|
|
18606
19051
|
readonly profileAssociatedChat: {
|
|
@@ -18613,6 +19058,20 @@ export declare const schemas: ({
|
|
|
18613
19058
|
};
|
|
18614
19059
|
};
|
|
18615
19060
|
};
|
|
19061
|
+
readonly profileAssociatedGerm: {
|
|
19062
|
+
readonly type: "object";
|
|
19063
|
+
readonly required: ["showButtonTo", "messageMeUrl"];
|
|
19064
|
+
readonly properties: {
|
|
19065
|
+
readonly messageMeUrl: {
|
|
19066
|
+
readonly type: "string";
|
|
19067
|
+
readonly format: "uri";
|
|
19068
|
+
};
|
|
19069
|
+
readonly showButtonTo: {
|
|
19070
|
+
readonly type: "string";
|
|
19071
|
+
readonly knownValues: ["usersIFollow", "everyone"];
|
|
19072
|
+
};
|
|
19073
|
+
};
|
|
19074
|
+
};
|
|
18616
19075
|
readonly profileAssociatedActivitySubscription: {
|
|
18617
19076
|
readonly type: "object";
|
|
18618
19077
|
readonly required: ["allowSubscriptions"];
|
|
@@ -18739,7 +19198,7 @@ export declare const schemas: ({
|
|
|
18739
19198
|
readonly type: "array";
|
|
18740
19199
|
readonly items: {
|
|
18741
19200
|
readonly type: "union";
|
|
18742
|
-
readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs"];
|
|
19201
|
+
readonly refs: ["lex:app.bsky.actor.defs#adultContentPref", "lex:app.bsky.actor.defs#contentLabelPref", "lex:app.bsky.actor.defs#savedFeedsPref", "lex:app.bsky.actor.defs#savedFeedsPrefV2", "lex:app.bsky.actor.defs#personalDetailsPref", "lex:app.bsky.actor.defs#declaredAgePref", "lex:app.bsky.actor.defs#feedViewPref", "lex:app.bsky.actor.defs#threadViewPref", "lex:app.bsky.actor.defs#interestsPref", "lex:app.bsky.actor.defs#mutedWordsPref", "lex:app.bsky.actor.defs#hiddenPostsPref", "lex:app.bsky.actor.defs#bskyAppStatePref", "lex:app.bsky.actor.defs#labelersPref", "lex:app.bsky.actor.defs#postInteractionSettingsPref", "lex:app.bsky.actor.defs#verificationPrefs", "lex:app.bsky.actor.defs#liveEventPreferences"];
|
|
18743
19202
|
};
|
|
18744
19203
|
};
|
|
18745
19204
|
readonly adultContentPref: {
|
|
@@ -19079,6 +19538,24 @@ export declare const schemas: ({
|
|
|
19079
19538
|
};
|
|
19080
19539
|
};
|
|
19081
19540
|
};
|
|
19541
|
+
readonly liveEventPreferences: {
|
|
19542
|
+
readonly type: "object";
|
|
19543
|
+
readonly description: "Preferences for live events.";
|
|
19544
|
+
readonly properties: {
|
|
19545
|
+
readonly hiddenFeedIds: {
|
|
19546
|
+
readonly description: "A list of feed IDs that the user has hidden from live events.";
|
|
19547
|
+
readonly type: "array";
|
|
19548
|
+
readonly items: {
|
|
19549
|
+
readonly type: "string";
|
|
19550
|
+
};
|
|
19551
|
+
};
|
|
19552
|
+
readonly hideAllFeeds: {
|
|
19553
|
+
readonly description: "Whether to hide all feeds from live events.";
|
|
19554
|
+
readonly type: "boolean";
|
|
19555
|
+
readonly default: false;
|
|
19556
|
+
};
|
|
19557
|
+
};
|
|
19558
|
+
};
|
|
19082
19559
|
readonly postInteractionSettingsPref: {
|
|
19083
19560
|
readonly type: "object";
|
|
19084
19561
|
readonly description: "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.";
|
|
@@ -19108,6 +19585,14 @@ export declare const schemas: ({
|
|
|
19108
19585
|
readonly type: "object";
|
|
19109
19586
|
readonly required: ["status", "record"];
|
|
19110
19587
|
readonly properties: {
|
|
19588
|
+
readonly uri: {
|
|
19589
|
+
readonly type: "string";
|
|
19590
|
+
readonly format: "at-uri";
|
|
19591
|
+
};
|
|
19592
|
+
readonly cid: {
|
|
19593
|
+
readonly type: "string";
|
|
19594
|
+
readonly format: "cid";
|
|
19595
|
+
};
|
|
19111
19596
|
readonly status: {
|
|
19112
19597
|
readonly type: "string";
|
|
19113
19598
|
readonly description: "The status for the account.";
|
|
@@ -19130,6 +19615,10 @@ export declare const schemas: ({
|
|
|
19130
19615
|
readonly type: "boolean";
|
|
19131
19616
|
readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
|
|
19132
19617
|
};
|
|
19618
|
+
readonly isDisabled: {
|
|
19619
|
+
readonly type: "boolean";
|
|
19620
|
+
readonly description: "True if the user's go-live access has been disabled by a moderator, false otherwise.";
|
|
19621
|
+
};
|
|
19133
19622
|
};
|
|
19134
19623
|
};
|
|
19135
19624
|
};
|
|
@@ -19605,7 +20094,7 @@ export declare const schemas: ({
|
|
|
19605
20094
|
readonly configRegion: {
|
|
19606
20095
|
readonly type: "object";
|
|
19607
20096
|
readonly description: "The Age Assurance configuration for a specific region.";
|
|
19608
|
-
readonly required: ["countryCode", "rules"];
|
|
20097
|
+
readonly required: ["countryCode", "minAccessAge", "rules"];
|
|
19609
20098
|
readonly properties: {
|
|
19610
20099
|
readonly countryCode: {
|
|
19611
20100
|
readonly type: "string";
|
|
@@ -19615,6 +20104,10 @@ export declare const schemas: ({
|
|
|
19615
20104
|
readonly type: "string";
|
|
19616
20105
|
readonly description: "The ISO 3166-2 region code this configuration applies to. If omitted, the configuration applies to the entire country.";
|
|
19617
20106
|
};
|
|
20107
|
+
readonly minAccessAge: {
|
|
20108
|
+
readonly type: "integer";
|
|
20109
|
+
readonly description: "The minimum age (as a whole integer) required to use Bluesky in this region.";
|
|
20110
|
+
};
|
|
19618
20111
|
readonly rules: {
|
|
19619
20112
|
readonly type: "array";
|
|
19620
20113
|
readonly description: "The ordered list of Age Assurance rules that apply to this region. Rules should be applied in order, and the first matching rule determines the access level granted. The rules array should always include a default rule as the last item.";
|
|
@@ -20354,6 +20847,354 @@ export declare const schemas: ({
|
|
|
20354
20847
|
}];
|
|
20355
20848
|
};
|
|
20356
20849
|
};
|
|
20850
|
+
} | {
|
|
20851
|
+
readonly lexicon: 1;
|
|
20852
|
+
readonly id: "app.bsky.draft.createDraft";
|
|
20853
|
+
readonly defs: {
|
|
20854
|
+
readonly main: {
|
|
20855
|
+
readonly type: "procedure";
|
|
20856
|
+
readonly description: "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.";
|
|
20857
|
+
readonly input: {
|
|
20858
|
+
readonly encoding: "application/json";
|
|
20859
|
+
readonly schema: {
|
|
20860
|
+
readonly type: "object";
|
|
20861
|
+
readonly required: ["draft"];
|
|
20862
|
+
readonly properties: {
|
|
20863
|
+
readonly draft: {
|
|
20864
|
+
readonly type: "ref";
|
|
20865
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
20866
|
+
};
|
|
20867
|
+
};
|
|
20868
|
+
};
|
|
20869
|
+
};
|
|
20870
|
+
readonly output: {
|
|
20871
|
+
readonly encoding: "application/json";
|
|
20872
|
+
readonly schema: {
|
|
20873
|
+
readonly type: "object";
|
|
20874
|
+
readonly required: ["id"];
|
|
20875
|
+
readonly properties: {
|
|
20876
|
+
readonly id: {
|
|
20877
|
+
readonly type: "string";
|
|
20878
|
+
readonly description: "The ID of the created draft.";
|
|
20879
|
+
};
|
|
20880
|
+
};
|
|
20881
|
+
};
|
|
20882
|
+
};
|
|
20883
|
+
readonly errors: [{
|
|
20884
|
+
readonly name: "DraftLimitReached";
|
|
20885
|
+
readonly description: "Trying to insert a new draft when the limit was already reached.";
|
|
20886
|
+
}];
|
|
20887
|
+
};
|
|
20888
|
+
};
|
|
20889
|
+
} | {
|
|
20890
|
+
readonly lexicon: 1;
|
|
20891
|
+
readonly id: "app.bsky.draft.defs";
|
|
20892
|
+
readonly defs: {
|
|
20893
|
+
readonly draftWithId: {
|
|
20894
|
+
readonly description: "A draft with an identifier, used to store drafts in private storage (stash).";
|
|
20895
|
+
readonly type: "object";
|
|
20896
|
+
readonly required: ["id", "draft"];
|
|
20897
|
+
readonly properties: {
|
|
20898
|
+
readonly id: {
|
|
20899
|
+
readonly description: "A TID to be used as a draft identifier.";
|
|
20900
|
+
readonly type: "string";
|
|
20901
|
+
readonly format: "tid";
|
|
20902
|
+
};
|
|
20903
|
+
readonly draft: {
|
|
20904
|
+
readonly type: "ref";
|
|
20905
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
20906
|
+
};
|
|
20907
|
+
};
|
|
20908
|
+
};
|
|
20909
|
+
readonly draft: {
|
|
20910
|
+
readonly description: "A draft containing an array of draft posts.";
|
|
20911
|
+
readonly type: "object";
|
|
20912
|
+
readonly required: ["posts"];
|
|
20913
|
+
readonly properties: {
|
|
20914
|
+
readonly posts: {
|
|
20915
|
+
readonly description: "Array of draft posts that compose this draft.";
|
|
20916
|
+
readonly type: "array";
|
|
20917
|
+
readonly minLength: 1;
|
|
20918
|
+
readonly maxLength: 100;
|
|
20919
|
+
readonly items: {
|
|
20920
|
+
readonly type: "ref";
|
|
20921
|
+
readonly ref: "lex:app.bsky.draft.defs#draftPost";
|
|
20922
|
+
};
|
|
20923
|
+
};
|
|
20924
|
+
readonly langs: {
|
|
20925
|
+
readonly type: "array";
|
|
20926
|
+
readonly description: "Indicates human language of posts primary text content.";
|
|
20927
|
+
readonly maxLength: 3;
|
|
20928
|
+
readonly items: {
|
|
20929
|
+
readonly type: "string";
|
|
20930
|
+
readonly format: "language";
|
|
20931
|
+
};
|
|
20932
|
+
};
|
|
20933
|
+
readonly postgateEmbeddingRules: {
|
|
20934
|
+
readonly description: "Embedding rules for the postgates to be created when this draft is published.";
|
|
20935
|
+
readonly type: "array";
|
|
20936
|
+
readonly maxLength: 5;
|
|
20937
|
+
readonly items: {
|
|
20938
|
+
readonly type: "union";
|
|
20939
|
+
readonly refs: ["lex:app.bsky.feed.postgate#disableRule"];
|
|
20940
|
+
};
|
|
20941
|
+
};
|
|
20942
|
+
readonly threadgateAllow: {
|
|
20943
|
+
readonly description: "Allow-rules for the threadgate to be created when this draft is published.";
|
|
20944
|
+
readonly type: "array";
|
|
20945
|
+
readonly maxLength: 5;
|
|
20946
|
+
readonly items: {
|
|
20947
|
+
readonly type: "union";
|
|
20948
|
+
readonly refs: ["lex:app.bsky.feed.threadgate#mentionRule", "lex:app.bsky.feed.threadgate#followerRule", "lex:app.bsky.feed.threadgate#followingRule", "lex:app.bsky.feed.threadgate#listRule"];
|
|
20949
|
+
};
|
|
20950
|
+
};
|
|
20951
|
+
};
|
|
20952
|
+
};
|
|
20953
|
+
readonly draftPost: {
|
|
20954
|
+
readonly description: "One of the posts that compose a draft.";
|
|
20955
|
+
readonly type: "object";
|
|
20956
|
+
readonly required: ["text"];
|
|
20957
|
+
readonly properties: {
|
|
20958
|
+
readonly text: {
|
|
20959
|
+
readonly type: "string";
|
|
20960
|
+
readonly maxLength: 3000;
|
|
20961
|
+
readonly maxGraphemes: 300;
|
|
20962
|
+
readonly description: "The primary post content.";
|
|
20963
|
+
};
|
|
20964
|
+
readonly labels: {
|
|
20965
|
+
readonly type: "union";
|
|
20966
|
+
readonly description: "Self-label values for this post. Effectively content warnings.";
|
|
20967
|
+
readonly refs: ["lex:com.atproto.label.defs#selfLabels"];
|
|
20968
|
+
};
|
|
20969
|
+
readonly embedImages: {
|
|
20970
|
+
readonly type: "array";
|
|
20971
|
+
readonly items: {
|
|
20972
|
+
readonly type: "ref";
|
|
20973
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedImage";
|
|
20974
|
+
};
|
|
20975
|
+
readonly maxLength: 4;
|
|
20976
|
+
};
|
|
20977
|
+
readonly embedVideos: {
|
|
20978
|
+
readonly type: "array";
|
|
20979
|
+
readonly items: {
|
|
20980
|
+
readonly type: "ref";
|
|
20981
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedVideo";
|
|
20982
|
+
};
|
|
20983
|
+
readonly maxLength: 1;
|
|
20984
|
+
};
|
|
20985
|
+
readonly embedExternals: {
|
|
20986
|
+
readonly type: "array";
|
|
20987
|
+
readonly items: {
|
|
20988
|
+
readonly type: "ref";
|
|
20989
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedExternal";
|
|
20990
|
+
};
|
|
20991
|
+
readonly maxLength: 1;
|
|
20992
|
+
};
|
|
20993
|
+
readonly embedRecords: {
|
|
20994
|
+
readonly type: "array";
|
|
20995
|
+
readonly items: {
|
|
20996
|
+
readonly type: "ref";
|
|
20997
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedRecord";
|
|
20998
|
+
};
|
|
20999
|
+
readonly maxLength: 1;
|
|
21000
|
+
};
|
|
21001
|
+
};
|
|
21002
|
+
};
|
|
21003
|
+
readonly draftView: {
|
|
21004
|
+
readonly description: "View to present drafts data to users.";
|
|
21005
|
+
readonly type: "object";
|
|
21006
|
+
readonly required: ["id", "draft", "createdAt", "updatedAt"];
|
|
21007
|
+
readonly properties: {
|
|
21008
|
+
readonly id: {
|
|
21009
|
+
readonly description: "A TID to be used as a draft identifier.";
|
|
21010
|
+
readonly type: "string";
|
|
21011
|
+
readonly format: "tid";
|
|
21012
|
+
};
|
|
21013
|
+
readonly draft: {
|
|
21014
|
+
readonly type: "ref";
|
|
21015
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
21016
|
+
};
|
|
21017
|
+
readonly createdAt: {
|
|
21018
|
+
readonly description: "The time the draft was created.";
|
|
21019
|
+
readonly type: "string";
|
|
21020
|
+
readonly format: "datetime";
|
|
21021
|
+
};
|
|
21022
|
+
readonly updatedAt: {
|
|
21023
|
+
readonly description: "The time the draft was last updated.";
|
|
21024
|
+
readonly type: "string";
|
|
21025
|
+
readonly format: "datetime";
|
|
21026
|
+
};
|
|
21027
|
+
};
|
|
21028
|
+
};
|
|
21029
|
+
readonly draftEmbedLocalRef: {
|
|
21030
|
+
readonly type: "object";
|
|
21031
|
+
readonly required: ["path"];
|
|
21032
|
+
readonly properties: {
|
|
21033
|
+
readonly path: {
|
|
21034
|
+
readonly type: "string";
|
|
21035
|
+
readonly description: "Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.";
|
|
21036
|
+
readonly minLength: 1;
|
|
21037
|
+
readonly maxLength: 1024;
|
|
21038
|
+
};
|
|
21039
|
+
};
|
|
21040
|
+
};
|
|
21041
|
+
readonly draftEmbedCaption: {
|
|
21042
|
+
readonly type: "object";
|
|
21043
|
+
readonly required: ["lang", "content"];
|
|
21044
|
+
readonly properties: {
|
|
21045
|
+
readonly lang: {
|
|
21046
|
+
readonly type: "string";
|
|
21047
|
+
readonly format: "language";
|
|
21048
|
+
};
|
|
21049
|
+
readonly content: {
|
|
21050
|
+
readonly type: "string";
|
|
21051
|
+
readonly maxLength: 10000;
|
|
21052
|
+
};
|
|
21053
|
+
};
|
|
21054
|
+
};
|
|
21055
|
+
readonly draftEmbedImage: {
|
|
21056
|
+
readonly type: "object";
|
|
21057
|
+
readonly required: ["localRef"];
|
|
21058
|
+
readonly properties: {
|
|
21059
|
+
readonly localRef: {
|
|
21060
|
+
readonly type: "ref";
|
|
21061
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
|
|
21062
|
+
};
|
|
21063
|
+
readonly alt: {
|
|
21064
|
+
readonly type: "string";
|
|
21065
|
+
readonly maxGraphemes: 2000;
|
|
21066
|
+
};
|
|
21067
|
+
};
|
|
21068
|
+
};
|
|
21069
|
+
readonly draftEmbedVideo: {
|
|
21070
|
+
readonly type: "object";
|
|
21071
|
+
readonly required: ["localRef"];
|
|
21072
|
+
readonly properties: {
|
|
21073
|
+
readonly localRef: {
|
|
21074
|
+
readonly type: "ref";
|
|
21075
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
|
|
21076
|
+
};
|
|
21077
|
+
readonly alt: {
|
|
21078
|
+
readonly type: "string";
|
|
21079
|
+
readonly maxGraphemes: 2000;
|
|
21080
|
+
};
|
|
21081
|
+
readonly captions: {
|
|
21082
|
+
readonly type: "array";
|
|
21083
|
+
readonly items: {
|
|
21084
|
+
readonly type: "ref";
|
|
21085
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedCaption";
|
|
21086
|
+
};
|
|
21087
|
+
readonly maxLength: 20;
|
|
21088
|
+
};
|
|
21089
|
+
};
|
|
21090
|
+
};
|
|
21091
|
+
readonly draftEmbedExternal: {
|
|
21092
|
+
readonly type: "object";
|
|
21093
|
+
readonly required: ["uri"];
|
|
21094
|
+
readonly properties: {
|
|
21095
|
+
readonly uri: {
|
|
21096
|
+
readonly type: "string";
|
|
21097
|
+
readonly format: "uri";
|
|
21098
|
+
};
|
|
21099
|
+
};
|
|
21100
|
+
};
|
|
21101
|
+
readonly draftEmbedRecord: {
|
|
21102
|
+
readonly type: "object";
|
|
21103
|
+
readonly required: ["record"];
|
|
21104
|
+
readonly properties: {
|
|
21105
|
+
readonly record: {
|
|
21106
|
+
readonly type: "ref";
|
|
21107
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
21108
|
+
};
|
|
21109
|
+
};
|
|
21110
|
+
};
|
|
21111
|
+
};
|
|
21112
|
+
} | {
|
|
21113
|
+
readonly lexicon: 1;
|
|
21114
|
+
readonly id: "app.bsky.draft.deleteDraft";
|
|
21115
|
+
readonly defs: {
|
|
21116
|
+
readonly main: {
|
|
21117
|
+
readonly type: "procedure";
|
|
21118
|
+
readonly description: "Deletes a draft by ID. Requires authentication.";
|
|
21119
|
+
readonly input: {
|
|
21120
|
+
readonly encoding: "application/json";
|
|
21121
|
+
readonly schema: {
|
|
21122
|
+
readonly type: "object";
|
|
21123
|
+
readonly required: ["id"];
|
|
21124
|
+
readonly properties: {
|
|
21125
|
+
readonly id: {
|
|
21126
|
+
readonly type: "string";
|
|
21127
|
+
readonly format: "tid";
|
|
21128
|
+
};
|
|
21129
|
+
};
|
|
21130
|
+
};
|
|
21131
|
+
};
|
|
21132
|
+
};
|
|
21133
|
+
};
|
|
21134
|
+
} | {
|
|
21135
|
+
readonly lexicon: 1;
|
|
21136
|
+
readonly id: "app.bsky.draft.getDrafts";
|
|
21137
|
+
readonly defs: {
|
|
21138
|
+
readonly main: {
|
|
21139
|
+
readonly type: "query";
|
|
21140
|
+
readonly description: "Gets views of user drafts. Requires authentication.";
|
|
21141
|
+
readonly parameters: {
|
|
21142
|
+
readonly type: "params";
|
|
21143
|
+
readonly properties: {
|
|
21144
|
+
readonly limit: {
|
|
21145
|
+
readonly type: "integer";
|
|
21146
|
+
readonly minimum: 1;
|
|
21147
|
+
readonly maximum: 100;
|
|
21148
|
+
readonly default: 50;
|
|
21149
|
+
};
|
|
21150
|
+
readonly cursor: {
|
|
21151
|
+
readonly type: "string";
|
|
21152
|
+
};
|
|
21153
|
+
};
|
|
21154
|
+
};
|
|
21155
|
+
readonly output: {
|
|
21156
|
+
readonly encoding: "application/json";
|
|
21157
|
+
readonly schema: {
|
|
21158
|
+
readonly type: "object";
|
|
21159
|
+
readonly required: ["drafts"];
|
|
21160
|
+
readonly properties: {
|
|
21161
|
+
readonly cursor: {
|
|
21162
|
+
readonly type: "string";
|
|
21163
|
+
};
|
|
21164
|
+
readonly drafts: {
|
|
21165
|
+
readonly type: "array";
|
|
21166
|
+
readonly items: {
|
|
21167
|
+
readonly type: "ref";
|
|
21168
|
+
readonly ref: "lex:app.bsky.draft.defs#draftView";
|
|
21169
|
+
};
|
|
21170
|
+
};
|
|
21171
|
+
};
|
|
21172
|
+
};
|
|
21173
|
+
};
|
|
21174
|
+
};
|
|
21175
|
+
};
|
|
21176
|
+
} | {
|
|
21177
|
+
readonly lexicon: 1;
|
|
21178
|
+
readonly id: "app.bsky.draft.updateDraft";
|
|
21179
|
+
readonly defs: {
|
|
21180
|
+
readonly main: {
|
|
21181
|
+
readonly type: "procedure";
|
|
21182
|
+
readonly description: "Updates a draft using private storage (stash). If the draft ID points to a non-existing ID, the update will be silently ignored. This is done because updates don't enforce draft limit, so it accepts all writes, but will ignore invalid ones. Requires authentication.";
|
|
21183
|
+
readonly input: {
|
|
21184
|
+
readonly encoding: "application/json";
|
|
21185
|
+
readonly schema: {
|
|
21186
|
+
readonly type: "object";
|
|
21187
|
+
readonly required: ["draft"];
|
|
21188
|
+
readonly properties: {
|
|
21189
|
+
readonly draft: {
|
|
21190
|
+
readonly type: "ref";
|
|
21191
|
+
readonly ref: "lex:app.bsky.draft.defs#draftWithId";
|
|
21192
|
+
};
|
|
21193
|
+
};
|
|
21194
|
+
};
|
|
21195
|
+
};
|
|
21196
|
+
};
|
|
21197
|
+
};
|
|
20357
21198
|
} | {
|
|
20358
21199
|
readonly lexicon: 1;
|
|
20359
21200
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -20709,6 +21550,11 @@ export declare const schemas: ({
|
|
|
20709
21550
|
readonly type: "ref";
|
|
20710
21551
|
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
20711
21552
|
};
|
|
21553
|
+
readonly presentation: {
|
|
21554
|
+
readonly type: "string";
|
|
21555
|
+
readonly description: "A hint to the client about how to present the video.";
|
|
21556
|
+
readonly knownValues: ["default", "gif"];
|
|
21557
|
+
};
|
|
20712
21558
|
};
|
|
20713
21559
|
};
|
|
20714
21560
|
readonly caption: {
|
|
@@ -20751,6 +21597,11 @@ export declare const schemas: ({
|
|
|
20751
21597
|
readonly type: "ref";
|
|
20752
21598
|
readonly ref: "lex:app.bsky.embed.defs#aspectRatio";
|
|
20753
21599
|
};
|
|
21600
|
+
readonly presentation: {
|
|
21601
|
+
readonly type: "string";
|
|
21602
|
+
readonly description: "A hint to the client about how to present the video.";
|
|
21603
|
+
readonly knownValues: ["default", "gif"];
|
|
21604
|
+
};
|
|
20754
21605
|
};
|
|
20755
21606
|
};
|
|
20756
21607
|
};
|
|
@@ -25718,6 +26569,10 @@ export declare const schemas: ({
|
|
|
25718
26569
|
readonly ref: "lex:app.bsky.actor.defs#profileView";
|
|
25719
26570
|
};
|
|
25720
26571
|
};
|
|
26572
|
+
readonly recId: {
|
|
26573
|
+
readonly type: "string";
|
|
26574
|
+
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
26575
|
+
};
|
|
25721
26576
|
};
|
|
25722
26577
|
};
|
|
25723
26578
|
};
|
|
@@ -25763,6 +26618,10 @@ export declare const schemas: ({
|
|
|
25763
26618
|
readonly format: "did";
|
|
25764
26619
|
};
|
|
25765
26620
|
};
|
|
26621
|
+
readonly recId: {
|
|
26622
|
+
readonly type: "string";
|
|
26623
|
+
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
26624
|
+
};
|
|
25766
26625
|
};
|
|
25767
26626
|
};
|
|
25768
26627
|
};
|
|
@@ -30250,7 +31109,12 @@ export declare const schemas: ({
|
|
|
30250
31109
|
readonly defs: {
|
|
30251
31110
|
readonly main: {
|
|
30252
31111
|
readonly type: "procedure";
|
|
30253
|
-
readonly description: "Delete the current session. Requires auth.";
|
|
31112
|
+
readonly description: "Delete the current session. Requires auth using the 'refreshJwt' (not the 'accessJwt').";
|
|
31113
|
+
readonly errors: [{
|
|
31114
|
+
readonly name: "InvalidToken";
|
|
31115
|
+
}, {
|
|
31116
|
+
readonly name: "ExpiredToken";
|
|
31117
|
+
}];
|
|
30254
31118
|
};
|
|
30255
31119
|
};
|
|
30256
31120
|
} | {
|
|
@@ -30429,6 +31293,9 @@ export declare const schemas: ({
|
|
|
30429
31293
|
readonly type: "string";
|
|
30430
31294
|
readonly format: "did";
|
|
30431
31295
|
};
|
|
31296
|
+
readonly didDoc: {
|
|
31297
|
+
readonly type: "unknown";
|
|
31298
|
+
};
|
|
30432
31299
|
readonly email: {
|
|
30433
31300
|
readonly type: "string";
|
|
30434
31301
|
};
|
|
@@ -30438,9 +31305,6 @@ export declare const schemas: ({
|
|
|
30438
31305
|
readonly emailAuthFactor: {
|
|
30439
31306
|
readonly type: "boolean";
|
|
30440
31307
|
};
|
|
30441
|
-
readonly didDoc: {
|
|
30442
|
-
readonly type: "unknown";
|
|
30443
|
-
};
|
|
30444
31308
|
readonly active: {
|
|
30445
31309
|
readonly type: "boolean";
|
|
30446
31310
|
};
|
|
@@ -30528,6 +31392,15 @@ export declare const schemas: ({
|
|
|
30528
31392
|
readonly didDoc: {
|
|
30529
31393
|
readonly type: "unknown";
|
|
30530
31394
|
};
|
|
31395
|
+
readonly email: {
|
|
31396
|
+
readonly type: "string";
|
|
31397
|
+
};
|
|
31398
|
+
readonly emailConfirmed: {
|
|
31399
|
+
readonly type: "boolean";
|
|
31400
|
+
};
|
|
31401
|
+
readonly emailAuthFactor: {
|
|
31402
|
+
readonly type: "boolean";
|
|
31403
|
+
};
|
|
30531
31404
|
readonly active: {
|
|
30532
31405
|
readonly type: "boolean";
|
|
30533
31406
|
};
|
|
@@ -30541,6 +31414,10 @@ export declare const schemas: ({
|
|
|
30541
31414
|
};
|
|
30542
31415
|
readonly errors: [{
|
|
30543
31416
|
readonly name: "AccountTakedown";
|
|
31417
|
+
}, {
|
|
31418
|
+
readonly name: "InvalidToken";
|
|
31419
|
+
}, {
|
|
31420
|
+
readonly name: "ExpiredToken";
|
|
30544
31421
|
}];
|
|
30545
31422
|
};
|
|
30546
31423
|
};
|
|
@@ -36446,6 +37323,11 @@ export declare const ids: {
|
|
|
36446
37323
|
readonly AppBskyContactSendNotification: "app.bsky.contact.sendNotification";
|
|
36447
37324
|
readonly AppBskyContactStartPhoneVerification: "app.bsky.contact.startPhoneVerification";
|
|
36448
37325
|
readonly AppBskyContactVerifyPhone: "app.bsky.contact.verifyPhone";
|
|
37326
|
+
readonly AppBskyDraftCreateDraft: "app.bsky.draft.createDraft";
|
|
37327
|
+
readonly AppBskyDraftDefs: "app.bsky.draft.defs";
|
|
37328
|
+
readonly AppBskyDraftDeleteDraft: "app.bsky.draft.deleteDraft";
|
|
37329
|
+
readonly AppBskyDraftGetDrafts: "app.bsky.draft.getDrafts";
|
|
37330
|
+
readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
|
|
36449
37331
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
36450
37332
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
36451
37333
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|