Files
dify/packages
Stephen ZhouandClaude Opus 5.5 29c2f5e723 refactor(web): migrate datasets service and knowledge hooks to the console contract
- service/datasets.ts and service/knowledge/use-{dataset,document,segment,metadata,create-dataset}
  call consoleClient; knowledge UI DTOs are narrowed at the service boundary
- document query params (list, batch delete, batch status) and dataset query history
  pagination documented on the backend; repeated-key rules for document_id
- 204 endpoints (delete external API, retry error docs) no longer rely on the legacy
  {result: 'success'} rewrite
- dataset update body, notion info and pre-processing rules use generated request types
- drop unused qs dependency

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 00:50:19 +08:00
..