mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-07 10:58:07 -06:00
[feature] Implement markers API (#1989)
* Implement markers API Fixes #1856 * Correct import grouping in markers files * Regenerate Swagger for markers API * Shorten names for readability * Cache markers for 6 hours * Update DB ref * Update envparsing.sh
This commit is contained in:
parent
cf4bd700fb
commit
b874e9251e
29 changed files with 1083 additions and 3 deletions
|
|
@ -66,6 +66,7 @@ type DBService struct {
|
|||
db.Emoji
|
||||
db.Instance
|
||||
db.List
|
||||
db.Marker
|
||||
db.Media
|
||||
db.Mention
|
||||
db.Notification
|
||||
|
|
@ -186,6 +187,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) {
|
|||
db: db,
|
||||
state: state,
|
||||
},
|
||||
Marker: &markerDB{
|
||||
db: db,
|
||||
state: state,
|
||||
},
|
||||
Media: &mediaDB{
|
||||
db: db,
|
||||
state: state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue