-
Notifications
You must be signed in to change notification settings - Fork 3
/
models_gen.go
42 lines (35 loc) · 1.24 KB
/
models_gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package drophere_go
import (
"time"
)
type Link struct {
ID int `json:"id"`
Title string `json:"title"`
IsProtected bool `json:"isProtected"`
Slug *string `json:"slug"`
Description *string `json:"description"`
Deadline *time.Time `json:"deadline"`
StorageProvider *StorageProvider `json:"storageProvider"`
}
type Message struct {
Message string `json:"message"`
}
type StorageProvider struct {
ID int `json:"id"`
ProviderID int `json:"providerId"`
Email string `json:"email"`
Photo string `json:"photo"`
}
type Token struct {
LoginToken string `json:"loginToken"`
}
type User struct {
ID int `json:"id"`
Email string `json:"email"`
Name string `json:"name"`
DropboxAuthorized bool `json:"dropboxAuthorized"`
DropboxEmail *string `json:"dropboxEmail"`
DropboxAvatar *string `json:"dropboxAvatar"`
ConnectedStorageProviders []*StorageProvider `json:"connectedStorageProviders"`
}