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 {
|
2023-06-09 15:41:41 +00:00
|
|
|
//Account string `json:"account" required:"true"`
|
2023-06-09 15:02:02 +00:00
|
|
|
Authorization string `json:"authorization" type:"text" required:"true"`
|
2022-09-05 05:35:01 +00:00
|
|
|
driver.RootID
|
2023-12-16 08:56:45 +00:00
|
|
|
Type string `json:"type" type:"select" options:"personal,family,personal_new" default:"personal"`
|
2022-09-05 05:35:01 +00:00
|
|
|
CloudID string `json:"cloud_id"`
|
|
|
|
}
|
|
|
|
|
|
|
|
var config = driver.Config{
|
|
|
|
Name: "139Yun",
|
|
|
|
LocalSort: true,
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() {
|
2022-12-13 10:03:30 +00:00
|
|
|
op.RegisterDriver(func() driver.Driver {
|
2022-09-05 05:35:01 +00:00
|
|
|
return &Yun139{}
|
|
|
|
})
|
|
|
|
}
|