cherry-studio/tsconfig.web.json
suyao 67f726afb7
feat: implement API client with SWR integration for catalog management
- Added a new Textarea component for user input.
- Configured ESLint with custom rules and global ignores.
- Developed a comprehensive API client with CRUD operations and error handling.
- Defined catalog types and schemas using Zod for type safety.
- Created utility functions for class name merging and validation.
- Established Next.js configuration for API rewrites and static file headers.
- Set up package.json with necessary dependencies and scripts.
- Configured PostCSS for Tailwind CSS integration.
- Added SVG assets for UI components.
- Configured TypeScript with strict settings and module resolution.
2025-12-01 13:07:23 +08:00

45 lines
1.8 KiB
JSON

{
"extends": "@electron-toolkit/tsconfig/tsconfig.web.json",
"include": [
"src/renderer/src/**/*",
"src/preload/*.d.ts",
"local/src/renderer/**/*",
"packages/shared/**/*",
"tests/__mocks__/**/*",
"packages/mcp-trace/**/*",
"packages/aiCore/src/**/*",
"src/main/integration/cherryai/index.js",
"packages/extension-table-plus/**/*",
"packages/ai-sdk-provider/**/*"
],
"compilerOptions": {
"composite": true,
"incremental": true,
"tsBuildInfoFile": ".tsbuildinfo/tsconfig.web.tsbuildinfo",
"jsx": "react-jsx",
"moduleResolution": "bundler",
"paths": {
"@logger": ["./src/renderer/src/services/LoggerService"],
"@data/*": ["./src/renderer/src/data/*"],
"@renderer/*": ["./src/renderer/src/*"],
"@shared/*": ["./packages/shared/*"],
"@types": ["./src/renderer/src/types/index.ts"],
"@mcp-trace/*": ["./packages/mcp-trace/*"],
"@cherrystudio/ai-core/provider": ["./packages/aiCore/src/core/providers/index.ts"],
"@cherrystudio/ai-core/built-in/plugins": ["./packages/aiCore/src/core/plugins/built-in/index.ts"],
"@cherrystudio/ai-core/*": ["./packages/aiCore/src/*"],
"@cherrystudio/ai-core": ["./packages/aiCore/src/index.ts"],
"@cherrystudio/extension-table-plus": ["./packages/extension-table-plus/src/index.ts"],
"@cherrystudio/ai-sdk-provider": ["./packages/ai-sdk-provider/src/index.ts"],
"@cherrystudio/ui/icons": ["./packages/ui/src/components/icons/index.ts"],
"@cherrystudio/ui": ["./packages/ui/src/index.ts"],
"@cherrystudio/ui/*": ["./packages/ui/src/*"],
"@cherrystudio/catalog": ["./packages/catalog/src/index.ts"],
"@cherrystudio/catalog/*": ["./packages/catalog/src/*"]
},
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"useDefineForClassFields": true
}
}