feat(setup preprod env and mailing interceptor)

This commit is contained in:
2026-04-10 11:47:04 +02:00
parent 203a40c713
commit 59017a2c9b
112 changed files with 6038 additions and 160 deletions

View File

@@ -1,4 +1,4 @@
import { queryParams, type RouteQueryOptions, type RouteDefinition, applyUrlDefaults } from './../../../wayfinder'
import { queryParams, type RouteQueryOptions, type RouteDefinition, type RouteFormDefinition, applyUrlDefaults } from './../../../wayfinder'
/**
* @see \Filament\Actions\Exports\Http\Controllers\DownloadExport::__invoke
* @see vendor/filament/actions/src/Exports/Http/Controllers/DownloadExport.php:15
@@ -67,6 +67,43 @@ download.head = (args: { export: string | number | { id: string | number } } | [
method: 'head',
})
/**
* @see \Filament\Actions\Exports\Http\Controllers\DownloadExport::__invoke
* @see vendor/filament/actions/src/Exports/Http/Controllers/DownloadExport.php:15
* @route '/filament/exports/{export}/download'
*/
const downloadForm = (args: { export: string | number | { id: string | number } } | [exportParam: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
action: download.url(args, options),
method: 'get',
})
/**
* @see \Filament\Actions\Exports\Http\Controllers\DownloadExport::__invoke
* @see vendor/filament/actions/src/Exports/Http/Controllers/DownloadExport.php:15
* @route '/filament/exports/{export}/download'
*/
downloadForm.get = (args: { export: string | number | { id: string | number } } | [exportParam: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
action: download.url(args, options),
method: 'get',
})
/**
* @see \Filament\Actions\Exports\Http\Controllers\DownloadExport::__invoke
* @see vendor/filament/actions/src/Exports/Http/Controllers/DownloadExport.php:15
* @route '/filament/exports/{export}/download'
*/
downloadForm.head = (args: { export: string | number | { id: string | number } } | [exportParam: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
action: download.url(args, {
[options?.mergeQuery ? 'mergeQuery' : 'query']: {
_method: 'HEAD',
...(options?.query ?? options?.mergeQuery ?? {}),
}
}),
method: 'get',
})
download.form = downloadForm
const exports = {
download: Object.assign(download, download),
}