@inertiajs/core 2.2.20 → 2.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +20 -1
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +20 -1
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
- package/types/types.d.ts +2 -2
package/package.json
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ export interface Page<SharedProps extends PageProps = PageProps> {
|
|
|
87
87
|
version: string | null;
|
|
88
88
|
clearHistory: boolean;
|
|
89
89
|
encryptHistory: boolean;
|
|
90
|
-
deferredProps?: Record<string, VisitOptions['only']
|
|
90
|
+
deferredProps?: Record<string, NonNullable<VisitOptions['only']>>;
|
|
91
91
|
mergeProps?: string[];
|
|
92
92
|
prependProps?: string[];
|
|
93
93
|
deepMergeProps?: string[];
|
|
@@ -415,7 +415,7 @@ export type UrlMethodPair = {
|
|
|
415
415
|
url: string;
|
|
416
416
|
method: Method;
|
|
417
417
|
};
|
|
418
|
-
export type FormComponentOptions = Pick<VisitOptions, 'preserveScroll' | 'preserveState' | 'preserveUrl' | 'replace' | 'only' | 'except' | 'reset'>;
|
|
418
|
+
export type FormComponentOptions = Pick<VisitOptions, 'preserveScroll' | 'preserveState' | 'preserveUrl' | 'replace' | 'only' | 'except' | 'reset' | 'viewTransition'>;
|
|
419
419
|
export type FormComponentProps = Partial<Pick<Visit, 'headers' | 'queryStringArrayFormat' | 'errorBag' | 'showProgress' | 'invalidateCacheTags'> & Omit<VisitCallbacks, 'onPrefetched' | 'onPrefetching'>> & {
|
|
420
420
|
method?: Method | Uppercase<Method>;
|
|
421
421
|
action?: string | UrlMethodPair;
|