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

Co-authored-by: Sepehr <sepehr.foroughishafiei@hashicorp.com>
This commit is contained in:
Emilia GrantandSepehr authored and Sepehr committed 2026-02-03 09:18:16 -08:00
1 parent b054fc7e34
commit 11f9a9aac0
1 file changed
+16
+16
View File
@@ -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 (