pl-fe: finalize migration?

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-03 22:19:24 +01:00
parent 09478c3384
commit a81f727fb6
16 changed files with 126 additions and 295 deletions

View File

@ -6,13 +6,14 @@ import Toast from './components/ui/toast';
import { httpErrorMessages } from './utils/errors';
import type { PlfeResponse } from './api';
import type { LinkOptions } from '@tanstack/react-router';
type ToastText = string | MessageDescriptor
type ToastType = 'success' | 'error' | 'info'
interface IToastOptions {
action?(): void;
actionLink?: string;
actionLinkOptions?: LinkOptions;
actionLabel?: ToastText;
duration?: number;
summary?: string;