this repo has no description
0
fork

Configure Feed

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

lexgen: do include all the other record-related updates

+18 -32
+5 -10
api/atproto/admindefs.go
··· 166 166 } 167 167 } 168 168 169 - // RECORDTYPE: AdminDefs_ImageDetails 170 169 type AdminDefs_ImageDetails struct { 171 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.admin.defs"` 170 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 172 171 Height int64 `json:"height" cborgen:"height"` 173 172 Width int64 `json:"width" cborgen:"width"` 174 173 } ··· 185 184 Reports []*AdminDefs_ReportView `json:"reports" cborgen:"reports"` 186 185 } 187 186 188 - // RECORDTYPE: AdminDefs_RecordView 189 187 type AdminDefs_RecordView struct { 190 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.admin.defs"` 188 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 191 189 BlobCids []string `json:"blobCids" cborgen:"blobCids"` 192 190 Cid string `json:"cid" cborgen:"cid"` 193 191 IndexedAt string `json:"indexedAt" cborgen:"indexedAt"` ··· 208 206 Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 209 207 } 210 208 211 - // RECORDTYPE: AdminDefs_RepoRef 212 209 type AdminDefs_RepoRef struct { 213 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.admin.defs"` 210 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 214 211 Did string `json:"did" cborgen:"did"` 215 212 } 216 213 217 - // RECORDTYPE: AdminDefs_RepoView 218 214 type AdminDefs_RepoView struct { 219 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.admin.defs"` 215 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 220 216 Did string `json:"did" cborgen:"did"` 221 217 Email *string `json:"email,omitempty" cborgen:"email,omitempty"` 222 218 Handle string `json:"handle" cborgen:"handle"` ··· 327 323 } 328 324 } 329 325 330 - // RECORDTYPE: AdminDefs_VideoDetails 331 326 type AdminDefs_VideoDetails struct { 332 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.admin.defs"` 327 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 333 328 Height int64 `json:"height" cborgen:"height"` 334 329 Length int64 `json:"length" cborgen:"length"` 335 330 Width int64 `json:"width" cborgen:"width"`
+3 -6
api/atproto/repoapplyWrites.go
··· 14 14 func init() { 15 15 } 16 16 17 - // RECORDTYPE: RepoApplyWrites_Create 18 17 type RepoApplyWrites_Create struct { 19 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.repo.applyWrites"` 18 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 20 19 Collection string `json:"collection" cborgen:"collection"` 21 20 Rkey *string `json:"rkey,omitempty" cborgen:"rkey,omitempty"` 22 21 Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"` 23 22 } 24 23 25 - // RECORDTYPE: RepoApplyWrites_Delete 26 24 type RepoApplyWrites_Delete struct { 27 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.repo.applyWrites"` 25 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 28 26 Collection string `json:"collection" cborgen:"collection"` 29 27 Rkey string `json:"rkey" cborgen:"rkey"` 30 28 } ··· 80 78 } 81 79 } 82 80 83 - // RECORDTYPE: RepoApplyWrites_Update 84 81 type RepoApplyWrites_Update struct { 85 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.repo.applyWrites"` 82 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 86 83 Collection string `json:"collection" cborgen:"collection"` 87 84 Rkey string `json:"rkey" cborgen:"rkey"` 88 85 Value *util.LexiconTypeDecoder `json:"value" cborgen:"value"`
+1 -7
api/atproto/repostrongRef.go
··· 1 1 package atproto 2 2 3 - import ( 4 - "github.com/bluesky-social/indigo/lex/util" 5 - ) 6 - 7 3 // schema: com.atproto.repo.strongRef 8 4 9 5 func init() { 10 - util.RegisterType("com.atproto.repo.strongRef#main", &RepoStrongRef{}) 11 6 } 12 7 13 - // RECORDTYPE: RepoStrongRef 14 8 type RepoStrongRef struct { 15 - LexiconTypeID string `json:"$type" cborgen:"$type,const=com.atproto.repo.strongRef,omitempty"` 9 + LexiconTypeID string `json:"$type,omitempty" cborgen:"$type,omitempty"` 16 10 Cid string `json:"cid" cborgen:"cid"` 17 11 Uri string `json:"uri" cborgen:"uri"` 18 12 }
+1 -1
api/bsky/actorprofile.go
··· 12 12 13 13 // RECORDTYPE: ActorProfile 14 14 type ActorProfile struct { 15 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.actor.profile"` 15 + LexiconTypeID string `json:"$type,const=app.bsky.actor.profile" cborgen:"$type,const=app.bsky.actor.profile"` 16 16 Avatar *util.LexBlob `json:"avatar,omitempty" cborgen:"avatar,omitempty"` 17 17 Banner *util.LexBlob `json:"banner,omitempty" cborgen:"banner,omitempty"` 18 18 Description *string `json:"description,omitempty" cborgen:"description,omitempty"`
+1 -1
api/bsky/embedexternal.go
··· 12 12 13 13 // RECORDTYPE: EmbedExternal 14 14 type EmbedExternal struct { 15 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.embed.external"` 15 + LexiconTypeID string `json:"$type,const=app.bsky.embed.external" cborgen:"$type,const=app.bsky.embed.external"` 16 16 External *EmbedExternal_External `json:"external" cborgen:"external"` 17 17 } 18 18
+1 -1
api/bsky/embedimages.go
··· 12 12 13 13 // RECORDTYPE: EmbedImages 14 14 type EmbedImages struct { 15 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.embed.images"` 15 + LexiconTypeID string `json:"$type,const=app.bsky.embed.images" cborgen:"$type,const=app.bsky.embed.images"` 16 16 Images []*EmbedImages_Image `json:"images" cborgen:"images"` 17 17 } 18 18
+1 -1
api/bsky/embedrecord.go
··· 16 16 17 17 // RECORDTYPE: EmbedRecord 18 18 type EmbedRecord struct { 19 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.embed.record"` 19 + LexiconTypeID string `json:"$type,const=app.bsky.embed.record" cborgen:"$type,const=app.bsky.embed.record"` 20 20 Record *comatprototypes.RepoStrongRef `json:"record" cborgen:"record"` 21 21 } 22 22
+1 -1
api/bsky/embedrecordWithMedia.go
··· 18 18 19 19 // RECORDTYPE: EmbedRecordWithMedia 20 20 type EmbedRecordWithMedia struct { 21 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.embed.recordWithMedia"` 21 + LexiconTypeID string `json:"$type,const=app.bsky.embed.recordWithMedia" cborgen:"$type,const=app.bsky.embed.recordWithMedia"` 22 22 Media *EmbedRecordWithMedia_Media `json:"media" cborgen:"media"` 23 23 Record *EmbedRecord `json:"record" cborgen:"record"` 24 24 }
+1 -1
api/bsky/feedlike.go
··· 13 13 14 14 // RECORDTYPE: FeedLike 15 15 type FeedLike struct { 16 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.like"` 16 + LexiconTypeID string `json:"$type,const=app.bsky.feed.like" cborgen:"$type,const=app.bsky.feed.like"` 17 17 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 18 18 Subject *comatprototypes.RepoStrongRef `json:"subject" cborgen:"subject"` 19 19 }
+1 -1
api/bsky/feedpost.go
··· 19 19 20 20 // RECORDTYPE: FeedPost 21 21 type FeedPost struct { 22 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.post"` 22 + LexiconTypeID string `json:"$type,const=app.bsky.feed.post" cborgen:"$type,const=app.bsky.feed.post"` 23 23 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 24 24 Embed *FeedPost_Embed `json:"embed,omitempty" cborgen:"embed,omitempty"` 25 25 Entities []*FeedPost_Entity `json:"entities,omitempty" cborgen:"entities,omitempty"`
+1 -1
api/bsky/feedrepost.go
··· 13 13 14 14 // RECORDTYPE: FeedRepost 15 15 type FeedRepost struct { 16 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.feed.repost"` 16 + LexiconTypeID string `json:"$type,const=app.bsky.feed.repost" cborgen:"$type,const=app.bsky.feed.repost"` 17 17 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 18 18 Subject *comatprototypes.RepoStrongRef `json:"subject" cborgen:"subject"` 19 19 }
+1 -1
api/bsky/graphfollow.go
··· 12 12 13 13 // RECORDTYPE: GraphFollow 14 14 type GraphFollow struct { 15 - LexiconTypeID string `json:"$type" cborgen:"$type,const=app.bsky.graph.follow"` 15 + LexiconTypeID string `json:"$type,const=app.bsky.graph.follow" cborgen:"$type,const=app.bsky.graph.follow"` 16 16 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 17 17 Subject string `json:"subject" cborgen:"subject"` 18 18 }