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\Filament\Pages\Synchronisations::__invoke
|
||||
* @see app/Filament/Pages/Synchronisations.php:7
|
||||
@@ -43,4 +43,41 @@ Synchronisations.head = (options?: RouteQueryOptions): RouteDefinition<'head'> =
|
||||
method: 'head',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Filament\Pages\Synchronisations::__invoke
|
||||
* @see app/Filament/Pages/Synchronisations.php:7
|
||||
* @route '/admin/synchronisations'
|
||||
*/
|
||||
const SynchronisationsForm = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: Synchronisations.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Filament\Pages\Synchronisations::__invoke
|
||||
* @see app/Filament/Pages/Synchronisations.php:7
|
||||
* @route '/admin/synchronisations'
|
||||
*/
|
||||
SynchronisationsForm.get = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: Synchronisations.url(options),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
/**
|
||||
* @see \App\Filament\Pages\Synchronisations::__invoke
|
||||
* @see app/Filament/Pages/Synchronisations.php:7
|
||||
* @route '/admin/synchronisations'
|
||||
*/
|
||||
SynchronisationsForm.head = (options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
|
||||
action: Synchronisations.url({
|
||||
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
|
||||
_method: 'HEAD',
|
||||
...(options?.query ?? options?.mergeQuery ?? {}),
|
||||
}
|
||||
}),
|
||||
method: 'get',
|
||||
})
|
||||
|
||||
Synchronisations.form = SynchronisationsForm
|
||||
|
||||
export default Synchronisations
|
||||
Reference in New Issue
Block a user