[PR #1041] [MERGED] feat: add kysely for raw type-safe SQL queries #1338

Closed
opened 2026-02-26 19:32:50 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1041
Author: @catalinpit
Created: 3/20/2024
Status: Merged
Merged: 5/29/2024
Merged by: @Mythie

Base: mainHead: feat/add-kysely


📝 Commits (10+)

  • 5e8d93f feat: add kysely for raw type-safe SQL queries
  • fdbac9f feat: update next-auth-options to use the kysely adapter
  • 6b73899 chore: re-arrange stuff
  • 462e134 chore: test queries
  • f520e0a chore: converting to kysely
  • 409d8aa chore: almost done?
  • 8279286 chore: remove unintended console logs
  • 7f7e7da chore: format the final query data and return it
  • 60c26a9 chore: finished converting to kysely
  • 02921e5 chore: trying to fix the issues

📊 Changes

12 files changed (+2695 additions, -395 deletions)

View changed files

📝 apps/marketing/src/app/(marketing)/open/monthly-completed-documents-chart.tsx (+2 -2)
📝 apps/marketing/src/app/(marketing)/open/total-signed-documents-chart.tsx (+2 -2)
📝 package-lock.json (+2583 -324)
📝 package.json (+2 -1)
📝 packages/lib/package.json (+6 -2)
📝 packages/lib/server-only/user/get-monthly-completed-document.ts (+24 -24)
📝 packages/lib/server-only/user/get-user-monthly-growth.ts (+20 -23)
packages/prisma/.gitignore (+1 -0)
📝 packages/prisma/index.ts (+27 -15)
📝 packages/prisma/package.json (+6 -2)
📝 packages/prisma/schema.prisma (+4 -0)
packages/prisma/utils/remember.ts (+18 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/1041 **Author:** [@catalinpit](https://github.com/catalinpit) **Created:** 3/20/2024 **Status:** ✅ Merged **Merged:** 5/29/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `feat/add-kysely` --- ### 📝 Commits (10+) - [`5e8d93f`](https://github.com/documenso/documenso/commit/5e8d93f24b7d6c90d058fc7f0d0c62dee9767d49) feat: add kysely for raw type-safe SQL queries - [`fdbac9f`](https://github.com/documenso/documenso/commit/fdbac9fc03f91e2dba604ed0158044bec35837fa) feat: update next-auth-options to use the kysely adapter - [`6b73899`](https://github.com/documenso/documenso/commit/6b73899ecc19e7f7f8ece9a404d2a5662ce490de) chore: re-arrange stuff - [`462e134`](https://github.com/documenso/documenso/commit/462e1348a8b39cf5adbaa7e58900cdcf7d194a30) chore: test queries - [`f520e0a`](https://github.com/documenso/documenso/commit/f520e0a7a6bb6e364cff73bde62f2ba131a96466) chore: converting to kysely - [`409d8aa`](https://github.com/documenso/documenso/commit/409d8aa5a2458cbfedec5232d84d22b8279e115a) chore: almost done? - [`8279286`](https://github.com/documenso/documenso/commit/82792864de781fa58d38fe021fc5568db87a8a22) chore: remove unintended console logs - [`7f7e7da`](https://github.com/documenso/documenso/commit/7f7e7da3afa054a412938bd437899107ae20e0e5) chore: format the final query data and return it - [`60c26a9`](https://github.com/documenso/documenso/commit/60c26a9f75999763ba7c997ff6274838d940ddda) chore: finished converting to kysely - [`02921e5`](https://github.com/documenso/documenso/commit/02921e53de90bf5a69a9df7561235f4ae0412850) chore: trying to fix the issues ### 📊 Changes **12 files changed** (+2695 additions, -395 deletions) <details> <summary>View changed files</summary> 📝 `apps/marketing/src/app/(marketing)/open/monthly-completed-documents-chart.tsx` (+2 -2) 📝 `apps/marketing/src/app/(marketing)/open/total-signed-documents-chart.tsx` (+2 -2) 📝 `package-lock.json` (+2583 -324) 📝 `package.json` (+2 -1) 📝 `packages/lib/package.json` (+6 -2) 📝 `packages/lib/server-only/user/get-monthly-completed-document.ts` (+24 -24) 📝 `packages/lib/server-only/user/get-user-monthly-growth.ts` (+20 -23) ➕ `packages/prisma/.gitignore` (+1 -0) 📝 `packages/prisma/index.ts` (+27 -15) 📝 `packages/prisma/package.json` (+6 -2) 📝 `packages/prisma/schema.prisma` (+4 -0) ➕ `packages/prisma/utils/remember.ts` (+18 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:50 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1338
No description provided.