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\Imports\Http\Controllers\DownloadImportFailureCsv::__invoke
* @see vendor/filament/actions/src/Imports/Http/Controllers/DownloadImportFailureCsv.php:17
@@ -67,6 +67,43 @@ download.head = (args: { import: string | number | { id: string | number } } | [
method: 'head',
})
/**
* @see \Filament\Actions\Imports\Http\Controllers\DownloadImportFailureCsv::__invoke
* @see vendor/filament/actions/src/Imports/Http/Controllers/DownloadImportFailureCsv.php:17
* @route '/filament/imports/{import}/failed-rows/download'
*/
const downloadForm = (args: { import: string | number | { id: string | number } } | [importParam: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
action: download.url(args, options),
method: 'get',
})
/**
* @see \Filament\Actions\Imports\Http\Controllers\DownloadImportFailureCsv::__invoke
* @see vendor/filament/actions/src/Imports/Http/Controllers/DownloadImportFailureCsv.php:17
* @route '/filament/imports/{import}/failed-rows/download'
*/
downloadForm.get = (args: { import: string | number | { id: string | number } } | [importParam: string | number | { id: string | number } ] | string | number | { id: string | number }, options?: RouteQueryOptions): RouteFormDefinition<'get'> => ({
action: download.url(args, options),
method: 'get',
})
/**
* @see \Filament\Actions\Imports\Http\Controllers\DownloadImportFailureCsv::__invoke
* @see vendor/filament/actions/src/Imports/Http/Controllers/DownloadImportFailureCsv.php:17
* @route '/filament/imports/{import}/failed-rows/download'
*/
downloadForm.head = (args: { import: string | number | { id: string | number } } | [importParam: 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 failedRows = {
download: Object.assign(download, download),
}