Fix after rebase

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-18 18:58:25 +04:00
parent d078ff2b34
commit 2a082efae0
2 changed files with 10 additions and 0 deletions

View File

@@ -156,6 +156,7 @@ type ComplexityRoot struct {
PersonalAPIKeys func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey) int
Profiles func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.ProfileOrderBy, filter *types.ProfileFilter) int
Sessions func(childComplexity int, first *int, after *page.CursorKey, last *int, before *page.CursorKey, orderBy *types.SessionOrder) int
SsoLoginURL func(childComplexity int) int
UpdatedAt func(childComplexity int) int
}
@@ -875,6 +876,12 @@ func (e *executableSchema) Complexity(ctx context.Context, typeName, field strin
}
return e.complexity.Identity.Sessions(childComplexity, args["first"].(*int), args["after"].(*page.CursorKey), args["last"].(*int), args["before"].(*page.CursorKey), args["orderBy"].(*types.SessionOrder)), true
case "Identity.ssoLoginURL":
if e.complexity.Identity.SsoLoginURL == nil {
break
}
return e.complexity.Identity.SsoLoginURL(childComplexity), true
case "Identity.updatedAt":
if e.complexity.Identity.UpdatedAt == nil {
break
@@ -9786,6 +9793,8 @@ func (ec *executionContext) fieldContext_Profile_identity(_ context.Context, fie
return ec.fieldContext_Identity_sessions(ctx, field)
case "personalAPIKeys":
return ec.fieldContext_Identity_personalAPIKeys(ctx, field)
case "ssoLoginURL":
return ec.fieldContext_Identity_ssoLoginURL(ctx, field)
case "permission":
return ec.fieldContext_Identity_permission(ctx, field)
}

View File

@@ -200,6 +200,7 @@ type Identity struct {
Profiles *ProfileConnection `json:"profiles,omitempty"`
Sessions *SessionConnection `json:"sessions,omitempty"`
PersonalAPIKeys *PersonalAPIKeyConnection `json:"personalAPIKeys,omitempty"`
SsoLoginURL *string `json:"ssoLoginURL,omitempty"`
Permission bool `json:"permission"`
}