feat(clientcache): Define sort types and constants (#6331)

Co-authored-by: Sepehr <sepehr.foroughishafiei@hashicorp.com>
pull/6383/head
Emilia Grant 4 months ago committed by Sepehr
parent b054fc7e34
commit 11f9a9aac0

@ -17,6 +17,22 @@ import (
"github.com/hashicorp/go-bexpr"
)
type SortBy string
const (
SortByDefault SortBy = ""
SortByName SortBy = "name"
SortByCreatedTime SortBy = "created_time"
)
type SortDirection string
const (
SortDirectionDefault SortDirection = ""
Ascending SortDirection = "asc"
Descending SortDirection = "desc"
)
type SearchableResource string
const (

Loading…
Cancel
Save