mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 13:57:32 +00:00
3025ac577b
* search orgs * org by domain * member spooler * member * get roles * tests * types duration * use default func for renew * correct database * reorder migrations * delete unused consts * move get roles to internal * use prepared org by domain * implement org in other objects * add eventstores
16 lines
512 B
Go
16 lines
512 B
Go
package repository
|
|
|
|
import (
|
|
"context"
|
|
|
|
admin_model "github.com/caos/zitadel/internal/admin/model"
|
|
org_model "github.com/caos/zitadel/internal/org/model"
|
|
)
|
|
|
|
type OrgRepository interface {
|
|
SetUpOrg(context.Context, *admin_model.SetupOrg) (*admin_model.SetupOrg, error)
|
|
IsOrgUnique(ctx context.Context, name, domain string) (bool, error)
|
|
OrgByID(ctx context.Context, id string) (*org_model.Org, error)
|
|
SearchOrgs(ctx context.Context, query *org_model.OrgSearchRequest) (*org_model.OrgSearchResult, error)
|
|
}
|