From 0dfc0e25cff983a038c664237c05036240ea84c7 Mon Sep 17 00:00:00 2001 From: Benjamin BENOIT <32774804+shankiflang@users.noreply.github.com> Date: Wed, 18 Dec 2024 18:03:40 +0100 Subject: [PATCH] Fix(stubs): Add InferAuthenticators import for auth.ts file (#6) --- src/auth/stubs/config/access_tokens_with_lucid.stub | 2 +- src/auth/stubs/config/basic_auth_with_lucid.stub | 2 +- src/auth/stubs/config/session_with_lucid.stub | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/auth/stubs/config/access_tokens_with_lucid.stub b/src/auth/stubs/config/access_tokens_with_lucid.stub index 8eebd36..00327ca 100644 --- a/src/auth/stubs/config/access_tokens_with_lucid.stub +++ b/src/auth/stubs/config/access_tokens_with_lucid.stub @@ -3,7 +3,7 @@ }}} import { defineConfig } from '@adonisjs/auth' import { tokensGuard, tokensUserProvider } from '@adonisjs/auth/access_tokens' -import type { InferAuthEvents, Authenticators } from '@adonisjs/auth/types' +import type { InferAuthenticators, InferAuthEvents, Authenticators } from '@adonisjs/auth/types' const authConfig = defineConfig({ default: 'api', diff --git a/src/auth/stubs/config/basic_auth_with_lucid.stub b/src/auth/stubs/config/basic_auth_with_lucid.stub index ee9caf7..a91f4da 100644 --- a/src/auth/stubs/config/basic_auth_with_lucid.stub +++ b/src/auth/stubs/config/basic_auth_with_lucid.stub @@ -3,7 +3,7 @@ }}} import { defineConfig } from '@adonisjs/auth' import { basicAuthGuard, basicAuthUserProvider } from '@adonisjs/auth/basic_auth' -import type { InferAuthEvents, Authenticators } from '@adonisjs/auth/types' +import type { InferAuthenticators, InferAuthEvents, Authenticators } from '@adonisjs/auth/types' const authConfig = defineConfig({ default: 'basicAuth', diff --git a/src/auth/stubs/config/session_with_lucid.stub b/src/auth/stubs/config/session_with_lucid.stub index 25f8aac..736c50f 100644 --- a/src/auth/stubs/config/session_with_lucid.stub +++ b/src/auth/stubs/config/session_with_lucid.stub @@ -3,7 +3,7 @@ }}} import { defineConfig } from '@adonisjs/auth' import { sessionGuard, sessionUserProvider } from '@adonisjs/auth/session' -import type { InferAuthEvents, Authenticators } from '@adonisjs/auth/types' +import type { InferAuthenticators, InferAuthEvents, Authenticators } from '@adonisjs/auth/types' const authConfig = defineConfig({ default: 'web',