porting all github actions from bluesky-social/indigo to tangled CI
1
fork

Configure Feed

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

ozone sets API

+199
+28
api/ozone/setaddValues.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package ozone 4 + 5 + // schema: tools.ozone.set.addValues 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/xrpc" 11 + ) 12 + 13 + // SetAddValues_Input is the input argument to a tools.ozone.set.addValues call. 14 + type SetAddValues_Input struct { 15 + // name: Name of the set to add values to 16 + Name string `json:"name" cborgen:"name"` 17 + // values: Array of string values to add to the set 18 + Values []string `json:"values" cborgen:"values"` 19 + } 20 + 21 + // SetAddValues calls the XRPC method "tools.ozone.set.addValues". 22 + func SetAddValues(ctx context.Context, c *xrpc.Client, input *SetAddValues_Input) error { 23 + if err := c.Do(ctx, xrpc.Procedure, "application/json", "tools.ozone.set.addValues", nil, input, nil); err != nil { 24 + return err 25 + } 26 + 27 + return nil 28 + }
+20
api/ozone/setdefs.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package ozone 4 + 5 + // schema: tools.ozone.set.defs 6 + 7 + // SetDefs_Set is a "set" in the tools.ozone.set.defs schema. 8 + type SetDefs_Set struct { 9 + Description *string `json:"description,omitempty" cborgen:"description,omitempty"` 10 + Name string `json:"name" cborgen:"name"` 11 + } 12 + 13 + // SetDefs_SetView is a "setView" in the tools.ozone.set.defs schema. 14 + type SetDefs_SetView struct { 15 + CreatedAt string `json:"createdAt" cborgen:"createdAt"` 16 + Description *string `json:"description,omitempty" cborgen:"description,omitempty"` 17 + Name string `json:"name" cborgen:"name"` 18 + SetSize int64 `json:"setSize" cborgen:"setSize"` 19 + UpdatedAt string `json:"updatedAt" cborgen:"updatedAt"` 20 + }
+31
api/ozone/setdeleteSet.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package ozone 4 + 5 + // schema: tools.ozone.set.deleteSet 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/xrpc" 11 + ) 12 + 13 + // SetDeleteSet_Input is the input argument to a tools.ozone.set.deleteSet call. 14 + type SetDeleteSet_Input struct { 15 + // name: Name of the set to delete 16 + Name string `json:"name" cborgen:"name"` 17 + } 18 + 19 + // SetDeleteSet_Output is the output of a tools.ozone.set.deleteSet call. 20 + type SetDeleteSet_Output struct { 21 + } 22 + 23 + // SetDeleteSet calls the XRPC method "tools.ozone.set.deleteSet". 24 + func SetDeleteSet(ctx context.Context, c *xrpc.Client, input *SetDeleteSet_Input) (*SetDeleteSet_Output, error) { 25 + var out SetDeleteSet_Output 26 + if err := c.Do(ctx, xrpc.Procedure, "application/json", "tools.ozone.set.deleteSet", nil, input, &out); err != nil { 27 + return nil, err 28 + } 29 + 30 + return &out, nil 31 + }
+28
api/ozone/setdeleteValues.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package ozone 4 + 5 + // schema: tools.ozone.set.deleteValues 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/xrpc" 11 + ) 12 + 13 + // SetDeleteValues_Input is the input argument to a tools.ozone.set.deleteValues call. 14 + type SetDeleteValues_Input struct { 15 + // name: Name of the set to delete values from 16 + Name string `json:"name" cborgen:"name"` 17 + // values: Array of string values to delete from the set 18 + Values []string `json:"values" cborgen:"values"` 19 + } 20 + 21 + // SetDeleteValues calls the XRPC method "tools.ozone.set.deleteValues". 22 + func SetDeleteValues(ctx context.Context, c *xrpc.Client, input *SetDeleteValues_Input) error { 23 + if err := c.Do(ctx, xrpc.Procedure, "application/json", "tools.ozone.set.deleteValues", nil, input, nil); err != nil { 24 + return err 25 + } 26 + 27 + return nil 28 + }
+34
api/ozone/setgetValues.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package ozone 4 + 5 + // schema: tools.ozone.set.getValues 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/xrpc" 11 + ) 12 + 13 + // SetGetValues_Output is the output of a tools.ozone.set.getValues call. 14 + type SetGetValues_Output struct { 15 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 16 + Set *SetDefs_SetView `json:"set" cborgen:"set"` 17 + Values []string `json:"values" cborgen:"values"` 18 + } 19 + 20 + // SetGetValues calls the XRPC method "tools.ozone.set.getValues". 21 + func SetGetValues(ctx context.Context, c *xrpc.Client, cursor string, limit int64, name string) (*SetGetValues_Output, error) { 22 + var out SetGetValues_Output 23 + 24 + params := map[string]interface{}{ 25 + "cursor": cursor, 26 + "limit": limit, 27 + "name": name, 28 + } 29 + if err := c.Do(ctx, xrpc.Query, "", "tools.ozone.set.getValues", params, nil, &out); err != nil { 30 + return nil, err 31 + } 32 + 33 + return &out, nil 34 + }
+37
api/ozone/setquerySets.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package ozone 4 + 5 + // schema: tools.ozone.set.querySets 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/xrpc" 11 + ) 12 + 13 + // SetQuerySets_Output is the output of a tools.ozone.set.querySets call. 14 + type SetQuerySets_Output struct { 15 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 16 + Sets []*SetDefs_SetView `json:"sets" cborgen:"sets"` 17 + } 18 + 19 + // SetQuerySets calls the XRPC method "tools.ozone.set.querySets". 20 + // 21 + // sortDirection: Defaults to ascending order of name field. 22 + func SetQuerySets(ctx context.Context, c *xrpc.Client, cursor string, limit int64, namePrefix string, sortBy string, sortDirection string) (*SetQuerySets_Output, error) { 23 + var out SetQuerySets_Output 24 + 25 + params := map[string]interface{}{ 26 + "cursor": cursor, 27 + "limit": limit, 28 + "namePrefix": namePrefix, 29 + "sortBy": sortBy, 30 + "sortDirection": sortDirection, 31 + } 32 + if err := c.Do(ctx, xrpc.Query, "", "tools.ozone.set.querySets", params, nil, &out); err != nil { 33 + return nil, err 34 + } 35 + 36 + return &out, nil 37 + }
+21
api/ozone/setupsertSet.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package ozone 4 + 5 + // schema: tools.ozone.set.upsertSet 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/xrpc" 11 + ) 12 + 13 + // SetUpsertSet calls the XRPC method "tools.ozone.set.upsertSet". 14 + func SetUpsertSet(ctx context.Context, c *xrpc.Client, input *SetUpsertSet_Input) (*SetDefs_SetView, error) { 15 + var out SetDefs_SetView 16 + if err := c.Do(ctx, xrpc.Procedure, "application/json", "tools.ozone.set.upsertSet", nil, input, &out); err != nil { 17 + return nil, err 18 + } 19 + 20 + return &out, nil 21 + }