- Introduced a new Separator component for visual separation in UI. - Added Sheet component for modal-like functionality with triggers and overlays. - Implemented Toaster component for notifications using Sonner library. - Created Switch component for toggle functionality. - Developed Table component with headers, body, footer, and rows for structured data display. - Added Tabs component for organizing content into tabbed interfaces. - Implemented Textarea component for multi-line text input. - Created Tooltip component for displaying additional information on hover. feat: add PocketBase helpers and types - Implemented various helper functions for interacting with PocketBase collections (customers, companies, suppliers, quotes, orders). - Added type definitions for entities such as Customer, Company, Supplier, Quote, Order, and their respective items. - Included utility functions for generating unique identifiers for quotes, orders, and purchase orders. - Added functions for calculating totals and formatting currency and dates. chore: add TypeScript configuration - Added tsconfig.json for TypeScript support with strict type checking and module resolution.
34 lines
670 B
JSON
34 lines
670 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2017",
|
|
"lib": ["dom", "dom.iterable", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react-jsx",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"**/*.ts",
|
|
"**/*.tsx",
|
|
".next/types/**/*.ts",
|
|
".next/dev/types/**/*.ts",
|
|
"**/*.mts"
|
|
],
|
|
"exclude": ["node_modules"]
|
|
}
|