Skip to content

Commit 2711291

Browse files
Kosai106siddhsureshkodiakhq[bot]
authored
fix: remove views from public Session data (again) (#4375)
* 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>
1 parent ab29c5b commit 2711291

File tree

11 files changed

+5
-10
lines changed

11 files changed

+5
-10
lines changed

.changeset/small-parents-press.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@blitzjs/generator": patch
3+
---
4+
5+
Remove `views` property from `Session.PublicData` in `types.ts` file again

apps/toolkit-app-passportjs/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

apps/toolkit-app/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

apps/web/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

integration-tests/auth-with-rpc/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

integration-tests/auth/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

integration-tests/get-initial-props/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

integration-tests/next-13-app-dir/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

integration-tests/no-suspense/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

integration-tests/trailing-slash/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

packages/generator/templates/app/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ declare module "@blitzjs/auth" {
99
PublicData: {
1010
userId: User["id"]
1111
role: Role
12-
views?: number
1312
}
1413
}
1514
}

0 commit comments

Comments
 (0)