this repo has no description
0
fork

Configure Feed

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

remove deprecated lexgen output

-92
-1
api/bsky/init.go
··· 1 - package bsky
-26
api/bsky/unspeccedapplyLabels.go
··· 1 - // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 - 3 - package bsky 4 - 5 - // schema: app.bsky.unspecced.applyLabels 6 - 7 - import ( 8 - "context" 9 - 10 - comatprototypes "github.com/bluesky-social/indigo/api/atproto" 11 - "github.com/bluesky-social/indigo/xrpc" 12 - ) 13 - 14 - // UnspeccedApplyLabels_Input is the input argument to a app.bsky.unspecced.applyLabels call. 15 - type UnspeccedApplyLabels_Input struct { 16 - Labels []*comatprototypes.LabelDefs_Label `json:"labels" cborgen:"labels"` 17 - } 18 - 19 - // UnspeccedApplyLabels calls the XRPC method "app.bsky.unspecced.applyLabels". 20 - func UnspeccedApplyLabels(ctx context.Context, c *xrpc.Client, input *UnspeccedApplyLabels_Input) error { 21 - if err := c.Do(ctx, xrpc.Procedure, "application/json", "app.bsky.unspecced.applyLabels", nil, input, nil); err != nil { 22 - return err 23 - } 24 - 25 - return nil 26 - }
-33
api/bsky/unspeccedgetPopular.go
··· 1 - // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 - 3 - package bsky 4 - 5 - // schema: app.bsky.unspecced.getPopular 6 - 7 - import ( 8 - "context" 9 - 10 - "github.com/bluesky-social/indigo/xrpc" 11 - ) 12 - 13 - // UnspeccedGetPopular_Output is the output of a app.bsky.unspecced.getPopular call. 14 - type UnspeccedGetPopular_Output struct { 15 - Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 16 - Feed []*FeedDefs_FeedViewPost `json:"feed" cborgen:"feed"` 17 - } 18 - 19 - // UnspeccedGetPopular calls the XRPC method "app.bsky.unspecced.getPopular". 20 - func UnspeccedGetPopular(ctx context.Context, c *xrpc.Client, cursor string, includeNsfw bool, limit int64) (*UnspeccedGetPopular_Output, error) { 21 - var out UnspeccedGetPopular_Output 22 - 23 - params := map[string]interface{}{ 24 - "cursor": cursor, 25 - "includeNsfw": includeNsfw, 26 - "limit": limit, 27 - } 28 - if err := c.Do(ctx, xrpc.Query, "", "app.bsky.unspecced.getPopular", params, nil, &out); err != nil { 29 - return nil, err 30 - } 31 - 32 - return &out, nil 33 - }
-32
api/bsky/unspeccedgetTimelineSkeleton.go
··· 1 - // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 - 3 - package bsky 4 - 5 - // schema: app.bsky.unspecced.getTimelineSkeleton 6 - 7 - import ( 8 - "context" 9 - 10 - "github.com/bluesky-social/indigo/xrpc" 11 - ) 12 - 13 - // UnspeccedGetTimelineSkeleton_Output is the output of a app.bsky.unspecced.getTimelineSkeleton call. 14 - type UnspeccedGetTimelineSkeleton_Output struct { 15 - Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 16 - Feed []*FeedDefs_SkeletonFeedPost `json:"feed" cborgen:"feed"` 17 - } 18 - 19 - // UnspeccedGetTimelineSkeleton calls the XRPC method "app.bsky.unspecced.getTimelineSkeleton". 20 - func UnspeccedGetTimelineSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*UnspeccedGetTimelineSkeleton_Output, error) { 21 - var out UnspeccedGetTimelineSkeleton_Output 22 - 23 - params := map[string]interface{}{ 24 - "cursor": cursor, 25 - "limit": limit, 26 - } 27 - if err := c.Do(ctx, xrpc.Query, "", "app.bsky.unspecced.getTimelineSkeleton", params, nil, &out); err != nil { 28 - return nil, err 29 - } 30 - 31 - return &out, nil 32 - }