Commit Graph

13 Commits

Author SHA1 Message Date
Udhay-Adithya
6c5862cd85 refactor: move authModel to HttpRequestModel 2025-07-03 12:12:18 +05:30
Udhay-Adithya
3903277aa9 chore: resolve merge conflicts 2025-07-02 21:03:16 +05:30
Udhay-Adithya
bf170e1446 feat: remove AuthModel from HttpRequestModel and integrate into HistoryRequestModel and RequestModel 2025-07-01 01:15:55 +05:30
Udhay-Adithya
d046d50273 refactor: rename ApiAuthModel to AuthModel and authData to authModel 2025-07-01 01:03:52 +05:30
Udhay-Adithya
449e32521e feat: refactor authentication handling to use new ApiAuthModel and update related components 2025-07-01 01:00:59 +05:30
Udhay-Adithya
171a118d38 feat: add authentication support with APIAuthType and APIAuthModel
- Introduced APIAuthType enum for various authentication methods.
- Created APIAuthModel with basic authentication fields.
- Updated RequestModel to include authType and authData.
- Implemented EditAuthType widget for selecting and managing authentication.
- Enhanced CollectionStateNotifier to handle authentication updates.

:wq
2025-07-01 00:57:10 +05:30
Ankit Mahato
7096c2f301 Update request model 2025-06-29 01:21:52 +05:30
Udhay-Adithya
f60c195510 feat: update RequestModel to include default preRequestScript and postRequestScript 2025-06-23 22:09:07 +05:30
Udhay-Adithya
fadf49372f feat: add support for pre-request scripts
Introduces `preRequestScript` and `postRequestScript` fields to the request model to store user-defined scripts.

Implements a service using `flutter_js` to execute JavaScript pre-request scripts before a request is sent.
The script can access and modify request data (like headers, body, URL) and environment variables.

Adds bridging to forward JavaScript `console.log`, `console.warn`, and `console.error` calls to the Dart console for easier debugging
2025-04-25 23:26:31 +05:30
Ashita Prasad
ba532462e4 Update request_model.g.dart 2025-01-11 13:46:47 +05:30
Ashita Prasad
46df82185d Update APIType in request model 2024-12-10 05:09:39 +05:30
DenserMeerkat
8228b28a24 wip: environment pane 2024-06-13 13:21:35 +05:30
Ankit Mahato
58ace08ded Refactor models 2024-04-19 19:28:34 +05:30