Update authentication methods and UI components, remove redundant file

This commit accomplishes a few modifications including the elimination of `use-toast.tsx` due to redundancy. The authentication methods in `personal-accounts-server-actions.ts` were refactored to improve service integration and data handling. Additionally, UI components were updated for better readability and clarity. Cascading deletion was enabled in the `schema.sql` file for 'invited_by' reference.
This commit is contained in:
giancarlo
2024-03-27 13:52:46 +08:00
parent 6699399864
commit ff19e0c204
26 changed files with 589 additions and 674 deletions

View File

@@ -1,4 +1,3 @@
{
"name": "@kit/stripe",
"private": true,
@@ -17,20 +16,24 @@
},
"peerDependencies": {
"@kit/billing": "0.1.0",
"@kit/ui": "0.1.0",
"@kit/shared": "0.1.0",
"@kit/supabase": "0.1.0"
"@kit/supabase": "0.1.0",
"@kit/ui": "0.1.0"
},
"dependencies": {
"stripe": "^14.21.0",
"@stripe/react-stripe-js": "^2.6.2",
"@stripe/stripe-js": "^3.0.10"
"@stripe/stripe-js": "^3.0.10",
"stripe": "^14.21.0"
},
"devDependencies": {
"@kit/prettier-config": "0.1.0",
"@kit/billing": "*",
"@kit/eslint-config": "0.2.0",
"@kit/prettier-config": "0.1.0",
"@kit/shared": "*",
"@kit/supabase": "*",
"@kit/tailwind-config": "0.1.0",
"@kit/tsconfig": "0.1.0"
"@kit/tsconfig": "0.1.0",
"@kit/ui": "*"
},
"eslintConfig": {
"root": true,