55 lines
1.5 KiB
Go
55 lines
1.5 KiB
Go
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
|
|
|
|
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Album struct {
|
|
ID string `json:"id"`
|
|
Title *string `json:"title"`
|
|
Photos []*Photo `json:"photos"`
|
|
SubAlbums []*Album `json:"subAlbums"`
|
|
ParentAlbum *Album `json:"parentAlbum"`
|
|
Owner *User `json:"owner"`
|
|
Path *string `json:"path"`
|
|
}
|
|
|
|
type AuthorizeResult struct {
|
|
Success bool `json:"success"`
|
|
Status string `json:"status"`
|
|
Token *string `json:"token"`
|
|
}
|
|
|
|
// EXIF metadata from the camera
|
|
type PhotoExif struct {
|
|
Photo *Photo `json:"photo"`
|
|
// The model name of the camera
|
|
Camera *string `json:"camera"`
|
|
// The maker of the camera
|
|
Maker *string `json:"maker"`
|
|
// The name of the lens
|
|
Lens *string `json:"lens"`
|
|
DateShot *time.Time `json:"dateShot"`
|
|
// The formatted filesize of the image
|
|
FileSize *string `json:"fileSize"`
|
|
// The exposure time of the image
|
|
Exposure *string `json:"exposure"`
|
|
// The aperature stops of the image
|
|
Aperture *float64 `json:"aperture"`
|
|
// The ISO setting of the image
|
|
Iso *int `json:"iso"`
|
|
// The focal length of the lens, when the image was taken
|
|
FocalLength *string `json:"focalLength"`
|
|
// A formatted description of the flash settings, when the image was taken
|
|
Flash *string `json:"flash"`
|
|
}
|
|
|
|
type ScannerResult struct {
|
|
Finished bool `json:"finished"`
|
|
Success bool `json:"success"`
|
|
Progress *float64 `json:"progress"`
|
|
Message *string `json:"message"`
|
|
}
|