@atproto/api 0.18.16 → 0.18.18
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/LICENSE.txt +1 -1
- package/dist/client/index.d.ts +33 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +74 -3
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +160 -4
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +81 -2
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.d.ts +8 -0
- package/dist/client/types/app/bsky/actor/defs.d.ts.map +1 -1
- package/dist/client/types/app/bsky/actor/defs.js +9 -0
- package/dist/client/types/app/bsky/actor/defs.js.map +1 -1
- package/dist/client/types/app/bsky/embed/video.d.ts +4 -0
- package/dist/client/types/app/bsky/embed/video.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/video.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsers.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsers.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.d.ts +1 -1
- package/dist/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.js.map +1 -1
- package/dist/client/types/com/germnetwork/declaration.d.ts +24 -0
- package/dist/client/types/com/germnetwork/declaration.d.ts.map +1 -0
- package/dist/client/types/com/germnetwork/declaration.js +27 -0
- package/dist/client/types/com/germnetwork/declaration.js.map +1 -0
- package/package.json +6 -6
- package/src/client/index.ts +102 -0
- package/src/client/lexicons.ts +81 -2
- package/src/client/types/app/bsky/actor/defs.ts +17 -0
- package/src/client/types/app/bsky/embed/video.ts +4 -0
- package/src/client/types/app/bsky/unspecced/getSuggestedUsers.ts +1 -1
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +1 -1
- package/src/client/types/com/germnetwork/declaration.ts +53 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -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 & {});
|
|
@@ -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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AAC,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;
|
|
@@ -103,6 +105,13 @@ function isProfileAssociatedChat(v) {
|
|
|
103
105
|
function validateProfileAssociatedChat(v) {
|
|
104
106
|
return validate(v, id, hashProfileAssociatedChat);
|
|
105
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
|
+
}
|
|
106
115
|
const hashProfileAssociatedActivitySubscription = 'profileAssociatedActivitySubscription';
|
|
107
116
|
function isProfileAssociatedActivitySubscription(v) {
|
|
108
117
|
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":";;AA0CA,gDAEC;AAED,4DAEC;AAuBD,sCAEC;AAED,kDAEC;AA8BD,sDAEC;AAED,kEAEC;AAcD,kDAEC;AAED,8DAEC;AASD,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;AAnrBD,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;AAC9C,CAAC;AAED,SAAgB,wBAAwB,CAAI,CAAI;I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AAE,EAAE,OAAO,CAAC,CAAA;AAC1C,CAAC;AASD,MAAM,qBAAqB,GAAG,mBAAmB,CAAA;AAEjD,SAAgB,mBAAmB,CAAI,CAAI;IACzC,OAAO,QAAQ,CAAC,CAAC,EAAE,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;AAWD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,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 | $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"]}
|
|
1
|
+
{"version":3,"file":"defs.js","sourceRoot":"","sources":["../../../../../../src/client/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;AA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OAAO,QAAQ,CAAC,CAAC,EAAE,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;AAWD,MAAM,wBAAwB,GAAG,sBAAsB,CAAA;AAEvD,SAAgB,sBAAsB,CAAI,CAAI;IAC5C,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAClD,CAAC;AAED,SAAgB,4BAA4B,CAAI,CAAI;IAClD,OAAO,QAAQ,CAA2B,CAAC,EAAE,EAAE,EAAE,wBAAwB,CAAC,CAAA;AAC5E,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 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"]}
|
|
@@ -11,6 +11,8 @@ export interface Main {
|
|
|
11
11
|
/** Alt text description of the video, for accessibility. */
|
|
12
12
|
alt?: string;
|
|
13
13
|
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
|
|
14
|
+
/** A hint to the client about how to present the video. */
|
|
15
|
+
presentation?: 'default' | 'gif' | (string & {});
|
|
14
16
|
}
|
|
15
17
|
export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.embed.video", "main">;
|
|
16
18
|
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
@@ -28,6 +30,8 @@ export interface View {
|
|
|
28
30
|
thumbnail?: string;
|
|
29
31
|
alt?: string;
|
|
30
32
|
aspectRatio?: AppBskyEmbedDefs.AspectRatio;
|
|
33
|
+
/** A hint to the client about how to present the video. */
|
|
34
|
+
presentation?: 'default' | 'gif' | (string & {});
|
|
31
35
|
}
|
|
32
36
|
export declare function isView<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.bsky.embed.video", "view">;
|
|
33
37
|
export declare function validateView<V>(v: V): ValidationResult<View & V>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/video.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,WAAW,CAAA;AAMlD,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EAAE,sBAAsB,CAAA;IAC9B,wEAAwE;IACxE,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/video.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAQjE,OAAO,KAAK,KAAK,gBAAgB,MAAM,WAAW,CAAA;AAMlD,MAAM,WAAW,IAAI;IACnB,KAAK,CAAC,EA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Root":"","sources":["../../../../../../src/client/types/app/bsky/embed/video.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"video.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/embed/video.ts"],"names":[],"mappings":";;AA+BA,wBAEC;AAED,oCAEC;AAUD,8BAEC;AAED,0CAEC;AAeD,wBAEC;AAED,oCAEC;AArED,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sBAAsB,CAAA;AAcjC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC5C,CAAC;AAQD,MAAM,WAAW,GAAG,SAAS,CAAA;AAE7B,SAAgB,SAAS,CAAI,CAAI;IAC/B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AACrC,CAAC;AAED,SAAgB,eAAe,CAAI,CAAI;IACrC,OAAO,QAAQ,CAAc,CAAC,EAAE,EAAE,EAAE,WAAW,CAAC,CAAA;AAClD,CAAC;AAaD,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAC5C,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 AppBskyEmbedDefs from './defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.embed.video'\n\nexport interface Main {\n $type?: 'app.bsky.embed.video'\n /** The mp4 video file. May be up to 100mb, formerly limited to 50mb. */\n video: BlobRef\n captions?: Caption[]\n /** Alt text description of the video, for accessibility. */\n alt?: string\n aspectRatio?: AppBskyEmbedDefs.AspectRatio\n /** A hint to the client about how to present the video. */\n presentation?: 'default' | 'gif' | (string & {})\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 Caption {\n $type?: 'app.bsky.embed.video#caption'\n lang: string\n file: BlobRef\n}\n\nconst hashCaption = 'caption'\n\nexport function isCaption<V>(v: V) {\n return is$typed(v, id, hashCaption)\n}\n\nexport function validateCaption<V>(v: V) {\n return validate<Caption & V>(v, id, hashCaption)\n}\n\nexport interface View {\n $type?: 'app.bsky.embed.video#view'\n cid: string\n playlist: string\n thumbnail?: string\n alt?: string\n aspectRatio?: AppBskyEmbedDefs.AspectRatio\n /** A hint to the client about how to present the video. */\n presentation?: 'default' | 'gif' | (string & {})\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"]}
|
|
@@ -12,7 +12,7 @@ export type InputSchema = undefined;
|
|
|
12
12
|
export interface OutputSchema {
|
|
13
13
|
actors: AppBskyActorDefs.ProfileView[];
|
|
14
14
|
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
15
|
-
recId?:
|
|
15
|
+
recId?: string;
|
|
16
16
|
}
|
|
17
17
|
export interface CallOptions {
|
|
18
18
|
signal?: AbortSignal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedUsers.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsers.ts"],"names":[],"mappings":";;AA0CA,gCAEC;AAtCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA;AA0BjD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsers'\n\nexport type QueryParams = {\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?:
|
|
1
|
+
{"version":3,"file":"getSuggestedUsers.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsers.ts"],"names":[],"mappings":";;AA0CA,gCAEC;AAtCD,mDAA4D;AAC5D,2CAIyB;AAGzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,sCAAsC,CAAA;AA0BjD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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 AppBskyActorDefs from '../actor/defs.js'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsers'\n\nexport type QueryParams = {\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n actors: AppBskyActorDefs.ProfileView[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -13,7 +13,7 @@ export type InputSchema = undefined;
|
|
|
13
13
|
export interface OutputSchema {
|
|
14
14
|
dids: string[];
|
|
15
15
|
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
16
|
-
recId?:
|
|
16
|
+
recId?: string;
|
|
17
17
|
}
|
|
18
18
|
export interface CallOptions {
|
|
19
19
|
signal?: AbortSignal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;AA2CA,gCAEC;AAvCD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,8CAA8C,CAAA;AA4BzD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?:
|
|
1
|
+
{"version":3,"file":"getSuggestedUsersSkeleton.js","sourceRoot":"","sources":["../../../../../../src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts"],"names":[],"mappings":";;AA2CA,gCAEC;AAvCD,mDAA4D;AAC5D,2CAIyB;AAEzB,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,8CAA8C,CAAA;AA4BzD,SAAgB,UAAU,CAAC,CAAM;IAC/B,OAAO,CAAC,CAAA;AACV,CAAC","sourcesContent":["/**\n * GENERATED CODE - DO NOT MODIFY\n */\nimport { HeadersMap, XRPCError } from '@atproto/xrpc'\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'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'app.bsky.unspecced.getSuggestedUsersSkeleton'\n\nexport type QueryParams = {\n /** DID of the account making the request (not included for public/unauthenticated queries). */\n viewer?: string\n /** Category of users to get suggestions for. */\n category?: string\n limit?: number\n}\nexport type InputSchema = undefined\n\nexport interface OutputSchema {\n dids: string[]\n /** Snowflake for this recommendation, use when submitting recommendation events. */\n recId?: string\n}\n\nexport interface CallOptions {\n signal?: AbortSignal\n headers?: HeadersMap\n}\n\nexport interface Response {\n success: boolean\n headers: HeadersMap\n data: OutputSchema\n}\n\nexport function toKnownErr(e: any) {\n return e\n}\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
+
*/
|
|
4
|
+
import { type ValidationResult } from '@atproto/lexicon';
|
|
5
|
+
export interface Main {
|
|
6
|
+
$type: 'com.germnetwork.declaration';
|
|
7
|
+
version: string;
|
|
8
|
+
currentKey: Uint8Array;
|
|
9
|
+
messageMe?: MessageMe;
|
|
10
|
+
keyPackage?: Uint8Array;
|
|
11
|
+
continuityProofs?: Uint8Array[];
|
|
12
|
+
[k: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export declare function isMain<V>(v: V): v is import("../../../util").$TypedObject<V, "com.germnetwork.declaration", "main">;
|
|
15
|
+
export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
|
|
16
|
+
export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
|
|
17
|
+
export interface MessageMe {
|
|
18
|
+
$type?: 'com.germnetwork.declaration#messageMe';
|
|
19
|
+
messageMeUrl: string;
|
|
20
|
+
showButtonTo: 'usersIFollow' | 'everyone' | (string & {});
|
|
21
|
+
}
|
|
22
|
+
export declare function isMessageMe<V>(v: V): v is import("../../../util").$TypedObject<V, "com.germnetwork.declaration", "messageMe">;
|
|
23
|
+
export declare function validateMessageMe<V>(v: V): ValidationResult<MessageMe & V>;
|
|
24
|
+
//# sourceMappingURL=declaration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"declaration.d.ts","sourceRoot":"","sources":["../../../../../src/client/types/com/germnetwork/declaration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AASjE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6BAA6B,CAAA;IACpC,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAA;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,uFAE7B;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;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,uCAAuC,CAAA;IAC/C,YAAY,EAAE,MAAM,CAAA;IACpB,YAAY,EAAE,cAAc,GAAG,UAAU,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAA;CAC1D;AAID,wBAAgB,WAAW,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,4FAElC;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,mCAExC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isMain = isMain;
|
|
4
|
+
exports.isRecord = isMain;
|
|
5
|
+
exports.validateMain = validateMain;
|
|
6
|
+
exports.validateRecord = validateMain;
|
|
7
|
+
exports.isMessageMe = isMessageMe;
|
|
8
|
+
exports.validateMessageMe = validateMessageMe;
|
|
9
|
+
const lexicons_1 = require("../../../lexicons");
|
|
10
|
+
const util_1 = require("../../../util");
|
|
11
|
+
const is$typed = util_1.is$typed, validate = lexicons_1.validate;
|
|
12
|
+
const id = 'com.germnetwork.declaration';
|
|
13
|
+
const hashMain = 'main';
|
|
14
|
+
function isMain(v) {
|
|
15
|
+
return is$typed(v, id, hashMain);
|
|
16
|
+
}
|
|
17
|
+
function validateMain(v) {
|
|
18
|
+
return validate(v, id, hashMain, true);
|
|
19
|
+
}
|
|
20
|
+
const hashMessageMe = 'messageMe';
|
|
21
|
+
function isMessageMe(v) {
|
|
22
|
+
return is$typed(v, id, hashMessageMe);
|
|
23
|
+
}
|
|
24
|
+
function validateMessageMe(v) {
|
|
25
|
+
return validate(v, id, hashMessageMe);
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=declaration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"declaration.js","sourceRoot":"","sources":["../../../../../src/client/types/com/germnetwork/declaration.ts"],"names":[],"mappings":";;AAwBA,wBAEC;AAQW,0BAAQ;AANpB,oCAEC;AAKiB,sCAAc;AAWhC,kCAEC;AAED,8CAEC;AA/CD,gDAAyD;AACzD,wCAAgF;AAEhF,MAAM,QAAQ,GAAG,eAAS,EACxB,QAAQ,GAAG,mBAAS,CAAA;AACtB,MAAM,EAAE,GAAG,6BAA6B,CAAA;AAYxC,MAAM,QAAQ,GAAG,MAAM,CAAA;AAEvB,SAAgB,MAAM,CAAI,CAAI;IAC5B,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,QAAQ,CAAC,CAAA;AAClC,CAAC;AAED,SAAgB,YAAY,CAAI,CAAI;IAClC,OAAO,QAAQ,CAAW,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAA;AAClD,CAAC;AAcD,MAAM,aAAa,GAAG,WAAW,CAAA;AAEjC,SAAgB,WAAW,CAAI,CAAI;IACjC,OAAO,QAAQ,CAAC,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACvC,CAAC;AAED,SAAgB,iBAAiB,CAAI,CAAI;IACvC,OAAO,QAAQ,CAAgB,CAAC,EAAE,EAAE,EAAE,aAAa,CAAC,CAAA;AACtD,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 { type $Typed, is$typed as _is$typed, type OmitKey } from '../../../util'\n\nconst is$typed = _is$typed,\n validate = _validate\nconst id = 'com.germnetwork.declaration'\n\nexport interface Main {\n $type: 'com.germnetwork.declaration'\n version: string\n currentKey: Uint8Array\n messageMe?: MessageMe\n keyPackage?: Uint8Array\n continuityProofs?: Uint8Array[]\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\nexport interface MessageMe {\n $type?: 'com.germnetwork.declaration#messageMe'\n messageMeUrl: string\n showButtonTo: 'usersIFollow' | 'everyone' | (string & {})\n}\n\nconst hashMessageMe = 'messageMe'\n\nexport function isMessageMe<V>(v: V) {\n return is$typed(v, id, hashMessageMe)\n}\n\nexport function validateMessageMe<V>(v: V) {\n return validate<MessageMe & V>(v, id, hashMessageMe)\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atproto/api",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.18",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Client library for atproto and Bluesky",
|
|
6
6
|
"keywords": [
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"multiformats": "^9.9.0",
|
|
22
22
|
"tlds": "^1.234.0",
|
|
23
23
|
"zod": "^3.23.8",
|
|
24
|
-
"@atproto/common-web": "^0.4.
|
|
25
|
-
"@atproto/lexicon": "^0.6.
|
|
26
|
-
"@atproto/
|
|
27
|
-
"@atproto/
|
|
24
|
+
"@atproto/common-web": "^0.4.14",
|
|
25
|
+
"@atproto/lexicon": "^0.6.1",
|
|
26
|
+
"@atproto/syntax": "^0.4.3",
|
|
27
|
+
"@atproto/xrpc": "^0.7.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@jest/globals": "^28.1.3",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@atproto/lex-cli": "^0.9.8"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
|
-
"codegen": "node ./scripts/generate-code.mjs && lex gen-api --yes ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/*",
|
|
37
|
+
"codegen": "node ./scripts/generate-code.mjs && lex gen-api --yes ./src/client ../../lexicons/com/atproto/*/* ../../lexicons/app/bsky/*/* ../../lexicons/chat/bsky/*/* ../../lexicons/tools/ozone/*/* ../../lexicons/com/germnetwork/*",
|
|
38
38
|
"build": "tsc --build tsconfig.build.json",
|
|
39
39
|
"test": "jest"
|
|
40
40
|
}
|
package/src/client/index.ts
CHANGED
|
@@ -266,6 +266,7 @@ import * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/derefe
|
|
|
266
266
|
import * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
|
|
267
267
|
import * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
|
|
268
268
|
import * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js'
|
|
269
|
+
import * as ComGermnetworkDeclaration from './types/com/germnetwork/declaration.js'
|
|
269
270
|
import * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate.js'
|
|
270
271
|
import * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/defs.js'
|
|
271
272
|
import * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.js'
|
|
@@ -578,6 +579,7 @@ export * as ComAtprotoTempDereferenceScope from './types/com/atproto/temp/derefe
|
|
|
578
579
|
export * as ComAtprotoTempFetchLabels from './types/com/atproto/temp/fetchLabels.js'
|
|
579
580
|
export * as ComAtprotoTempRequestPhoneVerification from './types/com/atproto/temp/requestPhoneVerification.js'
|
|
580
581
|
export * as ComAtprotoTempRevokeAccountCredentials from './types/com/atproto/temp/revokeAccountCredentials.js'
|
|
582
|
+
export * as ComGermnetworkDeclaration from './types/com/germnetwork/declaration.js'
|
|
581
583
|
export * as ToolsOzoneCommunicationCreateTemplate from './types/tools/ozone/communication/createTemplate.js'
|
|
582
584
|
export * as ToolsOzoneCommunicationDefs from './types/tools/ozone/communication/defs.js'
|
|
583
585
|
export * as ToolsOzoneCommunicationDeleteTemplate from './types/tools/ozone/communication/deleteTemplate.js'
|
|
@@ -3859,10 +3861,12 @@ export class ChatBskyModerationNS {
|
|
|
3859
3861
|
export class ComNS {
|
|
3860
3862
|
_client: XrpcClient
|
|
3861
3863
|
atproto: ComAtprotoNS
|
|
3864
|
+
germnetwork: ComGermnetworkNS
|
|
3862
3865
|
|
|
3863
3866
|
constructor(client: XrpcClient) {
|
|
3864
3867
|
this._client = client
|
|
3865
3868
|
this.atproto = new ComAtprotoNS(client)
|
|
3869
|
+
this.germnetwork = new ComGermnetworkNS(client)
|
|
3866
3870
|
}
|
|
3867
3871
|
}
|
|
3868
3872
|
|
|
@@ -5023,6 +5027,104 @@ export class ComAtprotoTempNS {
|
|
|
5023
5027
|
}
|
|
5024
5028
|
}
|
|
5025
5029
|
|
|
5030
|
+
export class ComGermnetworkNS {
|
|
5031
|
+
_client: XrpcClient
|
|
5032
|
+
declaration: ComGermnetworkDeclarationRecord
|
|
5033
|
+
|
|
5034
|
+
constructor(client: XrpcClient) {
|
|
5035
|
+
this._client = client
|
|
5036
|
+
this.declaration = new ComGermnetworkDeclarationRecord(client)
|
|
5037
|
+
}
|
|
5038
|
+
}
|
|
5039
|
+
|
|
5040
|
+
export class ComGermnetworkDeclarationRecord {
|
|
5041
|
+
_client: XrpcClient
|
|
5042
|
+
|
|
5043
|
+
constructor(client: XrpcClient) {
|
|
5044
|
+
this._client = client
|
|
5045
|
+
}
|
|
5046
|
+
|
|
5047
|
+
async list(
|
|
5048
|
+
params: OmitKey<ComAtprotoRepoListRecords.QueryParams, 'collection'>,
|
|
5049
|
+
): Promise<{
|
|
5050
|
+
cursor?: string
|
|
5051
|
+
records: { uri: string; value: ComGermnetworkDeclaration.Record }[]
|
|
5052
|
+
}> {
|
|
5053
|
+
const res = await this._client.call('com.atproto.repo.listRecords', {
|
|
5054
|
+
collection: 'com.germnetwork.declaration',
|
|
5055
|
+
...params,
|
|
5056
|
+
})
|
|
5057
|
+
return res.data
|
|
5058
|
+
}
|
|
5059
|
+
|
|
5060
|
+
async get(
|
|
5061
|
+
params: OmitKey<ComAtprotoRepoGetRecord.QueryParams, 'collection'>,
|
|
5062
|
+
): Promise<{
|
|
5063
|
+
uri: string
|
|
5064
|
+
cid: string
|
|
5065
|
+
value: ComGermnetworkDeclaration.Record
|
|
5066
|
+
}> {
|
|
5067
|
+
const res = await this._client.call('com.atproto.repo.getRecord', {
|
|
5068
|
+
collection: 'com.germnetwork.declaration',
|
|
5069
|
+
...params,
|
|
5070
|
+
})
|
|
5071
|
+
return res.data
|
|
5072
|
+
}
|
|
5073
|
+
|
|
5074
|
+
async create(
|
|
5075
|
+
params: OmitKey<
|
|
5076
|
+
ComAtprotoRepoCreateRecord.InputSchema,
|
|
5077
|
+
'collection' | 'record'
|
|
5078
|
+
>,
|
|
5079
|
+
record: Un$Typed<ComGermnetworkDeclaration.Record>,
|
|
5080
|
+
headers?: Record<string, string>,
|
|
5081
|
+
): Promise<{ uri: string; cid: string }> {
|
|
5082
|
+
const collection = 'com.germnetwork.declaration'
|
|
5083
|
+
const res = await this._client.call(
|
|
5084
|
+
'com.atproto.repo.createRecord',
|
|
5085
|
+
undefined,
|
|
5086
|
+
{
|
|
5087
|
+
collection,
|
|
5088
|
+
rkey: 'self',
|
|
5089
|
+
...params,
|
|
5090
|
+
record: { ...record, $type: collection },
|
|
5091
|
+
},
|
|
5092
|
+
{ encoding: 'application/json', headers },
|
|
5093
|
+
)
|
|
5094
|
+
return res.data
|
|
5095
|
+
}
|
|
5096
|
+
|
|
5097
|
+
async put(
|
|
5098
|
+
params: OmitKey<
|
|
5099
|
+
ComAtprotoRepoPutRecord.InputSchema,
|
|
5100
|
+
'collection' | 'record'
|
|
5101
|
+
>,
|
|
5102
|
+
record: Un$Typed<ComGermnetworkDeclaration.Record>,
|
|
5103
|
+
headers?: Record<string, string>,
|
|
5104
|
+
): Promise<{ uri: string; cid: string }> {
|
|
5105
|
+
const collection = 'com.germnetwork.declaration'
|
|
5106
|
+
const res = await this._client.call(
|
|
5107
|
+
'com.atproto.repo.putRecord',
|
|
5108
|
+
undefined,
|
|
5109
|
+
{ collection, ...params, record: { ...record, $type: collection } },
|
|
5110
|
+
{ encoding: 'application/json', headers },
|
|
5111
|
+
)
|
|
5112
|
+
return res.data
|
|
5113
|
+
}
|
|
5114
|
+
|
|
5115
|
+
async delete(
|
|
5116
|
+
params: OmitKey<ComAtprotoRepoDeleteRecord.InputSchema, 'collection'>,
|
|
5117
|
+
headers?: Record<string, string>,
|
|
5118
|
+
): Promise<void> {
|
|
5119
|
+
await this._client.call(
|
|
5120
|
+
'com.atproto.repo.deleteRecord',
|
|
5121
|
+
undefined,
|
|
5122
|
+
{ collection: 'com.germnetwork.declaration', ...params },
|
|
5123
|
+
{ headers },
|
|
5124
|
+
)
|
|
5125
|
+
}
|
|
5126
|
+
}
|
|
5127
|
+
|
|
5026
5128
|
export class ToolsNS {
|
|
5027
5129
|
_client: XrpcClient
|
|
5028
5130
|
ozone: ToolsOzoneNS
|