[WIP] music platform user data scraper
teal-fm
atproto
1package models
2
3import "time"
4
5// an end user of piper
6type User struct {
7 ID int64
8 Username *string
9 Email *string
10
11 // spotify information
12 SpotifyID *string
13 AccessToken *string
14 RefreshToken *string
15 TokenExpiry *time.Time
16
17 // lfm information
18 LastFMUsername *string
19
20 // atp info
21 ATProtoDID *string
22 //This is meant to only be used by the automated music stamping service. If the user ever does an
23 //atproto action from the web ui use the atproto session id for the logged-in session
24 MostRecentAtProtoSessionID *string
25 //ATProtoAccessToken *string
26 //ATProtoRefreshToken *string
27 //ATProtoTokenExpiry *time.Time
28
29 CreatedAt time.Time
30 UpdatedAt time.Time
31}