forked from
tangled.org/core
fork
Configure Feed
Select the types of activity you want to include in your feed.
Monorepo for Tangled
fork
Configure Feed
Select the types of activity you want to include in your feed.
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: sh.tangled.repo.delete
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/lex/util"
11)
12
13const (
14 RepoDeleteNSID = "sh.tangled.repo.delete"
15)
16
17// RepoDelete_Input is the input argument to a sh.tangled.repo.delete call.
18type RepoDelete_Input struct {
19 // did: DID of the repository owner
20 Did string `json:"did" cborgen:"did"`
21 // name: Name of the repository to delete
22 Name string `json:"name" cborgen:"name"`
23 // rkey: Rkey of the repository record
24 Rkey string `json:"rkey" cborgen:"rkey"`
25}
26
27// RepoDelete calls the XRPC method "sh.tangled.repo.delete".
28func RepoDelete(ctx context.Context, c util.LexClient, input *RepoDelete_Input) error {
29 if err := c.LexDo(ctx, util.Procedure, "application/json", "sh.tangled.repo.delete", nil, input, nil); err != nil {
30 return err
31 }
32
33 return nil
34}