Files
roxane/resources/js/actions/App/Http/Controllers/Auth/EmailVerificationNotificationController.ts
2025-10-22 17:09:48 +02:00

60 lines
2.0 KiB
TypeScript

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
* @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 \App\Http\Controllers\Auth\EmailVerificationNotificationController::store
* @see app/Http/Controllers/Auth/EmailVerificationNotificationController.php:14
* @route '/email/verification-notification'
*/
store.url = (options?: RouteQueryOptions) => {
return store.definition.url + queryParams(options)
}
/**
* @see \App\Http\Controllers\Auth\EmailVerificationNotificationController::store
* @see app/Http/Controllers/Auth/EmailVerificationNotificationController.php:14
* @route '/email/verification-notification'
*/
store.post = (options?: RouteQueryOptions): RouteDefinition<'post'> => ({
url: store.url(options),
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