Skip to content

Commit

Permalink
fix: remove views from public Session data (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosai106 committed Sep 22, 2024
1 parent a096f2c commit 7156117
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 10 deletions.
14 changes: 14 additions & 0 deletions .changeset/small-parents-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"toolkit-app": patch
"toolkit-app-passport": patch
"web": patch
"test-auth": patch
"test-full-auth-with-rpc": patch
"test-get-initial-props": patch
"test-app-dir": patch
"test-no-suspense": patch
"test-trailing-slash": patch
"@blitzjs/generator": patch
---

Remove `views` property from `Session.PublicData` in `types.ts` file again
1 change: 0 additions & 1 deletion apps/toolkit-app-passportjs/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion apps/toolkit-app/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion apps/web/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion integration-tests/auth-with-rpc/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion integration-tests/auth/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion integration-tests/get-initial-props/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion integration-tests/next-13-app-dir/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion integration-tests/no-suspense/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion integration-tests/trailing-slash/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}
1 change: 0 additions & 1 deletion packages/generator/templates/app/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
PublicData: {
userId: User["id"]
role: Role
views?: number
}
}
}

0 comments on commit 7156117

Please sign in to comment.