-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BREAKING] refactor: move to tRPC (#549)
* [WIP] refactor: move to trpc * fix: update ref tables * wip: create trpc and emails packages * refactor: notifcation hub and play page * refactor: notification subscription * fix: cannot find prisma schema and next-auth model errors * fix: dashboard trpc * fix: theme ssg * fix: theme editor * fix: analytics trpc * fix: comment widget * fix: comment timeline hydration * fix: create/delete a comment * fix: toggle a comment like * fix: fetch and update profile * refactor: notification * refactor: remove graphql ref * refactor: remove graphql packages * refactor: revalidate api * refactor: remove hasura stuff * refactor: fix ts errors * fix: add db scripts * fix: turbo env * fix: ignore .env * fix(bundle-analyze): type error * fix(release): add turbo remote cache * fix: skip auto query if no session * fix: select comment fields * fix: disable queries without session * fix: db schema error * fix: notification message not work and sort message orders * fix: unexpected stripped subscription object * fix: ut errors * fix: e2e errors
- Loading branch information
Showing
291 changed files
with
3,755 additions
and
68,483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ dist | |
.DS_Store | ||
.next | ||
out/ | ||
.env | ||
*.env.local | ||
.envproduction | ||
.vercel | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
strict-peer-dependencies=false | ||
strict-peer-dependencies=false | ||
save-exact=true | ||
public-hoist-pattern[]=*prisma* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
.github/ISSUE_TEMPLATE | ||
**/.next | ||
**/.cache | ||
**/generated | ||
services/hasura/metadata | ||
|
||
.github/PULL_REQUEST_TEMPLATE.md | ||
pnpm-lock.yaml | ||
**/schema.graphql | ||
**/email/templates/*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const waitGraphql = () => | ||
cy.wait('@graphql', { | ||
export const waitTrpc = () => | ||
cy.wait('@trpc', { | ||
timeout: 20_000, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
|
||
# Used by docker to generate runtime public env var | ||
NEXT_PUBLIC_HASURA_HTTP_ORIGIN= | ||
NEXT_PUBLIC_HASURA_WS_ORIGIN= | ||
NEXT_PUBLIC_APP_URL= | ||
NEXT_PUBLIC_ANALYTICS_DOMAIN= | ||
NEXT_PUBLIC_VAPID= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.