-
Notifications
You must be signed in to change notification settings - Fork 20k
Closed
Description
Goal
Standardize web/service to follow the convention:
use-*files expose TanStack Query hooks only.- non-
use-*files expose pure request wrappers only.
Scope
Refactor existing web/service/use-* hooks to call the service-layer wrappers instead of calling @/service/base directly, and add missing wrappers where needed.
Tasks
- Ensure each
use-*hook delegates to a non-hook service function. - Add/extend service modules under
web/service/*for missing endpoints. - Align types and request signatures (datasets/pipeline/plugins/tools/workflow/common).
- Keep mocks/tests in sync with the import changes.
Done Criteria
All web/service/use-* hooks depend on web/service/* wrappers, with no direct @/service/base calls in those hooks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels