@atproto/pds 0.4.203 → 0.4.205
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 +30 -0
- package/LICENSE.txt +1 -1
- package/dist/account-manager/helpers/token.d.ts +32 -32
- package/dist/actor-store/blob/transactor.d.ts +0 -2
- package/dist/actor-store/blob/transactor.d.ts.map +1 -1
- package/dist/actor-store/blob/transactor.js +2 -41
- package/dist/actor-store/blob/transactor.js.map +1 -1
- package/dist/actor-store/db/schema/blob.d.ts +0 -2
- package/dist/actor-store/db/schema/blob.d.ts.map +1 -1
- package/dist/actor-store/db/schema/blob.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 +792 -6
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +408 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +21 -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/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/unspecced/getSuggestedUsers.d.ts +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsers.js.map +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +1 -1
- package/dist/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -1
- package/dist/sequencer/events.d.ts +6 -6
- package/dist/sequencer/events.js +1 -1
- package/dist/sequencer/events.js.map +1 -1
- package/package.json +11 -12
- package/src/actor-store/blob/transactor.ts +2 -10
- package/src/actor-store/db/schema/blob.ts +2 -2
- package/src/lexicon/index.ts +62 -0
- package/src/lexicon/lexicons.ts +419 -2
- package/src/lexicon/types/app/bsky/actor/defs.ts +39 -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/unspecced/getSuggestedUsers.ts +1 -1
- package/src/lexicon/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +1 -1
- package/src/sequencer/events.ts +2 -2
- package/tests/file-uploads.test.ts +0 -6
- package/tsconfig.build.tsbuildinfo +1 -1
- package/dist/image/index.d.ts +0 -16
- package/dist/image/index.d.ts.map +0 -1
- package/dist/image/index.js +0 -59
- package/dist/image/index.js.map +0 -1
- package/src/image/index.ts +0 -67
|
@@ -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.";
|
|
@@ -781,6 +817,10 @@ export declare const schemaDict: {
|
|
|
781
817
|
readonly type: "boolean";
|
|
782
818
|
readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
|
|
783
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
|
+
};
|
|
784
824
|
};
|
|
785
825
|
};
|
|
786
826
|
};
|
|
@@ -2036,6 +2076,359 @@ export declare const schemaDict: {
|
|
|
2036
2076
|
};
|
|
2037
2077
|
};
|
|
2038
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
|
+
};
|
|
2039
2432
|
readonly AppBskyEmbedDefs: {
|
|
2040
2433
|
readonly lexicon: 1;
|
|
2041
2434
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -7491,7 +7884,7 @@ export declare const schemaDict: {
|
|
|
7491
7884
|
};
|
|
7492
7885
|
};
|
|
7493
7886
|
readonly recId: {
|
|
7494
|
-
readonly type: "
|
|
7887
|
+
readonly type: "string";
|
|
7495
7888
|
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
7496
7889
|
};
|
|
7497
7890
|
};
|
|
@@ -7541,7 +7934,7 @@ export declare const schemaDict: {
|
|
|
7541
7934
|
};
|
|
7542
7935
|
};
|
|
7543
7936
|
readonly recId: {
|
|
7544
|
-
readonly type: "
|
|
7937
|
+
readonly type: "string";
|
|
7545
7938
|
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
7546
7939
|
};
|
|
7547
7940
|
};
|
|
@@ -18639,6 +19032,10 @@ export declare const schemas: ({
|
|
|
18639
19032
|
readonly type: "ref";
|
|
18640
19033
|
readonly ref: "lex:app.bsky.actor.defs#profileAssociatedActivitySubscription";
|
|
18641
19034
|
};
|
|
19035
|
+
readonly germ: {
|
|
19036
|
+
readonly type: "ref";
|
|
19037
|
+
readonly ref: "lex:app.bsky.actor.defs#profileAssociatedGerm";
|
|
19038
|
+
};
|
|
18642
19039
|
};
|
|
18643
19040
|
};
|
|
18644
19041
|
readonly profileAssociatedChat: {
|
|
@@ -18651,6 +19048,20 @@ export declare const schemas: ({
|
|
|
18651
19048
|
};
|
|
18652
19049
|
};
|
|
18653
19050
|
};
|
|
19051
|
+
readonly profileAssociatedGerm: {
|
|
19052
|
+
readonly type: "object";
|
|
19053
|
+
readonly required: ["showButtonTo", "messageMeUrl"];
|
|
19054
|
+
readonly properties: {
|
|
19055
|
+
readonly messageMeUrl: {
|
|
19056
|
+
readonly type: "string";
|
|
19057
|
+
readonly format: "uri";
|
|
19058
|
+
};
|
|
19059
|
+
readonly showButtonTo: {
|
|
19060
|
+
readonly type: "string";
|
|
19061
|
+
readonly knownValues: ["usersIFollow", "everyone"];
|
|
19062
|
+
};
|
|
19063
|
+
};
|
|
19064
|
+
};
|
|
18654
19065
|
readonly profileAssociatedActivitySubscription: {
|
|
18655
19066
|
readonly type: "object";
|
|
18656
19067
|
readonly required: ["allowSubscriptions"];
|
|
@@ -18777,7 +19188,7 @@ export declare const schemas: ({
|
|
|
18777
19188
|
readonly type: "array";
|
|
18778
19189
|
readonly items: {
|
|
18779
19190
|
readonly type: "union";
|
|
18780
|
-
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"];
|
|
19191
|
+
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"];
|
|
18781
19192
|
};
|
|
18782
19193
|
};
|
|
18783
19194
|
readonly adultContentPref: {
|
|
@@ -19117,6 +19528,24 @@ export declare const schemas: ({
|
|
|
19117
19528
|
};
|
|
19118
19529
|
};
|
|
19119
19530
|
};
|
|
19531
|
+
readonly liveEventPreferences: {
|
|
19532
|
+
readonly type: "object";
|
|
19533
|
+
readonly description: "Preferences for live events.";
|
|
19534
|
+
readonly properties: {
|
|
19535
|
+
readonly hiddenFeedIds: {
|
|
19536
|
+
readonly description: "A list of feed IDs that the user has hidden from live events.";
|
|
19537
|
+
readonly type: "array";
|
|
19538
|
+
readonly items: {
|
|
19539
|
+
readonly type: "string";
|
|
19540
|
+
};
|
|
19541
|
+
};
|
|
19542
|
+
readonly hideAllFeeds: {
|
|
19543
|
+
readonly description: "Whether to hide all feeds from live events.";
|
|
19544
|
+
readonly type: "boolean";
|
|
19545
|
+
readonly default: false;
|
|
19546
|
+
};
|
|
19547
|
+
};
|
|
19548
|
+
};
|
|
19120
19549
|
readonly postInteractionSettingsPref: {
|
|
19121
19550
|
readonly type: "object";
|
|
19122
19551
|
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.";
|
|
@@ -19176,6 +19605,10 @@ export declare const schemas: ({
|
|
|
19176
19605
|
readonly type: "boolean";
|
|
19177
19606
|
readonly description: "True if the status is not expired, false if it is expired. Only present if expiration was set.";
|
|
19178
19607
|
};
|
|
19608
|
+
readonly isDisabled: {
|
|
19609
|
+
readonly type: "boolean";
|
|
19610
|
+
readonly description: "True if the user's go-live access has been disabled by a moderator, false otherwise.";
|
|
19611
|
+
};
|
|
19179
19612
|
};
|
|
19180
19613
|
};
|
|
19181
19614
|
};
|
|
@@ -20404,6 +20837,354 @@ export declare const schemas: ({
|
|
|
20404
20837
|
}];
|
|
20405
20838
|
};
|
|
20406
20839
|
};
|
|
20840
|
+
} | {
|
|
20841
|
+
readonly lexicon: 1;
|
|
20842
|
+
readonly id: "app.bsky.draft.createDraft";
|
|
20843
|
+
readonly defs: {
|
|
20844
|
+
readonly main: {
|
|
20845
|
+
readonly type: "procedure";
|
|
20846
|
+
readonly description: "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.";
|
|
20847
|
+
readonly input: {
|
|
20848
|
+
readonly encoding: "application/json";
|
|
20849
|
+
readonly schema: {
|
|
20850
|
+
readonly type: "object";
|
|
20851
|
+
readonly required: ["draft"];
|
|
20852
|
+
readonly properties: {
|
|
20853
|
+
readonly draft: {
|
|
20854
|
+
readonly type: "ref";
|
|
20855
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
20856
|
+
};
|
|
20857
|
+
};
|
|
20858
|
+
};
|
|
20859
|
+
};
|
|
20860
|
+
readonly output: {
|
|
20861
|
+
readonly encoding: "application/json";
|
|
20862
|
+
readonly schema: {
|
|
20863
|
+
readonly type: "object";
|
|
20864
|
+
readonly required: ["id"];
|
|
20865
|
+
readonly properties: {
|
|
20866
|
+
readonly id: {
|
|
20867
|
+
readonly type: "string";
|
|
20868
|
+
readonly description: "The ID of the created draft.";
|
|
20869
|
+
};
|
|
20870
|
+
};
|
|
20871
|
+
};
|
|
20872
|
+
};
|
|
20873
|
+
readonly errors: [{
|
|
20874
|
+
readonly name: "DraftLimitReached";
|
|
20875
|
+
readonly description: "Trying to insert a new draft when the limit was already reached.";
|
|
20876
|
+
}];
|
|
20877
|
+
};
|
|
20878
|
+
};
|
|
20879
|
+
} | {
|
|
20880
|
+
readonly lexicon: 1;
|
|
20881
|
+
readonly id: "app.bsky.draft.defs";
|
|
20882
|
+
readonly defs: {
|
|
20883
|
+
readonly draftWithId: {
|
|
20884
|
+
readonly description: "A draft with an identifier, used to store drafts in private storage (stash).";
|
|
20885
|
+
readonly type: "object";
|
|
20886
|
+
readonly required: ["id", "draft"];
|
|
20887
|
+
readonly properties: {
|
|
20888
|
+
readonly id: {
|
|
20889
|
+
readonly description: "A TID to be used as a draft identifier.";
|
|
20890
|
+
readonly type: "string";
|
|
20891
|
+
readonly format: "tid";
|
|
20892
|
+
};
|
|
20893
|
+
readonly draft: {
|
|
20894
|
+
readonly type: "ref";
|
|
20895
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
20896
|
+
};
|
|
20897
|
+
};
|
|
20898
|
+
};
|
|
20899
|
+
readonly draft: {
|
|
20900
|
+
readonly description: "A draft containing an array of draft posts.";
|
|
20901
|
+
readonly type: "object";
|
|
20902
|
+
readonly required: ["posts"];
|
|
20903
|
+
readonly properties: {
|
|
20904
|
+
readonly posts: {
|
|
20905
|
+
readonly description: "Array of draft posts that compose this draft.";
|
|
20906
|
+
readonly type: "array";
|
|
20907
|
+
readonly minLength: 1;
|
|
20908
|
+
readonly maxLength: 100;
|
|
20909
|
+
readonly items: {
|
|
20910
|
+
readonly type: "ref";
|
|
20911
|
+
readonly ref: "lex:app.bsky.draft.defs#draftPost";
|
|
20912
|
+
};
|
|
20913
|
+
};
|
|
20914
|
+
readonly langs: {
|
|
20915
|
+
readonly type: "array";
|
|
20916
|
+
readonly description: "Indicates human language of posts primary text content.";
|
|
20917
|
+
readonly maxLength: 3;
|
|
20918
|
+
readonly items: {
|
|
20919
|
+
readonly type: "string";
|
|
20920
|
+
readonly format: "language";
|
|
20921
|
+
};
|
|
20922
|
+
};
|
|
20923
|
+
readonly postgateEmbeddingRules: {
|
|
20924
|
+
readonly description: "Embedding rules for the postgates to be created when this draft is published.";
|
|
20925
|
+
readonly type: "array";
|
|
20926
|
+
readonly maxLength: 5;
|
|
20927
|
+
readonly items: {
|
|
20928
|
+
readonly type: "union";
|
|
20929
|
+
readonly refs: ["lex:app.bsky.feed.postgate#disableRule"];
|
|
20930
|
+
};
|
|
20931
|
+
};
|
|
20932
|
+
readonly threadgateAllow: {
|
|
20933
|
+
readonly description: "Allow-rules for the threadgate to be created when this draft is published.";
|
|
20934
|
+
readonly type: "array";
|
|
20935
|
+
readonly maxLength: 5;
|
|
20936
|
+
readonly items: {
|
|
20937
|
+
readonly type: "union";
|
|
20938
|
+
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"];
|
|
20939
|
+
};
|
|
20940
|
+
};
|
|
20941
|
+
};
|
|
20942
|
+
};
|
|
20943
|
+
readonly draftPost: {
|
|
20944
|
+
readonly description: "One of the posts that compose a draft.";
|
|
20945
|
+
readonly type: "object";
|
|
20946
|
+
readonly required: ["text"];
|
|
20947
|
+
readonly properties: {
|
|
20948
|
+
readonly text: {
|
|
20949
|
+
readonly type: "string";
|
|
20950
|
+
readonly maxLength: 3000;
|
|
20951
|
+
readonly maxGraphemes: 300;
|
|
20952
|
+
readonly description: "The primary post content.";
|
|
20953
|
+
};
|
|
20954
|
+
readonly labels: {
|
|
20955
|
+
readonly type: "union";
|
|
20956
|
+
readonly description: "Self-label values for this post. Effectively content warnings.";
|
|
20957
|
+
readonly refs: ["lex:com.atproto.label.defs#selfLabels"];
|
|
20958
|
+
};
|
|
20959
|
+
readonly embedImages: {
|
|
20960
|
+
readonly type: "array";
|
|
20961
|
+
readonly items: {
|
|
20962
|
+
readonly type: "ref";
|
|
20963
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedImage";
|
|
20964
|
+
};
|
|
20965
|
+
readonly maxLength: 4;
|
|
20966
|
+
};
|
|
20967
|
+
readonly embedVideos: {
|
|
20968
|
+
readonly type: "array";
|
|
20969
|
+
readonly items: {
|
|
20970
|
+
readonly type: "ref";
|
|
20971
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedVideo";
|
|
20972
|
+
};
|
|
20973
|
+
readonly maxLength: 1;
|
|
20974
|
+
};
|
|
20975
|
+
readonly embedExternals: {
|
|
20976
|
+
readonly type: "array";
|
|
20977
|
+
readonly items: {
|
|
20978
|
+
readonly type: "ref";
|
|
20979
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedExternal";
|
|
20980
|
+
};
|
|
20981
|
+
readonly maxLength: 1;
|
|
20982
|
+
};
|
|
20983
|
+
readonly embedRecords: {
|
|
20984
|
+
readonly type: "array";
|
|
20985
|
+
readonly items: {
|
|
20986
|
+
readonly type: "ref";
|
|
20987
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedRecord";
|
|
20988
|
+
};
|
|
20989
|
+
readonly maxLength: 1;
|
|
20990
|
+
};
|
|
20991
|
+
};
|
|
20992
|
+
};
|
|
20993
|
+
readonly draftView: {
|
|
20994
|
+
readonly description: "View to present drafts data to users.";
|
|
20995
|
+
readonly type: "object";
|
|
20996
|
+
readonly required: ["id", "draft", "createdAt", "updatedAt"];
|
|
20997
|
+
readonly properties: {
|
|
20998
|
+
readonly id: {
|
|
20999
|
+
readonly description: "A TID to be used as a draft identifier.";
|
|
21000
|
+
readonly type: "string";
|
|
21001
|
+
readonly format: "tid";
|
|
21002
|
+
};
|
|
21003
|
+
readonly draft: {
|
|
21004
|
+
readonly type: "ref";
|
|
21005
|
+
readonly ref: "lex:app.bsky.draft.defs#draft";
|
|
21006
|
+
};
|
|
21007
|
+
readonly createdAt: {
|
|
21008
|
+
readonly description: "The time the draft was created.";
|
|
21009
|
+
readonly type: "string";
|
|
21010
|
+
readonly format: "datetime";
|
|
21011
|
+
};
|
|
21012
|
+
readonly updatedAt: {
|
|
21013
|
+
readonly description: "The time the draft was last updated.";
|
|
21014
|
+
readonly type: "string";
|
|
21015
|
+
readonly format: "datetime";
|
|
21016
|
+
};
|
|
21017
|
+
};
|
|
21018
|
+
};
|
|
21019
|
+
readonly draftEmbedLocalRef: {
|
|
21020
|
+
readonly type: "object";
|
|
21021
|
+
readonly required: ["path"];
|
|
21022
|
+
readonly properties: {
|
|
21023
|
+
readonly path: {
|
|
21024
|
+
readonly type: "string";
|
|
21025
|
+
readonly description: "Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts.";
|
|
21026
|
+
readonly minLength: 1;
|
|
21027
|
+
readonly maxLength: 1024;
|
|
21028
|
+
};
|
|
21029
|
+
};
|
|
21030
|
+
};
|
|
21031
|
+
readonly draftEmbedCaption: {
|
|
21032
|
+
readonly type: "object";
|
|
21033
|
+
readonly required: ["lang", "content"];
|
|
21034
|
+
readonly properties: {
|
|
21035
|
+
readonly lang: {
|
|
21036
|
+
readonly type: "string";
|
|
21037
|
+
readonly format: "language";
|
|
21038
|
+
};
|
|
21039
|
+
readonly content: {
|
|
21040
|
+
readonly type: "string";
|
|
21041
|
+
readonly maxLength: 10000;
|
|
21042
|
+
};
|
|
21043
|
+
};
|
|
21044
|
+
};
|
|
21045
|
+
readonly draftEmbedImage: {
|
|
21046
|
+
readonly type: "object";
|
|
21047
|
+
readonly required: ["localRef"];
|
|
21048
|
+
readonly properties: {
|
|
21049
|
+
readonly localRef: {
|
|
21050
|
+
readonly type: "ref";
|
|
21051
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
|
|
21052
|
+
};
|
|
21053
|
+
readonly alt: {
|
|
21054
|
+
readonly type: "string";
|
|
21055
|
+
readonly maxGraphemes: 2000;
|
|
21056
|
+
};
|
|
21057
|
+
};
|
|
21058
|
+
};
|
|
21059
|
+
readonly draftEmbedVideo: {
|
|
21060
|
+
readonly type: "object";
|
|
21061
|
+
readonly required: ["localRef"];
|
|
21062
|
+
readonly properties: {
|
|
21063
|
+
readonly localRef: {
|
|
21064
|
+
readonly type: "ref";
|
|
21065
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedLocalRef";
|
|
21066
|
+
};
|
|
21067
|
+
readonly alt: {
|
|
21068
|
+
readonly type: "string";
|
|
21069
|
+
readonly maxGraphemes: 2000;
|
|
21070
|
+
};
|
|
21071
|
+
readonly captions: {
|
|
21072
|
+
readonly type: "array";
|
|
21073
|
+
readonly items: {
|
|
21074
|
+
readonly type: "ref";
|
|
21075
|
+
readonly ref: "lex:app.bsky.draft.defs#draftEmbedCaption";
|
|
21076
|
+
};
|
|
21077
|
+
readonly maxLength: 20;
|
|
21078
|
+
};
|
|
21079
|
+
};
|
|
21080
|
+
};
|
|
21081
|
+
readonly draftEmbedExternal: {
|
|
21082
|
+
readonly type: "object";
|
|
21083
|
+
readonly required: ["uri"];
|
|
21084
|
+
readonly properties: {
|
|
21085
|
+
readonly uri: {
|
|
21086
|
+
readonly type: "string";
|
|
21087
|
+
readonly format: "uri";
|
|
21088
|
+
};
|
|
21089
|
+
};
|
|
21090
|
+
};
|
|
21091
|
+
readonly draftEmbedRecord: {
|
|
21092
|
+
readonly type: "object";
|
|
21093
|
+
readonly required: ["record"];
|
|
21094
|
+
readonly properties: {
|
|
21095
|
+
readonly record: {
|
|
21096
|
+
readonly type: "ref";
|
|
21097
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
21098
|
+
};
|
|
21099
|
+
};
|
|
21100
|
+
};
|
|
21101
|
+
};
|
|
21102
|
+
} | {
|
|
21103
|
+
readonly lexicon: 1;
|
|
21104
|
+
readonly id: "app.bsky.draft.deleteDraft";
|
|
21105
|
+
readonly defs: {
|
|
21106
|
+
readonly main: {
|
|
21107
|
+
readonly type: "procedure";
|
|
21108
|
+
readonly description: "Deletes a draft by ID. Requires authentication.";
|
|
21109
|
+
readonly input: {
|
|
21110
|
+
readonly encoding: "application/json";
|
|
21111
|
+
readonly schema: {
|
|
21112
|
+
readonly type: "object";
|
|
21113
|
+
readonly required: ["id"];
|
|
21114
|
+
readonly properties: {
|
|
21115
|
+
readonly id: {
|
|
21116
|
+
readonly type: "string";
|
|
21117
|
+
readonly format: "tid";
|
|
21118
|
+
};
|
|
21119
|
+
};
|
|
21120
|
+
};
|
|
21121
|
+
};
|
|
21122
|
+
};
|
|
21123
|
+
};
|
|
21124
|
+
} | {
|
|
21125
|
+
readonly lexicon: 1;
|
|
21126
|
+
readonly id: "app.bsky.draft.getDrafts";
|
|
21127
|
+
readonly defs: {
|
|
21128
|
+
readonly main: {
|
|
21129
|
+
readonly type: "query";
|
|
21130
|
+
readonly description: "Gets views of user drafts. Requires authentication.";
|
|
21131
|
+
readonly parameters: {
|
|
21132
|
+
readonly type: "params";
|
|
21133
|
+
readonly properties: {
|
|
21134
|
+
readonly limit: {
|
|
21135
|
+
readonly type: "integer";
|
|
21136
|
+
readonly minimum: 1;
|
|
21137
|
+
readonly maximum: 100;
|
|
21138
|
+
readonly default: 50;
|
|
21139
|
+
};
|
|
21140
|
+
readonly cursor: {
|
|
21141
|
+
readonly type: "string";
|
|
21142
|
+
};
|
|
21143
|
+
};
|
|
21144
|
+
};
|
|
21145
|
+
readonly output: {
|
|
21146
|
+
readonly encoding: "application/json";
|
|
21147
|
+
readonly schema: {
|
|
21148
|
+
readonly type: "object";
|
|
21149
|
+
readonly required: ["drafts"];
|
|
21150
|
+
readonly properties: {
|
|
21151
|
+
readonly cursor: {
|
|
21152
|
+
readonly type: "string";
|
|
21153
|
+
};
|
|
21154
|
+
readonly drafts: {
|
|
21155
|
+
readonly type: "array";
|
|
21156
|
+
readonly items: {
|
|
21157
|
+
readonly type: "ref";
|
|
21158
|
+
readonly ref: "lex:app.bsky.draft.defs#draftView";
|
|
21159
|
+
};
|
|
21160
|
+
};
|
|
21161
|
+
};
|
|
21162
|
+
};
|
|
21163
|
+
};
|
|
21164
|
+
};
|
|
21165
|
+
};
|
|
21166
|
+
} | {
|
|
21167
|
+
readonly lexicon: 1;
|
|
21168
|
+
readonly id: "app.bsky.draft.updateDraft";
|
|
21169
|
+
readonly defs: {
|
|
21170
|
+
readonly main: {
|
|
21171
|
+
readonly type: "procedure";
|
|
21172
|
+
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.";
|
|
21173
|
+
readonly input: {
|
|
21174
|
+
readonly encoding: "application/json";
|
|
21175
|
+
readonly schema: {
|
|
21176
|
+
readonly type: "object";
|
|
21177
|
+
readonly required: ["draft"];
|
|
21178
|
+
readonly properties: {
|
|
21179
|
+
readonly draft: {
|
|
21180
|
+
readonly type: "ref";
|
|
21181
|
+
readonly ref: "lex:app.bsky.draft.defs#draftWithId";
|
|
21182
|
+
};
|
|
21183
|
+
};
|
|
21184
|
+
};
|
|
21185
|
+
};
|
|
21186
|
+
};
|
|
21187
|
+
};
|
|
20407
21188
|
} | {
|
|
20408
21189
|
readonly lexicon: 1;
|
|
20409
21190
|
readonly id: "app.bsky.embed.defs";
|
|
@@ -25769,7 +26550,7 @@ export declare const schemas: ({
|
|
|
25769
26550
|
};
|
|
25770
26551
|
};
|
|
25771
26552
|
readonly recId: {
|
|
25772
|
-
readonly type: "
|
|
26553
|
+
readonly type: "string";
|
|
25773
26554
|
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
25774
26555
|
};
|
|
25775
26556
|
};
|
|
@@ -25818,7 +26599,7 @@ export declare const schemas: ({
|
|
|
25818
26599
|
};
|
|
25819
26600
|
};
|
|
25820
26601
|
readonly recId: {
|
|
25821
|
-
readonly type: "
|
|
26602
|
+
readonly type: "string";
|
|
25822
26603
|
readonly description: "Snowflake for this recommendation, use when submitting recommendation events.";
|
|
25823
26604
|
};
|
|
25824
26605
|
};
|
|
@@ -36522,6 +37303,11 @@ export declare const ids: {
|
|
|
36522
37303
|
readonly AppBskyContactSendNotification: "app.bsky.contact.sendNotification";
|
|
36523
37304
|
readonly AppBskyContactStartPhoneVerification: "app.bsky.contact.startPhoneVerification";
|
|
36524
37305
|
readonly AppBskyContactVerifyPhone: "app.bsky.contact.verifyPhone";
|
|
37306
|
+
readonly AppBskyDraftCreateDraft: "app.bsky.draft.createDraft";
|
|
37307
|
+
readonly AppBskyDraftDefs: "app.bsky.draft.defs";
|
|
37308
|
+
readonly AppBskyDraftDeleteDraft: "app.bsky.draft.deleteDraft";
|
|
37309
|
+
readonly AppBskyDraftGetDrafts: "app.bsky.draft.getDrafts";
|
|
37310
|
+
readonly AppBskyDraftUpdateDraft: "app.bsky.draft.updateDraft";
|
|
36525
37311
|
readonly AppBskyEmbedDefs: "app.bsky.embed.defs";
|
|
36526
37312
|
readonly AppBskyEmbedExternal: "app.bsky.embed.external";
|
|
36527
37313
|
readonly AppBskyEmbedImages: "app.bsky.embed.images";
|