alpha
Login
or
Join now
nandi.uk
/
semble
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
semble
/
src
/
webapp
/
api-client
2 folders
2 files
at
78685ce062e8cb9711d5efdff08d2cec247b6e7d
Wesley Finck
refactor: update remove card from collection endpoint to use query parameters
10mo ago
24491f7e
clients
refactor: update remove card from collection endpoint to use query parameters Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
10 months ago
types
feat: add global feed functionality to ApiClient Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
11 months ago
ApiClient.ts
refactor: update remove card from collection endpoint to use query parameters Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
10 months ago
index.ts
The changes have been successfully implemented. The ApiClient has been refactored into multiple files following the proposed structure: 1. Types are now separated into: - `src/webapp/api-client/types/requests.ts` - `src/webapp/api-client/types/responses.ts` - `src/webapp/api-client/types/errors.ts` - `src/webapp/api-client/types/index.ts` 2. Clients are now separated into: - `src/webapp/api-client/clients/BaseClient.ts` - `src/webapp/api-client/clients/QueryClient.ts` - `src/webapp/api-client/clients/CardClient.ts` - `src/webapp/api-client/clients/CollectionClient.ts` - `src/webapp/api-client/clients/index.ts` 3. The main `ApiClient.ts` now uses composition, delegating to specialized clients. 4. An `index.ts` file was added to the `api-client` directory to export everything. The refactoring provides several benefits: - Better separation of concerns - Improved maintainability - More modular and testable code - Clear type definitions - Easy extensibility Would you like me to explain any part of the implementation or make any further modifications? Co-authored-by: aider (anthropic/claude-sonnet-4-20250514) <aider@aider.chat>
1 year ago