opendrive: add about support to backend

This commit is contained in:
quiescens
2024-09-18 02:20:42 +10:00
committed by GitHub
parent ed84553dc1
commit b1b4c7f27b
3 changed files with 35 additions and 1 deletions

View File

@ -231,3 +231,10 @@ type permissions struct {
type uploadFileChunkReply struct {
TotalWritten int64 `json:"TotalWritten"`
}
// usersInfoResponse describes OpenDrive users/info.json response
type usersInfoResponse struct {
// This response contains many other values but these are the only ones currently in use
StorageUsed int64 `json:"StorageUsed,string"`
MaxStorage int64 `json:"MaxStorage,string"`
}