Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alist-org
GitHub Repository: alist-org/alist
Path: blob/main/drivers/139/meta.go
1988 views
1
package _139
2
3
import (
4
"github.com/alist-org/alist/v3/internal/driver"
5
"github.com/alist-org/alist/v3/internal/op"
6
)
7
8
type Addition struct {
9
//Account string `json:"account" required:"true"`
10
Authorization string `json:"authorization" type:"text" required:"true"`
11
driver.RootID
12
Type string `json:"type" type:"select" options:"personal_new,family,group,personal" default:"personal_new"`
13
CloudID string `json:"cloud_id"`
14
CustomUploadPartSize int64 `json:"custom_upload_part_size" type:"number" default:"0" help:"0 for auto"`
15
ReportRealSize bool `json:"report_real_size" type:"bool" default:"true" help:"Enable to report the real file size during upload"`
16
UseLargeThumbnail bool `json:"use_large_thumbnail" type:"bool" default:"false" help:"Enable to use large thumbnail for images"`
17
}
18
19
var config = driver.Config{
20
Name: "139Yun",
21
LocalSort: true,
22
ProxyRangeOption: true,
23
}
24
25
func init() {
26
op.RegisterDriver(func() driver.Driver {
27
d := &Yun139{}
28
d.ProxyRange = true
29
return d
30
})
31
}
32
33