This repository has no description
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package tangled
4
5// schema: org.tangled.temp.site.claimDomain
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/lex/util"
11)
12
13const (
14 TempSiteClaimDomainNSID = "org.tangled.temp.site.claimDomain"
15)
16
17// TempSiteClaimDomain_Input is the input argument to a org.tangled.temp.site.claimDomain call.
18type TempSiteClaimDomain_Input struct {
19 // subdomain: Desired subdomain label (lowercase letters, digits, and hyphens; 4–63 characters).
20 Subdomain string `json:"subdomain" cborgen:"subdomain"`
21}
22
23// TempSiteClaimDomain calls the XRPC method "org.tangled.temp.site.claimDomain".
24func TempSiteClaimDomain(ctx context.Context, c util.LexClient, input *TempSiteClaimDomain_Input) error {
25 if err := c.LexDo(ctx, util.Procedure, "application/json", "org.tangled.temp.site.claimDomain", nil, input, nil); err != nil {
26 return err
27 }
28
29 return nil
30}