cherry-studio/packages/catalog/web
suyao 5b009769c3
feat: add utility functions for merging models and providers, including deep merge capabilities
- Implemented mergeObjects function to smartly merge objects, preserving existing values and allowing for configurable overwrite options.
- Added mergeModelsList and mergeProvidersList functions to handle merging of model and provider lists, respectively, with case-insensitive ID matching.
- Introduced preset merge strategies for common use cases.
- Created a new API route for syncing provider models, handling data import and merge operations.
- Developed ModelEditForm and ProviderEditForm components for editing model and provider details, respectively, with form validation and state management.
- Added UI components for labels, selects, and notifications to enhance user experience.
2025-12-24 01:29:07 +08:00
..
app feat: add utility functions for merging models and providers, including deep merge capabilities 2025-12-24 01:29:07 +08:00
components feat: add utility functions for merging models and providers, including deep merge capabilities 2025-12-24 01:29:07 +08:00
lib feat: add utility functions for merging models and providers, including deep merge capabilities 2025-12-24 01:29:07 +08:00
public feat: implement API client with SWR integration for catalog management 2025-12-01 13:07:23 +08:00
.gitignore feat: implement API client with SWR integration for catalog management 2025-12-01 13:07:23 +08:00
components.json feat: implement API client with SWR integration for catalog management 2025-12-01 13:07:23 +08:00
eslint.config.mjs feat: implement API client with SWR integration for catalog management 2025-12-01 13:07:23 +08:00
next.config.ts feat: add utility functions for merging models and providers, including deep merge capabilities 2025-12-24 01:29:07 +08:00
package.json feat: add utility functions for merging models and providers, including deep merge capabilities 2025-12-24 01:29:07 +08:00
postcss.config.mjs feat: implement API client with SWR integration for catalog management 2025-12-01 13:07:23 +08:00
README.md feat: implement API client with SWR integration for catalog management 2025-12-01 13:07:23 +08:00
tsconfig.json feat: implement API client with SWR integration for catalog management 2025-12-01 13:07:23 +08:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.