mirror of https://github.com/Xhofe/alist
🔧 #523 add some default setting
parent
4f81735af6
commit
435bdea8f7
|
@ -57,6 +57,7 @@ func (driver Pan123) Items() []base.Item {
|
|||
Type: base.TypeSelect,
|
||||
Values: "name,fileId,updateAt,createAt",
|
||||
Required: true,
|
||||
Default: "name",
|
||||
},
|
||||
{
|
||||
Name: "order_direction",
|
||||
|
@ -64,6 +65,7 @@ func (driver Pan123) Items() []base.Item {
|
|||
Type: base.TypeSelect,
|
||||
Values: "asc,desc",
|
||||
Required: true,
|
||||
Default: "asc",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,11 +45,12 @@ func (driver MediaTrack) Items() []base.Item {
|
|||
Required: true,
|
||||
},
|
||||
{
|
||||
Name: "order_by",
|
||||
Label: "order_by",
|
||||
Type: base.TypeSelect,
|
||||
Values: "updated_at,title,size",
|
||||
Required: true,
|
||||
Name: "order_by",
|
||||
Label: "order_by",
|
||||
Type: base.TypeSelect,
|
||||
Values: "updated_at,title,size",
|
||||
Required: true,
|
||||
Description: "title",
|
||||
},
|
||||
{
|
||||
Name: "order_direction",
|
||||
|
@ -57,6 +58,7 @@ func (driver MediaTrack) Items() []base.Item {
|
|||
Type: base.TypeSelect,
|
||||
Values: "true,false",
|
||||
Required: true,
|
||||
Default: "false",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,6 +51,7 @@ func (driver Teambition) Items() []base.Item {
|
|||
Type: base.TypeSelect,
|
||||
Values: "fileName,fileSize,updated,created",
|
||||
Required: true,
|
||||
Default: "fileName",
|
||||
},
|
||||
{
|
||||
Name: "order_direction",
|
||||
|
@ -58,6 +59,7 @@ func (driver Teambition) Items() []base.Item {
|
|||
Type: base.TypeSelect,
|
||||
Values: "Asc,Desc",
|
||||
Required: true,
|
||||
Default: "Asc",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue