feat(setup preprod env and mailing interceptor)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition } from './../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::create
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:20
|
||||
@@ -43,6 +43,43 @@ create.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::create
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:20
|
||||
* @route '/login'
|
||||
*/
|
||||
const createForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::create
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:20
|
||||
* @route '/login'
|
||||
*/
|
||||
createForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::create
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:20
|
||||
* @route '/login'
|
||||
*/
|
||||
createForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
create.form = createForm
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::store
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:31
|
||||
@@ -77,6 +114,28 @@ store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::store
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:31
|
||||
* @route '/login'
|
||||
*/
|
||||
const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::store
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:31
|
||||
* @route '/login'
|
||||
*/
|
||||
storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
store.form = storeForm
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::destroy
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:54
|
||||
@@ -111,6 +170,28 @@ destroy.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::destroy
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:54
|
||||
* @route '/logout'
|
||||
*/
|
||||
const destroyForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: destroy.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\AuthenticatedSessionController::destroy
|
||||
* @see app/Http/Controllers/Auth/AuthenticatedSessionController.php:54
|
||||
* @route '/logout'
|
||||
*/
|
||||
destroyForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: destroy.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
destroy.form = destroyForm
|
||||
|
||||
const AuthenticatedSessionController = { create, store, destroy }
|
||||
|
||||
export default AuthenticatedSessionController
|
||||
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition } from './../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\EmailVerificationNotificationController::store
|
||||
* @see app/Http/Controllers/Auth/EmailVerificationNotificationController.php:14
|
||||
@@ -33,6 +33,28 @@ store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\EmailVerificationNotificationController::store
|
||||
* @see app/Http/Controllers/Auth/EmailVerificationNotificationController.php:14
|
||||
* @route '/email/verification-notification'
|
||||
*/
|
||||
const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\EmailVerificationNotificationController::store
|
||||
* @see app/Http/Controllers/Auth/EmailVerificationNotificationController.php:14
|
||||
* @route '/email/verification-notification'
|
||||
*/
|
||||
storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
store.form = storeForm
|
||||
|
||||
const EmailVerificationNotificationController = { store }
|
||||
|
||||
export default EmailVerificationNotificationController
|
||||
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition } from './../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\EmailVerificationPromptController::__invoke
|
||||
* @see app/Http/Controllers/Auth/EmailVerificationPromptController.php:16
|
||||
@@ -43,4 +43,41 @@ EmailVerificationPromptController.head = (options?: RouteQueryOptions): RouteDef
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\EmailVerificationPromptController::__invoke
|
||||
* @see app/Http/Controllers/Auth/EmailVerificationPromptController.php:16
|
||||
* @route '/verify-email'
|
||||
*/
|
||||
const EmailVerificationPromptControllerForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: EmailVerificationPromptController.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\EmailVerificationPromptController::__invoke
|
||||
* @see app/Http/Controllers/Auth/EmailVerificationPromptController.php:16
|
||||
* @route '/verify-email'
|
||||
*/
|
||||
EmailVerificationPromptControllerForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: EmailVerificationPromptController.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\EmailVerificationPromptController::__invoke
|
||||
* @see app/Http/Controllers/Auth/EmailVerificationPromptController.php:16
|
||||
* @route '/verify-email'
|
||||
*/
|
||||
EmailVerificationPromptControllerForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: EmailVerificationPromptController.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
EmailVerificationPromptController.form = EmailVerificationPromptControllerForm
|
||||
|
||||
export default EmailVerificationPromptController
|
||||
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, applyUrlDefaults } from './../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition, applyUrlDefaults } from './../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\NewPasswordController::create
|
||||
* @see app/Http/Controllers/Auth/NewPasswordController.php:23
|
||||
@@ -61,6 +61,43 @@ create.head = (args: { token: string | number } | [token: string | number ] | st
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\NewPasswordController::create
|
||||
* @see app/Http/Controllers/Auth/NewPasswordController.php:23
|
||||
* @route '/reset-password/{token}'
|
||||
*/
|
||||
const createForm = (args: { token: string | number } | [token: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(args, options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\NewPasswordController::create
|
||||
* @see app/Http/Controllers/Auth/NewPasswordController.php:23
|
||||
* @route '/reset-password/{token}'
|
||||
*/
|
||||
createForm.get = (args: { token: string | number } | [token: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(args, options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\NewPasswordController::create
|
||||
* @see app/Http/Controllers/Auth/NewPasswordController.php:23
|
||||
* @route '/reset-password/{token}'
|
||||
*/
|
||||
createForm.head = (args: { token: string | number } | [token: string | number ] | string | number, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(args, {
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
create.form = createForm
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\NewPasswordController::store
|
||||
* @see app/Http/Controllers/Auth/NewPasswordController.php:36
|
||||
@@ -95,6 +132,28 @@ store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\NewPasswordController::store
|
||||
* @see app/Http/Controllers/Auth/NewPasswordController.php:36
|
||||
* @route '/reset-password'
|
||||
*/
|
||||
const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\NewPasswordController::store
|
||||
* @see app/Http/Controllers/Auth/NewPasswordController.php:36
|
||||
* @route '/reset-password'
|
||||
*/
|
||||
storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
store.form = storeForm
|
||||
|
||||
const NewPasswordController = { create, store }
|
||||
|
||||
export default NewPasswordController
|
||||
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition } from './../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\PasswordResetLinkController::create
|
||||
* @see app/Http/Controllers/Auth/PasswordResetLinkController.php:17
|
||||
@@ -43,6 +43,43 @@ create.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\PasswordResetLinkController::create
|
||||
* @see app/Http/Controllers/Auth/PasswordResetLinkController.php:17
|
||||
* @route '/forgot-password'
|
||||
*/
|
||||
const createForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\PasswordResetLinkController::create
|
||||
* @see app/Http/Controllers/Auth/PasswordResetLinkController.php:17
|
||||
* @route '/forgot-password'
|
||||
*/
|
||||
createForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\PasswordResetLinkController::create
|
||||
* @see app/Http/Controllers/Auth/PasswordResetLinkController.php:17
|
||||
* @route '/forgot-password'
|
||||
*/
|
||||
createForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
create.form = createForm
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\PasswordResetLinkController::store
|
||||
* @see app/Http/Controllers/Auth/PasswordResetLinkController.php:29
|
||||
@@ -77,6 +114,28 @@ store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\PasswordResetLinkController::store
|
||||
* @see app/Http/Controllers/Auth/PasswordResetLinkController.php:29
|
||||
* @route '/forgot-password'
|
||||
*/
|
||||
const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\PasswordResetLinkController::store
|
||||
* @see app/Http/Controllers/Auth/PasswordResetLinkController.php:29
|
||||
* @route '/forgot-password'
|
||||
*/
|
||||
storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
store.form = storeForm
|
||||
|
||||
const PasswordResetLinkController = { create, store }
|
||||
|
||||
export default PasswordResetLinkController
|
||||
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition } from './../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\RegisteredUserController::create
|
||||
* @see app/Http/Controllers/Auth/RegisteredUserController.php:21
|
||||
@@ -43,6 +43,43 @@ create.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\RegisteredUserController::create
|
||||
* @see app/Http/Controllers/Auth/RegisteredUserController.php:21
|
||||
* @route '/register'
|
||||
*/
|
||||
const createForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\RegisteredUserController::create
|
||||
* @see app/Http/Controllers/Auth/RegisteredUserController.php:21
|
||||
* @route '/register'
|
||||
*/
|
||||
createForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\RegisteredUserController::create
|
||||
* @see app/Http/Controllers/Auth/RegisteredUserController.php:21
|
||||
* @route '/register'
|
||||
*/
|
||||
createForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: create.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
create.form = createForm
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\RegisteredUserController::store
|
||||
* @see app/Http/Controllers/Auth/RegisteredUserController.php:31
|
||||
@@ -77,6 +114,28 @@ store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\RegisteredUserController::store
|
||||
* @see app/Http/Controllers/Auth/RegisteredUserController.php:31
|
||||
* @route '/register'
|
||||
*/
|
||||
const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\RegisteredUserController::store
|
||||
* @see app/Http/Controllers/Auth/RegisteredUserController.php:31
|
||||
* @route '/register'
|
||||
*/
|
||||
storeForm.post = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
|
||||
action: store.url(options),
|
||||
method: 'post',
|
||||
})
|
||||
|
||||
store.form = storeForm
|
||||
|
||||
const RegisteredUserController = { create, store }
|
||||
|
||||
export default RegisteredUserController
|
||||
@@ -1,4 +1,4 @@
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, applyUrlDefaults } from './../../../../../wayfinder'
|
||||
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition, applyUrlDefaults } from './../../../../../wayfinder'
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\VerifyEmailController::__invoke
|
||||
* @see app/Http/Controllers/Auth/VerifyEmailController.php:14
|
||||
@@ -60,4 +60,41 @@ VerifyEmailController.head = (args: { id: string | number, hash: string | number
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\VerifyEmailController::__invoke
|
||||
* @see app/Http/Controllers/Auth/VerifyEmailController.php:14
|
||||
* @route '/verify-email/{id}/{hash}'
|
||||
*/
|
||||
const VerifyEmailControllerForm = (args: { id: string | number, hash: string | number } | [id: string | number, hash: string | number ], options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: VerifyEmailController.url(args, options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\VerifyEmailController::__invoke
|
||||
* @see app/Http/Controllers/Auth/VerifyEmailController.php:14
|
||||
* @route '/verify-email/{id}/{hash}'
|
||||
*/
|
||||
VerifyEmailControllerForm.get = (args: { id: string | number, hash: string | number } | [id: string | number, hash: string | number ], options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: VerifyEmailController.url(args, options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Http\Controllers\Auth\VerifyEmailController::__invoke
|
||||
* @see app/Http/Controllers/Auth/VerifyEmailController.php:14
|
||||
* @route '/verify-email/{id}/{hash}'
|
||||
*/
|
||||
VerifyEmailControllerForm.head = (args: { id: string | number, hash: string | number } | [id: string | number, hash: string | number ], options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: VerifyEmailController.url(args, {
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
VerifyEmailController.form = VerifyEmailControllerForm
|
||||
|
||||
export default VerifyEmailController
|
||||
Reference in New Issue
Block a user