Monorepo for Tangled
0

Configure Feed

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

lexicons/*: add all bobbin lexicons to our main collection

Lewis: May this revision serve well! <lewis@tangled.org>

author
Lewis
committer
Tangled
date (Jul 17, 2026, 7:45 PM +0300) commit 73a00493 parent 2d32d8f4 change-id zxzmqnpl
+5945 -4
+38
api/tangled/actorgetProfile.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.actor.getProfile 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + ActorGetProfileNSID = "sh.tangled.actor.getProfile" 15 + ) 16 + 17 + // ActorGetProfile_Output is the output of a sh.tangled.actor.getProfile call. 18 + type ActorGetProfile_Output struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.actor.profile record. 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // ActorGetProfile calls the XRPC method "sh.tangled.actor.getProfile". 26 + // 27 + // actor: AT-URI of the sh.tangled.actor.profile record to fetch. 28 + func ActorGetProfile(ctx context.Context, c util.LexClient, actor string) (*ActorGetProfile_Output, error) { 29 + var out ActorGetProfile_Output 30 + 31 + params := map[string]interface{}{} 32 + params["actor"] = actor 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.actor.getProfile", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+43
api/tangled/actorgetProfiles.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.actor.getProfiles 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + ActorGetProfilesNSID = "sh.tangled.actor.getProfiles" 15 + ) 16 + 17 + // ActorGetProfiles_Output is the output of a sh.tangled.actor.getProfiles call. 18 + type ActorGetProfiles_Output struct { 19 + Items []*ActorGetProfiles_RecordView `json:"items" cborgen:"items"` 20 + } 21 + 22 + // ActorGetProfiles_RecordView is a "recordView" in the sh.tangled.actor.getProfiles schema. 23 + type ActorGetProfiles_RecordView struct { 24 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 25 + Uri string `json:"uri" cborgen:"uri"` 26 + // value: Embedded sh.tangled.actor.profile record. 27 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 28 + } 29 + 30 + // ActorGetProfiles calls the XRPC method "sh.tangled.actor.getProfiles". 31 + // 32 + // actors: AT-URIs of the sh.tangled.actor.profile records to fetch. At most 50 per request. 33 + func ActorGetProfiles(ctx context.Context, c util.LexClient, actors []string) (*ActorGetProfiles_Output, error) { 34 + var out ActorGetProfiles_Output 35 + 36 + params := map[string]interface{}{} 37 + params["actors"] = actors 38 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.actor.getProfiles", params, nil, &out); err != nil { 39 + return nil, err 40 + } 41 + 42 + return &out, nil 43 + }
+38
api/tangled/feedcountComments.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.countComments 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedCountCommentsNSID = "sh.tangled.feed.countComments" 15 + ) 16 + 17 + // FeedCountComments_Output is the output of a sh.tangled.feed.countComments call. 18 + type FeedCountComments_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // FeedCountComments calls the XRPC method "sh.tangled.feed.countComments". 26 + // 27 + // subject: Record AT-URI the comments attach to. 28 + func FeedCountComments(ctx context.Context, c util.LexClient, subject string) (*FeedCountComments_Output, error) { 29 + var out FeedCountComments_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.countComments", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/feedcountCommentsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.countCommentsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedCountCommentsByNSID = "sh.tangled.feed.countCommentsBy" 15 + ) 16 + 17 + // FeedCountCommentsBy_Output is the output of a sh.tangled.feed.countCommentsBy call. 18 + type FeedCountCommentsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // FeedCountCommentsBy calls the XRPC method "sh.tangled.feed.countCommentsBy". 26 + // 27 + // subject: Actor DID whose comment authorings to list. 28 + func FeedCountCommentsBy(ctx context.Context, c util.LexClient, subject string) (*FeedCountCommentsBy_Output, error) { 29 + var out FeedCountCommentsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.countCommentsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/feedcountReactions.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.countReactions 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedCountReactionsNSID = "sh.tangled.feed.countReactions" 15 + ) 16 + 17 + // FeedCountReactions_Output is the output of a sh.tangled.feed.countReactions call. 18 + type FeedCountReactions_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // FeedCountReactions calls the XRPC method "sh.tangled.feed.countReactions". 26 + // 27 + // subject: Record AT-URI the reactions target. 28 + func FeedCountReactions(ctx context.Context, c util.LexClient, subject string) (*FeedCountReactions_Output, error) { 29 + var out FeedCountReactions_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.countReactions", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/feedcountReactionsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.countReactionsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedCountReactionsByNSID = "sh.tangled.feed.countReactionsBy" 15 + ) 16 + 17 + // FeedCountReactionsBy_Output is the output of a sh.tangled.feed.countReactionsBy call. 18 + type FeedCountReactionsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // FeedCountReactionsBy calls the XRPC method "sh.tangled.feed.countReactionsBy". 26 + // 27 + // subject: Actor DID whose reaction authorings to list. 28 + func FeedCountReactionsBy(ctx context.Context, c util.LexClient, subject string) (*FeedCountReactionsBy_Output, error) { 29 + var out FeedCountReactionsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.countReactionsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/feedcountStars.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.countStars 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedCountStarsNSID = "sh.tangled.feed.countStars" 15 + ) 16 + 17 + // FeedCountStars_Output is the output of a sh.tangled.feed.countStars call. 18 + type FeedCountStars_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // FeedCountStars calls the XRPC method "sh.tangled.feed.countStars". 26 + // 27 + // subject: Repo DID to list star edges for. 28 + func FeedCountStars(ctx context.Context, c util.LexClient, subject string) (*FeedCountStars_Output, error) { 29 + var out FeedCountStars_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.countStars", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/feedcountStarsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.countStarsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedCountStarsByNSID = "sh.tangled.feed.countStarsBy" 15 + ) 16 + 17 + // FeedCountStarsBy_Output is the output of a sh.tangled.feed.countStarsBy call. 18 + type FeedCountStarsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // FeedCountStarsBy calls the XRPC method "sh.tangled.feed.countStarsBy". 26 + // 27 + // subject: Actor DID whose star authorings to list. 28 + func FeedCountStarsBy(ctx context.Context, c util.LexClient, subject string) (*FeedCountStarsBy_Output, error) { 29 + var out FeedCountStarsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.countStarsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/feedlistComments.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.listComments 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedListCommentsNSID = "sh.tangled.feed.listComments" 15 + ) 16 + 17 + // FeedListComments_ListItem is a "listItem" in the sh.tangled.feed.listComments schema. 18 + type FeedListComments_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.feed.comment record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // FeedListComments_Output is the output of a sh.tangled.feed.listComments call. 26 + type FeedListComments_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*FeedListComments_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // FeedListComments calls the XRPC method "sh.tangled.feed.listComments". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Record AT-URI the comments attach to. 36 + func FeedListComments(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*FeedListComments_Output, error) { 37 + var out FeedListComments_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.listComments", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/feedlistCommentsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.listCommentsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedListCommentsByNSID = "sh.tangled.feed.listCommentsBy" 15 + ) 16 + 17 + // FeedListCommentsBy_Output is the output of a sh.tangled.feed.listCommentsBy call. 18 + type FeedListCommentsBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*FeedListComments_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // FeedListCommentsBy calls the XRPC method "sh.tangled.feed.listCommentsBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose comment authorings to list. 28 + func FeedListCommentsBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*FeedListCommentsBy_Output, error) { 29 + var out FeedListCommentsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.listCommentsBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+55
api/tangled/feedlistReactions.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.listReactions 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedListReactionsNSID = "sh.tangled.feed.listReactions" 15 + ) 16 + 17 + // FeedListReactions_ListItem is a "listItem" in the sh.tangled.feed.listReactions schema. 18 + type FeedListReactions_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.feed.reaction record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // FeedListReactions_Output is the output of a sh.tangled.feed.listReactions call. 26 + type FeedListReactions_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*FeedListReactions_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // FeedListReactions calls the XRPC method "sh.tangled.feed.listReactions". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Record AT-URI the reactions target. 36 + func FeedListReactions(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*FeedListReactions_Output, error) { 37 + var out FeedListReactions_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.listReactions", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/feedlistReactionsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.listReactionsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedListReactionsByNSID = "sh.tangled.feed.listReactionsBy" 15 + ) 16 + 17 + // FeedListReactionsBy_Output is the output of a sh.tangled.feed.listReactionsBy call. 18 + type FeedListReactionsBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*FeedListReactions_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // FeedListReactionsBy calls the XRPC method "sh.tangled.feed.listReactionsBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose reaction authorings to list. 28 + func FeedListReactionsBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*FeedListReactionsBy_Output, error) { 29 + var out FeedListReactionsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.listReactionsBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+55
api/tangled/feedlistStars.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.listStars 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedListStarsNSID = "sh.tangled.feed.listStars" 15 + ) 16 + 17 + // FeedListStars_ListItem is a "listItem" in the sh.tangled.feed.listStars schema. 18 + type FeedListStars_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.feed.star record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // FeedListStars_Output is the output of a sh.tangled.feed.listStars call. 26 + type FeedListStars_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*FeedListStars_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // FeedListStars calls the XRPC method "sh.tangled.feed.listStars". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Repo DID to list star edges for. 36 + func FeedListStars(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*FeedListStars_Output, error) { 37 + var out FeedListStars_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.listStars", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/feedlistStarsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.feed.listStarsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + FeedListStarsByNSID = "sh.tangled.feed.listStarsBy" 15 + ) 16 + 17 + // FeedListStarsBy_Output is the output of a sh.tangled.feed.listStarsBy call. 18 + type FeedListStarsBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*FeedListStars_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // FeedListStarsBy calls the XRPC method "sh.tangled.feed.listStarsBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose star authorings to list. 28 + func FeedListStarsBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*FeedListStarsBy_Output, error) { 29 + var out FeedListStarsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.feed.listStarsBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+38
api/tangled/gitcountRefUpdates.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.git.countRefUpdates 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GitCountRefUpdatesNSID = "sh.tangled.git.countRefUpdates" 15 + ) 16 + 17 + // GitCountRefUpdates_Output is the output of a sh.tangled.git.countRefUpdates call. 18 + type GitCountRefUpdates_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // GitCountRefUpdates calls the XRPC method "sh.tangled.git.countRefUpdates". 26 + // 27 + // subject: Repo DID whose ref-update records to list. 28 + func GitCountRefUpdates(ctx context.Context, c util.LexClient, subject string) (*GitCountRefUpdates_Output, error) { 29 + var out GitCountRefUpdates_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.git.countRefUpdates", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/gitcountRefUpdatesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.git.countRefUpdatesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GitCountRefUpdatesByNSID = "sh.tangled.git.countRefUpdatesBy" 15 + ) 16 + 17 + // GitCountRefUpdatesBy_Output is the output of a sh.tangled.git.countRefUpdatesBy call. 18 + type GitCountRefUpdatesBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // GitCountRefUpdatesBy calls the XRPC method "sh.tangled.git.countRefUpdatesBy". 26 + // 27 + // subject: Actor DID whose ref-update authorings to list. 28 + func GitCountRefUpdatesBy(ctx context.Context, c util.LexClient, subject string) (*GitCountRefUpdatesBy_Output, error) { 29 + var out GitCountRefUpdatesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.git.countRefUpdatesBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/gitlistRefUpdates.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.git.listRefUpdates 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GitListRefUpdatesNSID = "sh.tangled.git.listRefUpdates" 15 + ) 16 + 17 + // GitListRefUpdates_ListItem is a "listItem" in the sh.tangled.git.listRefUpdates schema. 18 + type GitListRefUpdates_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.git.refUpdate record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // GitListRefUpdates_Output is the output of a sh.tangled.git.listRefUpdates call. 26 + type GitListRefUpdates_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*GitListRefUpdates_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // GitListRefUpdates calls the XRPC method "sh.tangled.git.listRefUpdates". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Repo DID whose ref-update records to list. 36 + func GitListRefUpdates(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*GitListRefUpdates_Output, error) { 37 + var out GitListRefUpdates_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.git.listRefUpdates", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/gitlistRefUpdatesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.git.listRefUpdatesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GitListRefUpdatesByNSID = "sh.tangled.git.listRefUpdatesBy" 15 + ) 16 + 17 + // GitListRefUpdatesBy_Output is the output of a sh.tangled.git.listRefUpdatesBy call. 18 + type GitListRefUpdatesBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*GitListRefUpdates_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // GitListRefUpdatesBy calls the XRPC method "sh.tangled.git.listRefUpdatesBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose ref-update authorings to list. 28 + func GitListRefUpdatesBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*GitListRefUpdatesBy_Output, error) { 29 + var out GitListRefUpdatesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.git.listRefUpdatesBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+38
api/tangled/graphcountFollows.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.countFollows 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphCountFollowsNSID = "sh.tangled.graph.countFollows" 15 + ) 16 + 17 + // GraphCountFollows_Output is the output of a sh.tangled.graph.countFollows call. 18 + type GraphCountFollows_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // GraphCountFollows calls the XRPC method "sh.tangled.graph.countFollows". 26 + // 27 + // subject: Followee DID whose inbound follows to list. 28 + func GraphCountFollows(ctx context.Context, c util.LexClient, subject string) (*GraphCountFollows_Output, error) { 29 + var out GraphCountFollows_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.countFollows", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/graphcountFollowsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.countFollowsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphCountFollowsByNSID = "sh.tangled.graph.countFollowsBy" 15 + ) 16 + 17 + // GraphCountFollowsBy_Output is the output of a sh.tangled.graph.countFollowsBy call. 18 + type GraphCountFollowsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // GraphCountFollowsBy calls the XRPC method "sh.tangled.graph.countFollowsBy". 26 + // 27 + // subject: Actor DID whose follow authorings to list. 28 + func GraphCountFollowsBy(ctx context.Context, c util.LexClient, subject string) (*GraphCountFollowsBy_Output, error) { 29 + var out GraphCountFollowsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.countFollowsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/graphcountVouches.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.countVouches 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphCountVouchesNSID = "sh.tangled.graph.countVouches" 15 + ) 16 + 17 + // GraphCountVouches_Output is the output of a sh.tangled.graph.countVouches call. 18 + type GraphCountVouches_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // GraphCountVouches calls the XRPC method "sh.tangled.graph.countVouches". 26 + // 27 + // subject: Vouchee DID whose inbound vouches to list. 28 + func GraphCountVouches(ctx context.Context, c util.LexClient, subject string) (*GraphCountVouches_Output, error) { 29 + var out GraphCountVouches_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.countVouches", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/graphcountVouchesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.countVouchesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphCountVouchesByNSID = "sh.tangled.graph.countVouchesBy" 15 + ) 16 + 17 + // GraphCountVouchesBy_Output is the output of a sh.tangled.graph.countVouchesBy call. 18 + type GraphCountVouchesBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // GraphCountVouchesBy calls the XRPC method "sh.tangled.graph.countVouchesBy". 26 + // 27 + // subject: Actor DID whose vouch authorings to list. 28 + func GraphCountVouchesBy(ctx context.Context, c util.LexClient, subject string) (*GraphCountVouchesBy_Output, error) { 29 + var out GraphCountVouchesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.countVouchesBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/graphlistFollows.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.listFollows 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphListFollowsNSID = "sh.tangled.graph.listFollows" 15 + ) 16 + 17 + // GraphListFollows_ListItem is a "listItem" in the sh.tangled.graph.listFollows schema. 18 + type GraphListFollows_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.graph.follow record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // GraphListFollows_Output is the output of a sh.tangled.graph.listFollows call. 26 + type GraphListFollows_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*GraphListFollows_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // GraphListFollows calls the XRPC method "sh.tangled.graph.listFollows". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Followee DID whose inbound follows to list. 36 + func GraphListFollows(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*GraphListFollows_Output, error) { 37 + var out GraphListFollows_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.listFollows", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/graphlistFollowsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.listFollowsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphListFollowsByNSID = "sh.tangled.graph.listFollowsBy" 15 + ) 16 + 17 + // GraphListFollowsBy_Output is the output of a sh.tangled.graph.listFollowsBy call. 18 + type GraphListFollowsBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*GraphListFollows_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // GraphListFollowsBy calls the XRPC method "sh.tangled.graph.listFollowsBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose follow authorings to list. 28 + func GraphListFollowsBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*GraphListFollowsBy_Output, error) { 29 + var out GraphListFollowsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.listFollowsBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+55
api/tangled/graphlistVouches.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.listVouches 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphListVouchesNSID = "sh.tangled.graph.listVouches" 15 + ) 16 + 17 + // GraphListVouches_ListItem is a "listItem" in the sh.tangled.graph.listVouches schema. 18 + type GraphListVouches_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.graph.vouch record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // GraphListVouches_Output is the output of a sh.tangled.graph.listVouches call. 26 + type GraphListVouches_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*GraphListVouches_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // GraphListVouches calls the XRPC method "sh.tangled.graph.listVouches". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Vouchee DID whose inbound vouches to list. 36 + func GraphListVouches(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*GraphListVouches_Output, error) { 37 + var out GraphListVouches_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.listVouches", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/graphlistVouchesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.graph.listVouchesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + GraphListVouchesByNSID = "sh.tangled.graph.listVouchesBy" 15 + ) 16 + 17 + // GraphListVouchesBy_Output is the output of a sh.tangled.graph.listVouchesBy call. 18 + type GraphListVouchesBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*GraphListVouches_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // GraphListVouchesBy calls the XRPC method "sh.tangled.graph.listVouchesBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose vouch authorings to list. 28 + func GraphListVouchesBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*GraphListVouchesBy_Output, error) { 29 + var out GraphListVouchesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.graph.listVouchesBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+38
api/tangled/issuecountStates.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.issue.countStates 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoIssueCountStatesNSID = "sh.tangled.repo.issue.countStates" 15 + ) 16 + 17 + // RepoIssueCountStates_Output is the output of a sh.tangled.repo.issue.countStates call. 18 + type RepoIssueCountStates_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoIssueCountStates calls the XRPC method "sh.tangled.repo.issue.countStates". 26 + // 27 + // subject: Issue AT-URI whose state records to list. 28 + func RepoIssueCountStates(ctx context.Context, c util.LexClient, subject string) (*RepoIssueCountStates_Output, error) { 29 + var out RepoIssueCountStates_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.issue.countStates", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/issuecountStatesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.issue.countStatesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoIssueCountStatesByNSID = "sh.tangled.repo.issue.countStatesBy" 15 + ) 16 + 17 + // RepoIssueCountStatesBy_Output is the output of a sh.tangled.repo.issue.countStatesBy call. 18 + type RepoIssueCountStatesBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoIssueCountStatesBy calls the XRPC method "sh.tangled.repo.issue.countStatesBy". 26 + // 27 + // subject: Actor DID whose issue-state authorings to list. 28 + func RepoIssueCountStatesBy(ctx context.Context, c util.LexClient, subject string) (*RepoIssueCountStatesBy_Output, error) { 29 + var out RepoIssueCountStatesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.issue.countStatesBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/issuelistStates.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.issue.listStates 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoIssueListStatesNSID = "sh.tangled.repo.issue.listStates" 15 + ) 16 + 17 + // RepoIssueListStates_ListItem is a "listItem" in the sh.tangled.repo.issue.listStates schema. 18 + type RepoIssueListStates_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo.issue.state record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoIssueListStates_Output is the output of a sh.tangled.repo.issue.listStates call. 26 + type RepoIssueListStates_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*RepoIssueListStates_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // RepoIssueListStates calls the XRPC method "sh.tangled.repo.issue.listStates". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Issue AT-URI whose state records to list. 36 + func RepoIssueListStates(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*RepoIssueListStates_Output, error) { 37 + var out RepoIssueListStates_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.issue.listStates", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/issuelistStatesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.issue.listStatesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoIssueListStatesByNSID = "sh.tangled.repo.issue.listStatesBy" 15 + ) 16 + 17 + // RepoIssueListStatesBy_Output is the output of a sh.tangled.repo.issue.listStatesBy call. 18 + type RepoIssueListStatesBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*RepoIssueListStates_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // RepoIssueListStatesBy calls the XRPC method "sh.tangled.repo.issue.listStatesBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose issue-state authorings to list. 28 + func RepoIssueListStatesBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*RepoIssueListStatesBy_Output, error) { 29 + var out RepoIssueListStatesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.issue.listStatesBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+38
api/tangled/knotcountKnots.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.knot.countKnots 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + KnotCountKnotsNSID = "sh.tangled.knot.countKnots" 15 + ) 16 + 17 + // KnotCountKnots_Output is the output of a sh.tangled.knot.countKnots call. 18 + type KnotCountKnots_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // KnotCountKnots calls the XRPC method "sh.tangled.knot.countKnots". 26 + // 27 + // subject: Owner DID whose knot records to list. 28 + func KnotCountKnots(ctx context.Context, c util.LexClient, subject string) (*KnotCountKnots_Output, error) { 29 + var out KnotCountKnots_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.knot.countKnots", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/knotcountMembers.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.knot.countMembers 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + KnotCountMembersNSID = "sh.tangled.knot.countMembers" 15 + ) 16 + 17 + // KnotCountMembers_Output is the output of a sh.tangled.knot.countMembers call. 18 + type KnotCountMembers_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // KnotCountMembers calls the XRPC method "sh.tangled.knot.countMembers". 26 + // 27 + // subject: Knot identifier whose member records to list. 28 + func KnotCountMembers(ctx context.Context, c util.LexClient, subject string) (*KnotCountMembers_Output, error) { 29 + var out KnotCountMembers_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.knot.countMembers", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/knotcountMembersBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.knot.countMembersBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + KnotCountMembersByNSID = "sh.tangled.knot.countMembersBy" 15 + ) 16 + 17 + // KnotCountMembersBy_Output is the output of a sh.tangled.knot.countMembersBy call. 18 + type KnotCountMembersBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // KnotCountMembersBy calls the XRPC method "sh.tangled.knot.countMembersBy". 26 + // 27 + // subject: Actor DID whose knot-member authorings to list. 28 + func KnotCountMembersBy(ctx context.Context, c util.LexClient, subject string) (*KnotCountMembersBy_Output, error) { 29 + var out KnotCountMembersBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.knot.countMembersBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/knotlistKnots.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.knot.listKnots 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + KnotListKnotsNSID = "sh.tangled.knot.listKnots" 15 + ) 16 + 17 + // KnotListKnots_ListItem is a "listItem" in the sh.tangled.knot.listKnots schema. 18 + type KnotListKnots_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.knot record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // KnotListKnots_Output is the output of a sh.tangled.knot.listKnots call. 26 + type KnotListKnots_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*KnotListKnots_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // KnotListKnots calls the XRPC method "sh.tangled.knot.listKnots". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Owner DID whose knot records to list. 36 + func KnotListKnots(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*KnotListKnots_Output, error) { 37 + var out KnotListKnots_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.knot.listKnots", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+38
api/tangled/labelcountDefinitions.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.label.countDefinitions 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + LabelCountDefinitionsNSID = "sh.tangled.label.countDefinitions" 15 + ) 16 + 17 + // LabelCountDefinitions_Output is the output of a sh.tangled.label.countDefinitions call. 18 + type LabelCountDefinitions_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // LabelCountDefinitions calls the XRPC method "sh.tangled.label.countDefinitions". 26 + // 27 + // subject: Scope identifier whose label definitions to list. 28 + func LabelCountDefinitions(ctx context.Context, c util.LexClient, subject string) (*LabelCountDefinitions_Output, error) { 29 + var out LabelCountDefinitions_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.label.countDefinitions", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/labelcountOps.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.label.countOps 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + LabelCountOpsNSID = "sh.tangled.label.countOps" 15 + ) 16 + 17 + // LabelCountOps_Output is the output of a sh.tangled.label.countOps call. 18 + type LabelCountOps_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // LabelCountOps calls the XRPC method "sh.tangled.label.countOps". 26 + // 27 + // subject: Scope identifier whose label op records to list. 28 + func LabelCountOps(ctx context.Context, c util.LexClient, subject string) (*LabelCountOps_Output, error) { 29 + var out LabelCountOps_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.label.countOps", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/labelcountOpsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.label.countOpsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + LabelCountOpsByNSID = "sh.tangled.label.countOpsBy" 15 + ) 16 + 17 + // LabelCountOpsBy_Output is the output of a sh.tangled.label.countOpsBy call. 18 + type LabelCountOpsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // LabelCountOpsBy calls the XRPC method "sh.tangled.label.countOpsBy". 26 + // 27 + // subject: Actor DID whose label-op authorings to list. 28 + func LabelCountOpsBy(ctx context.Context, c util.LexClient, subject string) (*LabelCountOpsBy_Output, error) { 29 + var out LabelCountOpsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.label.countOpsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/labellistDefinitions.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.label.listDefinitions 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + LabelListDefinitionsNSID = "sh.tangled.label.listDefinitions" 15 + ) 16 + 17 + // LabelListDefinitions_ListItem is a "listItem" in the sh.tangled.label.listDefinitions schema. 18 + type LabelListDefinitions_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.label.definition record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // LabelListDefinitions_Output is the output of a sh.tangled.label.listDefinitions call. 26 + type LabelListDefinitions_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*LabelListDefinitions_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // LabelListDefinitions calls the XRPC method "sh.tangled.label.listDefinitions". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Scope identifier whose label definitions to list. 36 + func LabelListDefinitions(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*LabelListDefinitions_Output, error) { 37 + var out LabelListDefinitions_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.label.listDefinitions", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+55
api/tangled/labellistOps.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.label.listOps 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + LabelListOpsNSID = "sh.tangled.label.listOps" 15 + ) 16 + 17 + // LabelListOps_ListItem is a "listItem" in the sh.tangled.label.listOps schema. 18 + type LabelListOps_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.label.op record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // LabelListOps_Output is the output of a sh.tangled.label.listOps call. 26 + type LabelListOps_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*LabelListOps_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // LabelListOps calls the XRPC method "sh.tangled.label.listOps". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Scope identifier whose label op records to list. 36 + func LabelListOps(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*LabelListOps_Output, error) { 37 + var out LabelListOps_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.label.listOps", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/labellistOpsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.label.listOpsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + LabelListOpsByNSID = "sh.tangled.label.listOpsBy" 15 + ) 16 + 17 + // LabelListOpsBy_Output is the output of a sh.tangled.label.listOpsBy call. 18 + type LabelListOpsBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*LabelListOps_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // LabelListOpsBy calls the XRPC method "sh.tangled.label.listOpsBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose label-op authorings to list. 28 + func LabelListOpsBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*LabelListOpsBy_Output, error) { 29 + var out LabelListOpsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.label.listOpsBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+38
api/tangled/pipelinecountPipelines.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.countPipelines 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineCountPipelinesNSID = "sh.tangled.pipeline.countPipelines" 15 + ) 16 + 17 + // PipelineCountPipelines_Output is the output of a sh.tangled.pipeline.countPipelines call. 18 + type PipelineCountPipelines_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // PipelineCountPipelines calls the XRPC method "sh.tangled.pipeline.countPipelines". 26 + // 27 + // subject: Repo or spindle identifier whose pipeline records to list. 28 + func PipelineCountPipelines(ctx context.Context, c util.LexClient, subject string) (*PipelineCountPipelines_Output, error) { 29 + var out PipelineCountPipelines_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.countPipelines", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/pipelinecountPipelinesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.countPipelinesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineCountPipelinesByNSID = "sh.tangled.pipeline.countPipelinesBy" 15 + ) 16 + 17 + // PipelineCountPipelinesBy_Output is the output of a sh.tangled.pipeline.countPipelinesBy call. 18 + type PipelineCountPipelinesBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // PipelineCountPipelinesBy calls the XRPC method "sh.tangled.pipeline.countPipelinesBy". 26 + // 27 + // subject: Actor DID whose pipeline authorings to list. 28 + func PipelineCountPipelinesBy(ctx context.Context, c util.LexClient, subject string) (*PipelineCountPipelinesBy_Output, error) { 29 + var out PipelineCountPipelinesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.countPipelinesBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/pipelinecountStatuses.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.countStatuses 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineCountStatusesNSID = "sh.tangled.pipeline.countStatuses" 15 + ) 16 + 17 + // PipelineCountStatuses_Output is the output of a sh.tangled.pipeline.countStatuses call. 18 + type PipelineCountStatuses_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // PipelineCountStatuses calls the XRPC method "sh.tangled.pipeline.countStatuses". 26 + // 27 + // subject: Pipeline AT-URI whose status records to list. 28 + func PipelineCountStatuses(ctx context.Context, c util.LexClient, subject string) (*PipelineCountStatuses_Output, error) { 29 + var out PipelineCountStatuses_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.countStatuses", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/pipelinecountStatusesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.countStatusesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineCountStatusesByNSID = "sh.tangled.pipeline.countStatusesBy" 15 + ) 16 + 17 + // PipelineCountStatusesBy_Output is the output of a sh.tangled.pipeline.countStatusesBy call. 18 + type PipelineCountStatusesBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // PipelineCountStatusesBy calls the XRPC method "sh.tangled.pipeline.countStatusesBy". 26 + // 27 + // subject: Actor DID whose pipeline-status authorings to list. 28 + func PipelineCountStatusesBy(ctx context.Context, c util.LexClient, subject string) (*PipelineCountStatusesBy_Output, error) { 29 + var out PipelineCountStatusesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.countStatusesBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/pipelinelistPipelines.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.listPipelines 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineListPipelinesNSID = "sh.tangled.pipeline.listPipelines" 15 + ) 16 + 17 + // PipelineListPipelines_ListItem is a "listItem" in the sh.tangled.pipeline.listPipelines schema. 18 + type PipelineListPipelines_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.pipeline record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // PipelineListPipelines_Output is the output of a sh.tangled.pipeline.listPipelines call. 26 + type PipelineListPipelines_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*PipelineListPipelines_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // PipelineListPipelines calls the XRPC method "sh.tangled.pipeline.listPipelines". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Repo or spindle identifier whose pipeline records to list. 36 + func PipelineListPipelines(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*PipelineListPipelines_Output, error) { 37 + var out PipelineListPipelines_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.listPipelines", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/pipelinelistPipelinesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.listPipelinesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineListPipelinesByNSID = "sh.tangled.pipeline.listPipelinesBy" 15 + ) 16 + 17 + // PipelineListPipelinesBy_Output is the output of a sh.tangled.pipeline.listPipelinesBy call. 18 + type PipelineListPipelinesBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*PipelineListPipelines_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // PipelineListPipelinesBy calls the XRPC method "sh.tangled.pipeline.listPipelinesBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose pipeline authorings to list. 28 + func PipelineListPipelinesBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*PipelineListPipelinesBy_Output, error) { 29 + var out PipelineListPipelinesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.listPipelinesBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+55
api/tangled/pipelinelistStatuses.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.listStatuses 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineListStatusesNSID = "sh.tangled.pipeline.listStatuses" 15 + ) 16 + 17 + // PipelineListStatuses_ListItem is a "listItem" in the sh.tangled.pipeline.listStatuses schema. 18 + type PipelineListStatuses_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.pipeline.status record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // PipelineListStatuses_Output is the output of a sh.tangled.pipeline.listStatuses call. 26 + type PipelineListStatuses_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*PipelineListStatuses_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // PipelineListStatuses calls the XRPC method "sh.tangled.pipeline.listStatuses". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Pipeline AT-URI whose status records to list. 36 + func PipelineListStatuses(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*PipelineListStatuses_Output, error) { 37 + var out PipelineListStatuses_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.listStatuses", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/pipelinelistStatusesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.pipeline.listStatusesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PipelineListStatusesByNSID = "sh.tangled.pipeline.listStatusesBy" 15 + ) 16 + 17 + // PipelineListStatusesBy_Output is the output of a sh.tangled.pipeline.listStatusesBy call. 18 + type PipelineListStatusesBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*PipelineListStatuses_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // PipelineListStatusesBy calls the XRPC method "sh.tangled.pipeline.listStatusesBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose pipeline-status authorings to list. 28 + func PipelineListStatusesBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*PipelineListStatusesBy_Output, error) { 29 + var out PipelineListStatusesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.pipeline.listStatusesBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+38
api/tangled/publicKeycountKeys.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.publicKey.countKeys 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PublicKeyCountKeysNSID = "sh.tangled.publicKey.countKeys" 15 + ) 16 + 17 + // PublicKeyCountKeys_Output is the output of a sh.tangled.publicKey.countKeys call. 18 + type PublicKeyCountKeys_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // PublicKeyCountKeys calls the XRPC method "sh.tangled.publicKey.countKeys". 26 + // 27 + // subject: Owner DID whose public-key records to list. 28 + func PublicKeyCountKeys(ctx context.Context, c util.LexClient, subject string) (*PublicKeyCountKeys_Output, error) { 29 + var out PublicKeyCountKeys_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.publicKey.countKeys", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/publicKeylistKeys.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.publicKey.listKeys 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + PublicKeyListKeysNSID = "sh.tangled.publicKey.listKeys" 15 + ) 16 + 17 + // PublicKeyListKeys_ListItem is a "listItem" in the sh.tangled.publicKey.listKeys schema. 18 + type PublicKeyListKeys_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.publicKey record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // PublicKeyListKeys_Output is the output of a sh.tangled.publicKey.listKeys call. 26 + type PublicKeyListKeys_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*PublicKeyListKeys_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // PublicKeyListKeys calls the XRPC method "sh.tangled.publicKey.listKeys". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Owner DID whose public-key records to list. 36 + func PublicKeyListKeys(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*PublicKeyListKeys_Output, error) { 37 + var out PublicKeyListKeys_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.publicKey.listKeys", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+38
api/tangled/pullcountStatuses.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.pull.countStatuses 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoPullCountStatusesNSID = "sh.tangled.repo.pull.countStatuses" 15 + ) 16 + 17 + // RepoPullCountStatuses_Output is the output of a sh.tangled.repo.pull.countStatuses call. 18 + type RepoPullCountStatuses_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoPullCountStatuses calls the XRPC method "sh.tangled.repo.pull.countStatuses". 26 + // 27 + // subject: Pull AT-URI whose status records to list. 28 + func RepoPullCountStatuses(ctx context.Context, c util.LexClient, subject string) (*RepoPullCountStatuses_Output, error) { 29 + var out RepoPullCountStatuses_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.pull.countStatuses", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/pullcountStatusesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.pull.countStatusesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoPullCountStatusesByNSID = "sh.tangled.repo.pull.countStatusesBy" 15 + ) 16 + 17 + // RepoPullCountStatusesBy_Output is the output of a sh.tangled.repo.pull.countStatusesBy call. 18 + type RepoPullCountStatusesBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoPullCountStatusesBy calls the XRPC method "sh.tangled.repo.pull.countStatusesBy". 26 + // 27 + // subject: Actor DID whose pull-status authorings to list. 28 + func RepoPullCountStatusesBy(ctx context.Context, c util.LexClient, subject string) (*RepoPullCountStatusesBy_Output, error) { 29 + var out RepoPullCountStatusesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.pull.countStatusesBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/pulllistStatuses.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.pull.listStatuses 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoPullListStatusesNSID = "sh.tangled.repo.pull.listStatuses" 15 + ) 16 + 17 + // RepoPullListStatuses_ListItem is a "listItem" in the sh.tangled.repo.pull.listStatuses schema. 18 + type RepoPullListStatuses_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo.pull.status record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoPullListStatuses_Output is the output of a sh.tangled.repo.pull.listStatuses call. 26 + type RepoPullListStatuses_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*RepoPullListStatuses_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // RepoPullListStatuses calls the XRPC method "sh.tangled.repo.pull.listStatuses". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Pull AT-URI whose status records to list. 36 + func RepoPullListStatuses(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*RepoPullListStatuses_Output, error) { 37 + var out RepoPullListStatuses_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.pull.listStatuses", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/pulllistStatusesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.pull.listStatusesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoPullListStatusesByNSID = "sh.tangled.repo.pull.listStatusesBy" 15 + ) 16 + 17 + // RepoPullListStatusesBy_Output is the output of a sh.tangled.repo.pull.listStatusesBy call. 18 + type RepoPullListStatusesBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*RepoPullListStatuses_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // RepoPullListStatusesBy calls the XRPC method "sh.tangled.repo.pull.listStatusesBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose pull-status authorings to list. 28 + func RepoPullListStatusesBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*RepoPullListStatusesBy_Output, error) { 29 + var out RepoPullListStatusesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.pull.listStatusesBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+38
api/tangled/repocountArtifacts.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countArtifacts 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountArtifactsNSID = "sh.tangled.repo.countArtifacts" 15 + ) 16 + 17 + // RepoCountArtifacts_Output is the output of a sh.tangled.repo.countArtifacts call. 18 + type RepoCountArtifacts_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountArtifacts calls the XRPC method "sh.tangled.repo.countArtifacts". 26 + // 27 + // subject: Repo or release identifier whose artifacts to list. 28 + func RepoCountArtifacts(ctx context.Context, c util.LexClient, subject string) (*RepoCountArtifacts_Output, error) { 29 + var out RepoCountArtifacts_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countArtifacts", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountArtifactsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countArtifactsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountArtifactsByNSID = "sh.tangled.repo.countArtifactsBy" 15 + ) 16 + 17 + // RepoCountArtifactsBy_Output is the output of a sh.tangled.repo.countArtifactsBy call. 18 + type RepoCountArtifactsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountArtifactsBy calls the XRPC method "sh.tangled.repo.countArtifactsBy". 26 + // 27 + // subject: Actor DID whose artifact authorings to list. 28 + func RepoCountArtifactsBy(ctx context.Context, c util.LexClient, subject string) (*RepoCountArtifactsBy_Output, error) { 29 + var out RepoCountArtifactsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countArtifactsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountCollaborators.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countCollaborators 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountCollaboratorsNSID = "sh.tangled.repo.countCollaborators" 15 + ) 16 + 17 + // RepoCountCollaborators_Output is the output of a sh.tangled.repo.countCollaborators call. 18 + type RepoCountCollaborators_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountCollaborators calls the XRPC method "sh.tangled.repo.countCollaborators". 26 + // 27 + // subject: Repo DID whose collaborator records to list. 28 + func RepoCountCollaborators(ctx context.Context, c util.LexClient, subject string) (*RepoCountCollaborators_Output, error) { 29 + var out RepoCountCollaborators_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countCollaborators", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountCollaboratorsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countCollaboratorsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountCollaboratorsByNSID = "sh.tangled.repo.countCollaboratorsBy" 15 + ) 16 + 17 + // RepoCountCollaboratorsBy_Output is the output of a sh.tangled.repo.countCollaboratorsBy call. 18 + type RepoCountCollaboratorsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountCollaboratorsBy calls the XRPC method "sh.tangled.repo.countCollaboratorsBy". 26 + // 27 + // subject: Actor DID whose collaborator authorings to list. 28 + func RepoCountCollaboratorsBy(ctx context.Context, c util.LexClient, subject string) (*RepoCountCollaboratorsBy_Output, error) { 29 + var out RepoCountCollaboratorsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countCollaboratorsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountIssues.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countIssues 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountIssuesNSID = "sh.tangled.repo.countIssues" 15 + ) 16 + 17 + // RepoCountIssues_Output is the output of a sh.tangled.repo.countIssues call. 18 + type RepoCountIssues_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountIssues calls the XRPC method "sh.tangled.repo.countIssues". 26 + // 27 + // subject: Repo DID to list issues for 28 + func RepoCountIssues(ctx context.Context, c util.LexClient, subject string) (*RepoCountIssues_Output, error) { 29 + var out RepoCountIssues_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countIssues", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountIssuesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countIssuesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountIssuesByNSID = "sh.tangled.repo.countIssuesBy" 15 + ) 16 + 17 + // RepoCountIssuesBy_Output is the output of a sh.tangled.repo.countIssuesBy call. 18 + type RepoCountIssuesBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountIssuesBy calls the XRPC method "sh.tangled.repo.countIssuesBy". 26 + // 27 + // subject: Actor DID whose issue authorings to list 28 + func RepoCountIssuesBy(ctx context.Context, c util.LexClient, subject string) (*RepoCountIssuesBy_Output, error) { 29 + var out RepoCountIssuesBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countIssuesBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountPulls.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countPulls 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountPullsNSID = "sh.tangled.repo.countPulls" 15 + ) 16 + 17 + // RepoCountPulls_Output is the output of a sh.tangled.repo.countPulls call. 18 + type RepoCountPulls_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountPulls calls the XRPC method "sh.tangled.repo.countPulls". 26 + // 27 + // subject: Repo DID to list pulls for 28 + func RepoCountPulls(ctx context.Context, c util.LexClient, subject string) (*RepoCountPulls_Output, error) { 29 + var out RepoCountPulls_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countPulls", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountPullsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countPullsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountPullsByNSID = "sh.tangled.repo.countPullsBy" 15 + ) 16 + 17 + // RepoCountPullsBy_Output is the output of a sh.tangled.repo.countPullsBy call. 18 + type RepoCountPullsBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountPullsBy calls the XRPC method "sh.tangled.repo.countPullsBy". 26 + // 27 + // subject: Actor DID whose pull authorings to list 28 + func RepoCountPullsBy(ctx context.Context, c util.LexClient, subject string) (*RepoCountPullsBy_Output, error) { 29 + var out RepoCountPullsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countPullsBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repocountRepos.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.countRepos 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoCountReposNSID = "sh.tangled.repo.countRepos" 15 + ) 16 + 17 + // RepoCountRepos_Output is the output of a sh.tangled.repo.countRepos call. 18 + type RepoCountRepos_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // RepoCountRepos calls the XRPC method "sh.tangled.repo.countRepos". 26 + // 27 + // subject: Owner DID whose repo records to list. 28 + func RepoCountRepos(ctx context.Context, c util.LexClient, subject string) (*RepoCountRepos_Output, error) { 29 + var out RepoCountRepos_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.countRepos", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repogetIssue.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.getIssue 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoGetIssueNSID = "sh.tangled.repo.getIssue" 15 + ) 16 + 17 + // RepoGetIssue_Output is the output of a sh.tangled.repo.getIssue call. 18 + type RepoGetIssue_Output struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo.issue record. 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoGetIssue calls the XRPC method "sh.tangled.repo.getIssue". 26 + // 27 + // issue: AT-URI of the sh.tangled.repo.issue record to fetch. 28 + func RepoGetIssue(ctx context.Context, c util.LexClient, issue string) (*RepoGetIssue_Output, error) { 29 + var out RepoGetIssue_Output 30 + 31 + params := map[string]interface{}{} 32 + params["issue"] = issue 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.getIssue", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+43
api/tangled/repogetIssues.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.getIssues 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoGetIssuesNSID = "sh.tangled.repo.getIssues" 15 + ) 16 + 17 + // RepoGetIssues_Output is the output of a sh.tangled.repo.getIssues call. 18 + type RepoGetIssues_Output struct { 19 + Items []*RepoGetIssues_RecordView `json:"items" cborgen:"items"` 20 + } 21 + 22 + // RepoGetIssues_RecordView is a "recordView" in the sh.tangled.repo.getIssues schema. 23 + type RepoGetIssues_RecordView struct { 24 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 25 + Uri string `json:"uri" cborgen:"uri"` 26 + // value: Embedded sh.tangled.repo.issue record. 27 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 28 + } 29 + 30 + // RepoGetIssues calls the XRPC method "sh.tangled.repo.getIssues". 31 + // 32 + // issues: AT-URIs of the sh.tangled.repo.issue records to fetch. At most 50 per request. 33 + func RepoGetIssues(ctx context.Context, c util.LexClient, issues []string) (*RepoGetIssues_Output, error) { 34 + var out RepoGetIssues_Output 35 + 36 + params := map[string]interface{}{} 37 + params["issues"] = issues 38 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.getIssues", params, nil, &out); err != nil { 39 + return nil, err 40 + } 41 + 42 + return &out, nil 43 + }
+38
api/tangled/repogetPull.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.getPull 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoGetPullNSID = "sh.tangled.repo.getPull" 15 + ) 16 + 17 + // RepoGetPull_Output is the output of a sh.tangled.repo.getPull call. 18 + type RepoGetPull_Output struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo.pull record. 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoGetPull calls the XRPC method "sh.tangled.repo.getPull". 26 + // 27 + // pull: AT-URI of the sh.tangled.repo.pull record to fetch. 28 + func RepoGetPull(ctx context.Context, c util.LexClient, pull string) (*RepoGetPull_Output, error) { 29 + var out RepoGetPull_Output 30 + 31 + params := map[string]interface{}{} 32 + params["pull"] = pull 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.getPull", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+43
api/tangled/repogetPulls.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.getPulls 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoGetPullsNSID = "sh.tangled.repo.getPulls" 15 + ) 16 + 17 + // RepoGetPulls_Output is the output of a sh.tangled.repo.getPulls call. 18 + type RepoGetPulls_Output struct { 19 + Items []*RepoGetPulls_RecordView `json:"items" cborgen:"items"` 20 + } 21 + 22 + // RepoGetPulls_RecordView is a "recordView" in the sh.tangled.repo.getPulls schema. 23 + type RepoGetPulls_RecordView struct { 24 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 25 + Uri string `json:"uri" cborgen:"uri"` 26 + // value: Embedded sh.tangled.repo.pull record. 27 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 28 + } 29 + 30 + // RepoGetPulls calls the XRPC method "sh.tangled.repo.getPulls". 31 + // 32 + // pulls: AT-URIs of the sh.tangled.repo.pull records to fetch. At most 50 per request. 33 + func RepoGetPulls(ctx context.Context, c util.LexClient, pulls []string) (*RepoGetPulls_Output, error) { 34 + var out RepoGetPulls_Output 35 + 36 + params := map[string]interface{}{} 37 + params["pulls"] = pulls 38 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.getPulls", params, nil, &out); err != nil { 39 + return nil, err 40 + } 41 + 42 + return &out, nil 43 + }
+38
api/tangled/repogetRepo.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.getRepo 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoGetRepoNSID = "sh.tangled.repo.getRepo" 15 + ) 16 + 17 + // RepoGetRepo_Output is the output of a sh.tangled.repo.getRepo call. 18 + type RepoGetRepo_Output struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo record. 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoGetRepo calls the XRPC method "sh.tangled.repo.getRepo". 26 + // 27 + // repo: AT-URI of the sh.tangled.repo record to fetch. 28 + func RepoGetRepo(ctx context.Context, c util.LexClient, repo string) (*RepoGetRepo_Output, error) { 29 + var out RepoGetRepo_Output 30 + 31 + params := map[string]interface{}{} 32 + params["repo"] = repo 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.getRepo", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/repogetRepoByRepoDid.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.getRepoByRepoDid 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoGetRepoByRepoDidNSID = "sh.tangled.repo.getRepoByRepoDid" 15 + ) 16 + 17 + // RepoGetRepoByRepoDid_Output is the output of a sh.tangled.repo.getRepoByRepoDid call. 18 + type RepoGetRepoByRepoDid_Output struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo record. 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoGetRepoByRepoDid calls the XRPC method "sh.tangled.repo.getRepoByRepoDid". 26 + // 27 + // repoDid: Repo DID whose sh.tangled.repo record to fetch. 28 + func RepoGetRepoByRepoDid(ctx context.Context, c util.LexClient, repoDid string) (*RepoGetRepoByRepoDid_Output, error) { 29 + var out RepoGetRepoByRepoDid_Output 30 + 31 + params := map[string]interface{}{} 32 + params["repoDid"] = repoDid 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.getRepoByRepoDid", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+43
api/tangled/repogetRepos.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.getRepos 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoGetReposNSID = "sh.tangled.repo.getRepos" 15 + ) 16 + 17 + // RepoGetRepos_Output is the output of a sh.tangled.repo.getRepos call. 18 + type RepoGetRepos_Output struct { 19 + Items []*RepoGetRepos_RecordView `json:"items" cborgen:"items"` 20 + } 21 + 22 + // RepoGetRepos_RecordView is a "recordView" in the sh.tangled.repo.getRepos schema. 23 + type RepoGetRepos_RecordView struct { 24 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 25 + Uri string `json:"uri" cborgen:"uri"` 26 + // value: Embedded sh.tangled.repo record. 27 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 28 + } 29 + 30 + // RepoGetRepos calls the XRPC method "sh.tangled.repo.getRepos". 31 + // 32 + // repos: AT-URIs of the sh.tangled.repo records to fetch. At most 50 per request. 33 + func RepoGetRepos(ctx context.Context, c util.LexClient, repos []string) (*RepoGetRepos_Output, error) { 34 + var out RepoGetRepos_Output 35 + 36 + params := map[string]interface{}{} 37 + params["repos"] = repos 38 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.getRepos", params, nil, &out); err != nil { 39 + return nil, err 40 + } 41 + 42 + return &out, nil 43 + }
+55
api/tangled/repolistArtifacts.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.listArtifacts 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoListArtifactsNSID = "sh.tangled.repo.listArtifacts" 15 + ) 16 + 17 + // RepoListArtifacts_ListItem is a "listItem" in the sh.tangled.repo.listArtifacts schema. 18 + type RepoListArtifacts_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo.artifact record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoListArtifacts_Output is the output of a sh.tangled.repo.listArtifacts call. 26 + type RepoListArtifacts_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*RepoListArtifacts_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // RepoListArtifacts calls the XRPC method "sh.tangled.repo.listArtifacts". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Repo or release identifier whose artifacts to list. 36 + func RepoListArtifacts(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*RepoListArtifacts_Output, error) { 37 + var out RepoListArtifacts_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.listArtifacts", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/repolistArtifactsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.listArtifactsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoListArtifactsByNSID = "sh.tangled.repo.listArtifactsBy" 15 + ) 16 + 17 + // RepoListArtifactsBy_Output is the output of a sh.tangled.repo.listArtifactsBy call. 18 + type RepoListArtifactsBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*RepoListArtifacts_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // RepoListArtifactsBy calls the XRPC method "sh.tangled.repo.listArtifactsBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose artifact authorings to list. 28 + func RepoListArtifactsBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*RepoListArtifactsBy_Output, error) { 29 + var out RepoListArtifactsBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.listArtifactsBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+69
api/tangled/repolistIssues.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.listIssues 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoListIssuesNSID = "sh.tangled.repo.listIssues" 15 + ) 16 + 17 + // RepoListIssues_IssueListItem is a "issueListItem" in the sh.tangled.repo.listIssues schema. 18 + type RepoListIssues_IssueListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + // commentCount: Count of sh.tangled.repo.issue.comment records targeting this issue. 21 + CommentCount int64 `json:"commentCount" cborgen:"commentCount"` 22 + // state: Latest derived state. 23 + State string `json:"state" cborgen:"state"` 24 + // stateUpdatedAt: TID-derived timestamp of the latest state record. 25 + StateUpdatedAt *string `json:"stateUpdatedAt,omitempty" cborgen:"stateUpdatedAt,omitempty"` 26 + Uri string `json:"uri" cborgen:"uri"` 27 + // value: Embedded sh.tangled.repo.issue record 28 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 29 + } 30 + 31 + // RepoListIssues_Output is the output of a sh.tangled.repo.listIssues call. 32 + type RepoListIssues_Output struct { 33 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 34 + Items []*RepoListIssues_IssueListItem `json:"items" cborgen:"items"` 35 + } 36 + 37 + // RepoListIssues calls the XRPC method "sh.tangled.repo.listIssues". 38 + // 39 + // author: Restrict to issues authored by this user DID. 40 + // cursor: Pagination cursor 41 + // order: Sort direction by createdAt. 42 + // state: Restrict to issues whose latest derived state matches. 43 + // subject: Repo DID to list issues for 44 + func RepoListIssues(ctx context.Context, c util.LexClient, author string, cursor string, limit int64, order string, state string, subject string) (*RepoListIssues_Output, error) { 45 + var out RepoListIssues_Output 46 + 47 + params := map[string]interface{}{} 48 + if author != "" { 49 + params["author"] = author 50 + } 51 + if cursor != "" { 52 + params["cursor"] = cursor 53 + } 54 + if limit != 0 { 55 + params["limit"] = limit 56 + } 57 + if order != "" { 58 + params["order"] = order 59 + } 60 + if state != "" { 61 + params["state"] = state 62 + } 63 + params["subject"] = subject 64 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.listIssues", params, nil, &out); err != nil { 65 + return nil, err 66 + } 67 + 68 + return &out, nil 69 + }
+51
api/tangled/repolistIssuesBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.listIssuesBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoListIssuesByNSID = "sh.tangled.repo.listIssuesBy" 15 + ) 16 + 17 + // RepoListIssuesBy_Output is the output of a sh.tangled.repo.listIssuesBy call. 18 + type RepoListIssuesBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*RepoListIssues_IssueListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // RepoListIssuesBy calls the XRPC method "sh.tangled.repo.listIssuesBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // state: Restrict to issues whose latest derived state matches. 28 + // subject: Actor DID whose issue authorings to list 29 + func RepoListIssuesBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, state string, subject string) (*RepoListIssuesBy_Output, error) { 30 + var out RepoListIssuesBy_Output 31 + 32 + params := map[string]interface{}{} 33 + if cursor != "" { 34 + params["cursor"] = cursor 35 + } 36 + if limit != 0 { 37 + params["limit"] = limit 38 + } 39 + if order != "" { 40 + params["order"] = order 41 + } 42 + if state != "" { 43 + params["state"] = state 44 + } 45 + params["subject"] = subject 46 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.listIssuesBy", params, nil, &out); err != nil { 47 + return nil, err 48 + } 49 + 50 + return &out, nil 51 + }
+69
api/tangled/repolistPulls.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.listPulls 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoListPullsNSID = "sh.tangled.repo.listPulls" 15 + ) 16 + 17 + // RepoListPulls_Output is the output of a sh.tangled.repo.listPulls call. 18 + type RepoListPulls_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*RepoListPulls_PullListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // RepoListPulls_PullListItem is a "pullListItem" in the sh.tangled.repo.listPulls schema. 24 + type RepoListPulls_PullListItem struct { 25 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 26 + // commentCount: Count of sh.tangled.repo.pull.comment records targeting this pull. 27 + CommentCount int64 `json:"commentCount" cborgen:"commentCount"` 28 + // state: Latest derived state. 29 + State string `json:"state" cborgen:"state"` 30 + // stateUpdatedAt: TID-derived timestamp of the latest pull status record. 31 + StateUpdatedAt *string `json:"stateUpdatedAt,omitempty" cborgen:"stateUpdatedAt,omitempty"` 32 + Uri string `json:"uri" cborgen:"uri"` 33 + // value: Embedded sh.tangled.repo.pull record 34 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 35 + } 36 + 37 + // RepoListPulls calls the XRPC method "sh.tangled.repo.listPulls". 38 + // 39 + // author: Restrict to pulls authored by this user DID. 40 + // cursor: Pagination cursor 41 + // order: Sort direction by createdAt. 42 + // status: Restrict to pulls whose latest derived status matches. 43 + // subject: Repo DID to list pulls for 44 + func RepoListPulls(ctx context.Context, c util.LexClient, author string, cursor string, limit int64, order string, status string, subject string) (*RepoListPulls_Output, error) { 45 + var out RepoListPulls_Output 46 + 47 + params := map[string]interface{}{} 48 + if author != "" { 49 + params["author"] = author 50 + } 51 + if cursor != "" { 52 + params["cursor"] = cursor 53 + } 54 + if limit != 0 { 55 + params["limit"] = limit 56 + } 57 + if order != "" { 58 + params["order"] = order 59 + } 60 + if status != "" { 61 + params["status"] = status 62 + } 63 + params["subject"] = subject 64 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.listPulls", params, nil, &out); err != nil { 65 + return nil, err 66 + } 67 + 68 + return &out, nil 69 + }
+51
api/tangled/repolistPullsBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.listPullsBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoListPullsByNSID = "sh.tangled.repo.listPullsBy" 15 + ) 16 + 17 + // RepoListPullsBy_Output is the output of a sh.tangled.repo.listPullsBy call. 18 + type RepoListPullsBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*RepoListPulls_PullListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // RepoListPullsBy calls the XRPC method "sh.tangled.repo.listPullsBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // status: Restrict to pulls whose latest derived status matches. 28 + // subject: Actor DID whose pull authorings to list 29 + func RepoListPullsBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, status string, subject string) (*RepoListPullsBy_Output, error) { 30 + var out RepoListPullsBy_Output 31 + 32 + params := map[string]interface{}{} 33 + if cursor != "" { 34 + params["cursor"] = cursor 35 + } 36 + if limit != 0 { 37 + params["limit"] = limit 38 + } 39 + if order != "" { 40 + params["order"] = order 41 + } 42 + if status != "" { 43 + params["status"] = status 44 + } 45 + params["subject"] = subject 46 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.listPullsBy", params, nil, &out); err != nil { 47 + return nil, err 48 + } 49 + 50 + return &out, nil 51 + }
+55
api/tangled/repolistRepos.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.repo.listRepos 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + RepoListReposNSID = "sh.tangled.repo.listRepos" 15 + ) 16 + 17 + // RepoListRepos_ListItem is a "listItem" in the sh.tangled.repo.listRepos schema. 18 + type RepoListRepos_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.repo record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // RepoListRepos_Output is the output of a sh.tangled.repo.listRepos call. 26 + type RepoListRepos_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*RepoListRepos_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // RepoListRepos calls the XRPC method "sh.tangled.repo.listRepos". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Owner DID whose repo records to list. 36 + func RepoListRepos(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*RepoListRepos_Output, error) { 37 + var out RepoListRepos_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.repo.listRepos", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+75
api/tangled/searchquery.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.search.query 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + SearchQueryNSID = "sh.tangled.search.query" 15 + ) 16 + 17 + // SearchQuery_Hit is a "hit" in the sh.tangled.search.query schema. 18 + type SearchQuery_Hit struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + // nsid: Collection of the matched record. 21 + Nsid string `json:"nsid" cborgen:"nsid"` 22 + // score: Relevance score of the hit, a floating-point number where higher ranks first. 23 + Score *util.LexiconTypeDecoder `json:"score" cborgen:"score"` 24 + Uri string `json:"uri" cborgen:"uri"` 25 + // value: Embedded matched record. 26 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 27 + } 28 + 29 + // SearchQuery_Output is the output of a sh.tangled.search.query call. 30 + type SearchQuery_Output struct { 31 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 32 + Hits []*SearchQuery_Hit `json:"hits" cborgen:"hits"` 33 + } 34 + 35 + // SearchQuery calls the XRPC method "sh.tangled.search.query". 36 + // 37 + // author: Restrict to records authored by this DID. 38 + // cursor: Pagination cursor 39 + // nsid: Restrict to records of this collection. 40 + // q: Full-text search query. 41 + // repo: Restrict to records under this repo DID. 42 + // since: Restrict to records created at or after this time. 43 + // until: Restrict to records created at or before this time. 44 + func SearchQuery(ctx context.Context, c util.LexClient, author string, cursor string, limit int64, nsid string, q string, repo string, since string, until string) (*SearchQuery_Output, error) { 45 + var out SearchQuery_Output 46 + 47 + params := map[string]interface{}{} 48 + if author != "" { 49 + params["author"] = author 50 + } 51 + if cursor != "" { 52 + params["cursor"] = cursor 53 + } 54 + if limit != 0 { 55 + params["limit"] = limit 56 + } 57 + if nsid != "" { 58 + params["nsid"] = nsid 59 + } 60 + params["q"] = q 61 + if repo != "" { 62 + params["repo"] = repo 63 + } 64 + if since != "" { 65 + params["since"] = since 66 + } 67 + if until != "" { 68 + params["until"] = until 69 + } 70 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.search.query", params, nil, &out); err != nil { 71 + return nil, err 72 + } 73 + 74 + return &out, nil 75 + }
+38
api/tangled/spindlecountMembers.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.spindle.countMembers 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + SpindleCountMembersNSID = "sh.tangled.spindle.countMembers" 15 + ) 16 + 17 + // SpindleCountMembers_Output is the output of a sh.tangled.spindle.countMembers call. 18 + type SpindleCountMembers_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // SpindleCountMembers calls the XRPC method "sh.tangled.spindle.countMembers". 26 + // 27 + // subject: Spindle identifier whose member records to list. 28 + func SpindleCountMembers(ctx context.Context, c util.LexClient, subject string) (*SpindleCountMembers_Output, error) { 29 + var out SpindleCountMembers_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.spindle.countMembers", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/spindlecountMembersBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.spindle.countMembersBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + SpindleCountMembersByNSID = "sh.tangled.spindle.countMembersBy" 15 + ) 16 + 17 + // SpindleCountMembersBy_Output is the output of a sh.tangled.spindle.countMembersBy call. 18 + type SpindleCountMembersBy_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // SpindleCountMembersBy calls the XRPC method "sh.tangled.spindle.countMembersBy". 26 + // 27 + // subject: Actor DID whose spindle-member authorings to list. 28 + func SpindleCountMembersBy(ctx context.Context, c util.LexClient, subject string) (*SpindleCountMembersBy_Output, error) { 29 + var out SpindleCountMembersBy_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.spindle.countMembersBy", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+38
api/tangled/spindlecountSpindles.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.spindle.countSpindles 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + SpindleCountSpindlesNSID = "sh.tangled.spindle.countSpindles" 15 + ) 16 + 17 + // SpindleCountSpindles_Output is the output of a sh.tangled.spindle.countSpindles call. 18 + type SpindleCountSpindles_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // SpindleCountSpindles calls the XRPC method "sh.tangled.spindle.countSpindles". 26 + // 27 + // subject: Owner DID whose spindle records to list. 28 + func SpindleCountSpindles(ctx context.Context, c util.LexClient, subject string) (*SpindleCountSpindles_Output, error) { 29 + var out SpindleCountSpindles_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.spindle.countSpindles", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/spindlelistMembers.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.spindle.listMembers 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + SpindleListMembersNSID = "sh.tangled.spindle.listMembers" 15 + ) 16 + 17 + // SpindleListMembers_ListItem is a "listItem" in the sh.tangled.spindle.listMembers schema. 18 + type SpindleListMembers_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.spindle.member record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // SpindleListMembers_Output is the output of a sh.tangled.spindle.listMembers call. 26 + type SpindleListMembers_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*SpindleListMembers_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // SpindleListMembers calls the XRPC method "sh.tangled.spindle.listMembers". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Spindle identifier whose member records to list. 36 + func SpindleListMembers(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*SpindleListMembers_Output, error) { 37 + var out SpindleListMembers_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.spindle.listMembers", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+47
api/tangled/spindlelistMembersBy.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.spindle.listMembersBy 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + SpindleListMembersByNSID = "sh.tangled.spindle.listMembersBy" 15 + ) 16 + 17 + // SpindleListMembersBy_Output is the output of a sh.tangled.spindle.listMembersBy call. 18 + type SpindleListMembersBy_Output struct { 19 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 20 + Items []*SpindleListMembers_ListItem `json:"items" cborgen:"items"` 21 + } 22 + 23 + // SpindleListMembersBy calls the XRPC method "sh.tangled.spindle.listMembersBy". 24 + // 25 + // cursor: Pagination cursor 26 + // order: Sort direction by createdAt. 27 + // subject: Actor DID whose spindle-member authorings to list. 28 + func SpindleListMembersBy(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*SpindleListMembersBy_Output, error) { 29 + var out SpindleListMembersBy_Output 30 + 31 + params := map[string]interface{}{} 32 + if cursor != "" { 33 + params["cursor"] = cursor 34 + } 35 + if limit != 0 { 36 + params["limit"] = limit 37 + } 38 + if order != "" { 39 + params["order"] = order 40 + } 41 + params["subject"] = subject 42 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.spindle.listMembersBy", params, nil, &out); err != nil { 43 + return nil, err 44 + } 45 + 46 + return &out, nil 47 + }
+55
api/tangled/spindlelistSpindles.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.spindle.listSpindles 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + SpindleListSpindlesNSID = "sh.tangled.spindle.listSpindles" 15 + ) 16 + 17 + // SpindleListSpindles_ListItem is a "listItem" in the sh.tangled.spindle.listSpindles schema. 18 + type SpindleListSpindles_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.spindle record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // SpindleListSpindles_Output is the output of a sh.tangled.spindle.listSpindles call. 26 + type SpindleListSpindles_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*SpindleListSpindles_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // SpindleListSpindles calls the XRPC method "sh.tangled.spindle.listSpindles". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Owner DID whose spindle records to list. 36 + func SpindleListSpindles(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*SpindleListSpindles_Output, error) { 37 + var out SpindleListSpindles_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.spindle.listSpindles", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+38
api/tangled/stringcountStrings.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.string.countStrings 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + StringCountStringsNSID = "sh.tangled.string.countStrings" 15 + ) 16 + 17 + // StringCountStrings_Output is the output of a sh.tangled.string.countStrings call. 18 + type StringCountStrings_Output struct { 19 + // count: Total number of matching records. 20 + Count int64 `json:"count" cborgen:"count"` 21 + // distinctAuthors: Number of distinct authors among the matching records. 22 + DistinctAuthors int64 `json:"distinctAuthors" cborgen:"distinctAuthors"` 23 + } 24 + 25 + // StringCountStrings calls the XRPC method "sh.tangled.string.countStrings". 26 + // 27 + // subject: Scope identifier whose string records to list. 28 + func StringCountStrings(ctx context.Context, c util.LexClient, subject string) (*StringCountStrings_Output, error) { 29 + var out StringCountStrings_Output 30 + 31 + params := map[string]interface{}{} 32 + params["subject"] = subject 33 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.string.countStrings", params, nil, &out); err != nil { 34 + return nil, err 35 + } 36 + 37 + return &out, nil 38 + }
+55
api/tangled/stringlistStrings.go
··· 1 + // Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 + 3 + package tangled 4 + 5 + // schema: sh.tangled.string.listStrings 6 + 7 + import ( 8 + "context" 9 + 10 + "github.com/bluesky-social/indigo/lex/util" 11 + ) 12 + 13 + const ( 14 + StringListStringsNSID = "sh.tangled.string.listStrings" 15 + ) 16 + 17 + // StringListStrings_ListItem is a "listItem" in the sh.tangled.string.listStrings schema. 18 + type StringListStrings_ListItem struct { 19 + Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 20 + Uri string `json:"uri" cborgen:"uri"` 21 + // value: Embedded sh.tangled.string record 22 + Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 + } 24 + 25 + // StringListStrings_Output is the output of a sh.tangled.string.listStrings call. 26 + type StringListStrings_Output struct { 27 + Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 28 + Items []*StringListStrings_ListItem `json:"items" cborgen:"items"` 29 + } 30 + 31 + // StringListStrings calls the XRPC method "sh.tangled.string.listStrings". 32 + // 33 + // cursor: Pagination cursor 34 + // order: Sort direction by createdAt. 35 + // subject: Scope identifier whose string records to list. 36 + func StringListStrings(ctx context.Context, c util.LexClient, cursor string, limit int64, order string, subject string) (*StringListStrings_Output, error) { 37 + var out StringListStrings_Output 38 + 39 + params := map[string]interface{}{} 40 + if cursor != "" { 41 + params["cursor"] = cursor 42 + } 43 + if limit != 0 { 44 + params["limit"] = limit 45 + } 46 + if order != "" { 47 + params["order"] = order 48 + } 49 + params["subject"] = subject 50 + if err := c.LexDo(ctx, util.Query, "", "sh.tangled.string.listStrings", params, nil, &out); err != nil { 51 + return nil, err 52 + } 53 + 54 + return &out, nil 55 + }
+1
bobbin/containerfiles/bobbin.Containerfile
··· 8 8 COPY Cargo.toml Cargo.lock rust-toolchain.toml ./ 9 9 COPY lexicons ./lexicons 10 10 COPY bobbin ./bobbin 11 + COPY shuttle ./shuttle 11 12 RUN cargo build --profile ${BOBBIN_PROFILE} --bin bobbin --package bobbin 12 13 RUN if [ "${BOBBIN_PROFILE}" = "release" ]; then strip target/${BOBBIN_PROFILE}/bobbin; fi 13 14
-3
bobbin/crates/types/build.rs
··· 22 22 let lexicons_dir = std::env::var("BOBBIN_LEXICONS_DIR") 23 23 .map(PathBuf::from) 24 24 .unwrap_or_else(|_| workspace_root.join(DEFAULT_LEXICONS_SUBDIR)); 25 - let additions_dir = manifest_dir.join(DEFAULT_LEXICONS_SUBDIR); 26 25 27 26 println!("cargo:rerun-if-env-changed=BOBBIN_LEXICONS_DIR"); 28 27 println!("cargo:rerun-if-changed={}", lexicons_dir.display()); 29 - println!("cargo:rerun-if-changed={}", additions_dir.display()); 30 28 println!("cargo:rerun-if-changed=build.rs"); 31 29 32 30 let out_dir = PathBuf::from(std::env::var("OUT_DIR")?); ··· 36 34 std::fs::remove_dir_all(&staged).context("clean staged lexicons")?; 37 35 } 38 36 stage_lexicons(&lexicons_dir, &staged)?; 39 - stage_lexicons(&additions_dir, &staged)?; 40 37 41 38 let corpus = LexiconCorpus::load_from_dir(&staged) 42 39 .map_err(|e| anyhow::anyhow!("load lexicon corpus: {e:?}"))?;
+1 -1
bobbin/crates/types/lexicons/feed/listComments.json lexicons/feed/listComments.json
··· 11 11 "subject": { 12 12 "type": "string", 13 13 "format": "at-uri", 14 - "description": "Record AT-URI the comments are attached to." 14 + "description": "Record AT-URI the comments attach to." 15 15 }, 16 16 "cursor": { 17 17 "type": "string",
bobbin/crates/types/lexicons/feed/listCommentsBy.json lexicons/feed/listCommentsBy.json
bobbin/crates/types/lexicons/feed/listReactions.json lexicons/feed/listReactions.json
bobbin/crates/types/lexicons/feed/listReactionsBy.json lexicons/feed/listReactionsBy.json
bobbin/crates/types/lexicons/feed/listStars.json lexicons/feed/listStars.json
bobbin/crates/types/lexicons/feed/listStarsBy.json lexicons/feed/listStarsBy.json
bobbin/crates/types/lexicons/git/listRefUpdates.json lexicons/git/listRefUpdates.json
bobbin/crates/types/lexicons/git/listRefUpdatesBy.json lexicons/git/listRefUpdatesBy.json
bobbin/crates/types/lexicons/graph/listFollows.json lexicons/graph/listFollows.json
bobbin/crates/types/lexicons/graph/listFollowsBy.json lexicons/graph/listFollowsBy.json
bobbin/crates/types/lexicons/graph/listVouches.json lexicons/graph/listVouches.json
bobbin/crates/types/lexicons/graph/listVouchesBy.json lexicons/graph/listVouchesBy.json
bobbin/crates/types/lexicons/knot/listKnots.json lexicons/knot/listKnots.json
bobbin/crates/types/lexicons/label/listDefinitions.json lexicons/label/listDefinitions.json
bobbin/crates/types/lexicons/label/listOps.json lexicons/label/listOps.json
bobbin/crates/types/lexicons/label/listOpsBy.json lexicons/label/listOpsBy.json
bobbin/crates/types/lexicons/pipeline/listPipelines.json lexicons/pipeline/listPipelines.json
bobbin/crates/types/lexicons/pipeline/listPipelinesBy.json lexicons/pipeline/listPipelinesBy.json
bobbin/crates/types/lexicons/pipeline/listStatuses.json lexicons/pipeline/listStatuses.json
bobbin/crates/types/lexicons/pipeline/listStatusesBy.json lexicons/pipeline/listStatusesBy.json
bobbin/crates/types/lexicons/publicKey/listKeys.json lexicons/publicKey/listKeys.json
bobbin/crates/types/lexicons/repo/issue/listStates.json lexicons/repo/issue/listStates.json
bobbin/crates/types/lexicons/repo/issue/listStatesBy.json lexicons/repo/issue/listStatesBy.json
bobbin/crates/types/lexicons/repo/listArtifacts.json lexicons/repo/listArtifacts.json
bobbin/crates/types/lexicons/repo/listArtifactsBy.json lexicons/repo/listArtifactsBy.json
bobbin/crates/types/lexicons/repo/listIssues.json lexicons/repo/listIssues.json
bobbin/crates/types/lexicons/repo/listIssuesBy.json lexicons/repo/listIssuesBy.json
bobbin/crates/types/lexicons/repo/listPulls.json lexicons/repo/listPulls.json
bobbin/crates/types/lexicons/repo/listPullsBy.json lexicons/repo/listPullsBy.json
bobbin/crates/types/lexicons/repo/listRepos.json lexicons/repo/listRepos.json
bobbin/crates/types/lexicons/repo/pull/listStatuses.json lexicons/repo/pull/listStatuses.json
bobbin/crates/types/lexicons/repo/pull/listStatusesBy.json lexicons/repo/pull/listStatusesBy.json
bobbin/crates/types/lexicons/spindle/listMembers.json lexicons/spindle/listMembers.json
bobbin/crates/types/lexicons/spindle/listMembersBy.json lexicons/spindle/listMembersBy.json
bobbin/crates/types/lexicons/spindle/listSpindles.json lexicons/spindle/listSpindles.json
bobbin/crates/types/lexicons/string/listStrings.json lexicons/string/listStrings.json
+41
lexicons/actor/getProfile.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.actor.getProfile", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["actor"], 10 + "properties": { 11 + "actor": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "AT-URI of the sh.tangled.actor.profile record to fetch." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["uri", "value"], 23 + "properties": { 24 + "uri": { 25 + "type": "string", 26 + "format": "at-uri" 27 + }, 28 + "cid": { 29 + "type": "string", 30 + "format": "cid" 31 + }, 32 + "value": { 33 + "type": "unknown", 34 + "description": "Embedded sh.tangled.actor.profile record." 35 + } 36 + } 37 + } 38 + } 39 + } 40 + } 41 + }
+58
lexicons/actor/getProfiles.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.actor.getProfiles", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["actors"], 10 + "properties": { 11 + "actors": { 12 + "type": "array", 13 + "items": { 14 + "type": "string", 15 + "format": "at-uri" 16 + }, 17 + "maxLength": 50, 18 + "description": "AT-URIs of the sh.tangled.actor.profile records to fetch. At most 50 per request." 19 + } 20 + } 21 + }, 22 + "output": { 23 + "encoding": "application/json", 24 + "schema": { 25 + "type": "object", 26 + "required": ["items"], 27 + "properties": { 28 + "items": { 29 + "type": "array", 30 + "items": { 31 + "type": "ref", 32 + "ref": "#recordView" 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }, 39 + "recordView": { 40 + "type": "object", 41 + "required": ["uri", "value"], 42 + "properties": { 43 + "uri": { 44 + "type": "string", 45 + "format": "at-uri" 46 + }, 47 + "cid": { 48 + "type": "string", 49 + "format": "cid" 50 + }, 51 + "value": { 52 + "type": "unknown", 53 + "description": "Embedded sh.tangled.actor.profile record." 54 + } 55 + } 56 + } 57 + } 58 + }
+39
lexicons/feed/countComments.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.feed.countComments", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "Record AT-URI the comments attach to." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/feed/countCommentsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.feed.countCommentsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose comment authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/feed/countReactions.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.feed.countReactions", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "Record AT-URI the reactions target." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/feed/countReactionsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.feed.countReactionsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose reaction authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+38
lexicons/feed/countStars.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.feed.countStars", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Repo DID to list star edges for." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }
+39
lexicons/feed/countStarsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.feed.countStarsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose star authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/git/countRefUpdates.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.git.countRefUpdates", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Repo DID whose ref-update records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/git/countRefUpdatesBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.git.countRefUpdatesBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose ref-update authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/graph/countFollows.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.graph.countFollows", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Followee DID whose inbound follows to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/graph/countFollowsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.graph.countFollowsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose follow authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/graph/countVouches.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.graph.countVouches", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Vouchee DID whose inbound vouches to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/graph/countVouchesBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.graph.countVouchesBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose vouch authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/knot/countKnots.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.knot.countKnots", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Owner DID whose knot records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+38
lexicons/knot/countMembers.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.knot.countMembers", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Knot identifier whose member records to list." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }
+39
lexicons/knot/countMembersBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.knot.countMembersBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose knot-member authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+38
lexicons/label/countDefinitions.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.label.countDefinitions", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Scope identifier whose label definitions to list." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }
+38
lexicons/label/countOps.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.label.countOps", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Scope identifier whose label op records to list." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }
+39
lexicons/label/countOpsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.label.countOpsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose label-op authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+38
lexicons/pipeline/countPipelines.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.pipeline.countPipelines", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Repo or spindle identifier whose pipeline records to list." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }
+39
lexicons/pipeline/countPipelinesBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.pipeline.countPipelinesBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose pipeline authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/pipeline/countStatuses.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.pipeline.countStatuses", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "Pipeline AT-URI whose status records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/pipeline/countStatusesBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.pipeline.countStatusesBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose pipeline-status authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/publicKey/countKeys.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.publicKey.countKeys", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Owner DID whose public-key records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+38
lexicons/repo/countArtifacts.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countArtifacts", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Repo or release identifier whose artifacts to list." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }
+39
lexicons/repo/countArtifactsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countArtifactsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose artifact authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/countCollaborators.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countCollaborators", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Repo DID whose collaborator records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/countCollaboratorsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countCollaboratorsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose collaborator authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/countIssues.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countIssues", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Repo DID to list issues for" 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/countIssuesBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countIssuesBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose issue authorings to list" 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/countPulls.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countPulls", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Repo DID to list pulls for" 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/countPullsBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countPullsBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose pull authorings to list" 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/countRepos.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.countRepos", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Owner DID whose repo records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+41
lexicons/repo/getIssue.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.getIssue", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["issue"], 10 + "properties": { 11 + "issue": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "AT-URI of the sh.tangled.repo.issue record to fetch." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["uri", "value"], 23 + "properties": { 24 + "uri": { 25 + "type": "string", 26 + "format": "at-uri" 27 + }, 28 + "cid": { 29 + "type": "string", 30 + "format": "cid" 31 + }, 32 + "value": { 33 + "type": "unknown", 34 + "description": "Embedded sh.tangled.repo.issue record." 35 + } 36 + } 37 + } 38 + } 39 + } 40 + } 41 + }
+58
lexicons/repo/getIssues.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.getIssues", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["issues"], 10 + "properties": { 11 + "issues": { 12 + "type": "array", 13 + "items": { 14 + "type": "string", 15 + "format": "at-uri" 16 + }, 17 + "maxLength": 50, 18 + "description": "AT-URIs of the sh.tangled.repo.issue records to fetch. At most 50 per request." 19 + } 20 + } 21 + }, 22 + "output": { 23 + "encoding": "application/json", 24 + "schema": { 25 + "type": "object", 26 + "required": ["items"], 27 + "properties": { 28 + "items": { 29 + "type": "array", 30 + "items": { 31 + "type": "ref", 32 + "ref": "#recordView" 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }, 39 + "recordView": { 40 + "type": "object", 41 + "required": ["uri", "value"], 42 + "properties": { 43 + "uri": { 44 + "type": "string", 45 + "format": "at-uri" 46 + }, 47 + "cid": { 48 + "type": "string", 49 + "format": "cid" 50 + }, 51 + "value": { 52 + "type": "unknown", 53 + "description": "Embedded sh.tangled.repo.issue record." 54 + } 55 + } 56 + } 57 + } 58 + }
+41
lexicons/repo/getPull.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.getPull", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["pull"], 10 + "properties": { 11 + "pull": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "AT-URI of the sh.tangled.repo.pull record to fetch." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["uri", "value"], 23 + "properties": { 24 + "uri": { 25 + "type": "string", 26 + "format": "at-uri" 27 + }, 28 + "cid": { 29 + "type": "string", 30 + "format": "cid" 31 + }, 32 + "value": { 33 + "type": "unknown", 34 + "description": "Embedded sh.tangled.repo.pull record." 35 + } 36 + } 37 + } 38 + } 39 + } 40 + } 41 + }
+58
lexicons/repo/getPulls.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.getPulls", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["pulls"], 10 + "properties": { 11 + "pulls": { 12 + "type": "array", 13 + "items": { 14 + "type": "string", 15 + "format": "at-uri" 16 + }, 17 + "maxLength": 50, 18 + "description": "AT-URIs of the sh.tangled.repo.pull records to fetch. At most 50 per request." 19 + } 20 + } 21 + }, 22 + "output": { 23 + "encoding": "application/json", 24 + "schema": { 25 + "type": "object", 26 + "required": ["items"], 27 + "properties": { 28 + "items": { 29 + "type": "array", 30 + "items": { 31 + "type": "ref", 32 + "ref": "#recordView" 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }, 39 + "recordView": { 40 + "type": "object", 41 + "required": ["uri", "value"], 42 + "properties": { 43 + "uri": { 44 + "type": "string", 45 + "format": "at-uri" 46 + }, 47 + "cid": { 48 + "type": "string", 49 + "format": "cid" 50 + }, 51 + "value": { 52 + "type": "unknown", 53 + "description": "Embedded sh.tangled.repo.pull record." 54 + } 55 + } 56 + } 57 + } 58 + }
+41
lexicons/repo/getRepo.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.getRepo", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["repo"], 10 + "properties": { 11 + "repo": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "AT-URI of the sh.tangled.repo record to fetch." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["uri", "value"], 23 + "properties": { 24 + "uri": { 25 + "type": "string", 26 + "format": "at-uri" 27 + }, 28 + "cid": { 29 + "type": "string", 30 + "format": "cid" 31 + }, 32 + "value": { 33 + "type": "unknown", 34 + "description": "Embedded sh.tangled.repo record." 35 + } 36 + } 37 + } 38 + } 39 + } 40 + } 41 + }
+41
lexicons/repo/getRepoByRepoDid.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.getRepoByRepoDid", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["repoDid"], 10 + "properties": { 11 + "repoDid": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Repo DID whose sh.tangled.repo record to fetch." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["uri", "value"], 23 + "properties": { 24 + "uri": { 25 + "type": "string", 26 + "format": "at-uri" 27 + }, 28 + "cid": { 29 + "type": "string", 30 + "format": "cid" 31 + }, 32 + "value": { 33 + "type": "unknown", 34 + "description": "Embedded sh.tangled.repo record." 35 + } 36 + } 37 + } 38 + } 39 + } 40 + } 41 + }
+58
lexicons/repo/getRepos.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.getRepos", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["repos"], 10 + "properties": { 11 + "repos": { 12 + "type": "array", 13 + "items": { 14 + "type": "string", 15 + "format": "at-uri" 16 + }, 17 + "maxLength": 50, 18 + "description": "AT-URIs of the sh.tangled.repo records to fetch. At most 50 per request." 19 + } 20 + } 21 + }, 22 + "output": { 23 + "encoding": "application/json", 24 + "schema": { 25 + "type": "object", 26 + "required": ["items"], 27 + "properties": { 28 + "items": { 29 + "type": "array", 30 + "items": { 31 + "type": "ref", 32 + "ref": "#recordView" 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }, 39 + "recordView": { 40 + "type": "object", 41 + "required": ["uri", "value"], 42 + "properties": { 43 + "uri": { 44 + "type": "string", 45 + "format": "at-uri" 46 + }, 47 + "cid": { 48 + "type": "string", 49 + "format": "cid" 50 + }, 51 + "value": { 52 + "type": "unknown", 53 + "description": "Embedded sh.tangled.repo record." 54 + } 55 + } 56 + } 57 + } 58 + }
+39
lexicons/repo/issue/countStates.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.issue.countStates", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "Issue AT-URI whose state records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/issue/countStatesBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.issue.countStatesBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose issue-state authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/pull/countStatuses.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.pull.countStatuses", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "Pull AT-URI whose status records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/repo/pull/countStatusesBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.repo.pull.countStatusesBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose pull-status authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+101
lexicons/search/query.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.search.query", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["q"], 10 + "properties": { 11 + "q": { 12 + "type": "string", 13 + "minLength": 1, 14 + "description": "Full-text search query." 15 + }, 16 + "nsid": { 17 + "type": "string", 18 + "format": "nsid", 19 + "description": "Restrict to records of this collection." 20 + }, 21 + "author": { 22 + "type": "string", 23 + "format": "did", 24 + "description": "Restrict to records authored by this DID." 25 + }, 26 + "repo": { 27 + "type": "string", 28 + "format": "did", 29 + "description": "Restrict to records under this repo DID." 30 + }, 31 + "since": { 32 + "type": "string", 33 + "format": "datetime", 34 + "description": "Restrict to records created at or after this time." 35 + }, 36 + "until": { 37 + "type": "string", 38 + "format": "datetime", 39 + "description": "Restrict to records created at or before this time." 40 + }, 41 + "cursor": { 42 + "type": "string", 43 + "description": "Pagination cursor" 44 + }, 45 + "limit": { 46 + "type": "integer", 47 + "minimum": 1, 48 + "maximum": 1000, 49 + "default": 50 50 + } 51 + } 52 + }, 53 + "output": { 54 + "encoding": "application/json", 55 + "schema": { 56 + "type": "object", 57 + "required": ["hits"], 58 + "properties": { 59 + "hits": { 60 + "type": "array", 61 + "items": { 62 + "type": "ref", 63 + "ref": "#hit" 64 + } 65 + }, 66 + "cursor": { 67 + "type": "string" 68 + } 69 + } 70 + } 71 + } 72 + }, 73 + "hit": { 74 + "type": "object", 75 + "required": ["uri", "nsid", "score", "value"], 76 + "properties": { 77 + "uri": { 78 + "type": "string", 79 + "format": "at-uri" 80 + }, 81 + "cid": { 82 + "type": "string", 83 + "format": "cid" 84 + }, 85 + "nsid": { 86 + "type": "string", 87 + "format": "nsid", 88 + "description": "Collection of the matched record." 89 + }, 90 + "score": { 91 + "type": "unknown", 92 + "description": "Relevance score of the hit, a floating-point number where higher ranks first." 93 + }, 94 + "value": { 95 + "type": "unknown", 96 + "description": "Embedded matched record." 97 + } 98 + } 99 + } 100 + } 101 + }
+38
lexicons/spindle/countMembers.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.spindle.countMembers", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Spindle identifier whose member records to list." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }
+39
lexicons/spindle/countMembersBy.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.spindle.countMembersBy", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Actor DID whose spindle-member authorings to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/spindle/countSpindles.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.spindle.countSpindles", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "format": "did", 14 + "description": "Owner DID whose spindle records to list." 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "required": ["count", "distinctAuthors"], 23 + "properties": { 24 + "count": { 25 + "type": "integer", 26 + "minimum": 0, 27 + "description": "Total number of matching records." 28 + }, 29 + "distinctAuthors": { 30 + "type": "integer", 31 + "minimum": 0, 32 + "description": "Number of distinct authors among the matching records." 33 + } 34 + } 35 + } 36 + } 37 + } 38 + } 39 + }
+38
lexicons/string/countStrings.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "sh.tangled.string.countStrings", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "required": ["subject"], 10 + "properties": { 11 + "subject": { 12 + "type": "string", 13 + "description": "Scope identifier whose string records to list." 14 + } 15 + } 16 + }, 17 + "output": { 18 + "encoding": "application/json", 19 + "schema": { 20 + "type": "object", 21 + "required": ["count", "distinctAuthors"], 22 + "properties": { 23 + "count": { 24 + "type": "integer", 25 + "minimum": 0, 26 + "description": "Total number of matching records." 27 + }, 28 + "distinctAuthors": { 29 + "type": "integer", 30 + "minimum": 0, 31 + "description": "Number of distinct authors among the matching records." 32 + } 33 + } 34 + } 35 + } 36 + } 37 + } 38 + }