Skip to content

Commit a859f2d

Browse files
authored
feat: simplify prompt store layout (#682)
* feat: simplify prompt store layout Signed-off-by: Bob Du <i@bobdu.cc> * chore: require components.d.ts updates Signed-off-by: Bob Du <i@bobdu.cc> --------- Signed-off-by: Bob Du <i@bobdu.cc>
1 parent 95a08bc commit a859f2d

10 files changed

Lines changed: 125 additions & 258 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- `pnpm preview`: preview the built frontend locally.
1616
- `pnpm lint` / `pnpm lint:fix`: run ESLint (and auto-fix) on the frontend.
1717
- `pnpm type-check`: run `vue-tsc` for frontend type checks.
18+
- Before committing frontend changes, regenerate `components.d.ts` (for auto-imported components) and include it in the same commit.
1819
- Backend (run in `service/`): `pnpm install`, `pnpm start` (dev), `pnpm build`, `pnpm prod`.
1920
- Backend checks (run in `service/`): `pnpm lint`, `pnpm lint:fix`, `pnpm type-check`.
2021

components.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ declare module 'vue' {
2727
IconRiBubbleChartFill: typeof import('~icons/ri/bubble-chart-fill')['default']
2828
IconRiChatDownloadLine: typeof import('~icons/ri/chat-download-line')['default']
2929
IconRiChatHistoryLine: typeof import('~icons/ri/chat-history-line')['default']
30+
IconRiChatNewLine: typeof import('~icons/ri/chat-new-line')['default']
3031
IconRiChatQuoteLine: typeof import('~icons/ri/chat-quote-line')['default']
3132
IconRiChatUploadLine: typeof import('~icons/ri/chat-upload-line')['default']
3233
IconRiCloseCircleLine: typeof import('~icons/ri/close-circle-line')['default']
@@ -53,6 +54,7 @@ declare module 'vue' {
5354
IconRiSettings4Line: typeof import('~icons/ri/settings4-line')['default']
5455
IconRiSettingsLine: typeof import('~icons/ri/settings-line')['default']
5556
IconRiStopCircleLine: typeof import('~icons/ri/stop-circle-line')['default']
57+
IconRiStore2Line: typeof import('~icons/ri/store2-line')['default']
5658
IconRiUpload2Fill: typeof import('~icons/ri/upload2-fill')['default']
5759
IconRiUser5Line: typeof import('~icons/ri/user5-line')['default']
5860
IconUilExit: typeof import('~icons/uil/exit')['default']

src/assets/recommend.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)