Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove views from public Session data (again) #4375

Merged
merged 3 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}
}
Loading