this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

lexgen again

+8 -11
+4 -7
api/atproto/identitydefs.go
··· 4 4 5 5 // schema: com.atproto.identity.defs 6 6 7 - // IdentityDefs_AtprotoIdentity is a "atprotoIdentity" in the com.atproto.identity.defs schema. 8 - type IdentityDefs_AtprotoIdentity struct { 7 + // IdentityDefs_IdentityInfo is a "identityInfo" in the com.atproto.identity.defs schema. 8 + type IdentityDefs_IdentityInfo struct { 9 9 Did string `json:"did" cborgen:"did"` 10 10 // didDoc: The complete DID document for the identity. 11 - // TODO: manually make this 'interface{}' instead of '*interface{}' 12 - DidDoc interface{} `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` 11 + DidDoc interface{} `json:"didDoc" cborgen:"didDoc"` 13 12 // handle: The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document. 14 - Handle *string `json:"handle,omitempty" cborgen:"handle,omitempty"` 15 - // tombstoned: If true, the DID has been deleted, and the other optional fields (eg, handle and didDoc) should be null. 16 - Tombstoned *bool `json:"tombstoned,omitempty" cborgen:"tombstoned,omitempty"` 13 + Handle string `json:"handle" cborgen:"handle"` 17 14 }
+2 -2
api/atproto/identityrefreshIdentity.go
··· 16 16 } 17 17 18 18 // IdentityRefreshIdentity calls the XRPC method "com.atproto.identity.refreshIdentity". 19 - func IdentityRefreshIdentity(ctx context.Context, c *xrpc.Client, input *IdentityRefreshIdentity_Input) (*IdentityDefs_AtprotoIdentity, error) { 20 - var out IdentityDefs_AtprotoIdentity 19 + func IdentityRefreshIdentity(ctx context.Context, c *xrpc.Client, input *IdentityRefreshIdentity_Input) (*IdentityDefs_IdentityInfo, error) { 20 + var out IdentityDefs_IdentityInfo 21 21 if err := c.Do(ctx, xrpc.Procedure, "application/json", "com.atproto.identity.refreshIdentity", nil, input, &out); err != nil { 22 22 return nil, err 23 23 }
+2 -2
api/atproto/identityresolveIdentity.go
··· 13 13 // IdentityResolveIdentity calls the XRPC method "com.atproto.identity.resolveIdentity". 14 14 // 15 15 // identifier: Handle or DID to resolve. 16 - func IdentityResolveIdentity(ctx context.Context, c *xrpc.Client, identifier string) (*IdentityDefs_AtprotoIdentity, error) { 17 - var out IdentityDefs_AtprotoIdentity 16 + func IdentityResolveIdentity(ctx context.Context, c *xrpc.Client, identifier string) (*IdentityDefs_IdentityInfo, error) { 17 + var out IdentityDefs_IdentityInfo 18 18 19 19 params := map[string]interface{}{ 20 20 "identifier": identifier,