Publish Docker image / build (linux/amd64, ubuntu-latest, amd64) (push) Canceled after 0s
Publish Docker image / build (linux/arm64, ubuntu-24.04-arm, arm64) (push) Canceled after 0s
Publish Docker image / merge (push) Canceled after 0s
ci / ci (22, ubuntu-latest) (push) Canceled after 0s
GitHub Release / release (push) Canceled after 0s
20 lines
412 B
TypeScript
20 lines
412 B
TypeScript
export type LoginVerificationMethod = 'slider' | 'turnstile' | 'cap'
|
|
|
|
export interface LoginVerificationPublicConfig {
|
|
method: LoginVerificationMethod
|
|
turnstileSiteKey?: string
|
|
capApiEndpoint?: string
|
|
}
|
|
|
|
export type LoginVerificationPayload = {
|
|
method: 'slider'
|
|
captchaId: string
|
|
captchaPosition: number
|
|
} | {
|
|
method: 'turnstile'
|
|
turnstileToken: string
|
|
} | {
|
|
method: 'cap'
|
|
capToken: string
|
|
}
|