Skip to content

Commit 694220c

Browse files
chore: Update lexicons (#79)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c755e79 commit 694220c

1 file changed

Lines changed: 80 additions & 3 deletions

File tree

packages/lexicons/src/lib/lexicons.ts

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
* @module
66
* Contains type declarations for Bluesky lexicons
77
* @generated
8-
* Generated on: 2025-02-26T03:31:02.923Z
8+
* Generated on: 2025-02-27T03:30:33.473Z
99
* Version: main
10-
* Source: https://github.com/bluesky-social/atproto/tree/27b0a7be1ed1b6e098114791d84ec9dc844db552/lexicons
10+
* Source: https://github.com/bluesky-social/atproto/tree/dc6e4ecb0e09bbf4bc7a79c6ac43fb6da4166200/lexicons
1111
*/
1212

1313
/** Base type with optional type field */
@@ -1933,6 +1933,12 @@ export declare namespace AppBskyLabelerDefs {
19331933
labels?: ComAtprotoLabelDefs.Label[];
19341934
/** Minimum: 0 */
19351935
likeCount?: number;
1936+
/** The set of report reason 'codes' which are in-scope for this service to review and action. These usually align to policy categories. If not defined (distinct from empty array), all reason types are allowed. */
1937+
reasonTypes?: ComAtprotoModerationDefs.ReasonType[];
1938+
/** Set of record types (collection NSIDs) which can be reported to this service. If not defined (distinct from empty array), default is any record type. */
1939+
subjectCollections?: string[];
1940+
/** The set of subject types (account, record, etc) this service accepts reports on. */
1941+
subjectTypes?: ComAtprotoModerationDefs.SubjectType[];
19361942
viewer?: LabelerViewerState;
19371943
}
19381944
interface LabelerViewerState extends TypedBase {
@@ -2940,6 +2946,16 @@ export declare namespace ComAtprotoAdminUpdateSubjectStatus {
29402946
}
29412947
}
29422948

2949+
export declare namespace ComAtprotoIdentityDefs {
2950+
interface IdentityInfo extends TypedBase {
2951+
did: At.DID;
2952+
/** The complete DID document for the identity. */
2953+
didDoc: unknown;
2954+
/** The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document. */
2955+
handle: At.Handle;
2956+
}
2957+
}
2958+
29432959
/** Describe the credentials that should be included in the DID doc of an account that is migrating to this service. */
29442960
export declare namespace ComAtprotoIdentityGetRecommendedDidCredentials {
29452961
interface Params extends TypedBase {}
@@ -2953,14 +2969,45 @@ export declare namespace ComAtprotoIdentityGetRecommendedDidCredentials {
29532969
}
29542970
}
29552971

2972+
/** Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server. */
2973+
export declare namespace ComAtprotoIdentityRefreshIdentity {
2974+
interface Params extends TypedBase {}
2975+
interface Input extends TypedBase {
2976+
identifier: string;
2977+
}
2978+
type Output = ComAtprotoIdentityDefs.IdentityInfo;
2979+
interface Errors extends TypedBase {
2980+
HandleNotFound: {};
2981+
DidNotFound: {};
2982+
DidDeactivated: {};
2983+
}
2984+
}
2985+
29562986
/** Request an email with a code to in order to request a signed PLC operation. Requires Auth. */
29572987
export declare namespace ComAtprotoIdentityRequestPlcOperationSignature {
29582988
interface Params extends TypedBase {}
29592989
type Input = undefined;
29602990
type Output = undefined;
29612991
}
29622992

2963-
/** Resolves a handle (domain name) to a DID. */
2993+
/** Resolves DID to DID document. Does not bi-directionally verify handle. */
2994+
export declare namespace ComAtprotoIdentityResolveDid {
2995+
interface Params extends TypedBase {
2996+
/** DID to resolve. */
2997+
did: At.DID;
2998+
}
2999+
type Input = undefined;
3000+
interface Output extends TypedBase {
3001+
/** The complete DID document for the identity. */
3002+
didDoc: unknown;
3003+
}
3004+
interface Errors extends TypedBase {
3005+
DidNotFound: {};
3006+
DidDeactivated: {};
3007+
}
3008+
}
3009+
3010+
/** Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document. */
29643011
export declare namespace ComAtprotoIdentityResolveHandle {
29653012
interface Params extends TypedBase {
29663013
/** The handle to resolve. */
@@ -2970,6 +3017,24 @@ export declare namespace ComAtprotoIdentityResolveHandle {
29703017
interface Output extends TypedBase {
29713018
did: At.DID;
29723019
}
3020+
interface Errors extends TypedBase {
3021+
HandleNotFound: {};
3022+
}
3023+
}
3024+
3025+
/** Resolves an identity (DID or Handle) to a full identity (DID document and verified handle). */
3026+
export declare namespace ComAtprotoIdentityResolveIdentity {
3027+
interface Params extends TypedBase {
3028+
/** Handle or DID to resolve. */
3029+
identifier: string;
3030+
}
3031+
type Input = undefined;
3032+
type Output = ComAtprotoIdentityDefs.IdentityInfo;
3033+
interface Errors extends TypedBase {
3034+
HandleNotFound: {};
3035+
DidNotFound: {};
3036+
DidDeactivated: {};
3037+
}
29733038
}
29743039

29753040
/** Signs a PLC operation to update some value(s) in the requesting DID's document. */
@@ -5738,10 +5803,18 @@ export declare interface Queries {
57385803
"com.atproto.identity.getRecommendedDidCredentials": {
57395804
output: ComAtprotoIdentityGetRecommendedDidCredentials.Output;
57405805
};
5806+
"com.atproto.identity.resolveDid": {
5807+
params: ComAtprotoIdentityResolveDid.Params;
5808+
output: ComAtprotoIdentityResolveDid.Output;
5809+
};
57415810
"com.atproto.identity.resolveHandle": {
57425811
params: ComAtprotoIdentityResolveHandle.Params;
57435812
output: ComAtprotoIdentityResolveHandle.Output;
57445813
};
5814+
"com.atproto.identity.resolveIdentity": {
5815+
params: ComAtprotoIdentityResolveIdentity.Params;
5816+
output: ComAtprotoIdentityResolveIdentity.Output;
5817+
};
57455818
"com.atproto.label.queryLabels": {
57465819
params: ComAtprotoLabelQueryLabels.Params;
57475820
output: ComAtprotoLabelQueryLabels.Output;
@@ -6015,6 +6088,10 @@ export declare interface Procedures {
60156088
input: ComAtprotoAdminUpdateSubjectStatus.Input;
60166089
output: ComAtprotoAdminUpdateSubjectStatus.Output;
60176090
};
6091+
"com.atproto.identity.refreshIdentity": {
6092+
input: ComAtprotoIdentityRefreshIdentity.Input;
6093+
output: ComAtprotoIdentityRefreshIdentity.Output;
6094+
};
60186095
"com.atproto.identity.requestPlcOperationSignature": {};
60196096
"com.atproto.identity.signPlcOperation": {
60206097
input: ComAtprotoIdentitySignPlcOperation.Input;

0 commit comments

Comments
 (0)