Skip to content

Commit bae04c8

Browse files
authored
Merge pull request #1594 from Adyen/add-model-export-agents-md
docs(agents): mention how to expose new models
2 parents 8f01be8 + a744bfb commit bae04c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ To test new features or changes to the templates, you must run the generation pr
4747
- **`src/service.ts`**: The base class for all API services, containing the generic HTTP client logic.
4848
- **`src/services/`**: This package contains the generated service classes (e.g., `CheckoutAPI`, `Management`) that expose methods for specific API endpoints.
4949
- **`src/typings/`**: This package contains the generated TypeScript types (models) used for API requests and responses.
50+
- `src/typings/index.ts`: Re-exports all models. This file must be manually updated to export models from any new service.
5051

5152
## Development Workflow
5253

0 commit comments

Comments
 (0)