File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace App \Models ;
4
4
5
- // use Illuminate\Contracts\Auth\MustVerifyEmail;
5
+ use Illuminate \Contracts \Auth \MustVerifyEmail ;
6
6
use Illuminate \Database \Eloquent \Factories \HasFactory ;
7
7
use Illuminate \Foundation \Auth \User as Authenticatable ;
8
8
use Illuminate \Notifications \Notifiable ;
9
9
10
- class User extends Authenticatable
10
+ class User extends Authenticatable implements MustVerifyEmail
11
11
{
12
12
/** @use HasFactory<\Database\Factories\UserFactory> */
13
13
use HasFactory, Notifiable;
Original file line number Diff line number Diff line change 1
1
import type { LucideIcon } from 'lucide-vue-next' ;
2
+ import type { PageProps } from '@inertiajs/core' ;
2
3
3
4
export interface Auth {
4
5
user : User ;
@@ -16,17 +17,10 @@ export interface NavItem {
16
17
isActive ?: boolean ;
17
18
}
18
19
19
- export interface SharedData {
20
+ export interface SharedData extends PageProps {
20
21
name : string ;
21
22
quote : { message : string ; author : string } ;
22
23
auth : Auth ;
23
- ziggy : {
24
- location : string ;
25
- url : string ;
26
- port : null | number ;
27
- defaults : Record < string , unknown > ;
28
- routes : Record < string , string > ;
29
- } ;
30
24
}
31
25
32
26
export interface User {
You can’t perform that action at this time.
0 commit comments