this repo has no description
0
fork

Configure Feed

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

run lexgen; skip bsky threadgate; comments only

+50 -50
+3 -3
api/atproto/admindefs.go
··· 37 37 CreateLabelVals []string `json:"createLabelVals,omitempty" cborgen:"createLabelVals,omitempty"` 38 38 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 39 39 CreatedBy string `json:"createdBy" cborgen:"createdBy"` 40 - // durationInHours: Indicates how long this action was meant to be in effect before automatically expiring. 40 + // durationInHours: Indicates how long this action is meant to be in effect before automatically expiring. 41 41 DurationInHours *int64 `json:"durationInHours,omitempty" cborgen:"durationInHours,omitempty"` 42 42 Id int64 `json:"id" cborgen:"id"` 43 43 NegateLabelVals []string `json:"negateLabelVals,omitempty" cborgen:"negateLabelVals,omitempty"` ··· 51 51 // AdminDefs_ActionViewCurrent is a "actionViewCurrent" in the com.atproto.admin.defs schema. 52 52 type AdminDefs_ActionViewCurrent struct { 53 53 Action *string `json:"action" cborgen:"action"` 54 - // durationInHours: Indicates how long this action was meant to be in effect before automatically expiring. 54 + // durationInHours: Indicates how long this action is meant to be in effect before automatically expiring. 55 55 DurationInHours *int64 `json:"durationInHours,omitempty" cborgen:"durationInHours,omitempty"` 56 56 Id int64 `json:"id" cborgen:"id"` 57 57 } ··· 62 62 CreateLabelVals []string `json:"createLabelVals,omitempty" cborgen:"createLabelVals,omitempty"` 63 63 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 64 64 CreatedBy string `json:"createdBy" cborgen:"createdBy"` 65 - // durationInHours: Indicates how long this action was meant to be in effect before automatically expiring. 65 + // durationInHours: Indicates how long this action is meant to be in effect before automatically expiring. 66 66 DurationInHours *int64 `json:"durationInHours,omitempty" cborgen:"durationInHours,omitempty"` 67 67 Id int64 `json:"id" cborgen:"id"` 68 68 NegateLabelVals []string `json:"negateLabelVals,omitempty" cborgen:"negateLabelVals,omitempty"`
+1 -1
api/atproto/admindisableAccountInvites.go
··· 13 13 // AdminDisableAccountInvites_Input is the input argument to a com.atproto.admin.disableAccountInvites call. 14 14 type AdminDisableAccountInvites_Input struct { 15 15 Account string `json:"account" cborgen:"account"` 16 - // note: Additionally add a note describing why the invites were disabled 16 + // note: Optional reason for disabled invites. 17 17 Note *string `json:"note,omitempty" cborgen:"note,omitempty"` 18 18 } 19 19
+1 -1
api/atproto/adminenableAccountInvites.go
··· 13 13 // AdminEnableAccountInvites_Input is the input argument to a com.atproto.admin.enableAccountInvites call. 14 14 type AdminEnableAccountInvites_Input struct { 15 15 Account string `json:"account" cborgen:"account"` 16 - // note: Additionally add a note describing why the invites were enabled 16 + // note: Optional reason for enabled invites. 17 17 Note *string `json:"note,omitempty" cborgen:"note,omitempty"` 18 18 } 19 19
+3 -3
api/atproto/admingetModerationReports.go
··· 18 18 19 19 // AdminGetModerationReports calls the XRPC method "com.atproto.admin.getModerationReports". 20 20 // 21 - // actionedBy: Get all reports that were actioned by a specific moderator 22 - // reporters: Filter reports made by one or more DIDs 23 - // reverse: Reverse the order of the returned records? when true, returns reports in chronological order 21 + // actionedBy: Get all reports that were actioned by a specific moderator. 22 + // reporters: Filter reports made by one or more DIDs. 23 + // reverse: Reverse the order of the returned records. When true, returns reports in chronological order. 24 24 func AdminGetModerationReports(ctx context.Context, c *xrpc.Client, actionType string, actionedBy string, cursor string, ignoreSubjects []string, limit int64, reporters []string, resolved bool, reverse bool, subject string) (*AdminGetModerationReports_Output, error) { 25 25 var out AdminGetModerationReports_Output 26 26
+1 -1
api/atproto/admintakeModerationAction.go
··· 18 18 Action string `json:"action" cborgen:"action"` 19 19 CreateLabelVals []string `json:"createLabelVals,omitempty" cborgen:"createLabelVals,omitempty"` 20 20 CreatedBy string `json:"createdBy" cborgen:"createdBy"` 21 - // durationInHours: Indicates how long this action was meant to be in effect before automatically expiring. 21 + // durationInHours: Indicates how long this action is meant to be in effect before automatically expiring. 22 22 DurationInHours *int64 `json:"durationInHours,omitempty" cborgen:"durationInHours,omitempty"` 23 23 NegateLabelVals []string `json:"negateLabelVals,omitempty" cborgen:"negateLabelVals,omitempty"` 24 24 Reason string `json:"reason" cborgen:"reason"`
+9 -9
api/atproto/labeldefs.go
··· 6 6 7 7 // LabelDefs_Label is a "label" in the com.atproto.label.defs schema. 8 8 // 9 - // Metadata tag on an atproto resource (eg, repo or record) 9 + // Metadata tag on an atproto resource (eg, repo or record). 10 10 type LabelDefs_Label struct { 11 - // cid: optionally, CID specifying the specific version of 'uri' resource this label applies to 11 + // cid: Optionally, CID specifying the specific version of 'uri' resource this label applies to. 12 12 Cid *string `json:"cid,omitempty" cborgen:"cid,omitempty"` 13 - // cts: timestamp when this label was created 13 + // cts: Timestamp when this label was created. 14 14 Cts string `json:"cts" cborgen:"cts"` 15 - // neg: if true, this is a negation label, overwriting a previous label 15 + // neg: If true, this is a negation label, overwriting a previous label. 16 16 Neg *bool `json:"neg,omitempty" cborgen:"neg,omitempty"` 17 - // src: DID of the actor who created this label 17 + // src: DID of the actor who created this label. 18 18 Src string `json:"src" cborgen:"src"` 19 - // uri: AT URI of the record, repository (account), or other resource which this label applies to 19 + // uri: AT URI of the record, repository (account), or other resource that this label applies to. 20 20 Uri string `json:"uri" cborgen:"uri"` 21 - // val: the short string name of the value or type of this label 21 + // val: The short string name of the value or type of this label. 22 22 Val string `json:"val" cborgen:"val"` 23 23 } 24 24 25 25 // LabelDefs_SelfLabel is a "selfLabel" in the com.atproto.label.defs schema. 26 26 // 27 - // Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel. 27 + // Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel. 28 28 type LabelDefs_SelfLabel struct { 29 - // val: the short string name of the value or type of this label 29 + // val: The short string name of the value or type of this label. 30 30 Val string `json:"val" cborgen:"val"` 31 31 } 32 32
+2 -2
api/atproto/labelqueryLabels.go
··· 18 18 19 19 // LabelQueryLabels calls the XRPC method "com.atproto.label.queryLabels". 20 20 // 21 - // sources: Optional list of label sources (DIDs) to filter on 22 - // uriPatterns: List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI 21 + // sources: Optional list of label sources (DIDs) to filter on. 22 + // uriPatterns: List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI. 23 23 func LabelQueryLabels(ctx context.Context, c *xrpc.Client, cursor string, limit int64, sources []string, uriPatterns []string) (*LabelQueryLabels_Output, error) { 24 24 var out LabelQueryLabels_Output 25 25
+1 -1
api/atproto/repoapplyWrites.go
··· 41 41 // repo: The handle or DID of the repo. 42 42 Repo string `json:"repo" cborgen:"repo"` 43 43 SwapCommit *string `json:"swapCommit,omitempty" cborgen:"swapCommit,omitempty"` 44 - // validate: Validate the records? 44 + // validate: Flag for validating the records. 45 45 Validate *bool `json:"validate,omitempty" cborgen:"validate,omitempty"` 46 46 Writes []*RepoApplyWrites_Input_Writes_Elem `json:"writes" cborgen:"writes"` 47 47 }
+2 -2
api/atproto/repocreateRecord.go
··· 21 21 Repo string `json:"repo" cborgen:"repo"` 22 22 // rkey: The key of the record. 23 23 Rkey *string `json:"rkey,omitempty" cborgen:"rkey,omitempty"` 24 - // swapCommit: Compare and swap with the previous commit by cid. 24 + // swapCommit: Compare and swap with the previous commit by CID. 25 25 SwapCommit *string `json:"swapCommit,omitempty" cborgen:"swapCommit,omitempty"` 26 - // validate: Validate the record? 26 + // validate: Flag for validating the record. 27 27 Validate *bool `json:"validate,omitempty" cborgen:"validate,omitempty"` 28 28 } 29 29
+2 -2
api/atproto/repodeleteRecord.go
··· 18 18 Repo string `json:"repo" cborgen:"repo"` 19 19 // rkey: The key of the record. 20 20 Rkey string `json:"rkey" cborgen:"rkey"` 21 - // swapCommit: Compare and swap with the previous commit by cid. 21 + // swapCommit: Compare and swap with the previous commit by CID. 22 22 SwapCommit *string `json:"swapCommit,omitempty" cborgen:"swapCommit,omitempty"` 23 - // swapRecord: Compare and swap with the previous record by cid. 23 + // swapRecord: Compare and swap with the previous record by CID. 24 24 SwapRecord *string `json:"swapRecord,omitempty" cborgen:"swapRecord,omitempty"` 25 25 } 26 26
+1 -1
api/atproto/repolistRecords.go
··· 29 29 // collection: The NSID of the record type. 30 30 // limit: The number of records to return. 31 31 // repo: The handle or DID of the repo. 32 - // reverse: Reverse the order of the returned records? 32 + // reverse: Flag to reverse the order of the returned records. 33 33 // rkeyEnd: DEPRECATED: The highest sort-ordered rkey to stop at (exclusive) 34 34 // rkeyStart: DEPRECATED: The lowest sort-ordered rkey to start from (exclusive) 35 35 func RepoListRecords(ctx context.Context, c *xrpc.Client, collection string, cursor string, limit int64, repo string, reverse bool, rkeyEnd string, rkeyStart string) (*RepoListRecords_Output, error) {
+3 -3
api/atproto/repoputRecord.go
··· 21 21 Repo string `json:"repo" cborgen:"repo"` 22 22 // rkey: The key of the record. 23 23 Rkey string `json:"rkey" cborgen:"rkey"` 24 - // swapCommit: Compare and swap with the previous commit by cid. 24 + // swapCommit: Compare and swap with the previous commit by CID. 25 25 SwapCommit *string `json:"swapCommit,omitempty" cborgen:"swapCommit,omitempty"` 26 - // swapRecord: Compare and swap with the previous record by cid. 26 + // swapRecord: Compare and swap with the previous record by CID. 27 27 SwapRecord *string `json:"swapRecord" cborgen:"swapRecord"` 28 - // validate: Validate the record? 28 + // validate: Flag for validating the record. 29 29 Validate *bool `json:"validate,omitempty" cborgen:"validate,omitempty"` 30 30 } 31 31
+1 -1
api/atproto/synclistBlobs.go
··· 19 19 // SyncListBlobs calls the XRPC method "com.atproto.sync.listBlobs". 20 20 // 21 21 // did: The DID of the repo. 22 - // since: Optional revision of the repo to list blobs since 22 + // since: Optional revision of the repo to list blobs since. 23 23 func SyncListBlobs(ctx context.Context, c *xrpc.Client, cursor string, did string, limit int64, since string) (*SyncListBlobs_Output, error) { 24 24 var out SyncListBlobs_Output 25 25
+4 -4
api/atproto/syncsubscribeRepos.go
··· 11 11 // SyncSubscribeRepos_Commit is a "commit" in the com.atproto.sync.subscribeRepos schema. 12 12 type SyncSubscribeRepos_Commit struct { 13 13 Blobs []util.LexLink `json:"blobs" cborgen:"blobs"` 14 - // blocks: CAR file containing relevant blocks 14 + // blocks: CAR file containing relevant blocks. 15 15 Blocks util.LexBytes `json:"blocks,omitempty" cborgen:"blocks,omitempty"` 16 16 Commit util.LexLink `json:"commit" cborgen:"commit"` 17 17 Ops []*SyncSubscribeRepos_RepoOp `json:"ops" cborgen:"ops"` 18 18 Prev *util.LexLink `json:"prev" cborgen:"prev"` 19 19 Rebase bool `json:"rebase" cborgen:"rebase"` 20 20 Repo string `json:"repo" cborgen:"repo"` 21 - // rev: The rev of the emitted commit 21 + // rev: The rev of the emitted commit. 22 22 Rev string `json:"rev" cborgen:"rev"` 23 23 Seq int64 `json:"seq" cborgen:"seq"` 24 - // since: The rev of the last emitted commit from this repo 24 + // since: The rev of the last emitted commit from this repo. 25 25 Since *string `json:"since" cborgen:"since"` 26 26 Time string `json:"time" cborgen:"time"` 27 27 TooBig bool `json:"tooBig" cborgen:"tooBig"` ··· 51 51 52 52 // SyncSubscribeRepos_RepoOp is a "repoOp" in the com.atproto.sync.subscribeRepos schema. 53 53 // 54 - // A repo operation, ie a write of a single record. For creates and updates, cid is the record's CID as of this operation. For deletes, it's null. 54 + // A repo operation, ie a write of a single record. For creates and updates, CID is the record's CID as of this operation. For deletes, it's null. 55 55 type SyncSubscribeRepos_RepoOp struct { 56 56 Action string `json:"action" cborgen:"action"` 57 57 Cid *util.LexLink `json:"cid" cborgen:"cid"`
+2 -2
api/bsky/actordefs.go
··· 53 53 // RECORDTYPE: ActorDefs_PersonalDetailsPref 54 54 type ActorDefs_PersonalDetailsPref struct { 55 55 LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#personalDetailsPref" cborgen:"$type,const=app.bsky.actor.defs#personalDetailsPref"` 56 - // birthDate: The birth date of the owner of the account. 56 + // birthDate: The birth date of account owner. 57 57 BirthDate *string `json:"birthDate,omitempty" cborgen:"birthDate,omitempty"` 58 58 } 59 59 ··· 178 178 LexiconTypeID string `json:"$type,const=app.bsky.actor.defs#threadViewPref" cborgen:"$type,const=app.bsky.actor.defs#threadViewPref"` 179 179 // prioritizeFollowedUsers: Show followed users at the top of all replies. 180 180 PrioritizeFollowedUsers *bool `json:"prioritizeFollowedUsers,omitempty" cborgen:"prioritizeFollowedUsers,omitempty"` 181 - // sort: Sorting mode. 181 + // sort: Sorting mode for threads. 182 182 Sort *string `json:"sort,omitempty" cborgen:"sort,omitempty"` 183 183 } 184 184
+2 -2
api/bsky/actorsearchActors.go
··· 18 18 19 19 // ActorSearchActors calls the XRPC method "app.bsky.actor.searchActors". 20 20 // 21 - // q: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended 22 - // term: DEPRECATED: use 'q' instead 21 + // q: Search query string. Syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. 22 + // term: DEPRECATED: use 'q' instead. 23 23 func ActorSearchActors(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string, term string) (*ActorSearchActors_Output, error) { 24 24 var out ActorSearchActors_Output 25 25
+2 -2
api/bsky/actorsearchActorsTypeahead.go
··· 17 17 18 18 // ActorSearchActorsTypeahead calls the XRPC method "app.bsky.actor.searchActorsTypeahead". 19 19 // 20 - // q: search query prefix; not a full query string 21 - // term: DEPRECATED: use 'q' instead 20 + // q: Search query prefix; not a full query string. 21 + // term: DEPRECATED: use 'q' instead. 22 22 func ActorSearchActorsTypeahead(ctx context.Context, c *xrpc.Client, limit int64, q string, term string) (*ActorSearchActorsTypeahead_Output, error) { 23 23 var out ActorSearchActorsTypeahead_Output 24 24
+3 -3
api/bsky/feedsearchPosts.go
··· 13 13 // FeedSearchPosts_Output is the output of a app.bsky.feed.searchPosts call. 14 14 type FeedSearchPosts_Output struct { 15 15 Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 16 - // hitsTotal: count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits 16 + // hitsTotal: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. 17 17 HitsTotal *int64 `json:"hitsTotal,omitempty" cborgen:"hitsTotal,omitempty"` 18 18 Posts []*FeedDefs_PostView `json:"posts" cborgen:"posts"` 19 19 } 20 20 21 21 // FeedSearchPosts calls the XRPC method "app.bsky.feed.searchPosts". 22 22 // 23 - // cursor: optional pagination mechanism; may not necessarily allow scrolling through entire result set 24 - // q: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended 23 + // cursor: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. 24 + // q: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. 25 25 func FeedSearchPosts(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string) (*FeedSearchPosts_Output, error) { 26 26 var out FeedSearchPosts_Output 27 27
+4 -4
api/bsky/unspeccedsearchActorsSkeleton.go
··· 14 14 type UnspeccedSearchActorsSkeleton_Output struct { 15 15 Actors []*UnspeccedDefs_SkeletonSearchActor `json:"actors" cborgen:"actors"` 16 16 Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 17 - // hitsTotal: count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits 17 + // hitsTotal: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. 18 18 HitsTotal *int64 `json:"hitsTotal,omitempty" cborgen:"hitsTotal,omitempty"` 19 19 } 20 20 21 21 // UnspeccedSearchActorsSkeleton calls the XRPC method "app.bsky.unspecced.searchActorsSkeleton". 22 22 // 23 - // cursor: optional pagination mechanism; may not necessarily allow scrolling through entire result set 24 - // q: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax 25 - // typeahead: if true, acts as fast/simple 'typeahead' query 23 + // cursor: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. 24 + // q: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. For typeahead search, only simple term match is supported, not full syntax. 25 + // typeahead: If true, acts as fast/simple 'typeahead' query. 26 26 func UnspeccedSearchActorsSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string, typeahead bool) (*UnspeccedSearchActorsSkeleton_Output, error) { 27 27 var out UnspeccedSearchActorsSkeleton_Output 28 28
+3 -3
api/bsky/unspeccedsearchPostsSkeleton.go
··· 13 13 // UnspeccedSearchPostsSkeleton_Output is the output of a app.bsky.unspecced.searchPostsSkeleton call. 14 14 type UnspeccedSearchPostsSkeleton_Output struct { 15 15 Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` 16 - // hitsTotal: count of search hits. optional, may be rounded/truncated, and may not be possible to paginate through all hits 16 + // hitsTotal: Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits. 17 17 HitsTotal *int64 `json:"hitsTotal,omitempty" cborgen:"hitsTotal,omitempty"` 18 18 Posts []*UnspeccedDefs_SkeletonSearchPost `json:"posts" cborgen:"posts"` 19 19 } 20 20 21 21 // UnspeccedSearchPostsSkeleton calls the XRPC method "app.bsky.unspecced.searchPostsSkeleton". 22 22 // 23 - // cursor: optional pagination mechanism; may not necessarily allow scrolling through entire result set 24 - // q: search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended 23 + // cursor: Optional pagination mechanism; may not necessarily allow scrolling through entire result set. 24 + // q: Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended. 25 25 func UnspeccedSearchPostsSkeleton(ctx context.Context, c *xrpc.Client, cursor string, limit int64, q string) (*UnspeccedSearchPostsSkeleton_Output, error) { 26 26 var out UnspeccedSearchPostsSkeleton_Output 27 27