feat: add alert for driver
This commit is contained in:
@ -18,6 +18,7 @@ type Addition struct {
|
||||
var config = driver.Config{
|
||||
Name: "Aliyundrive",
|
||||
DefaultRoot: "root",
|
||||
Alert: "warning|Deprecated, no longer maintained and will be removed in a future version",
|
||||
}
|
||||
|
||||
func init() {
|
||||
|
@ -11,8 +11,8 @@ type Addition struct {
|
||||
OrderBy string `json:"order_by" type:"select" options:"name,size,updated_at,created_at"`
|
||||
OrderDirection string `json:"order_direction" type:"select" options:"ASC,DESC"`
|
||||
OauthTokenURL string `json:"oauth_token_url" default:"https://api.nn.ci/alist/ali_open/token"`
|
||||
ClientID string `json:"client_id" required:"false"`
|
||||
ClientSecret string `json:"client_secret" required:"false"`
|
||||
ClientID string `json:"client_id" required:"false" help:"Keep it empty if you don't have one"`
|
||||
ClientSecret string `json:"client_secret" required:"false" help:"Keep it empty if you don't have one"`
|
||||
}
|
||||
|
||||
var config = driver.Config{
|
||||
|
Reference in New Issue
Block a user