File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change 1- import type { PageProps } from '@inertiajs/core' ;
21import type { LucideIcon } from 'lucide-vue-next' ;
32import type { Config } from 'ziggy-js' ;
43
5- export interface Auth {
6- user : User ;
7- }
4+ export type AppPageProps = {
5+ name : string ;
6+ quote : { message : string ; author : string } ;
7+ auth : { user : User | null } ;
8+ ziggy : Config & { location : string } ;
9+ } ;
810
911export interface BreadcrumbItem {
1012 title : string ;
@@ -18,13 +20,6 @@ export interface NavItem {
1820 isActive ?: boolean ;
1921}
2022
21- export interface SharedData extends PageProps {
22- name : string ;
23- quote : { message : string ; author : string } ;
24- auth : Auth ;
25- ziggy : Config & { location : string } ;
26- }
27-
2823export interface User {
2924 id : number ;
3025 name : string ;
You can’t perform that action at this time.
0 commit comments