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 routes/settings.php:22
|
||||
* @route '/settings/appearance'
|
||||
@@ -39,6 +39,40 @@ edit.head = (options?: RouteQueryOptions): RouteDefinition<'head'> => ({
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see routes/settings.php:22
|
||||
* @route '/settings/appearance'
|
||||
*/
|
||||
const editForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: edit.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see routes/settings.php:22
|
||||
* @route '/settings/appearance'
|
||||
*/
|
||||
editForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: edit.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see routes/settings.php:22
|
||||
* @route '/settings/appearance'
|
||||
*/
|
||||
editForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: edit.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
edit.form = editForm
|
||||
|
||||
const appearance = {
|
||||
edit: Object.assign(edit, edit),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user