Implement owner setup and browser authentication sessions
Some checks failed
CI / Backend (push) Failing after 1s
CI / Frontend (push) Successful in 13s
CI / Contracts and repository policy (push) Failing after 3s
CI / Container (push) Has been skipped

This commit is contained in:
Elijah 2026-07-16 19:45:40 -07:00
parent 077cf7601a
commit 715423ab8e
21 changed files with 2185 additions and 14 deletions

View file

@ -9,8 +9,20 @@ import (
)
type Querier interface {
CreateAuthenticationAuditEvent(ctx context.Context, arg CreateAuthenticationAuditEventParams) error
CreateBrowserSession(ctx context.Context, arg CreateBrowserSessionParams) (string, error)
CreateInitialRootChange(ctx context.Context, arg CreateInitialRootChangeParams) error
CreateOwner(ctx context.Context, arg CreateOwnerParams) (string, error)
CreateOwnerRootNode(ctx context.Context, arg CreateOwnerRootNodeParams) (string, error)
CreateRecoveryCode(ctx context.Context, arg CreateRecoveryCodeParams) error
DatabaseHealth(ctx context.Context) (int64, error)
GetActiveBrowserSession(ctx context.Context, arg GetActiveBrowserSessionParams) (GetActiveBrowserSessionRow, error)
GetAuthenticationInvariantCounts(ctx context.Context) (GetAuthenticationInvariantCountsRow, error)
GetOwnerAuthenticationRecord(ctx context.Context) (GetOwnerAuthenticationRecordRow, error)
OwnerExists(ctx context.Context) (bool, error)
RevokeBrowserSession(ctx context.Context, arg RevokeBrowserSessionParams) (int64, error)
SetOwnerRootNode(ctx context.Context, arg SetOwnerRootNodeParams) error
TouchBrowserSession(ctx context.Context, arg TouchBrowserSessionParams) error
}
var _ Querier = (*Queries)(nil)