this repo has no description
0
fork

Configure Feed

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

api: temporarily resolve more didDoc endpoints

This is a hotfix: lexgen actually has code to handle these better, but
that PR is in review. This commit just manually comments out the other
instances of didDoc and plcOp temporarily (as we already do in one
case).

+35 -35
+6 -6
api/atproto/repodescribeRepo.go
··· 7 7 import ( 8 8 "context" 9 9 10 - "github.com/bluesky-social/indigo/lex/util" 10 + //"github.com/bluesky-social/indigo/lex/util" 11 11 "github.com/bluesky-social/indigo/xrpc" 12 12 ) 13 13 14 14 // RepoDescribeRepo_Output is the output of a com.atproto.repo.describeRepo call. 15 15 type RepoDescribeRepo_Output struct { 16 - Collections []string `json:"collections" cborgen:"collections"` 17 - Did string `json:"did" cborgen:"did"` 18 - DidDoc *util.LexiconTypeDecoder `json:"didDoc" cborgen:"didDoc"` 19 - Handle string `json:"handle" cborgen:"handle"` 20 - HandleIsCorrect bool `json:"handleIsCorrect" cborgen:"handleIsCorrect"` 16 + Collections []string `json:"collections" cborgen:"collections"` 17 + Did string `json:"did" cborgen:"did"` 18 + //DidDoc *util.LexiconTypeDecoder `json:"didDoc" cborgen:"didDoc"` 19 + Handle string `json:"handle" cborgen:"handle"` 20 + HandleIsCorrect bool `json:"handleIsCorrect" cborgen:"handleIsCorrect"` 21 21 } 22 22 23 23 // RepoDescribeRepo calls the XRPC method "com.atproto.repo.describeRepo".
+13 -13
api/atproto/servercreateAccount.go
··· 7 7 import ( 8 8 "context" 9 9 10 - "github.com/bluesky-social/indigo/lex/util" 10 + //"github.com/bluesky-social/indigo/lex/util" 11 11 "github.com/bluesky-social/indigo/xrpc" 12 12 ) 13 13 14 14 // ServerCreateAccount_Input is the input argument to a com.atproto.server.createAccount call. 15 15 type ServerCreateAccount_Input struct { 16 - Did *string `json:"did,omitempty" cborgen:"did,omitempty"` 17 - Email *string `json:"email,omitempty" cborgen:"email,omitempty"` 18 - Handle string `json:"handle" cborgen:"handle"` 19 - InviteCode *string `json:"inviteCode,omitempty" cborgen:"inviteCode,omitempty"` 20 - Password *string `json:"password,omitempty" cborgen:"password,omitempty"` 21 - PlcOp *util.LexiconTypeDecoder `json:"plcOp,omitempty" cborgen:"plcOp,omitempty"` 22 - RecoveryKey *string `json:"recoveryKey,omitempty" cborgen:"recoveryKey,omitempty"` 16 + Did *string `json:"did,omitempty" cborgen:"did,omitempty"` 17 + Email *string `json:"email,omitempty" cborgen:"email,omitempty"` 18 + Handle string `json:"handle" cborgen:"handle"` 19 + InviteCode *string `json:"inviteCode,omitempty" cborgen:"inviteCode,omitempty"` 20 + Password *string `json:"password,omitempty" cborgen:"password,omitempty"` 21 + //PlcOp *util.LexiconTypeDecoder `json:"plcOp,omitempty" cborgen:"plcOp,omitempty"` 22 + RecoveryKey *string `json:"recoveryKey,omitempty" cborgen:"recoveryKey,omitempty"` 23 23 } 24 24 25 25 // ServerCreateAccount_Output is the output of a com.atproto.server.createAccount call. 26 26 type ServerCreateAccount_Output struct { 27 - AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` 28 - Did string `json:"did" cborgen:"did"` 29 - DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` 30 - Handle string `json:"handle" cborgen:"handle"` 31 - RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` 27 + AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` 28 + Did string `json:"did" cborgen:"did"` 29 + //DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` 30 + Handle string `json:"handle" cborgen:"handle"` 31 + RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` 32 32 } 33 33 34 34 // ServerCreateAccount calls the XRPC method "com.atproto.server.createAccount".
+6 -6
api/atproto/servergetSession.go
··· 7 7 import ( 8 8 "context" 9 9 10 - "github.com/bluesky-social/indigo/lex/util" 10 + //"github.com/bluesky-social/indigo/lex/util" 11 11 "github.com/bluesky-social/indigo/xrpc" 12 12 ) 13 13 14 14 // ServerGetSession_Output is the output of a com.atproto.server.getSession call. 15 15 type ServerGetSession_Output struct { 16 - Did string `json:"did" cborgen:"did"` 17 - DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` 18 - Email *string `json:"email,omitempty" cborgen:"email,omitempty"` 19 - EmailConfirmed *bool `json:"emailConfirmed,omitempty" cborgen:"emailConfirmed,omitempty"` 20 - Handle string `json:"handle" cborgen:"handle"` 16 + Did string `json:"did" cborgen:"did"` 17 + //DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` 18 + Email *string `json:"email,omitempty" cborgen:"email,omitempty"` 19 + EmailConfirmed *bool `json:"emailConfirmed,omitempty" cborgen:"emailConfirmed,omitempty"` 20 + Handle string `json:"handle" cborgen:"handle"` 21 21 } 22 22 23 23 // ServerGetSession calls the XRPC method "com.atproto.server.getSession".
+6 -6
api/atproto/serverrefreshSession.go
··· 7 7 import ( 8 8 "context" 9 9 10 - "github.com/bluesky-social/indigo/lex/util" 10 + //"github.com/bluesky-social/indigo/lex/util" 11 11 "github.com/bluesky-social/indigo/xrpc" 12 12 ) 13 13 14 14 // ServerRefreshSession_Output is the output of a com.atproto.server.refreshSession call. 15 15 type ServerRefreshSession_Output struct { 16 - AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` 17 - Did string `json:"did" cborgen:"did"` 18 - DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` 19 - Handle string `json:"handle" cborgen:"handle"` 20 - RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` 16 + AccessJwt string `json:"accessJwt" cborgen:"accessJwt"` 17 + Did string `json:"did" cborgen:"did"` 18 + //DidDoc *util.LexiconTypeDecoder `json:"didDoc,omitempty" cborgen:"didDoc,omitempty"` 19 + Handle string `json:"handle" cborgen:"handle"` 20 + RefreshJwt string `json:"refreshJwt" cborgen:"refreshJwt"` 21 21 } 22 22 23 23 // ServerRefreshSession calls the XRPC method "com.atproto.server.refreshSession".
+4 -4
api/atproto/temptransferAccount.go
··· 7 7 import ( 8 8 "context" 9 9 10 - "github.com/bluesky-social/indigo/lex/util" 10 + //"github.com/bluesky-social/indigo/lex/util" 11 11 "github.com/bluesky-social/indigo/xrpc" 12 12 ) 13 13 14 14 // TempTransferAccount_Input is the input argument to a com.atproto.temp.transferAccount call. 15 15 type TempTransferAccount_Input struct { 16 - Did string `json:"did" cborgen:"did"` 17 - Handle string `json:"handle" cborgen:"handle"` 18 - PlcOp *util.LexiconTypeDecoder `json:"plcOp" cborgen:"plcOp"` 16 + Did string `json:"did" cborgen:"did"` 17 + Handle string `json:"handle" cborgen:"handle"` 18 + //PlcOp *util.LexiconTypeDecoder `json:"plcOp" cborgen:"plcOp"` 19 19 } 20 20 21 21 // TempTransferAccount_Output is the output of a com.atproto.temp.transferAccount call.