Skip to content

Commit

Permalink
fix: remove views from public Session data (again) (#4375)
Browse files Browse the repository at this point in the history
* fix: remove views from public Session data (again)

* Update .changeset/small-parents-press.md

---------

Co-authored-by: Siddharth Suresh <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 29, 2024
1 parent ab29c5b commit 2711291
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-parents-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@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 2711291

Please sign in to comment.