@atproto/api 0.24.2 → 0.25.0
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 +24 -0
- package/dist/client/index.d.ts +31 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +40 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +1539 -77
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +760 -13
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +15 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js +7 -0
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/actor/link.d.ts +19 -0
- package/dist/client/types/app/bsky/actor/link.d.ts.map +1 -0
- package/dist/client/types/app/bsky/actor/link.js +18 -0
- package/dist/client/types/app/bsky/actor/link.js.map +1 -0
- package/dist/client/types/app/bsky/actor/profile.d.ts +2 -0
- package/dist/client/types/app/bsky/actor/profile.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/profile.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +103 -0
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js +42 -0
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts +15 -4
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/getEmbedExternalView.js.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts +49 -2
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.d.ts.map +1 -1
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js +42 -0
- package/dist/client/types/app/bsky/notification/getGroupedNotifications.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +88 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js +56 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -0
- package/package.json +3 -3
|
@@ -72,6 +72,8 @@ export interface ProfileViewDetailed {
|
|
|
72
72
|
viewer?: ViewerState;
|
|
73
73
|
labels?: ComAtprotoLabelDefs.Label[];
|
|
74
74
|
pinnedPost?: ComAtprotoRepoStrongRef.Main;
|
|
75
|
+
/** The profile's links, in display order. Links that were taken down or don't resolve are left out. */
|
|
76
|
+
links?: ProfileLinkView[];
|
|
75
77
|
verification?: VerificationState;
|
|
76
78
|
status?: StatusView;
|
|
77
79
|
/** Debug information for internal development */
|
|
@@ -107,6 +109,19 @@ export interface ProfileAssociatedGerm {
|
|
|
107
109
|
}
|
|
108
110
|
export declare function isProfileAssociatedGerm<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.actor.defs", "profileAssociatedGerm">;
|
|
109
111
|
export declare function validateProfileAssociatedGerm<V>(v: V): ValidationResult<ProfileAssociatedGerm & V>;
|
|
112
|
+
export interface ProfileLinkView {
|
|
113
|
+
$type?: 'app.bsky.actor.defs#profileLinkView';
|
|
114
|
+
/** The app.bsky.actor.link record, e.g. for reporting the link. */
|
|
115
|
+
uri: string;
|
|
116
|
+
cid: string;
|
|
117
|
+
/** The link destination. */
|
|
118
|
+
url: string;
|
|
119
|
+
title?: string;
|
|
120
|
+
/** Image URL for the destination site's icon. */
|
|
121
|
+
icon?: string;
|
|
122
|
+
}
|
|
123
|
+
export declare function isProfileLinkView<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.actor.defs", "profileLinkView">;
|
|
124
|
+
export declare function validateProfileLinkView<V>(v: V): ValidationResult<ProfileLinkView & V>;
|
|
110
125
|
export interface ProfileAssociatedActivitySubscription {
|
|
111
126
|
$type?: 'app.bsky.actor.defs#profileAssociatedActivitySubscription';
|
|
112
127
|
allowSubscriptions: 'followers' | 'mutuals' | 'none' | (string & {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.d.ts","sourceRoot":"","sources":["../../../../../../src/client/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,qBAAqB,CAAA;AAC5B,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,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,iBAAiB,CAAA;IAChC,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,iDAAiD;IACjD,KAAK,CAAC,EAAE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tC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CACpB,EAAE,CAAA;IACH,kLAAkL;IAClL,sBAAsB,CAAC,EAAE,CACvB,MAAM,CAAC,mBAAmB,CAAC,WAAW,CAAC,GAAG;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAC5D,EAAE,CAAA;CACJ;AAID,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4GAEpD;AAED,wBAAgB,mCAAmC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qDAM1D;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,gCAAgC,CAAA;IACxC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,kCAAkC;IAClC,MAAM,EAAE,4BAA4B,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,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,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,2FAEnC;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,oCAEzC"}
|
|
@@ -49,6 +49,13 @@ export function isProfileAssociatedGerm(v) {
|
|
|
49
49
|
export function validateProfileAssociatedGerm(v) {
|
|
50
50
|
return validate(v, id, hashProfileAssociatedGerm);
|
|
51
51
|
}
|
|
52
|
+
const hashProfileLinkView = 'profileLinkView';
|
|
53
|
+
export function isProfileLinkView(v) {
|
|
54
|
+
return is$typed(v, id, hashProfileLinkView);
|
|
55
|
+
}
|
|
56
|
+
export function validateProfileLinkView(v) {
|
|
57
|
+
return validate(v, id, hashProfileLinkView);
|
|
58
|
+
}
|
|
52
59
|
const hashProfileAssociatedActivitySubscription = 'profileAssociatedActivitySubscription';
|
|
53
60
|
export function isProfileAssociatedActivitySubscription(v) {
|
|
54
61
|
return is$typed(v, id, hashProfileAssociatedActivitySubscription);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAS5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qBAAqB,CAAA;AAmBhC,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,MAAM,UAAU,kBAAkB,CAAI,CAAI;IACxC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AAC9C,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAI,CAAI;IAC9C,OAAO,QAAQ,CAAuB,CAAC,EAAE,EAAE,EAAE,oBAAoB,CAAC,CAAA;AACpE,CAAC;AAqBD,MAAM,eAAe,GAAG,aAAa,CAAA;AAErC,MAAM,UAAU,aAAa,CAAI,CAAI;IACnC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,eAAe,CAAC,CAAA;AACzC,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Y,CAAA;AAEnC,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,MAAM,UAAU,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\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 allowGroupInvites?: '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 /** Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts. */\n muted?: boolean\n /** Whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false. */\n mutedOnlyReposts?: boolean\n /** Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false. */\n mutedOnlyQuoteposts?: 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 display name of the issuer. */\n issuerDisplayName?: string\n /** The handle of the issuer. */\n issuerHandle?: 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' | 'newest' | 'most-likes' | 'random' | 'hotness' | (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 /** The timestamp when the account owner last updated their interests. */\n updatedAt?: string\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 /** Indicates if the user is participating in the beta features program. */\n isBetaUser?: boolean\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> | { $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 labels?: ComAtprotoLabelDefs.Label[]\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/client/types/app/bsky/actor/defs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAS5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qBAAqB,CAAA;AAmBhC,MAAM,oBAAoB,GAAG,kBAAkB,CAAA;AAE/C,MAAM,UAAU,kBAAkB,CAAI,C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EAAE,EAAE,EAAE,qBAAqB,CAAC,CAAA;AACtE,CAAC;AAWD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,MAAM,UAAU,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,CAAC;AAmBD,MAAM,+BAA+B,GAAG,6BAA6B,CAAA;AAErE,MAAM,UAAU,6BAA6B,CAAI,CAAI;IACnD,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,+BAA+B,CAAC,CAAA;AACzD,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAI,CAAI;IACzD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,+BAA+B,CAChC,CAAA;AACH,CAAC;AAmBD,MAAM,cAAc,GAAG,YAAY,CAAA;AAEnC,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,cAAc,CAAC,CAAA;AACxC,CAAC;AAED,MAAM,UAAU,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\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 /** The profile's links, in display order. Links that were taken down or don't resolve are left out. */\n links?: ProfileLinkView[]\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 allowGroupInvites?: '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 ProfileLinkView {\n $type?: 'app.bsky.actor.defs#profileLinkView'\n /** The app.bsky.actor.link record, e.g. for reporting the link. */\n uri: string\n cid: string\n /** The link destination. */\n url: string\n title?: string\n /** Image URL for the destination site's icon. */\n icon?: string\n}\n\nconst hashProfileLinkView = 'profileLinkView'\n\nexport function isProfileLinkView<V>(v: V) {\n return is$typed(v, id, hashProfileLinkView)\n}\n\nexport function validateProfileLinkView<V>(v: V) {\n return validate<ProfileLinkView & V>(v, id, hashProfileLinkView)\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 /** Whether the account is fully muted, directly or via a mutelist. False when the mute is scoped to specific kinds; see mutedOnlyReposts and mutedOnlyQuoteposts. */\n muted?: boolean\n /** Whether the account's reposts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false. */\n mutedOnlyReposts?: boolean\n /** Whether the account's quote posts are muted. Scoped mutes are exclusive with muted: this can be true while muted is false. If muted is true, this will be false. */\n mutedOnlyQuoteposts?: 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 display name of the issuer. */\n issuerDisplayName?: string\n /** The handle of the issuer. */\n issuerHandle?: 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' | 'newest' | 'most-likes' | 'random' | 'hotness' | (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 /** The timestamp when the account owner last updated their interests. */\n updatedAt?: string\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 /** Indicates if the user is participating in the beta features program. */\n isBetaUser?: boolean\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> | { $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 labels?: ComAtprotoLabelDefs.Label[]\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,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult, BlobRef } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'app.bsky.actor.link';
|
|
7
|
+
/** The link destination, an https URL. */
|
|
8
|
+
url: string;
|
|
9
|
+
/** Optional label for the link. Clients can fall back to the destination's domain. */
|
|
10
|
+
title?: string;
|
|
11
|
+
/** The destination site's icon, uploaded when the link is saved. */
|
|
12
|
+
icon?: BlobRef;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
[k: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.actor.link", "main">;
|
|
17
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
18
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
19
|
+
//# sourceMappingURL=link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/link.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAajE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,qBAAqB,CAAA;IAC5B,0CAA0C;IAC1C,GAAG,EAAE,MAAM,CAAA;IACX,sFAAsF;IACtF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oEAAoE;IACpE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,qFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { BlobRef } from '@atproto/lexicon';
|
|
5
|
+
import { CID } from 'multiformats/cid';
|
|
6
|
+
import { validate as _validate } from '../../../../lexicons.js';
|
|
7
|
+
import { is$typed as _is$typed, } from '../../../../util.js';
|
|
8
|
+
const is$typed = _is$typed, validate = _validate;
|
|
9
|
+
const id = 'app.bsky.actor.link';
|
|
10
|
+
const hashMain = 'main';
|
|
11
|
+
export function isMain(v) {
|
|
12
|
+
return is$typed(v, id, hashMain);
|
|
13
|
+
}
|
|
14
|
+
export function validateMain(v) {
|
|
15
|
+
return validate(v, id, hashMain, true);
|
|
16
|
+
}
|
|
17
|
+
export { isMain as isRecord, validateMain as validateRecord, };
|
|
18
|
+
//# sourceMappingURL=link.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/link.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,qBAAqB,CAAA;AAchC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,MAAM,UAAU,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAA;AAClD,CAAC;AAED,OAAO,EAEL,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.actor.link'\n\nexport interface Main {\n $type: 'app.bsky.actor.link'\n /** The link destination, an https URL. */\n url: string\n /** Optional label for the link. Clients can fall back to the destination's domain. */\n title?: string\n /** The destination site's icon, uploaded when the link is saved. */\n icon?: BlobRef\n createdAt: string\n [k: string]: unknown\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain, true)\n}\n\nexport {\n type Main as Record,\n isMain as isRecord,\n validateMain as validateRecord,\n}\n"]}
|
|
@@ -22,6 +22,8 @@ export interface Main {
|
|
|
22
22
|
};
|
|
23
23
|
joinedViaStarterPack?: ComAtprotoRepoStrongRef.Main;
|
|
24
24
|
pinnedPost?: ComAtprotoRepoStrongRef.Main;
|
|
25
|
+
/** Links shown on the profile, in display order. Each ref points to an app.bsky.actor.link record in this repo. */
|
|
26
|
+
links?: ComAtprotoRepoStrongRef.Main[];
|
|
25
27
|
createdAt?: string;
|
|
26
28
|
[k: string]: unknown;
|
|
27
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,KAAK,mBAAmB,MAAM,oCAAoC,CAAA;AAC9E,OAAO,KAAK,KAAK,uBAAuB,MAAM,wCAAwC,CAAA;AAMtF,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,wBAAwB,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qFAAqF;IACrF,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC,UAAU,CAAC,GAAG;QAAE,KAAK,EAAE,M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AAE,CAAA;IACnE,oBAAoB,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACnD,UAAU,CAAC,EAAE,uBAAuB,CAAC,IAAI,CAAA;IACzC,mHAAmH;IACnH,KAAK,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IACtC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wFAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAI5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wBAAwB,CAAA;
|
|
1
|
+
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/actor/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAI5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,GAAG,wBAAwB,CAAA;AAuBnC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,MAAM,UAAU,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,MAAM,UAAU,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAA;AAClD,CAAC;AAED,OAAO,EAEL,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.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.actor.profile'\n\nexport interface Main {\n $type: 'app.bsky.actor.profile'\n displayName?: string\n /** Free-form profile description text. */\n description?: string\n /** Free-form pronouns text. */\n pronouns?: string\n website?: string\n /** Small image to be displayed next to posts from account. AKA, 'profile picture' */\n avatar?: BlobRef\n /** Larger horizontal image to display behind profile view. */\n banner?: BlobRef\n labels?: $Typed<ComAtprotoLabelDefs.SelfLabels> | { $type: string }\n joinedViaStarterPack?: ComAtprotoRepoStrongRef.Main\n pinnedPost?: ComAtprotoRepoStrongRef.Main\n /** Links shown on the profile, in display order. Each ref points to an app.bsky.actor.link record in this repo. */\n links?: ComAtprotoRepoStrongRef.Main[]\n createdAt?: string\n [k: string]: unknown\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain, true)\n}\n\nexport {\n type Main as Record,\n isMain as isRecord,\n validateMain as validateRecord,\n}\n"]}
|
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
* GENERATED CODE - DO NOT MODIFY
|
|
3
3
|
*/
|
|
4
4
|
import { type ValidationResult, BlobRef } from '@atproto/lexicon';
|
|
5
|
+
import { type $Typed } from '../../../../util.js';
|
|
5
6
|
import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
|
|
6
7
|
import type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js';
|
|
7
8
|
import type * as AppBskyActorDefs from '../actor/defs.js';
|
|
9
|
+
import type * as AppBskyEmbedDefs from './defs.js';
|
|
8
10
|
/** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */
|
|
9
11
|
export interface Main {
|
|
10
12
|
$type?: 'app.bsky.embed.external';
|
|
@@ -82,4 +84,105 @@ export interface ColorRGB {
|
|
|
82
84
|
}
|
|
83
85
|
export declare function isColorRGB<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "colorRGB">;
|
|
84
86
|
export declare function validateColorRGB<V>(v: V): ValidationResult<ColorRGB & V>;
|
|
87
|
+
export interface ViewArticle {
|
|
88
|
+
$type?: 'app.bsky.embed.external#viewArticle';
|
|
89
|
+
uri: string;
|
|
90
|
+
title: string;
|
|
91
|
+
description: string;
|
|
92
|
+
createdAt?: string;
|
|
93
|
+
updatedAt?: string;
|
|
94
|
+
labels?: ComAtprotoLabelDefs.Label[];
|
|
95
|
+
associatedRefs?: ComAtprotoRepoStrongRef.Main[];
|
|
96
|
+
associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[];
|
|
97
|
+
image?: string;
|
|
98
|
+
publisher?: ViewArticlePublication;
|
|
99
|
+
readingTime?: number;
|
|
100
|
+
likeCount?: number;
|
|
101
|
+
/** Available profile previews. Selected deterministically by DID; not a ranking. */
|
|
102
|
+
likers?: AppBskyActorDefs.ProfileViewBasic[];
|
|
103
|
+
}
|
|
104
|
+
export declare function isViewArticle<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewArticle">;
|
|
105
|
+
export declare function validateViewArticle<V>(v: V): ValidationResult<ViewArticle & V>;
|
|
106
|
+
export interface ViewArticlePublication {
|
|
107
|
+
$type?: 'app.bsky.embed.external#viewArticlePublication';
|
|
108
|
+
uri: string;
|
|
109
|
+
title: string;
|
|
110
|
+
description: string;
|
|
111
|
+
createdAt?: string;
|
|
112
|
+
updatedAt?: string;
|
|
113
|
+
labels?: ComAtprotoLabelDefs.Label[];
|
|
114
|
+
associatedRefs?: ComAtprotoRepoStrongRef.Main[];
|
|
115
|
+
associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[];
|
|
116
|
+
logo?: string;
|
|
117
|
+
image?: string;
|
|
118
|
+
theme?: ViewArticlePublicationTheme;
|
|
119
|
+
subscriptionCount?: number;
|
|
120
|
+
/** Available profile previews. Selected deterministically by DID; not a ranking. */
|
|
121
|
+
subscribers?: AppBskyActorDefs.ProfileViewBasic[];
|
|
122
|
+
}
|
|
123
|
+
export declare function isViewArticlePublication<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewArticlePublication">;
|
|
124
|
+
export declare function validateViewArticlePublication<V>(v: V): ValidationResult<ViewArticlePublication & V>;
|
|
125
|
+
export interface ViewArticlePublicationTheme {
|
|
126
|
+
$type?: 'app.bsky.embed.external#viewArticlePublicationTheme';
|
|
127
|
+
/** Hex color string, if available. Example: '#ffffff'. */
|
|
128
|
+
background?: string;
|
|
129
|
+
/** Hex color string, if available. Example: '#ffffff'. */
|
|
130
|
+
foreground?: string;
|
|
131
|
+
/** Hex color string, if available. Example: '#ffffff'. */
|
|
132
|
+
accent?: string;
|
|
133
|
+
/** Hex color string, if available. Example: '#ffffff'. */
|
|
134
|
+
accentForeground?: string;
|
|
135
|
+
}
|
|
136
|
+
export declare function isViewArticlePublicationTheme<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewArticlePublicationTheme">;
|
|
137
|
+
export declare function validateViewArticlePublicationTheme<V>(v: V): ValidationResult<ViewArticlePublicationTheme & V>;
|
|
138
|
+
export interface ViewGallery {
|
|
139
|
+
$type?: 'app.bsky.embed.external#viewGallery';
|
|
140
|
+
uri: string;
|
|
141
|
+
title: string;
|
|
142
|
+
description: string;
|
|
143
|
+
createdAt?: string;
|
|
144
|
+
updatedAt?: string;
|
|
145
|
+
labels?: ComAtprotoLabelDefs.Label[];
|
|
146
|
+
associatedRefs?: ComAtprotoRepoStrongRef.Main[];
|
|
147
|
+
associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[];
|
|
148
|
+
/** The media items in the gallery. Each item may be of a different type, but all types must be supported by the client. */
|
|
149
|
+
items: ($Typed<ViewGalleryImage> | {
|
|
150
|
+
$type: string;
|
|
151
|
+
})[];
|
|
152
|
+
likeCount?: number;
|
|
153
|
+
/** Available profile previews. Selected deterministically by DID; not a ranking. */
|
|
154
|
+
likers?: AppBskyActorDefs.ProfileViewBasic[];
|
|
155
|
+
}
|
|
156
|
+
export declare function isViewGallery<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewGallery">;
|
|
157
|
+
export declare function validateViewGallery<V>(v: V): ValidationResult<ViewGallery & V>;
|
|
158
|
+
export interface ViewGalleryImage {
|
|
159
|
+
$type?: 'app.bsky.embed.external#viewGalleryImage';
|
|
160
|
+
/** Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. */
|
|
161
|
+
thumbnail: string;
|
|
162
|
+
/** Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. */
|
|
163
|
+
fullsize: string;
|
|
164
|
+
/** Alt text description of the image, for accessibility. */
|
|
165
|
+
alt?: string;
|
|
166
|
+
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
|
|
167
|
+
}
|
|
168
|
+
export declare function isViewGalleryImage<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewGalleryImage">;
|
|
169
|
+
export declare function validateViewGalleryImage<V>(v: V): ValidationResult<ViewGalleryImage & V>;
|
|
170
|
+
export interface ViewLivestream {
|
|
171
|
+
$type?: 'app.bsky.embed.external#viewLivestream';
|
|
172
|
+
uri: string;
|
|
173
|
+
title: string;
|
|
174
|
+
description: string;
|
|
175
|
+
createdAt?: string;
|
|
176
|
+
updatedAt?: string;
|
|
177
|
+
labels?: ComAtprotoLabelDefs.Label[];
|
|
178
|
+
associatedRefs?: ComAtprotoRepoStrongRef.Main[];
|
|
179
|
+
associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[];
|
|
180
|
+
image?: string;
|
|
181
|
+
/** True if the livestream is currently active at the time this view is served, false if it has ended. */
|
|
182
|
+
active: boolean;
|
|
183
|
+
startedAt?: string;
|
|
184
|
+
endedAt?: string;
|
|
185
|
+
}
|
|
186
|
+
export declare function isViewLivestream<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "app.bsky.embed.external", "viewLivestream">;
|
|
187
|
+
export declare function validateViewLivestream<V>(v: V): ValidationResult<ViewLivestream & V>;
|
|
85
188
|
//# sourceMappingURL=external.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/external.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"external.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/external.ts"],"names":[],"mappings":"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,CAAC,EAAE,wCAAwC,CAAA;IAChD,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,mBAAmB,CAAC,KAAK,EAAE,CAAA;IACpC,cAAc,CAAC,EAAE,uBAAuB,CAAC,IAAI,EAAE,CAAA;IAC/C,kBAAkB,CAAC,EAAE,gBAAgB,CAAC,gBAAgB,EAAE,CAAA;IACxD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yGAAyG;IACzG,MAAM,EAAE,OAAO,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAID,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mGAEvC;AAED,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,wCAE7C"}
|
|
@@ -56,4 +56,46 @@ export function isColorRGB(v) {
|
|
|
56
56
|
export function validateColorRGB(v) {
|
|
57
57
|
return validate(v, id, hashColorRGB);
|
|
58
58
|
}
|
|
59
|
+
const hashViewArticle = 'viewArticle';
|
|
60
|
+
export function isViewArticle(v) {
|
|
61
|
+
return is$typed(v, id, hashViewArticle);
|
|
62
|
+
}
|
|
63
|
+
export function validateViewArticle(v) {
|
|
64
|
+
return validate(v, id, hashViewArticle);
|
|
65
|
+
}
|
|
66
|
+
const hashViewArticlePublication = 'viewArticlePublication';
|
|
67
|
+
export function isViewArticlePublication(v) {
|
|
68
|
+
return is$typed(v, id, hashViewArticlePublication);
|
|
69
|
+
}
|
|
70
|
+
export function validateViewArticlePublication(v) {
|
|
71
|
+
return validate(v, id, hashViewArticlePublication);
|
|
72
|
+
}
|
|
73
|
+
const hashViewArticlePublicationTheme = 'viewArticlePublicationTheme';
|
|
74
|
+
export function isViewArticlePublicationTheme(v) {
|
|
75
|
+
return is$typed(v, id, hashViewArticlePublicationTheme);
|
|
76
|
+
}
|
|
77
|
+
export function validateViewArticlePublicationTheme(v) {
|
|
78
|
+
return validate(v, id, hashViewArticlePublicationTheme);
|
|
79
|
+
}
|
|
80
|
+
const hashViewGallery = 'viewGallery';
|
|
81
|
+
export function isViewGallery(v) {
|
|
82
|
+
return is$typed(v, id, hashViewGallery);
|
|
83
|
+
}
|
|
84
|
+
export function validateViewGallery(v) {
|
|
85
|
+
return validate(v, id, hashViewGallery);
|
|
86
|
+
}
|
|
87
|
+
const hashViewGalleryImage = 'viewGalleryImage';
|
|
88
|
+
export function isViewGalleryImage(v) {
|
|
89
|
+
return is$typed(v, id, hashViewGalleryImage);
|
|
90
|
+
}
|
|
91
|
+
export function validateViewGalleryImage(v) {
|
|
92
|
+
return validate(v, id, hashViewGalleryImage);
|
|
93
|
+
}
|
|
94
|
+
const hashViewLivestream = 'viewLivestream';
|
|
95
|
+
export function isViewLivestream(v) {
|
|
96
|
+
return is$typed(v, id, hashViewLivestream);
|
|
97
|
+
}
|
|
98
|
+
export function validateViewLivestream(v) {
|
|
99
|
+
return validate(v, id, hashViewLivestream);
|
|
100
|
+
}
|
|
59
101
|
//# sourceMappingURL=external.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/external.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAK5B,MAAM,QAAQ,GAAG,SAAS,EACxB,QAAQ,GAAG,SAAS,CAAA;AACtB,MAAM,EAAE,G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EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AAChD,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAI,CAAI;IAChD,OAAO,QAAQ,CAAyB,CAAC,EAAE,EAAE,EAAE,sBAAsB,CAAC,CAAA;AACxE,CAAC;AAWD,MAAM,2BAA2B,GAAG,yBAAyB,CAAA;AAE7D,MAAM,UAAU,yBAAyB,CAAI,CAAI;IAC/C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,2BAA2B,CAAC,CAAA;AACrD,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAI,CAAI;IACrD,OAAO,QAAQ,CACb,CAAC,EACD,EAAE,EACF,2BAA2B,CAC5B,CAAA;AACH,CAAC;AAUD,MAAM,YAAY,GAAG,UAAU,CAAA;AAE/B,MAAM,UAAU,UAAU,CAAI,CAAI;IAChC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACtC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAI,CAAI;IACtC,OAAO,QAAQ,CAAe,CAAC,EAAE,EAAE,EAAE,YAAY,CAAC,CAAA;AACpD,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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.external'\n\n/** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */\nexport interface Main {\n $type?: 'app.bsky.embed.external'\n external: External\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain)\n}\n\nexport interface External {\n $type?: 'app.bsky.embed.external#external'\n uri: string\n title: string\n description: string\n thumb?: BlobRef\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n}\n\nconst hashExternal = 'external'\n\nexport function isExternal<V>(v: V) {\n return is$typed(v, id, hashExternal)\n}\n\nexport function validateExternal<V>(v: V) {\n return validate<External & V>(v, id, hashExternal)\n}\n\nexport interface View {\n $type?: 'app.bsky.embed.external#view'\n external: ViewExternal\n}\n\nconst hashView = 'view'\n\nexport function isView<V>(v: V) {\n return is$typed(v, id, hashView)\n}\n\nexport function validateView<V>(v: V) {\n return validate<View & V>(v, id, hashView)\n}\n\nexport interface ViewExternal {\n $type?: 'app.bsky.embed.external#viewExternal'\n uri: string\n title: string\n description: string\n thumb?: string\n /** When the external content was created, if available. Example: a publication date, for an article. */\n createdAt?: string\n /** When the external content was updated, if available. */\n updatedAt?: string\n /** Estimated reading time in minutes, if applicable and available. */\n readingTime?: number\n labels?: ComAtprotoLabelDefs.Label[]\n source?: ViewExternalSource\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n /** Profiles of the owners of the Atmosphere records that backed this view. */\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewExternal = 'viewExternal'\n\nexport function isViewExternal<V>(v: V) {\n return is$typed(v, id, hashViewExternal)\n}\n\nexport function validateViewExternal<V>(v: V) {\n return validate<ViewExternal & V>(v, id, hashViewExternal)\n}\n\n/** The source of an external embed, such as a standard.site publication. */\nexport interface ViewExternalSource {\n $type?: 'app.bsky.embed.external#viewExternalSource'\n /** URI of the source, if available. Example: the https:// URL of a site.standard.publication record. */\n uri: string\n /** Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View. */\n icon?: string\n title: string\n description?: string\n theme?: ViewExternalSourceTheme\n}\n\nconst hashViewExternalSource = 'viewExternalSource'\n\nexport function isViewExternalSource<V>(v: V) {\n return is$typed(v, id, hashViewExternalSource)\n}\n\nexport function validateViewExternalSource<V>(v: V) {\n return validate<ViewExternalSource & V>(v, id, hashViewExternalSource)\n}\n\n/** The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source. */\nexport interface ViewExternalSourceTheme {\n $type?: 'app.bsky.embed.external#viewExternalSourceTheme'\n backgroundRGB?: ColorRGB\n foregroundRGB?: ColorRGB\n accentRGB?: ColorRGB\n accentForegroundRGB?: ColorRGB\n}\n\nconst hashViewExternalSourceTheme = 'viewExternalSourceTheme'\n\nexport function isViewExternalSourceTheme<V>(v: V) {\n return is$typed(v, id, hashViewExternalSourceTheme)\n}\n\nexport function validateViewExternalSourceTheme<V>(v: V) {\n return validate<ViewExternalSourceTheme & V>(\n v,\n id,\n hashViewExternalSourceTheme,\n )\n}\n\n/** RGB color definition, inspired by site.standard.theme.color#rgb */\nexport interface ColorRGB {\n $type?: 'app.bsky.embed.external#colorRGB'\n r: number\n g: number\n b: number\n}\n\nconst hashColorRGB = 'colorRGB'\n\nexport function isColorRGB<V>(v: V) {\n return is$typed(v, id, hashColorRGB)\n}\n\nexport function validateColorRGB<V>(v: V) {\n return validate<ColorRGB & V>(v, id, hashColorRGB)\n}\n"]}
|
|
1
|
+
{"version":3,"file":"external.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/external.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAyB,OAAO,EAAE,MAAM,kBAAkB,CAAA;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACtC,OAAO,EAAE,QAAQ,IAAI,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAEL,QAAQ,IAAI,SAAS,GAEtB,MAAM,qBAAqB,CAAA;AAM5B,MAAM,QAAQ,GAAG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**\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.js'\nimport {\n type $Typed,\n is$typed as _is$typed,\n type OmitKey,\n} from '../../../../util.js'\nimport type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js'\nimport type * as ComAtprotoLabelDefs from '../../../com/atproto/label/defs.js'\nimport type * as AppBskyActorDefs from '../actor/defs.js'\nimport type * as AppBskyEmbedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.external'\n\n/** A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post). */\nexport interface Main {\n $type?: 'app.bsky.embed.external'\n external: External\n}\n\nconst hashMain = 'main'\n\nexport function isMain<V>(v: V) {\n return is$typed(v, id, hashMain)\n}\n\nexport function validateMain<V>(v: V) {\n return validate<Main & V>(v, id, hashMain)\n}\n\nexport interface External {\n $type?: 'app.bsky.embed.external#external'\n uri: string\n title: string\n description: string\n thumb?: BlobRef\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n}\n\nconst hashExternal = 'external'\n\nexport function isExternal<V>(v: V) {\n return is$typed(v, id, hashExternal)\n}\n\nexport function validateExternal<V>(v: V) {\n return validate<External & V>(v, id, hashExternal)\n}\n\nexport interface View {\n $type?: 'app.bsky.embed.external#view'\n external: ViewExternal\n}\n\nconst hashView = 'view'\n\nexport function isView<V>(v: V) {\n return is$typed(v, id, hashView)\n}\n\nexport function validateView<V>(v: V) {\n return validate<View & V>(v, id, hashView)\n}\n\nexport interface ViewExternal {\n $type?: 'app.bsky.embed.external#viewExternal'\n uri: string\n title: string\n description: string\n thumb?: string\n /** When the external content was created, if available. Example: a publication date, for an article. */\n createdAt?: string\n /** When the external content was updated, if available. */\n updatedAt?: string\n /** Estimated reading time in minutes, if applicable and available. */\n readingTime?: number\n labels?: ComAtprotoLabelDefs.Label[]\n source?: ViewExternalSource\n /** StrongRefs (uri+cid) of the Atmosphere records that backed this view. */\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n /** Profiles of the owners of the Atmosphere records that backed this view. */\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewExternal = 'viewExternal'\n\nexport function isViewExternal<V>(v: V) {\n return is$typed(v, id, hashViewExternal)\n}\n\nexport function validateViewExternal<V>(v: V) {\n return validate<ViewExternal & V>(v, id, hashViewExternal)\n}\n\n/** The source of an external embed, such as a standard.site publication. */\nexport interface ViewExternalSource {\n $type?: 'app.bsky.embed.external#viewExternalSource'\n /** URI of the source, if available. Example: the https:// URL of a site.standard.publication record. */\n uri: string\n /** Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View. */\n icon?: string\n title: string\n description?: string\n theme?: ViewExternalSourceTheme\n}\n\nconst hashViewExternalSource = 'viewExternalSource'\n\nexport function isViewExternalSource<V>(v: V) {\n return is$typed(v, id, hashViewExternalSource)\n}\n\nexport function validateViewExternalSource<V>(v: V) {\n return validate<ViewExternalSource & V>(v, id, hashViewExternalSource)\n}\n\n/** The theme colors of an external source, such as a site.standard.publication. These colors may be used when rendering an embed from that source. */\nexport interface ViewExternalSourceTheme {\n $type?: 'app.bsky.embed.external#viewExternalSourceTheme'\n backgroundRGB?: ColorRGB\n foregroundRGB?: ColorRGB\n accentRGB?: ColorRGB\n accentForegroundRGB?: ColorRGB\n}\n\nconst hashViewExternalSourceTheme = 'viewExternalSourceTheme'\n\nexport function isViewExternalSourceTheme<V>(v: V) {\n return is$typed(v, id, hashViewExternalSourceTheme)\n}\n\nexport function validateViewExternalSourceTheme<V>(v: V) {\n return validate<ViewExternalSourceTheme & V>(\n v,\n id,\n hashViewExternalSourceTheme,\n )\n}\n\n/** RGB color definition, inspired by site.standard.theme.color#rgb */\nexport interface ColorRGB {\n $type?: 'app.bsky.embed.external#colorRGB'\n r: number\n g: number\n b: number\n}\n\nconst hashColorRGB = 'colorRGB'\n\nexport function isColorRGB<V>(v: V) {\n return is$typed(v, id, hashColorRGB)\n}\n\nexport function validateColorRGB<V>(v: V) {\n return validate<ColorRGB & V>(v, id, hashColorRGB)\n}\n\nexport interface ViewArticle {\n $type?: 'app.bsky.embed.external#viewArticle'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n image?: string\n publisher?: ViewArticlePublication\n readingTime?: number\n likeCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n likers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewArticle = 'viewArticle'\n\nexport function isViewArticle<V>(v: V) {\n return is$typed(v, id, hashViewArticle)\n}\n\nexport function validateViewArticle<V>(v: V) {\n return validate<ViewArticle & V>(v, id, hashViewArticle)\n}\n\nexport interface ViewArticlePublication {\n $type?: 'app.bsky.embed.external#viewArticlePublication'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n logo?: string\n image?: string\n theme?: ViewArticlePublicationTheme\n subscriptionCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n subscribers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewArticlePublication = 'viewArticlePublication'\n\nexport function isViewArticlePublication<V>(v: V) {\n return is$typed(v, id, hashViewArticlePublication)\n}\n\nexport function validateViewArticlePublication<V>(v: V) {\n return validate<ViewArticlePublication & V>(v, id, hashViewArticlePublication)\n}\n\nexport interface ViewArticlePublicationTheme {\n $type?: 'app.bsky.embed.external#viewArticlePublicationTheme'\n /** Hex color string, if available. Example: '#ffffff'. */\n background?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n foreground?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n accent?: string\n /** Hex color string, if available. Example: '#ffffff'. */\n accentForeground?: string\n}\n\nconst hashViewArticlePublicationTheme = 'viewArticlePublicationTheme'\n\nexport function isViewArticlePublicationTheme<V>(v: V) {\n return is$typed(v, id, hashViewArticlePublicationTheme)\n}\n\nexport function validateViewArticlePublicationTheme<V>(v: V) {\n return validate<ViewArticlePublicationTheme & V>(\n v,\n id,\n hashViewArticlePublicationTheme,\n )\n}\n\nexport interface ViewGallery {\n $type?: 'app.bsky.embed.external#viewGallery'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n /** The media items in the gallery. Each item may be of a different type, but all types must be supported by the client. */\n items: ($Typed<ViewGalleryImage> | { $type: string })[]\n likeCount?: number\n /** Available profile previews. Selected deterministically by DID; not a ranking. */\n likers?: AppBskyActorDefs.ProfileViewBasic[]\n}\n\nconst hashViewGallery = 'viewGallery'\n\nexport function isViewGallery<V>(v: V) {\n return is$typed(v, id, hashViewGallery)\n}\n\nexport function validateViewGallery<V>(v: V) {\n return validate<ViewGallery & V>(v, id, hashViewGallery)\n}\n\nexport interface ViewGalleryImage {\n $type?: 'app.bsky.embed.external#viewGalleryImage'\n /** Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View. */\n thumbnail: string\n /** Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View. */\n fullsize: string\n /** Alt text description of the image, for accessibility. */\n alt?: string\n aspectRatio?: AppBskyEmbedDefs.AspectRatio\n}\n\nconst hashViewGalleryImage = 'viewGalleryImage'\n\nexport function isViewGalleryImage<V>(v: V) {\n return is$typed(v, id, hashViewGalleryImage)\n}\n\nexport function validateViewGalleryImage<V>(v: V) {\n return validate<ViewGalleryImage & V>(v, id, hashViewGalleryImage)\n}\n\nexport interface ViewLivestream {\n $type?: 'app.bsky.embed.external#viewLivestream'\n uri: string\n title: string\n description: string\n createdAt?: string\n updatedAt?: string\n labels?: ComAtprotoLabelDefs.Label[]\n associatedRefs?: ComAtprotoRepoStrongRef.Main[]\n associatedProfiles?: AppBskyActorDefs.ProfileViewBasic[]\n image?: string\n /** True if the livestream is currently active at the time this view is served, false if it has ended. */\n active: boolean\n startedAt?: string\n endedAt?: string\n}\n\nconst hashViewLivestream = 'viewLivestream'\n\nexport function isViewLivestream<V>(v: V) {\n return is$typed(v, id, hashViewLivestream)\n}\n\nexport function validateViewLivestream<V>(v: V) {\n return validate<ViewLivestream & V>(v, id, hashViewLivestream)\n}\n"]}
|