feat(LRL App): init V0
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
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
|
||||
Reference in New Issue
Block a user