alist/drivers/139/meta.go

30 lines
791 B
Go
Raw Normal View History

2022-09-05 05:35:01 +00:00
package _139
import (
"github.com/alist-org/alist/v3/internal/driver"
"github.com/alist-org/alist/v3/internal/op"
)
type Addition struct {
//Account string `json:"account" required:"true"`
Authorization string `json:"authorization" type:"text" required:"true"`
2022-09-05 05:35:01 +00:00
driver.RootID
Type string `json:"type" type:"select" options:"personal_new,family,group,personal" default:"personal_new"`
CloudID string `json:"cloud_id"`
CustomUploadPartSize int64 `json:"custom_upload_part_size" type:"number" default:"0" help:"0 for auto"`
2022-09-05 05:35:01 +00:00
}
var config = driver.Config{
Name: "139Yun",
LocalSort: true,
ProxyRangeOption: true,
2022-09-05 05:35:01 +00:00
}
func init() {
op.RegisterDriver(func() driver.Driver {
d := &Yun139{}
d.ProxyRange = true
return d
2022-09-05 05:35:01 +00:00
})
}