package api import ( "atlas9.dev/c/core" "atlas9.dev/c/core/iam" ) const ( Path_Grants_Add = "POST /Grants_Add" Path_Grants_Remove = "POST /Grants_Remove" Path_Grants_List = "POST /Grants_List" Path_Grants_ListByTenant = "POST /Grants_ListByTenant" ) type Grants_AddReq struct { Grant iam.Grant } type Grants_AddRes struct{} type Grants_RemoveReq struct { Grant iam.Grant } type Grants_RemoveRes struct{} type Grants_ListReq struct { UserID core.ID Page core.PageReq } type Grants_ListRes struct { Page core.Page[iam.Grant] } type Grants_ListByTenantReq struct { Tenant core.ID Page core.PageReq } type Grants_ListByTenantRes struct { Page core.Page[iam.Grant] } func (r *Grants_AddReq) Prepare() error { return nil } func (r *Grants_RemoveReq) Prepare() error { return nil } func (r *Grants_ListReq) Prepare() error { return nil } func (r *Grants_ListByTenantReq) Prepare() error { return nil }