From f35a833e425d3e4e580d012bdb81dd417e848092 Mon Sep 17 00:00:00 2001 From: Sergei Lukianov Date: Mon, 18 Mar 2024 11:31:57 -0700 Subject: [PATCH] [api] add ObjectList and extend Object --- api/meta/types.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/meta/types.go b/api/meta/types.go index 98bc3d2a..af1ac9d0 100644 --- a/api/meta/types.go +++ b/api/meta/types.go @@ -38,10 +38,18 @@ type Validatable interface { } type Object interface { + client.Object + Defaultable Validatable } +type ObjectList interface { + client.ObjectList + + GetItems() []Object +} + type UserCreds struct { Name string `json:"name,omitempty"` Password string `json:"password,omitempty"`