this repo has no description
0
fork

Configure Feed

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

track live events

dholms 73ca5ea9 59e62b26

+4
+1
nexus/models/models.go
··· 37 37 38 38 type OutboxBuffer struct { 39 39 ID uint `gorm:"primaryKey"` 40 + Live bool `gorm:"not null"` 40 41 Data string `gorm:"type:text;not null"` // JSON-encoded operations 41 42 } 42 43
+1
nexus/resync.go
··· 188 188 } 189 189 190 190 evt := &RecordEvt{ 191 + Live: false, 191 192 Did: did, 192 193 Collection: collStr, 193 194 Rkey: rkeyStr,
+2
nexus/types.go
··· 29 29 var evts []*RecordEvt 30 30 for _, op := range c.Ops { 31 31 evts = append(evts, &RecordEvt{ 32 + Live: true, 32 33 Did: c.Did, 33 34 Rev: c.Rev, 34 35 Collection: op.Collection, ··· 42 43 } 43 44 44 45 type RecordEvt struct { 46 + Live bool `json:"live"` 45 47 Did string `json:"did"` 46 48 Rev string `json:"rev"` 47 49 Collection string `json:"collection"`