mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 08:18:07 -06:00
[feature] Add List functionality (#1802)
* start working on lists * further list work * test list db functions nicely * more work on lists * peepoopeepoo * poke * start list timeline func * we're getting there lads * couldn't be me working on stuff... could it? * hook up handlers * fiddling * weeee * woah * screaming, pissing * fix streaming being a whiny baby * lint, small test fix, swagger * tidying up, testing * fucked! by the linter * move timelines to state like a boss * add timeline start to tests using state * invalidate lists
This commit is contained in:
parent
282be6f26d
commit
f5c004d67d
123 changed files with 5654 additions and 970 deletions
|
|
@ -65,6 +65,7 @@ type DBService struct {
|
|||
db.Domain
|
||||
db.Emoji
|
||||
db.Instance
|
||||
db.List
|
||||
db.Media
|
||||
db.Mention
|
||||
db.Notification
|
||||
|
|
@ -179,6 +180,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) {
|
|||
Instance: &instanceDB{
|
||||
conn: conn,
|
||||
},
|
||||
List: &listDB{
|
||||
conn: conn,
|
||||
state: state,
|
||||
},
|
||||
Media: &mediaDB{
|
||||
conn: conn,
|
||||
state: state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue