@atproto/pds 0.4.204 → 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 +18 -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 +784 -6
- package/dist/lexicon/lexicons.d.ts.map +1 -1
- package/dist/lexicon/lexicons.js +404 -2
- package/dist/lexicon/lexicons.js.map +1 -1
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +19 -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 +414 -2
- package/src/lexicon/types/app/bsky/actor/defs.ts +37 -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
|
@@ -89,6 +89,7 @@ export interface ProfileAssociated {
|
|
|
89
89
|
labeler?: boolean;
|
|
90
90
|
chat?: ProfileAssociatedChat;
|
|
91
91
|
activitySubscription?: ProfileAssociatedActivitySubscription;
|
|
92
|
+
germ?: ProfileAssociatedGerm;
|
|
92
93
|
}
|
|
93
94
|
export declare function isProfileAssociated<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.actor.defs", "profileAssociated">;
|
|
94
95
|
export declare function validateProfileAssociated<V>(v: V): ValidationResult<ProfileAssociated & V>;
|
|
@@ -98,6 +99,13 @@ export interface ProfileAssociatedChat {
|
|
|
98
99
|
}
|
|
99
100
|
export declare function isProfileAssociatedChat<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.actor.defs", "profileAssociatedChat">;
|
|
100
101
|
export declare function validateProfileAssociatedChat<V>(v: V): ValidationResult<ProfileAssociatedChat & V>;
|
|
102
|
+
export interface ProfileAssociatedGerm {
|
|
103
|
+
$type?: 'app.bsky.actor.defs#profileAssociatedGerm';
|
|
104
|
+
messageMeUrl: string;
|
|
105
|
+
showButtonTo: 'usersIFollow' | 'everyone' | (string & {});
|
|
106
|
+
}
|
|
107
|
+
export declare function isProfileAssociatedGerm<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.actor.defs", "profileAssociatedGerm">;
|
|
108
|
+
export declare function validateProfileAssociatedGerm<V>(v: V): ValidationResult<ProfileAssociatedGerm & V>;
|
|
101
109
|
export interface ProfileAssociatedActivitySubscription {
|
|
102
110
|
$type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription';
|
|
103
111
|
allowSubscriptions: 'followers' | 'mutuals' | 'none' | (string & {});
|
|
@@ -153,7 +161,7 @@ export interface VerificationView {
|
|
|
153
161
|
}
|
|
154
162
|
export declare function isVerificationView<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.actor.defs", "verificationView">;
|
|
155
163
|
export declare function validateVerificationView<V>(v: V): ValidationResult<VerificationView & V>;
|
|
156
|
-
export type Preferences = ($Typed<AdultContentPref> | $Typed<ContentLabelPref> | $Typed<SavedFeedsPref> | $Typed<SavedFeedsPrefV2> | $Typed<PersonalDetailsPref> | $Typed<DeclaredAgePref> | $Typed<FeedViewPref> | $Typed<ThreadViewPref> | $Typed<InterestsPref> | $Typed<MutedWordsPref> | $Typed<HiddenPostsPref> | $Typed<BskyAppStatePref> | $Typed<LabelersPref> | $Typed<PostInteractionSettingsPref> | $Typed<VerificationPrefs> | {
|
|
164
|
+
export type Preferences = ($Typed<AdultContentPref> | $Typed<ContentLabelPref> | $Typed<SavedFeedsPref> | $Typed<SavedFeedsPrefV2> | $Typed<PersonalDetailsPref> | $Typed<DeclaredAgePref> | $Typed<FeedViewPref> | $Typed<ThreadViewPref> | $Typed<InterestsPref> | $Typed<MutedWordsPref> | $Typed<HiddenPostsPref> | $Typed<BskyAppStatePref> | $Typed<LabelersPref> | $Typed<PostInteractionSettingsPref> | $Typed<VerificationPrefs> | $Typed<LiveEventPreferences> | {
|
|
157
165
|
$type: string;
|
|
158
166
|
})[];
|
|
159
167
|
export interface AdultContentPref {
|
|
@@ -324,6 +332,16 @@ export interface VerificationPrefs {
|
|
|
324
332
|
}
|
|
325
333
|
export declare function isVerificationPrefs<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.actor.defs", "verificationPrefs">;
|
|
326
334
|
export declare function validateVerificationPrefs<V>(v: V): ValidationResult<VerificationPrefs & V>;
|
|
335
|
+
/** Preferences for live events. */
|
|
336
|
+
export interface LiveEventPreferences {
|
|
337
|
+
$type?: 'app.bsky.actor.defs#liveEventPreferences';
|
|
338
|
+
/** A list of feed IDs that the user has hidden from live events. */
|
|
339
|
+
hiddenFeedIds?: string[];
|
|
340
|
+
/** Whether to hide all feeds from live events. */
|
|
341
|
+
hideAllFeeds: boolean;
|
|
342
|
+
}
|
|
343
|
+
export declare function isLiveEventPreferences<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.actor.defs", "liveEventPreferences">;
|
|
344
|
+
export declare function validateLiveEventPreferences<V>(v: V): ValidationResult<LiveEventPreferences & V>;
|
|
327
345
|
/** 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. */
|
|
328
346
|
export interface PostInteractionSettingsPref {
|
|
329
347
|
$type?: 'app.bsky.actor.defs#postInteractionSettingsPref';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,gBAAgB,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AACtF,OAAO,KAAK,KAAK,uBAAuB,MAAM,yBAAyB,CAAA;AACvE,OAAO,KAAK,KAAK,qBAAqB,MAAM,uBAAuB,CAAA;AACnE,OAAO,KAAK,KAAK,mBAAmB,MAAM,qBAAqB,CAAA;AAC/D,OAAO,KAAK,KAAK,oBAAoB,MAAM,sBAAsB,CAAA;AAMjE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,sCAAsC,CAAA;IAC9C,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,Q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BAA4B,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;IACpD,MAAM,EAAE;SAAG,CAAC,IAAI,MAAM,GAAG,OAAO;KAAE,CAAA;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAC7D,2HAA2H;IAC3H,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qGAAqG;IACrG,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2FAA2F;IAC3F,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAID,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
|
|
@@ -10,6 +10,8 @@ exports.isProfileAssociated = isProfileAssociated;
|
|
|
10
10
|
exports.validateProfileAssociated = validateProfileAssociated;
|
|
11
11
|
exports.isProfileAssociatedChat = isProfileAssociatedChat;
|
|
12
12
|
exports.validateProfileAssociatedChat = validateProfileAssociatedChat;
|
|
13
|
+
exports.isProfileAssociatedGerm = isProfileAssociatedGerm;
|
|
14
|
+
exports.validateProfileAssociatedGerm = validateProfileAssociatedGerm;
|
|
13
15
|
exports.isProfileAssociatedActivitySubscription = isProfileAssociatedActivitySubscription;
|
|
14
16
|
exports.validateProfileAssociatedActivitySubscription = validateProfileAssociatedActivitySubscription;
|
|
15
17
|
exports.isViewerState = isViewerState;
|
|
@@ -58,6 +60,8 @@ exports.isNux = isNux;
|
|
|
58
60
|
exports.validateNux = validateNux;
|
|
59
61
|
exports.isVerificationPrefs = isVerificationPrefs;
|
|
60
62
|
exports.validateVerificationPrefs = validateVerificationPrefs;
|
|
63
|
+
exports.isLiveEventPreferences = isLiveEventPreferences;
|
|
64
|
+
exports.validateLiveEventPreferences = validateLiveEventPreferences;
|
|
61
65
|
exports.isPostInteractionSettingsPref = isPostInteractionSettingsPref;
|
|
62
66
|
exports.validatePostInteractionSettingsPref = validatePostInteractionSettingsPref;
|
|
63
67
|
exports.isStatusView = isStatusView;
|
|
@@ -101,6 +105,13 @@ function isProfileAssociatedChat(v) {
|
|
|
101
105
|
function validateProfileAssociatedChat(v) {
|
|
102
106
|
return validate(v, id, hashProfileAssociatedChat);
|
|
103
107
|
}
|
|
108
|
+
const hashProfileAssociatedGerm = 'profileAssociatedGerm';
|
|
109
|
+
function isProfileAssociatedGerm(v) {
|
|
110
|
+
return is$typed(v, id, hashProfileAssociatedGerm);
|
|
111
|
+
}
|
|
112
|
+
function validateProfileAssociatedGerm(v) {
|
|
113
|
+
return validate(v, id, hashProfileAssociatedGerm);
|
|
114
|
+
}
|
|
104
115
|
const hashProfileAssociatedActivitySubscription = 'profileAssociatedActivitySubscription';
|
|
105
116
|
function isProfileAssociatedActivitySubscription(v) {
|
|
106
117
|
return is$typed(v, id, hashProfileAssociatedActivitySubscription);
|
|
@@ -269,6 +280,13 @@ function isVerificationPrefs(v) {
|
|
|
269
280
|
function validateVerificationPrefs(v) {
|
|
270
281
|
return validate(v, id, hashVerificationPrefs);
|
|
271
282
|
}
|
|
283
|
+
const hashLiveEventPreferences = 'liveEventPreferences';
|
|
284
|
+
function isLiveEventPreferences(v) {
|
|
285
|
+
return is$typed(v, id, hashLiveEventPreferences);
|
|
286
|
+
}
|
|
287
|
+
function validateLiveEventPreferences(v) {
|
|
288
|
+
return validate(v, id, hashLiveEventPreferences);
|
|
289
|
+
}
|
|
272
290
|
const hashPostInteractionSettingsPref = 'postInteractionSettingsPref';
|
|
273
291
|
function isPostInteractionSettingsPref(v) {
|
|
274
292
|
return is$typed(v, id, hashPostInteractionSettingsPref);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;AA0CA,gDAEC;AAED,4DAEC;AAuBD,sCAEC;AA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EAAE,EAAE,qBAAqB,CAAC,CAAA;AAC/C,CAAC;AAED,SAAgB,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAwB,CAAC,EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AACtE,CAAC;AAoBD,MAAM,+BAA+B,GAAG,6BAA6B,CAAA;AAErE,SAAgB,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,+BAA+B,CAAC,CAAA;AACzD,CAAC;AAED,SAAgB,mCAAmC,CAAI,CAAI;IACzD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,+BAA+B,CAChC,CAAA;AACH,CAAC;AAkBD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyNotificationDefs from '../notification/defs.js'\nimport type * as AppBskyFeedThreadgate from '../feed/threadgate.js'\nimport type * as AppBskyFeedPostgate from '../feed/postgate.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.actor.defs'\n\nexport interface ProfileViewBasic {\n $type?: 'app.bsky.actor.defs#profileViewBasic'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n avatar?: string\n associated?: ProfileAssociated\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n createdAt?: string\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewBasic = 'profileViewBasic'\n\nexport function isProfileViewBasic<V>(v: V) {\n return is$typed(v, id, hashProfileViewBasic)\n}\n\nexport function validateProfileViewBasic<V>(v: V) {\n return validate<ProfileViewBasic & V>(v, id, hashProfileViewBasic)\n}\n\nexport interface ProfileView {\n $type?: 'app.bsky.actor.defs#profileView'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n description?: string\n avatar?: string\n associated?: ProfileAssociated\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileView = 'profileView'\n\nexport function isProfileView<V>(v: V) {\n return is$typed(v, id, hashProfileView)\n}\n\nexport function validateProfileView<V>(v: V) {\n return validate<ProfileView & V>(v, id, hashProfileView)\n}\n\nexport interface ProfileViewDetailed {\n $type?: 'app.bsky.actor.defs#profileViewDetailed'\n did: string\n handle: string\n displayName?: string\n description?: string\n pronouns?: string\n website?: string\n avatar?: string\n banner?: string\n followersCount?: number\n followsCount?: number\n postsCount?: number\n associated?: ProfileAssociated\n joinedViaStarterPack?: AppBskyGraphDefs.StarterPackViewBasic\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n pinnedPost?: ComAtprotoRepoStrongRef.Main\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewDetailed = 'profileViewDetailed'\n\nexport function isProfileViewDetailed<V>(v: V) {\n return is$typed(v, id, hashProfileViewDetailed)\n}\n\nexport function validateProfileViewDetailed<V>(v: V) {\n return validate<ProfileViewDetailed & V>(v, id, hashProfileViewDetailed)\n}\n\nexport interface ProfileAssociated {\n $type?: 'app.bsky.actor.defs#profileAssociated'\n lists?: number\n feedgens?: number\n starterPacks?: number\n labeler?: boolean\n chat?: ProfileAssociatedChat\n activitySubscription?: ProfileAssociatedActivitySubscription\n}\n\nconst hashProfileAssociated = 'profileAssociated'\n\nexport function isProfileAssociated<V>(v: V) {\n return is$typed(v, id, hashProfileAssociated)\n}\n\nexport function validateProfileAssociated<V>(v: V) {\n return validate<ProfileAssociated & V>(v, id, hashProfileAssociated)\n}\n\nexport interface ProfileAssociatedChat {\n $type?: 'app.bsky.actor.defs#profileAssociatedChat'\n allowIncoming: 'all' | 'none' | 'following' | (string & {})\n}\n\nconst hashProfileAssociatedChat = 'profileAssociatedChat'\n\nexport function isProfileAssociatedChat<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedChat)\n}\n\nexport function validateProfileAssociatedChat<V>(v: V) {\n return validate<ProfileAssociatedChat & V>(v, id, hashProfileAssociatedChat)\n}\n\nexport interface ProfileAssociatedActivitySubscription {\n $type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription'\n allowSubscriptions: 'followers' | 'mutuals' | 'none' | (string & {})\n}\n\nconst hashProfileAssociatedActivitySubscription =\n 'profileAssociatedActivitySubscription'\n\nexport function isProfileAssociatedActivitySubscription<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedActivitySubscription)\n}\n\nexport function validateProfileAssociatedActivitySubscription<V>(v: V) {\n return validate<ProfileAssociatedActivitySubscription & V>(\n v,\n id,\n hashProfileAssociatedActivitySubscription,\n )\n}\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.actor.defs#viewerState'\n muted?: boolean\n mutedByList?: AppBskyGraphDefs.ListViewBasic\n blockedBy?: boolean\n blocking?: string\n blockingByList?: AppBskyGraphDefs.ListViewBasic\n following?: string\n followedBy?: string\n knownFollowers?: KnownFollowers\n activitySubscription?: AppBskyNotificationDefs.ActivitySubscription\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\n/** The subject's followers whom you also follow */\nexport interface KnownFollowers {\n $type?: 'app.bsky.actor.defs#knownFollowers'\n count: number\n followers: ProfileViewBasic[]\n}\n\nconst hashKnownFollowers = 'knownFollowers'\n\nexport function isKnownFollowers<V>(v: V) {\n return is$typed(v, id, hashKnownFollowers)\n}\n\nexport function validateKnownFollowers<V>(v: V) {\n return validate<KnownFollowers & V>(v, id, hashKnownFollowers)\n}\n\n/** Represents the verification information about the user this object is attached to. */\nexport interface VerificationState {\n $type?: 'app.bsky.actor.defs#verificationState'\n /** All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. */\n verifications: VerificationView[]\n /** The user's status as a verified account. */\n verifiedStatus: 'valid' | 'invalid' | 'none' | (string & {})\n /** The user's status as a trusted verifier. */\n trustedVerifierStatus: 'valid' | 'invalid' | 'none' | (string & {})\n}\n\nconst hashVerificationState = 'verificationState'\n\nexport function isVerificationState<V>(v: V) {\n return is$typed(v, id, hashVerificationState)\n}\n\nexport function validateVerificationState<V>(v: V) {\n return validate<VerificationState & V>(v, id, hashVerificationState)\n}\n\n/** An individual verification for an associated subject. */\nexport interface VerificationView {\n $type?: 'app.bsky.actor.defs#verificationView'\n /** The user who issued this verification. */\n issuer: string\n /** The AT-URI of the verification record. */\n uri: string\n /** True if the verification passes validation, otherwise false. */\n isValid: boolean\n /** Timestamp when the verification was created. */\n createdAt: string\n}\n\nconst hashVerificationView = 'verificationView'\n\nexport function isVerificationView<V>(v: V) {\n return is$typed(v, id, hashVerificationView)\n}\n\nexport function validateVerificationView<V>(v: V) {\n return validate<VerificationView & V>(v, id, hashVerificationView)\n}\n\nexport type Preferences = (\n | $Typed<AdultContentPref>\n | $Typed<ContentLabelPref>\n | $Typed<SavedFeedsPref>\n | $Typed<SavedFeedsPrefV2>\n | $Typed<PersonalDetailsPref>\n | $Typed<DeclaredAgePref>\n | $Typed<FeedViewPref>\n | $Typed<ThreadViewPref>\n | $Typed<InterestsPref>\n | $Typed<MutedWordsPref>\n | $Typed<HiddenPostsPref>\n | $Typed<BskyAppStatePref>\n | $Typed<LabelersPref>\n | $Typed<PostInteractionSettingsPref>\n | $Typed<VerificationPrefs>\n | { $type: string }\n)[]\n\nexport interface AdultContentPref {\n $type?: 'app.bsky.actor.defs#adultContentPref'\n enabled: boolean\n}\n\nconst hashAdultContentPref = 'adultContentPref'\n\nexport function isAdultContentPref<V>(v: V) {\n return is$typed(v, id, hashAdultContentPref)\n}\n\nexport function validateAdultContentPref<V>(v: V) {\n return validate<AdultContentPref & V>(v, id, hashAdultContentPref)\n}\n\nexport interface ContentLabelPref {\n $type?: 'app.bsky.actor.defs#contentLabelPref'\n /** Which labeler does this preference apply to? If undefined, applies globally. */\n labelerDid?: string\n label: string\n visibility: 'ignore' | 'show' | 'warn' | 'hide' | (string & {})\n}\n\nconst hashContentLabelPref = 'contentLabelPref'\n\nexport function isContentLabelPref<V>(v: V) {\n return is$typed(v, id, hashContentLabelPref)\n}\n\nexport function validateContentLabelPref<V>(v: V) {\n return validate<ContentLabelPref & V>(v, id, hashContentLabelPref)\n}\n\nexport interface SavedFeed {\n $type?: 'app.bsky.actor.defs#savedFeed'\n id: string\n type: 'feed' | 'list' | 'timeline' | (string & {})\n value: string\n pinned: boolean\n}\n\nconst hashSavedFeed = 'savedFeed'\n\nexport function isSavedFeed<V>(v: V) {\n return is$typed(v, id, hashSavedFeed)\n}\n\nexport function validateSavedFeed<V>(v: V) {\n return validate<SavedFeed & V>(v, id, hashSavedFeed)\n}\n\nexport interface SavedFeedsPrefV2 {\n $type?: 'app.bsky.actor.defs#savedFeedsPrefV2'\n items: SavedFeed[]\n}\n\nconst hashSavedFeedsPrefV2 = 'savedFeedsPrefV2'\n\nexport function isSavedFeedsPrefV2<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPrefV2)\n}\n\nexport function validateSavedFeedsPrefV2<V>(v: V) {\n return validate<SavedFeedsPrefV2 & V>(v, id, hashSavedFeedsPrefV2)\n}\n\nexport interface SavedFeedsPref {\n $type?: 'app.bsky.actor.defs#savedFeedsPref'\n pinned: string[]\n saved: string[]\n timelineIndex?: number\n}\n\nconst hashSavedFeedsPref = 'savedFeedsPref'\n\nexport function isSavedFeedsPref<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPref)\n}\n\nexport function validateSavedFeedsPref<V>(v: V) {\n return validate<SavedFeedsPref & V>(v, id, hashSavedFeedsPref)\n}\n\nexport interface PersonalDetailsPref {\n $type?: 'app.bsky.actor.defs#personalDetailsPref'\n /** The birth date of account owner. */\n birthDate?: string\n}\n\nconst hashPersonalDetailsPref = 'personalDetailsPref'\n\nexport function isPersonalDetailsPref<V>(v: V) {\n return is$typed(v, id, hashPersonalDetailsPref)\n}\n\nexport function validatePersonalDetailsPref<V>(v: V) {\n return validate<PersonalDetailsPref & V>(v, id, hashPersonalDetailsPref)\n}\n\n/** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */\nexport interface DeclaredAgePref {\n $type?: 'app.bsky.actor.defs#declaredAgePref'\n /** Indicates if the user has declared that they are over 13 years of age. */\n isOverAge13?: boolean\n /** Indicates if the user has declared that they are over 16 years of age. */\n isOverAge16?: boolean\n /** Indicates if the user has declared that they are over 18 years of age. */\n isOverAge18?: boolean\n}\n\nconst hashDeclaredAgePref = 'declaredAgePref'\n\nexport function isDeclaredAgePref<V>(v: V) {\n return is$typed(v, id, hashDeclaredAgePref)\n}\n\nexport function validateDeclaredAgePref<V>(v: V) {\n return validate<DeclaredAgePref & V>(v, id, hashDeclaredAgePref)\n}\n\nexport interface FeedViewPref {\n $type?: 'app.bsky.actor.defs#feedViewPref'\n /** The URI of the feed, or an identifier which describes the feed. */\n feed: string\n /** Hide replies in the feed. */\n hideReplies?: boolean\n /** Hide replies in the feed if they are not by followed users. */\n hideRepliesByUnfollowed: boolean\n /** Hide replies in the feed if they do not have this number of likes. */\n hideRepliesByLikeCount?: number\n /** Hide reposts in the feed. */\n hideReposts?: boolean\n /** Hide quote posts in the feed. */\n hideQuotePosts?: boolean\n}\n\nconst hashFeedViewPref = 'feedViewPref'\n\nexport function isFeedViewPref<V>(v: V) {\n return is$typed(v, id, hashFeedViewPref)\n}\n\nexport function validateFeedViewPref<V>(v: V) {\n return validate<FeedViewPref & V>(v, id, hashFeedViewPref)\n}\n\nexport interface ThreadViewPref {\n $type?: 'app.bsky.actor.defs#threadViewPref'\n /** Sorting mode for threads. */\n sort?:\n | 'oldest'\n | 'newest'\n | 'most-likes'\n | 'random'\n | 'hotness'\n | (string & {})\n}\n\nconst hashThreadViewPref = 'threadViewPref'\n\nexport function isThreadViewPref<V>(v: V) {\n return is$typed(v, id, hashThreadViewPref)\n}\n\nexport function validateThreadViewPref<V>(v: V) {\n return validate<ThreadViewPref & V>(v, id, hashThreadViewPref)\n}\n\nexport interface InterestsPref {\n $type?: 'app.bsky.actor.defs#interestsPref'\n /** A list of tags which describe the account owner's interests gathered during onboarding. */\n tags: string[]\n}\n\nconst hashInterestsPref = 'interestsPref'\n\nexport function isInterestsPref<V>(v: V) {\n return is$typed(v, id, hashInterestsPref)\n}\n\nexport function validateInterestsPref<V>(v: V) {\n return validate<InterestsPref & V>(v, id, hashInterestsPref)\n}\n\nexport type MutedWordTarget = 'content' | 'tag' | (string & {})\n\n/** A word that the account owner has muted. */\nexport interface MutedWord {\n $type?: 'app.bsky.actor.defs#mutedWord'\n id?: string\n /** The muted word itself. */\n value: string\n /** The intended targets of the muted word. */\n targets: MutedWordTarget[]\n /** Groups of users to apply the muted word to. If undefined, applies to all users. */\n actorTarget: 'all' | 'exclude-following' | (string & {})\n /** The date and time at which the muted word will expire and no longer be applied. */\n expiresAt?: string\n}\n\nconst hashMutedWord = 'mutedWord'\n\nexport function isMutedWord<V>(v: V) {\n return is$typed(v, id, hashMutedWord)\n}\n\nexport function validateMutedWord<V>(v: V) {\n return validate<MutedWord & V>(v, id, hashMutedWord)\n}\n\nexport interface MutedWordsPref {\n $type?: 'app.bsky.actor.defs#mutedWordsPref'\n /** A list of words the account owner has muted. */\n items: MutedWord[]\n}\n\nconst hashMutedWordsPref = 'mutedWordsPref'\n\nexport function isMutedWordsPref<V>(v: V) {\n return is$typed(v, id, hashMutedWordsPref)\n}\n\nexport function validateMutedWordsPref<V>(v: V) {\n return validate<MutedWordsPref & V>(v, id, hashMutedWordsPref)\n}\n\nexport interface HiddenPostsPref {\n $type?: 'app.bsky.actor.defs#hiddenPostsPref'\n /** A list of URIs of posts the account owner has hidden. */\n items: string[]\n}\n\nconst hashHiddenPostsPref = 'hiddenPostsPref'\n\nexport function isHiddenPostsPref<V>(v: V) {\n return is$typed(v, id, hashHiddenPostsPref)\n}\n\nexport function validateHiddenPostsPref<V>(v: V) {\n return validate<HiddenPostsPref & V>(v, id, hashHiddenPostsPref)\n}\n\nexport interface LabelersPref {\n $type?: 'app.bsky.actor.defs#labelersPref'\n labelers: LabelerPrefItem[]\n}\n\nconst hashLabelersPref = 'labelersPref'\n\nexport function isLabelersPref<V>(v: V) {\n return is$typed(v, id, hashLabelersPref)\n}\n\nexport function validateLabelersPref<V>(v: V) {\n return validate<LabelersPref & V>(v, id, hashLabelersPref)\n}\n\nexport interface LabelerPrefItem {\n $type?: 'app.bsky.actor.defs#labelerPrefItem'\n did: string\n}\n\nconst hashLabelerPrefItem = 'labelerPrefItem'\n\nexport function isLabelerPrefItem<V>(v: V) {\n return is$typed(v, id, hashLabelerPrefItem)\n}\n\nexport function validateLabelerPrefItem<V>(v: V) {\n return validate<LabelerPrefItem & V>(v, id, hashLabelerPrefItem)\n}\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\nexport interface BskyAppStatePref {\n $type?: 'app.bsky.actor.defs#bskyAppStatePref'\n activeProgressGuide?: BskyAppProgressGuide\n /** An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */\n queuedNudges?: string[]\n /** Storage for NUXs the user has encountered. */\n nuxs?: Nux[]\n}\n\nconst hashBskyAppStatePref = 'bskyAppStatePref'\n\nexport function isBskyAppStatePref<V>(v: V) {\n return is$typed(v, id, hashBskyAppStatePref)\n}\n\nexport function validateBskyAppStatePref<V>(v: V) {\n return validate<BskyAppStatePref & V>(v, id, hashBskyAppStatePref)\n}\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\nexport interface BskyAppProgressGuide {\n $type?: 'app.bsky.actor.defs#bskyAppProgressGuide'\n guide: string\n}\n\nconst hashBskyAppProgressGuide = 'bskyAppProgressGuide'\n\nexport function isBskyAppProgressGuide<V>(v: V) {\n return is$typed(v, id, hashBskyAppProgressGuide)\n}\n\nexport function validateBskyAppProgressGuide<V>(v: V) {\n return validate<BskyAppProgressGuide & V>(v, id, hashBskyAppProgressGuide)\n}\n\n/** A new user experiences (NUX) storage object */\nexport interface Nux {\n $type?: 'app.bsky.actor.defs#nux'\n id: string\n completed: boolean\n /** Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. */\n data?: string\n /** The date and time at which the NUX will expire and should be considered completed. */\n expiresAt?: string\n}\n\nconst hashNux = 'nux'\n\nexport function isNux<V>(v: V) {\n return is$typed(v, id, hashNux)\n}\n\nexport function validateNux<V>(v: V) {\n return validate<Nux & V>(v, id, hashNux)\n}\n\n/** Preferences for how verified accounts appear in the app. */\nexport interface VerificationPrefs {\n $type?: 'app.bsky.actor.defs#verificationPrefs'\n /** Hide the blue check badges for verified accounts and trusted verifiers. */\n hideBadges: boolean\n}\n\nconst hashVerificationPrefs = 'verificationPrefs'\n\nexport function isVerificationPrefs<V>(v: V) {\n return is$typed(v, id, hashVerificationPrefs)\n}\n\nexport function validateVerificationPrefs<V>(v: V) {\n return validate<VerificationPrefs & V>(v, id, hashVerificationPrefs)\n}\n\n/** 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. */\nexport interface PostInteractionSettingsPref {\n $type?: 'app.bsky.actor.defs#postInteractionSettingsPref'\n /** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */\n threadgateAllowRules?: (\n | $Typed<AppBskyFeedThreadgate.MentionRule>\n | $Typed<AppBskyFeedThreadgate.FollowerRule>\n | $Typed<AppBskyFeedThreadgate.FollowingRule>\n | $Typed<AppBskyFeedThreadgate.ListRule>\n | { $type: string }\n )[]\n /** Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */\n postgateEmbeddingRules?: (\n | $Typed<AppBskyFeedPostgate.DisableRule>\n | { $type: string }\n )[]\n}\n\nconst hashPostInteractionSettingsPref = 'postInteractionSettingsPref'\n\nexport function isPostInteractionSettingsPref<V>(v: V) {\n return is$typed(v, id, hashPostInteractionSettingsPref)\n}\n\nexport function validatePostInteractionSettingsPref<V>(v: V) {\n return validate<PostInteractionSettingsPref & V>(\n v,\n id,\n hashPostInteractionSettingsPref,\n )\n}\n\nexport interface StatusView {\n $type?: 'app.bsky.actor.defs#statusView'\n uri?: string\n cid?: string\n /** The status for the account. */\n status: 'app.bsky.actor.status#live' | (string & {})\n record: { [_ in string]: unknown }\n embed?: $Typed<AppBskyEmbedExternal.View> | { $type: string }\n /** The date when this status will expire. The application might choose to no longer return the status after expiration. */\n expiresAt?: string\n /** True if the status is not expired, false if it is expired. Only present if expiration was set. */\n isActive?: boolean\n /** True if the user's go-live access has been disabled by a moderator, false otherwise. */\n isDisabled?: boolean\n}\n\nconst hashStatusView = 'statusView'\n\nexport function isStatusView<V>(v: V) {\n return is$typed(v, id, hashStatusView)\n}\n\nexport function validateStatusView<V>(v: V) {\n return validate<StatusView & V>(v, id, hashStatusView)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/actor/defs.ts"],"names":[],"mappings":";;AA0CA,gDAEC;AAED,4DAEC;AAuBD,sCAEC;AAED,kDAEC;AA8BD,sDAEC;AAED,kEAEC;AAeD,kDAEC;AAED,8DAEC;AASD,0DAEC;AAED,sEAEC;AAUD,0DAEC;AAED,sEAEC;AAUD,0FAEC;AAED,sGAMC;AAkBD,sCAEC;AAED,kDAEC;AAWD,4CAEC;AAED,wDAEC;AAeD,kDAEC;AAED,8DAEC;AAiBD,gDAEC;AAED,4DAEC;AA6BD,gDAEC;AAED,4DAEC;AAYD,gDAEC;AAED,4DAEC;AAYD,kCAEC;AAED,8CAEC;AASD,gDAEC;AAED,4DAEC;AAWD,4CAEC;AAED,wDAEC;AAUD,sDAEC;AAED,kEAEC;AAeD,8CAEC;AAED,0DAEC;AAoBD,wCAEC;AAED,oDAEC;AAgBD,4CAEC;AAED,wDAEC;AAUD,0CAEC;AAED,sDAEC;AAoBD,kCAEC;AAED,8CAEC;AAUD,4CAEC;AAED,wDAEC;AAUD,8CAEC;AAED,0DAEC;AASD,wCAEC;AAED,oDAEC;AASD,8CAEC;AAED,0DAEC;AAcD,gDAEC;AAED,4DAEC;AAUD,wDAEC;AAED,oEAEC;AAeD,sBAEC;AAED,kCAEC;AAWD,kDAEC;AAED,8DAEC;AAaD,wDAEC;AAED,oEAEC;AAsBD,sEAEC;AAED,kFAMC;AAoBD,oCAEC;AAED,gDAEC;AApsBD,mDAA4D;AAC5D,2CAIyB;AASzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qBAAqB,CAAA;AAmBhC,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;A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YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,SAAgB,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAiB,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxD,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyGraphDefs from '../graph/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as AppBskyNotificationDefs from '../notification/defs.js'\nimport type * as AppBskyFeedThreadgate from '../feed/threadgate.js'\nimport type * as AppBskyFeedPostgate from '../feed/postgate.js'\nimport type * as AppBskyEmbedExternal from '../embed/external.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.actor.defs'\n\nexport interface ProfileViewBasic {\n $type?: 'app.bsky.actor.defs#profileViewBasic'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n avatar?: string\n associated?: ProfileAssociated\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n createdAt?: string\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewBasic = 'profileViewBasic'\n\nexport function isProfileViewBasic<V>(v: V) {\n return is$typed(v, id, hashProfileViewBasic)\n}\n\nexport function validateProfileViewBasic<V>(v: V) {\n return validate<ProfileViewBasic & V>(v, id, hashProfileViewBasic)\n}\n\nexport interface ProfileView {\n $type?: 'app.bsky.actor.defs#profileView'\n did: string\n handle: string\n displayName?: string\n pronouns?: string\n description?: string\n avatar?: string\n associated?: ProfileAssociated\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileView = 'profileView'\n\nexport function isProfileView<V>(v: V) {\n return is$typed(v, id, hashProfileView)\n}\n\nexport function validateProfileView<V>(v: V) {\n return validate<ProfileView & V>(v, id, hashProfileView)\n}\n\nexport interface ProfileViewDetailed {\n $type?: 'app.bsky.actor.defs#profileViewDetailed'\n did: string\n handle: string\n displayName?: string\n description?: string\n pronouns?: string\n website?: string\n avatar?: string\n banner?: string\n followersCount?: number\n followsCount?: number\n postsCount?: number\n associated?: ProfileAssociated\n joinedViaStarterPack?: AppBskyGraphDefs.StarterPackViewBasic\n indexedAt?: string\n createdAt?: string\n viewer?: ViewerState\n labels?: ComAtprotoLabelDefs.Label[]\n pinnedPost?: ComAtprotoRepoStrongRef.Main\n verification?: VerificationState\n status?: StatusView\n /** Debug information for internal development */\n debug?: { [_ in string]: unknown }\n}\n\nconst hashProfileViewDetailed = 'profileViewDetailed'\n\nexport function isProfileViewDetailed<V>(v: V) {\n return is$typed(v, id, hashProfileViewDetailed)\n}\n\nexport function validateProfileViewDetailed<V>(v: V) {\n return validate<ProfileViewDetailed & V>(v, id, hashProfileViewDetailed)\n}\n\nexport interface ProfileAssociated {\n $type?: 'app.bsky.actor.defs#profileAssociated'\n lists?: number\n feedgens?: number\n starterPacks?: number\n labeler?: boolean\n chat?: ProfileAssociatedChat\n activitySubscription?: ProfileAssociatedActivitySubscription\n germ?: ProfileAssociatedGerm\n}\n\nconst hashProfileAssociated = 'profileAssociated'\n\nexport function isProfileAssociated<V>(v: V) {\n return is$typed(v, id, hashProfileAssociated)\n}\n\nexport function validateProfileAssociated<V>(v: V) {\n return validate<ProfileAssociated & V>(v, id, hashProfileAssociated)\n}\n\nexport interface ProfileAssociatedChat {\n $type?: 'app.bsky.actor.defs#profileAssociatedChat'\n allowIncoming: 'all' | 'none' | 'following' | (string & {})\n}\n\nconst hashProfileAssociatedChat = 'profileAssociatedChat'\n\nexport function isProfileAssociatedChat<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedChat)\n}\n\nexport function validateProfileAssociatedChat<V>(v: V) {\n return validate<ProfileAssociatedChat & V>(v, id, hashProfileAssociatedChat)\n}\n\nexport interface ProfileAssociatedGerm {\n $type?: 'app.bsky.actor.defs#profileAssociatedGerm'\n messageMeUrl: string\n showButtonTo: 'usersIFollow' | 'everyone' | (string & {})\n}\n\nconst hashProfileAssociatedGerm = 'profileAssociatedGerm'\n\nexport function isProfileAssociatedGerm<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedGerm)\n}\n\nexport function validateProfileAssociatedGerm<V>(v: V) {\n return validate<ProfileAssociatedGerm & V>(v, id, hashProfileAssociatedGerm)\n}\n\nexport interface ProfileAssociatedActivitySubscription {\n $type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription'\n allowSubscriptions: 'followers' | 'mutuals' | 'none' | (string & {})\n}\n\nconst hashProfileAssociatedActivitySubscription =\n 'profileAssociatedActivitySubscription'\n\nexport function isProfileAssociatedActivitySubscription<V>(v: V) {\n return is$typed(v, id, hashProfileAssociatedActivitySubscription)\n}\n\nexport function validateProfileAssociatedActivitySubscription<V>(v: V) {\n return validate<ProfileAssociatedActivitySubscription & V>(\n v,\n id,\n hashProfileAssociatedActivitySubscription,\n )\n}\n\n/** Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests. */\nexport interface ViewerState {\n $type?: 'app.bsky.actor.defs#viewerState'\n muted?: boolean\n mutedByList?: AppBskyGraphDefs.ListViewBasic\n blockedBy?: boolean\n blocking?: string\n blockingByList?: AppBskyGraphDefs.ListViewBasic\n following?: string\n followedBy?: string\n knownFollowers?: KnownFollowers\n activitySubscription?: AppBskyNotificationDefs.ActivitySubscription\n}\n\nconst hashViewerState = 'viewerState'\n\nexport function isViewerState<V>(v: V) {\n return is$typed(v, id, hashViewerState)\n}\n\nexport function validateViewerState<V>(v: V) {\n return validate<ViewerState & V>(v, id, hashViewerState)\n}\n\n/** The subject's followers whom you also follow */\nexport interface KnownFollowers {\n $type?: 'app.bsky.actor.defs#knownFollowers'\n count: number\n followers: ProfileViewBasic[]\n}\n\nconst hashKnownFollowers = 'knownFollowers'\n\nexport function isKnownFollowers<V>(v: V) {\n return is$typed(v, id, hashKnownFollowers)\n}\n\nexport function validateKnownFollowers<V>(v: V) {\n return validate<KnownFollowers & V>(v, id, hashKnownFollowers)\n}\n\n/** Represents the verification information about the user this object is attached to. */\nexport interface VerificationState {\n $type?: 'app.bsky.actor.defs#verificationState'\n /** All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included. */\n verifications: VerificationView[]\n /** The user's status as a verified account. */\n verifiedStatus: 'valid' | 'invalid' | 'none' | (string & {})\n /** The user's status as a trusted verifier. */\n trustedVerifierStatus: 'valid' | 'invalid' | 'none' | (string & {})\n}\n\nconst hashVerificationState = 'verificationState'\n\nexport function isVerificationState<V>(v: V) {\n return is$typed(v, id, hashVerificationState)\n}\n\nexport function validateVerificationState<V>(v: V) {\n return validate<VerificationState & V>(v, id, hashVerificationState)\n}\n\n/** An individual verification for an associated subject. */\nexport interface VerificationView {\n $type?: 'app.bsky.actor.defs#verificationView'\n /** The user who issued this verification. */\n issuer: string\n /** The AT-URI of the verification record. */\n uri: string\n /** True if the verification passes validation, otherwise false. */\n isValid: boolean\n /** Timestamp when the verification was created. */\n createdAt: string\n}\n\nconst hashVerificationView = 'verificationView'\n\nexport function isVerificationView<V>(v: V) {\n return is$typed(v, id, hashVerificationView)\n}\n\nexport function validateVerificationView<V>(v: V) {\n return validate<VerificationView & V>(v, id, hashVerificationView)\n}\n\nexport type Preferences = (\n | $Typed<AdultContentPref>\n | $Typed<ContentLabelPref>\n | $Typed<SavedFeedsPref>\n | $Typed<SavedFeedsPrefV2>\n | $Typed<PersonalDetailsPref>\n | $Typed<DeclaredAgePref>\n | $Typed<FeedViewPref>\n | $Typed<ThreadViewPref>\n | $Typed<InterestsPref>\n | $Typed<MutedWordsPref>\n | $Typed<HiddenPostsPref>\n | $Typed<BskyAppStatePref>\n | $Typed<LabelersPref>\n | $Typed<PostInteractionSettingsPref>\n | $Typed<VerificationPrefs>\n | $Typed<LiveEventPreferences>\n | { $type: string }\n)[]\n\nexport interface AdultContentPref {\n $type?: 'app.bsky.actor.defs#adultContentPref'\n enabled: boolean\n}\n\nconst hashAdultContentPref = 'adultContentPref'\n\nexport function isAdultContentPref<V>(v: V) {\n return is$typed(v, id, hashAdultContentPref)\n}\n\nexport function validateAdultContentPref<V>(v: V) {\n return validate<AdultContentPref & V>(v, id, hashAdultContentPref)\n}\n\nexport interface ContentLabelPref {\n $type?: 'app.bsky.actor.defs#contentLabelPref'\n /** Which labeler does this preference apply to? If undefined, applies globally. */\n labelerDid?: string\n label: string\n visibility: 'ignore' | 'show' | 'warn' | 'hide' | (string & {})\n}\n\nconst hashContentLabelPref = 'contentLabelPref'\n\nexport function isContentLabelPref<V>(v: V) {\n return is$typed(v, id, hashContentLabelPref)\n}\n\nexport function validateContentLabelPref<V>(v: V) {\n return validate<ContentLabelPref & V>(v, id, hashContentLabelPref)\n}\n\nexport interface SavedFeed {\n $type?: 'app.bsky.actor.defs#savedFeed'\n id: string\n type: 'feed' | 'list' | 'timeline' | (string & {})\n value: string\n pinned: boolean\n}\n\nconst hashSavedFeed = 'savedFeed'\n\nexport function isSavedFeed<V>(v: V) {\n return is$typed(v, id, hashSavedFeed)\n}\n\nexport function validateSavedFeed<V>(v: V) {\n return validate<SavedFeed & V>(v, id, hashSavedFeed)\n}\n\nexport interface SavedFeedsPrefV2 {\n $type?: 'app.bsky.actor.defs#savedFeedsPrefV2'\n items: SavedFeed[]\n}\n\nconst hashSavedFeedsPrefV2 = 'savedFeedsPrefV2'\n\nexport function isSavedFeedsPrefV2<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPrefV2)\n}\n\nexport function validateSavedFeedsPrefV2<V>(v: V) {\n return validate<SavedFeedsPrefV2 & V>(v, id, hashSavedFeedsPrefV2)\n}\n\nexport interface SavedFeedsPref {\n $type?: 'app.bsky.actor.defs#savedFeedsPref'\n pinned: string[]\n saved: string[]\n timelineIndex?: number\n}\n\nconst hashSavedFeedsPref = 'savedFeedsPref'\n\nexport function isSavedFeedsPref<V>(v: V) {\n return is$typed(v, id, hashSavedFeedsPref)\n}\n\nexport function validateSavedFeedsPref<V>(v: V) {\n return validate<SavedFeedsPref & V>(v, id, hashSavedFeedsPref)\n}\n\nexport interface PersonalDetailsPref {\n $type?: 'app.bsky.actor.defs#personalDetailsPref'\n /** The birth date of account owner. */\n birthDate?: string\n}\n\nconst hashPersonalDetailsPref = 'personalDetailsPref'\n\nexport function isPersonalDetailsPref<V>(v: V) {\n return is$typed(v, id, hashPersonalDetailsPref)\n}\n\nexport function validatePersonalDetailsPref<V>(v: V) {\n return validate<PersonalDetailsPref & V>(v, id, hashPersonalDetailsPref)\n}\n\n/** Read-only preference containing value(s) inferred from the user's declared birthdate. Absence of this preference object in the response indicates that the user has not made a declaration. */\nexport interface DeclaredAgePref {\n $type?: 'app.bsky.actor.defs#declaredAgePref'\n /** Indicates if the user has declared that they are over 13 years of age. */\n isOverAge13?: boolean\n /** Indicates if the user has declared that they are over 16 years of age. */\n isOverAge16?: boolean\n /** Indicates if the user has declared that they are over 18 years of age. */\n isOverAge18?: boolean\n}\n\nconst hashDeclaredAgePref = 'declaredAgePref'\n\nexport function isDeclaredAgePref<V>(v: V) {\n return is$typed(v, id, hashDeclaredAgePref)\n}\n\nexport function validateDeclaredAgePref<V>(v: V) {\n return validate<DeclaredAgePref & V>(v, id, hashDeclaredAgePref)\n}\n\nexport interface FeedViewPref {\n $type?: 'app.bsky.actor.defs#feedViewPref'\n /** The URI of the feed, or an identifier which describes the feed. */\n feed: string\n /** Hide replies in the feed. */\n hideReplies?: boolean\n /** Hide replies in the feed if they are not by followed users. */\n hideRepliesByUnfollowed: boolean\n /** Hide replies in the feed if they do not have this number of likes. */\n hideRepliesByLikeCount?: number\n /** Hide reposts in the feed. */\n hideReposts?: boolean\n /** Hide quote posts in the feed. */\n hideQuotePosts?: boolean\n}\n\nconst hashFeedViewPref = 'feedViewPref'\n\nexport function isFeedViewPref<V>(v: V) {\n return is$typed(v, id, hashFeedViewPref)\n}\n\nexport function validateFeedViewPref<V>(v: V) {\n return validate<FeedViewPref & V>(v, id, hashFeedViewPref)\n}\n\nexport interface ThreadViewPref {\n $type?: 'app.bsky.actor.defs#threadViewPref'\n /** Sorting mode for threads. */\n sort?:\n | 'oldest'\n | 'newest'\n | 'most-likes'\n | 'random'\n | 'hotness'\n | (string & {})\n}\n\nconst hashThreadViewPref = 'threadViewPref'\n\nexport function isThreadViewPref<V>(v: V) {\n return is$typed(v, id, hashThreadViewPref)\n}\n\nexport function validateThreadViewPref<V>(v: V) {\n return validate<ThreadViewPref & V>(v, id, hashThreadViewPref)\n}\n\nexport interface InterestsPref {\n $type?: 'app.bsky.actor.defs#interestsPref'\n /** A list of tags which describe the account owner's interests gathered during onboarding. */\n tags: string[]\n}\n\nconst hashInterestsPref = 'interestsPref'\n\nexport function isInterestsPref<V>(v: V) {\n return is$typed(v, id, hashInterestsPref)\n}\n\nexport function validateInterestsPref<V>(v: V) {\n return validate<InterestsPref & V>(v, id, hashInterestsPref)\n}\n\nexport type MutedWordTarget = 'content' | 'tag' | (string & {})\n\n/** A word that the account owner has muted. */\nexport interface MutedWord {\n $type?: 'app.bsky.actor.defs#mutedWord'\n id?: string\n /** The muted word itself. */\n value: string\n /** The intended targets of the muted word. */\n targets: MutedWordTarget[]\n /** Groups of users to apply the muted word to. If undefined, applies to all users. */\n actorTarget: 'all' | 'exclude-following' | (string & {})\n /** The date and time at which the muted word will expire and no longer be applied. */\n expiresAt?: string\n}\n\nconst hashMutedWord = 'mutedWord'\n\nexport function isMutedWord<V>(v: V) {\n return is$typed(v, id, hashMutedWord)\n}\n\nexport function validateMutedWord<V>(v: V) {\n return validate<MutedWord & V>(v, id, hashMutedWord)\n}\n\nexport interface MutedWordsPref {\n $type?: 'app.bsky.actor.defs#mutedWordsPref'\n /** A list of words the account owner has muted. */\n items: MutedWord[]\n}\n\nconst hashMutedWordsPref = 'mutedWordsPref'\n\nexport function isMutedWordsPref<V>(v: V) {\n return is$typed(v, id, hashMutedWordsPref)\n}\n\nexport function validateMutedWordsPref<V>(v: V) {\n return validate<MutedWordsPref & V>(v, id, hashMutedWordsPref)\n}\n\nexport interface HiddenPostsPref {\n $type?: 'app.bsky.actor.defs#hiddenPostsPref'\n /** A list of URIs of posts the account owner has hidden. */\n items: string[]\n}\n\nconst hashHiddenPostsPref = 'hiddenPostsPref'\n\nexport function isHiddenPostsPref<V>(v: V) {\n return is$typed(v, id, hashHiddenPostsPref)\n}\n\nexport function validateHiddenPostsPref<V>(v: V) {\n return validate<HiddenPostsPref & V>(v, id, hashHiddenPostsPref)\n}\n\nexport interface LabelersPref {\n $type?: 'app.bsky.actor.defs#labelersPref'\n labelers: LabelerPrefItem[]\n}\n\nconst hashLabelersPref = 'labelersPref'\n\nexport function isLabelersPref<V>(v: V) {\n return is$typed(v, id, hashLabelersPref)\n}\n\nexport function validateLabelersPref<V>(v: V) {\n return validate<LabelersPref & V>(v, id, hashLabelersPref)\n}\n\nexport interface LabelerPrefItem {\n $type?: 'app.bsky.actor.defs#labelerPrefItem'\n did: string\n}\n\nconst hashLabelerPrefItem = 'labelerPrefItem'\n\nexport function isLabelerPrefItem<V>(v: V) {\n return is$typed(v, id, hashLabelerPrefItem)\n}\n\nexport function validateLabelerPrefItem<V>(v: V) {\n return validate<LabelerPrefItem & V>(v, id, hashLabelerPrefItem)\n}\n\n/** A grab bag of state that's specific to the bsky.app program. Third-party apps shouldn't use this. */\nexport interface BskyAppStatePref {\n $type?: 'app.bsky.actor.defs#bskyAppStatePref'\n activeProgressGuide?: BskyAppProgressGuide\n /** An array of tokens which identify nudges (modals, popups, tours, highlight dots) that should be shown to the user. */\n queuedNudges?: string[]\n /** Storage for NUXs the user has encountered. */\n nuxs?: Nux[]\n}\n\nconst hashBskyAppStatePref = 'bskyAppStatePref'\n\nexport function isBskyAppStatePref<V>(v: V) {\n return is$typed(v, id, hashBskyAppStatePref)\n}\n\nexport function validateBskyAppStatePref<V>(v: V) {\n return validate<BskyAppStatePref & V>(v, id, hashBskyAppStatePref)\n}\n\n/** If set, an active progress guide. Once completed, can be set to undefined. Should have unspecced fields tracking progress. */\nexport interface BskyAppProgressGuide {\n $type?: 'app.bsky.actor.defs#bskyAppProgressGuide'\n guide: string\n}\n\nconst hashBskyAppProgressGuide = 'bskyAppProgressGuide'\n\nexport function isBskyAppProgressGuide<V>(v: V) {\n return is$typed(v, id, hashBskyAppProgressGuide)\n}\n\nexport function validateBskyAppProgressGuide<V>(v: V) {\n return validate<BskyAppProgressGuide & V>(v, id, hashBskyAppProgressGuide)\n}\n\n/** A new user experiences (NUX) storage object */\nexport interface Nux {\n $type?: 'app.bsky.actor.defs#nux'\n id: string\n completed: boolean\n /** Arbitrary data for the NUX. The structure is defined by the NUX itself. Limited to 300 characters. */\n data?: string\n /** The date and time at which the NUX will expire and should be considered completed. */\n expiresAt?: string\n}\n\nconst hashNux = 'nux'\n\nexport function isNux<V>(v: V) {\n return is$typed(v, id, hashNux)\n}\n\nexport function validateNux<V>(v: V) {\n return validate<Nux & V>(v, id, hashNux)\n}\n\n/** Preferences for how verified accounts appear in the app. */\nexport interface VerificationPrefs {\n $type?: 'app.bsky.actor.defs#verificationPrefs'\n /** Hide the blue check badges for verified accounts and trusted verifiers. */\n hideBadges: boolean\n}\n\nconst hashVerificationPrefs = 'verificationPrefs'\n\nexport function isVerificationPrefs<V>(v: V) {\n return is$typed(v, id, hashVerificationPrefs)\n}\n\nexport function validateVerificationPrefs<V>(v: V) {\n return validate<VerificationPrefs & V>(v, id, hashVerificationPrefs)\n}\n\n/** Preferences for live events. */\nexport interface LiveEventPreferences {\n $type?: 'app.bsky.actor.defs#liveEventPreferences'\n /** A list of feed IDs that the user has hidden from live events. */\n hiddenFeedIds?: string[]\n /** Whether to hide all feeds from live events. */\n hideAllFeeds: boolean\n}\n\nconst hashLiveEventPreferences = 'liveEventPreferences'\n\nexport function isLiveEventPreferences<V>(v: V) {\n return is$typed(v, id, hashLiveEventPreferences)\n}\n\nexport function validateLiveEventPreferences<V>(v: V) {\n return validate<LiveEventPreferences & V>(v, id, hashLiveEventPreferences)\n}\n\n/** 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. */\nexport interface PostInteractionSettingsPref {\n $type?: 'app.bsky.actor.defs#postInteractionSettingsPref'\n /** Matches threadgate record. List of rules defining who can reply to this users posts. If value is an empty array, no one can reply. If value is undefined, anyone can reply. */\n threadgateAllowRules?: (\n | $Typed<AppBskyFeedThreadgate.MentionRule>\n | $Typed<AppBskyFeedThreadgate.FollowerRule>\n | $Typed<AppBskyFeedThreadgate.FollowingRule>\n | $Typed<AppBskyFeedThreadgate.ListRule>\n | { $type: string }\n )[]\n /** Matches postgate record. List of rules defining who can embed this users posts. If value is an empty array or is undefined, no particular rules apply and anyone can embed. */\n postgateEmbeddingRules?: (\n | $Typed<AppBskyFeedPostgate.DisableRule>\n | { $type: string }\n )[]\n}\n\nconst hashPostInteractionSettingsPref = 'postInteractionSettingsPref'\n\nexport function isPostInteractionSettingsPref<V>(v: V) {\n return is$typed(v, id, hashPostInteractionSettingsPref)\n}\n\nexport function validatePostInteractionSettingsPref<V>(v: V) {\n return validate<PostInteractionSettingsPref & V>(\n v,\n id,\n hashPostInteractionSettingsPref,\n )\n}\n\nexport interface StatusView {\n $type?: 'app.bsky.actor.defs#statusView'\n uri?: string\n cid?: string\n /** The status for the account. */\n status: 'app.bsky.actor.status#live' | (string & {})\n record: { [_ in string]: unknown }\n embed?: $Typed<AppBskyEmbedExternal.View> | { $type: string }\n /** The date when this status will expire. The application might choose to no longer return the status after expiration. */\n expiresAt?: string\n /** True if the status is not expired, false if it is expired. Only present if expiration was set. */\n isActive?: boolean\n /** True if the user's go-live access has been disabled by a moderator, false otherwise. */\n isDisabled?: boolean\n}\n\nconst hashStatusView = 'statusView'\n\nexport function isStatusView<V>(v: V) {\n return is$typed(v, id, hashStatusView)\n}\n\nexport function validateStatusView<V>(v: V) {\n return validate<StatusView & V>(v, id, hashStatusView)\n}\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as AppBskyDraftDefs from './defs.js';
|
|
2
|
+
export type QueryParams = {};
|
|
3
|
+
export interface InputSchema {
|
|
4
|
+
draft: AppBskyDraftDefs.Draft;
|
|
5
|
+
}
|
|
6
|
+
export interface OutputSchema {
|
|
7
|
+
/** The ID of the created draft. */
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export interface HandlerInput {
|
|
11
|
+
encoding: 'application/json';
|
|
12
|
+
body: InputSchema;
|
|
13
|
+
}
|
|
14
|
+
export interface HandlerSuccess {
|
|
15
|
+
encoding: 'application/json';
|
|
16
|
+
body: OutputSchema;
|
|
17
|
+
headers?: {
|
|
18
|
+
[key: string]: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export interface HandlerError {
|
|
22
|
+
status: number;
|
|
23
|
+
message?: string;
|
|
24
|
+
error?: 'DraftLimitReached';
|
|
25
|
+
}
|
|
26
|
+
export type HandlerOutput = HandlerError | HandlerSuccess;
|
|
27
|
+
//# sourceMappingURL=createDraft.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDraft.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/draft/createDraft.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,KAAK,gBAAgB,MAAM,WAAW,CAAA;AAMlD,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,gBAAgB,CAAC,KAAK,CAAA;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,mCAAmC;IACnC,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,YAAY,CAAA;IAClB,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,mBAAmB,CAAA;CAC5B;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,cAAc,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.draft.createDraft';
|
|
7
|
+
//# sourceMappingURL=createDraft.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDraft.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/draft/createDraft.ts"],"names":[],"mappings":";;AAKA,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,4BAA4B,CAAA","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyDraftDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.draft.createDraft'\n\nexport type QueryParams = {}\n\nexport interface InputSchema {\n draft: AppBskyDraftDefs.Draft\n}\n\nexport interface OutputSchema {\n /** The ID of the created draft. */\n id: string\n}\n\nexport interface HandlerInput {\n encoding: 'application/json'\n body: InputSchema\n}\n\nexport interface HandlerSuccess {\n encoding: 'application/json'\n body: OutputSchema\n headers?: { [key: string]: string }\n}\n\nexport interface HandlerError {\n status: number\n message?: string\n error?: 'DraftLimitReached'\n}\n\nexport type HandlerOutput = HandlerError | HandlerSuccess\n"]}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util';
|
|
6
|
+
import type * as AppBskyFeedPostgate from '../feed/postgate.js';
|
|
7
|
+
import type * as AppBskyFeedThreadgate from '../feed/threadgate.js';
|
|
8
|
+
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js';
|
|
9
|
+
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
10
|
+
/** A draft with an identifier, used to store drafts in private storage (stash). */
|
|
11
|
+
export interface DraftWithId {
|
|
12
|
+
$type?: 'app.bsky.draft.defs#draftWithId';
|
|
13
|
+
/** A TID to be used as a draft identifier. */
|
|
14
|
+
id: string;
|
|
15
|
+
draft: Draft;
|
|
16
|
+
}
|
|
17
|
+
export declare function isDraftWithId<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftWithId">;
|
|
18
|
+
export declare function validateDraftWithId<V>(v: V): ValidationResult<DraftWithId & V>;
|
|
19
|
+
/** A draft containing an array of draft posts. */
|
|
20
|
+
export interface Draft {
|
|
21
|
+
$type?: 'app.bsky.draft.defs#draft';
|
|
22
|
+
/** Array of draft posts that compose this draft. */
|
|
23
|
+
posts: DraftPost[];
|
|
24
|
+
/** Indicates human language of posts primary text content. */
|
|
25
|
+
langs?: string[];
|
|
26
|
+
/** Embedding rules for the postgates to be created when this draft is published. */
|
|
27
|
+
postgateEmbeddingRules?: ($Typed<AppBskyFeedPostgate.DisableRule> | {
|
|
28
|
+
$type: string;
|
|
29
|
+
})[];
|
|
30
|
+
/** Allow-rules for the threadgate to be created when this draft is published. */
|
|
31
|
+
threadgateAllow?: ($Typed<AppBskyFeedThreadgate.MentionRule> | $Typed<AppBskyFeedThreadgate.FollowerRule> | $Typed<AppBskyFeedThreadgate.FollowingRule> | $Typed<AppBskyFeedThreadgate.ListRule> | {
|
|
32
|
+
$type: string;
|
|
33
|
+
})[];
|
|
34
|
+
}
|
|
35
|
+
export declare function isDraft<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draft">;
|
|
36
|
+
export declare function validateDraft<V>(v: V): ValidationResult<Draft & V>;
|
|
37
|
+
/** One of the posts that compose a draft. */
|
|
38
|
+
export interface DraftPost {
|
|
39
|
+
$type?: 'app.bsky.draft.defs#draftPost';
|
|
40
|
+
/** The primary post content. */
|
|
41
|
+
text: string;
|
|
42
|
+
labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | {
|
|
43
|
+
$type: string;
|
|
44
|
+
};
|
|
45
|
+
embedImages?: DraftEmbedImage[];
|
|
46
|
+
embedVideos?: DraftEmbedVideo[];
|
|
47
|
+
embedExternals?: DraftEmbedExternal[];
|
|
48
|
+
embedRecords?: DraftEmbedRecord[];
|
|
49
|
+
}
|
|
50
|
+
export declare function isDraftPost<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftPost">;
|
|
51
|
+
export declare function validateDraftPost<V>(v: V): ValidationResult<DraftPost & V>;
|
|
52
|
+
/** View to present drafts data to users. */
|
|
53
|
+
export interface DraftView {
|
|
54
|
+
$type?: 'app.bsky.draft.defs#draftView';
|
|
55
|
+
/** A TID to be used as a draft identifier. */
|
|
56
|
+
id: string;
|
|
57
|
+
draft: Draft;
|
|
58
|
+
/** The time the draft was created. */
|
|
59
|
+
createdAt: string;
|
|
60
|
+
/** The time the draft was last updated. */
|
|
61
|
+
updatedAt: string;
|
|
62
|
+
}
|
|
63
|
+
export declare function isDraftView<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftView">;
|
|
64
|
+
export declare function validateDraftView<V>(v: V): ValidationResult<DraftView & V>;
|
|
65
|
+
export interface DraftEmbedLocalRef {
|
|
66
|
+
$type?: 'app.bsky.draft.defs#draftEmbedLocalRef';
|
|
67
|
+
/** Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts. */
|
|
68
|
+
path: string;
|
|
69
|
+
}
|
|
70
|
+
export declare function isDraftEmbedLocalRef<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftEmbedLocalRef">;
|
|
71
|
+
export declare function validateDraftEmbedLocalRef<V>(v: V): ValidationResult<DraftEmbedLocalRef & V>;
|
|
72
|
+
export interface DraftEmbedCaption {
|
|
73
|
+
$type?: 'app.bsky.draft.defs#draftEmbedCaption';
|
|
74
|
+
lang: string;
|
|
75
|
+
content: string;
|
|
76
|
+
}
|
|
77
|
+
export declare function isDraftEmbedCaption<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftEmbedCaption">;
|
|
78
|
+
export declare function validateDraftEmbedCaption<V>(v: V): ValidationResult<DraftEmbedCaption & V>;
|
|
79
|
+
export interface DraftEmbedImage {
|
|
80
|
+
$type?: 'app.bsky.draft.defs#draftEmbedImage';
|
|
81
|
+
localRef: DraftEmbedLocalRef;
|
|
82
|
+
alt?: string;
|
|
83
|
+
}
|
|
84
|
+
export declare function isDraftEmbedImage<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftEmbedImage">;
|
|
85
|
+
export declare function validateDraftEmbedImage<V>(v: V): ValidationResult<DraftEmbedImage & V>;
|
|
86
|
+
export interface DraftEmbedVideo {
|
|
87
|
+
$type?: 'app.bsky.draft.defs#draftEmbedVideo';
|
|
88
|
+
localRef: DraftEmbedLocalRef;
|
|
89
|
+
alt?: string;
|
|
90
|
+
captions?: DraftEmbedCaption[];
|
|
91
|
+
}
|
|
92
|
+
export declare function isDraftEmbedVideo<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftEmbedVideo">;
|
|
93
|
+
export declare function validateDraftEmbedVideo<V>(v: V): ValidationResult<DraftEmbedVideo & V>;
|
|
94
|
+
export interface DraftEmbedExternal {
|
|
95
|
+
$type?: 'app.bsky.draft.defs#draftEmbedExternal';
|
|
96
|
+
uri: string;
|
|
97
|
+
}
|
|
98
|
+
export declare function isDraftEmbedExternal<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftEmbedExternal">;
|
|
99
|
+
export declare function validateDraftEmbedExternal<V>(v: V): ValidationResult<DraftEmbedExternal & V>;
|
|
100
|
+
export interface DraftEmbedRecord {
|
|
101
|
+
$type?: 'app.bsky.draft.defs#draftEmbedRecord';
|
|
102
|
+
record: ComAtprotoRepoStrongRef.Main;
|
|
103
|
+
}
|
|
104
|
+
export declare function isDraftEmbedRecord<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.draft.defs", "draftEmbedRecord">;
|
|
105
|
+
export declare function validateDraftEmbedRecord<V>(v: V): ValidationResult<DraftEmbedRecord & V>;
|
|
106
|
+
//# sourceMappingURL=defs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/draft/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,mBAAmB,MAAM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CAE/C"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isDraftWithId = isDraftWithId;
|
|
4
|
+
exports.validateDraftWithId = validateDraftWithId;
|
|
5
|
+
exports.isDraft = isDraft;
|
|
6
|
+
exports.validateDraft = validateDraft;
|
|
7
|
+
exports.isDraftPost = isDraftPost;
|
|
8
|
+
exports.validateDraftPost = validateDraftPost;
|
|
9
|
+
exports.isDraftView = isDraftView;
|
|
10
|
+
exports.validateDraftView = validateDraftView;
|
|
11
|
+
exports.isDraftEmbedLocalRef = isDraftEmbedLocalRef;
|
|
12
|
+
exports.validateDraftEmbedLocalRef = validateDraftEmbedLocalRef;
|
|
13
|
+
exports.isDraftEmbedCaption = isDraftEmbedCaption;
|
|
14
|
+
exports.validateDraftEmbedCaption = validateDraftEmbedCaption;
|
|
15
|
+
exports.isDraftEmbedImage = isDraftEmbedImage;
|
|
16
|
+
exports.validateDraftEmbedImage = validateDraftEmbedImage;
|
|
17
|
+
exports.isDraftEmbedVideo = isDraftEmbedVideo;
|
|
18
|
+
exports.validateDraftEmbedVideo = validateDraftEmbedVideo;
|
|
19
|
+
exports.isDraftEmbedExternal = isDraftEmbedExternal;
|
|
20
|
+
exports.validateDraftEmbedExternal = validateDraftEmbedExternal;
|
|
21
|
+
exports.isDraftEmbedRecord = isDraftEmbedRecord;
|
|
22
|
+
exports.validateDraftEmbedRecord = validateDraftEmbedRecord;
|
|
23
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
24
|
+
const util_1 = require("../../../../util");
|
|
25
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
26
|
+
const id = 'app.bsky.draft.defs';
|
|
27
|
+
const hashDraftWithId = 'draftWithId';
|
|
28
|
+
function isDraftWithId(v) {
|
|
29
|
+
return is$typed(v, id, hashDraftWithId);
|
|
30
|
+
}
|
|
31
|
+
function validateDraftWithId(v) {
|
|
32
|
+
return validate(v, id, hashDraftWithId);
|
|
33
|
+
}
|
|
34
|
+
const hashDraft = 'draft';
|
|
35
|
+
function isDraft(v) {
|
|
36
|
+
return is$typed(v, id, hashDraft);
|
|
37
|
+
}
|
|
38
|
+
function validateDraft(v) {
|
|
39
|
+
return validate(v, id, hashDraft);
|
|
40
|
+
}
|
|
41
|
+
const hashDraftPost = 'draftPost';
|
|
42
|
+
function isDraftPost(v) {
|
|
43
|
+
return is$typed(v, id, hashDraftPost);
|
|
44
|
+
}
|
|
45
|
+
function validateDraftPost(v) {
|
|
46
|
+
return validate(v, id, hashDraftPost);
|
|
47
|
+
}
|
|
48
|
+
const hashDraftView = 'draftView';
|
|
49
|
+
function isDraftView(v) {
|
|
50
|
+
return is$typed(v, id, hashDraftView);
|
|
51
|
+
}
|
|
52
|
+
function validateDraftView(v) {
|
|
53
|
+
return validate(v, id, hashDraftView);
|
|
54
|
+
}
|
|
55
|
+
const hashDraftEmbedLocalRef = 'draftEmbedLocalRef';
|
|
56
|
+
function isDraftEmbedLocalRef(v) {
|
|
57
|
+
return is$typed(v, id, hashDraftEmbedLocalRef);
|
|
58
|
+
}
|
|
59
|
+
function validateDraftEmbedLocalRef(v) {
|
|
60
|
+
return validate(v, id, hashDraftEmbedLocalRef);
|
|
61
|
+
}
|
|
62
|
+
const hashDraftEmbedCaption = 'draftEmbedCaption';
|
|
63
|
+
function isDraftEmbedCaption(v) {
|
|
64
|
+
return is$typed(v, id, hashDraftEmbedCaption);
|
|
65
|
+
}
|
|
66
|
+
function validateDraftEmbedCaption(v) {
|
|
67
|
+
return validate(v, id, hashDraftEmbedCaption);
|
|
68
|
+
}
|
|
69
|
+
const hashDraftEmbedImage = 'draftEmbedImage';
|
|
70
|
+
function isDraftEmbedImage(v) {
|
|
71
|
+
return is$typed(v, id, hashDraftEmbedImage);
|
|
72
|
+
}
|
|
73
|
+
function validateDraftEmbedImage(v) {
|
|
74
|
+
return validate(v, id, hashDraftEmbedImage);
|
|
75
|
+
}
|
|
76
|
+
const hashDraftEmbedVideo = 'draftEmbedVideo';
|
|
77
|
+
function isDraftEmbedVideo(v) {
|
|
78
|
+
return is$typed(v, id, hashDraftEmbedVideo);
|
|
79
|
+
}
|
|
80
|
+
function validateDraftEmbedVideo(v) {
|
|
81
|
+
return validate(v, id, hashDraftEmbedVideo);
|
|
82
|
+
}
|
|
83
|
+
const hashDraftEmbedExternal = 'draftEmbedExternal';
|
|
84
|
+
function isDraftEmbedExternal(v) {
|
|
85
|
+
return is$typed(v, id, hashDraftEmbedExternal);
|
|
86
|
+
}
|
|
87
|
+
function validateDraftEmbedExternal(v) {
|
|
88
|
+
return validate(v, id, hashDraftEmbedExternal);
|
|
89
|
+
}
|
|
90
|
+
const hashDraftEmbedRecord = 'draftEmbedRecord';
|
|
91
|
+
function isDraftEmbedRecord(v) {
|
|
92
|
+
return is$typed(v, id, hashDraftEmbedRecord);
|
|
93
|
+
}
|
|
94
|
+
function validateDraftEmbedRecord(v) {
|
|
95
|
+
return validate(v, id, hashDraftEmbedRecord);
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=defs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/draft/defs.ts"],"names":[],"mappings":";;AA8BA,sCAEC;AAED,kDAEC;AA0BD,0BAEC;AAED,sCAEC;AAgBD,kCAEC;AAED,8CAEC;AAgBD,kCAEC;AAED,8CAEC;AAUD,oDAEC;AAED,gEAEC;AAUD,kDAEC;AAED,8DAEC;AAUD,8CAEC;AAED,0DAEC;AAWD,8CAEC;AAED,0DAEC;AASD,oDAEC;AAED,gEAEC;AASD,gDAEC;AAED,4DAEC;AA1MD,mDAA4D;AAC5D,2CAIyB;AAMzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qBAAqB,CAAA;AAUhC,MAAM,eAAe,GAAG,aAAa,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IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AAC9C,CAAC;AAED,SAAgB,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { type ValidationResult, BlobRef } from '@atproto/lexicon'\nimport { CID } from 'multiformats/cid'\nimport { validate as _validate } from '../../../../lexicons'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util'\nimport type * as AppBskyFeedPostgate from '../feed/postgate.js'\nimport type * as AppBskyFeedThreadgate from '../feed/threadgate.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.draft.defs'\n\n/** A draft with an identifier, used to store drafts in private storage (stash). */\nexport interface DraftWithId {\n $type?: 'app.bsky.draft.defs#draftWithId'\n /** A TID to be used as a draft identifier. */\n id: string\n draft: Draft\n}\n\nconst hashDraftWithId = 'draftWithId'\n\nexport function isDraftWithId<V>(v: V) {\n return is$typed(v, id, hashDraftWithId)\n}\n\nexport function validateDraftWithId<V>(v: V) {\n return validate<DraftWithId & V>(v, id, hashDraftWithId)\n}\n\n/** A draft containing an array of draft posts. */\nexport interface Draft {\n $type?: 'app.bsky.draft.defs#draft'\n /** Array of draft posts that compose this draft. */\n posts: DraftPost[]\n /** Indicates human language of posts primary text content. */\n langs?: string[]\n /** Embedding rules for the postgates to be created when this draft is published. */\n postgateEmbeddingRules?: (\n | $Typed<AppBskyFeedPostgate.DisableRule>\n | { $type: string }\n )[]\n /** Allow-rules for the threadgate to be created when this draft is published. */\n threadgateAllow?: (\n | $Typed<AppBskyFeedThreadgate.MentionRule>\n | $Typed<AppBskyFeedThreadgate.FollowerRule>\n | $Typed<AppBskyFeedThreadgate.FollowingRule>\n | $Typed<AppBskyFeedThreadgate.ListRule>\n | { $type: string }\n )[]\n}\n\nconst hashDraft = 'draft'\n\nexport function isDraft<V>(v: V) {\n return is$typed(v, id, hashDraft)\n}\n\nexport function validateDraft<V>(v: V) {\n return validate<Draft & V>(v, id, hashDraft)\n}\n\n/** One of the posts that compose a draft. */\nexport interface DraftPost {\n $type?: 'app.bsky.draft.defs#draftPost'\n /** The primary post content. */\n text: string\n labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | { $type: string }\n embedImages?: DraftEmbedImage[]\n embedVideos?: DraftEmbedVideo[]\n embedExternals?: DraftEmbedExternal[]\n embedRecords?: DraftEmbedRecord[]\n}\n\nconst hashDraftPost = 'draftPost'\n\nexport function isDraftPost<V>(v: V) {\n return is$typed(v, id, hashDraftPost)\n}\n\nexport function validateDraftPost<V>(v: V) {\n return validate<DraftPost & V>(v, id, hashDraftPost)\n}\n\n/** View to present drafts data to users. */\nexport interface DraftView {\n $type?: 'app.bsky.draft.defs#draftView'\n /** A TID to be used as a draft identifier. */\n id: string\n draft: Draft\n /** The time the draft was created. */\n createdAt: string\n /** The time the draft was last updated. */\n updatedAt: string\n}\n\nconst hashDraftView = 'draftView'\n\nexport function isDraftView<V>(v: V) {\n return is$typed(v, id, hashDraftView)\n}\n\nexport function validateDraftView<V>(v: V) {\n return validate<DraftView & V>(v, id, hashDraftView)\n}\n\nexport interface DraftEmbedLocalRef {\n $type?: 'app.bsky.draft.defs#draftEmbedLocalRef'\n /** Local, on-device ref to file to be embedded. Embeds are currently device-bound for drafts. */\n path: string\n}\n\nconst hashDraftEmbedLocalRef = 'draftEmbedLocalRef'\n\nexport function isDraftEmbedLocalRef<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedLocalRef)\n}\n\nexport function validateDraftEmbedLocalRef<V>(v: V) {\n return validate<DraftEmbedLocalRef & V>(v, id, hashDraftEmbedLocalRef)\n}\n\nexport interface DraftEmbedCaption {\n $type?: 'app.bsky.draft.defs#draftEmbedCaption'\n lang: string\n content: string\n}\n\nconst hashDraftEmbedCaption = 'draftEmbedCaption'\n\nexport function isDraftEmbedCaption<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedCaption)\n}\n\nexport function validateDraftEmbedCaption<V>(v: V) {\n return validate<DraftEmbedCaption & V>(v, id, hashDraftEmbedCaption)\n}\n\nexport interface DraftEmbedImage {\n $type?: 'app.bsky.draft.defs#draftEmbedImage'\n localRef: DraftEmbedLocalRef\n alt?: string\n}\n\nconst hashDraftEmbedImage = 'draftEmbedImage'\n\nexport function isDraftEmbedImage<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedImage)\n}\n\nexport function validateDraftEmbedImage<V>(v: V) {\n return validate<DraftEmbedImage & V>(v, id, hashDraftEmbedImage)\n}\n\nexport interface DraftEmbedVideo {\n $type?: 'app.bsky.draft.defs#draftEmbedVideo'\n localRef: DraftEmbedLocalRef\n alt?: string\n captions?: DraftEmbedCaption[]\n}\n\nconst hashDraftEmbedVideo = 'draftEmbedVideo'\n\nexport function isDraftEmbedVideo<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedVideo)\n}\n\nexport function validateDraftEmbedVideo<V>(v: V) {\n return validate<DraftEmbedVideo & V>(v, id, hashDraftEmbedVideo)\n}\n\nexport interface DraftEmbedExternal {\n $type?: 'app.bsky.draft.defs#draftEmbedExternal'\n uri: string\n}\n\nconst hashDraftEmbedExternal = 'draftEmbedExternal'\n\nexport function isDraftEmbedExternal<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedExternal)\n}\n\nexport function validateDraftEmbedExternal<V>(v: V) {\n return validate<DraftEmbedExternal & V>(v, id, hashDraftEmbedExternal)\n}\n\nexport interface DraftEmbedRecord {\n $type?: 'app.bsky.draft.defs#draftEmbedRecord'\n record: ComAtprotoRepoStrongRef.Main\n}\n\nconst hashDraftEmbedRecord = 'draftEmbedRecord'\n\nexport function isDraftEmbedRecord<V>(v: V) {\n return is$typed(v, id, hashDraftEmbedRecord)\n}\n\nexport function validateDraftEmbedRecord<V>(v: V) {\n return validate<DraftEmbedRecord & V>(v, id, hashDraftEmbedRecord)\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type QueryParams = {};
|
|
2
|
+
export interface InputSchema {
|
|
3
|
+
id: string;
|
|
4
|
+
}
|
|
5
|
+
export interface HandlerInput {
|
|
6
|
+
encoding: 'application/json';
|
|
7
|
+
body: InputSchema;
|
|
8
|
+
}
|
|
9
|
+
export interface HandlerError {
|
|
10
|
+
status: number;
|
|
11
|
+
message?: string;
|
|
12
|
+
}
|
|
13
|
+
export type HandlerOutput = HandlerError | void;
|
|
14
|
+
//# sourceMappingURL=deleteDraft.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteDraft.d.ts","sourceRoot":"","sources":["../../../../../../src/lexicon/types/app/bsky/draft/deleteDraft.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,WAAW,GAAG,EAAE,CAAA;AAE5B,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;CACX;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,kBAAkB,CAAA;IAC5B,IAAI,EAAE,WAAW,CAAA;CAClB;AAED,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,IAAI,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const lexicons_1 = require("../../../../lexicons");
|
|
4
|
+
const util_1 = require("../../../../util");
|
|
5
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
6
|
+
const id = 'app.bsky.draft.deleteDraft';
|
|
7
|
+
//# sourceMappingURL=deleteDraft.js.map
|