Something went wrong. Try again.
Monorepo for Tangled tangled.org
Something went wrong. Try again.
Go
12345678910111213141516171819202122232425262728293031// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
package tangled
// schema: sh.tangled.repo.acceptCollaboration
import ( "context"
"github.com/bluesky-social/indigo/lex/util")
const ( RepoAcceptCollaborationNSID = "sh.tangled.repo.acceptCollaboration")
// RepoAcceptCollaboration_Input is the input argument to a sh.tangled.repo.acceptCollaboration call.type RepoAcceptCollaboration_Input struct { // acceptance: AT-URI of the sh.tangled.repo.collaboratorAcceptance record, w/ repo-DID as rkey Acceptance string `json:"acceptance" cborgen:"acceptance"`}
// RepoAcceptCollaboration calls the XRPC method "sh.tangled.repo.acceptCollaboration".func RepoAcceptCollaboration(ctx context.Context, c util.LexClient, input *RepoAcceptCollaboration_Input) error { if err := c.LexDo(ctx, util.Procedure, "application/json", "sh.tangled.repo.acceptCollaboration", nil, input, nil); err != nil { return err }
return nil}