PIMS/resources/js/actions/Laravel/Fortify/Http/Controllers/EmailVerificationNotificationController.ts

60 lines
2.2 KiB
TypeScript

import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition } from './../../../../../wayfinder'
/**
* @see \Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController::store
* @see vendor/laravel/fortify/src/Http/Controllers/EmailVerificationNotificationController.php:19
* @route '/email/verification-notification'
*/
export const store = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
url: store.url(options),
method: 'post',
})
store.definition = {
methods: ["post"],
url: '/email/verification-notification',
} satisfies RouteDefinition<["post"]>
/**
* @see \Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController::store
* @see vendor/laravel/fortify/src/Http/Controllers/EmailVerificationNotificationController.php:19
* @route '/email/verification-notification'
*/
store.url = (options?: RouteQueryOptions) => {
return store.definition.url + queryParams(options)
}
/**
* @see \Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController::store
* @see vendor/laravel/fortify/src/Http/Controllers/EmailVerificationNotificationController.php:19
* @route '/email/verification-notification'
*/
store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
url: store.url(options),
method: 'post',
})
/**
* @see \Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController::store
* @see vendor/laravel/fortify/src/Http/Controllers/EmailVerificationNotificationController.php:19
* @route '/email/verification-notification'
*/
const storeForm = (options?: RouteQueryOptions): RouteFormDefinition<'post'> => ({
action: store.url(options),
method: 'post',
})
/**
* @see \Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController::store
* @see vendor/laravel/fortify/src/Http/Controllers/EmailVerificationNotificationController.php:19
* @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