Skip to content

Commit

Permalink
Fix(stubs): Add InferAuthenticators import for auth.ts file (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
shankiflang authored Dec 18, 2024
1 parent 85fec50 commit 0dfc0e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/auth/stubs/config/access_tokens_with_lucid.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/auth/stubs/config/basic_auth_with_lucid.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/auth/stubs/config/session_with_lucid.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0dfc0e2

Please sign in to comment.