1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package bsky
4
5// schema: app.bsky.graph.getStarterPacks
6
7import (
8 "context"
9
10 "github.com/bluesky-social/indigo/lex/util"
11)
12
13// GraphGetStarterPacks_Output is the output of a app.bsky.graph.getStarterPacks call.
14type GraphGetStarterPacks_Output struct {
15 StarterPacks []*GraphDefs_StarterPackViewBasic `json:"starterPacks" cborgen:"starterPacks"`
16}
17
18// GraphGetStarterPacks calls the XRPC method "app.bsky.graph.getStarterPacks".
19func GraphGetStarterPacks(ctx context.Context, c util.LexClient, uris []string) (*GraphGetStarterPacks_Output, error) {
20 var out GraphGetStarterPacks_Output
21
22 params := map[string]interface{}{}
23 params["uris"] = uris
24 if err := c.LexDo(ctx, util.Query, "", "app.bsky.graph.getStarterPacks", params, nil, &out); err != nil {
25 return nil, err
26 }
27
28 return &out, nil
29}