mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-22 09:22:01 +00:00
- Added a new Parental Control page for managing device access and notifications. - Introduced blockDevice function to handle blocking and unblocking devices based on payment status. - Enhanced omada-actions.ts to include device blocking logic and improved error handling. - Updated DevicesTable component to integrate BlockDeviceButton for managing device states. - Implemented API route for checking device statuses and sending notifications for expiring devices. - Refactored payment processing to update device statuses upon successful payment verification. - Added new utility functions for API key validation and SMS notifications. These changes improve user control over device management and enhance the overall functionality of the application.
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"name": "sarlink-portal",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --turbopack",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"prisma": {
|
|
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
|
|
},
|
|
"dependencies": {
|
|
"@faker-js/faker": "^9.2.0",
|
|
"@hookform/resolvers": "^3.9.1",
|
|
"@prisma/client": "^5.22.0",
|
|
"@radix-ui/react-alert-dialog": "^1.1.2",
|
|
"@radix-ui/react-checkbox": "^1.1.2",
|
|
"@radix-ui/react-collapsible": "^1.1.1",
|
|
"@radix-ui/react-dialog": "^1.1.2",
|
|
"@radix-ui/react-dropdown-menu": "^2.1.2",
|
|
"@radix-ui/react-label": "^2.1.0",
|
|
"@radix-ui/react-popover": "^1.1.2",
|
|
"@radix-ui/react-scroll-area": "^1.2.1",
|
|
"@radix-ui/react-select": "^2.1.2",
|
|
"@radix-ui/react-separator": "^1.1.0",
|
|
"@radix-ui/react-slot": "^1.1.0",
|
|
"@radix-ui/react-tooltip": "^1.1.4",
|
|
"@tanstack/react-query": "^5.61.4",
|
|
"better-auth": "^1.0.0",
|
|
"class-variance-authority": "^0.7.0",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "^1.0.0",
|
|
"date-fns": "^4.1.0",
|
|
"jotai": "^2.8.0",
|
|
"lucide-react": "^0.460.0",
|
|
"motion": "^11.15.0",
|
|
"next": "15.0.3",
|
|
"next-themes": "^0.4.3",
|
|
"nextjs-toploader": "^3.7.15",
|
|
"prisma": "^5.22.0",
|
|
"react": "19.0.0-rc-66855b96-20241106",
|
|
"react-aria-components": "^1.5.0",
|
|
"react-day-picker": "^8.10.1",
|
|
"react-dom": "19.0.0-rc-66855b96-20241106",
|
|
"react-hook-form": "^7.53.2",
|
|
"react-phone-number-input": "^3.4.9",
|
|
"sonner": "^1.7.0",
|
|
"tailwind-merge": "^2.5.4",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"vaul": "^1.1.1",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20",
|
|
"@types/react": "^18",
|
|
"@types/react-dom": "^18",
|
|
"eslint": "^8",
|
|
"eslint-config-next": "15.0.3",
|
|
"postcss": "^8",
|
|
"tailwindcss": "^3.4.1",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5"
|
|
}
|
|
}
|