Commit Graph

13 Commits (b8b8ac43eaaf04ccd2dbc6b5108df2798032dd8d)

Author SHA1 Message Date
Inex Code a9a7b04ad5 fix: Return the binds migration interface
Turns out, there are still servers that didn't perform the binds migration. The can't perform it anymore because email changed the id. I'm getting back the option to perform the binds migration, with some fallback defaults.
2024-02-23 19:50:28 +03:00
Inex Code 3b9d616045 refactor: Introduce VolumesBloc, remove ServerVolumeCubit 2024-02-01 18:30:06 +04:00
NaiJi ✨ 07058d3db5 fix(graphql): Remove and replace deprecated mutations
- #418
2024-01-15 13:11:09 +04:00
NaiJi ✨ 215ad3579d chore: Rename ApiMaps to RestApiMap and GraphQLApiMap 2023-06-19 15:15:24 -03:00
NaiJi ✨ bad6926567 chore: Continue refactoring
- Rename APIGenericResult to GenericResult
- Wrap all provider functions results with GenericResult
- Move basic server commands and getters to business logic layer from API on Hetzner
2023-02-13 18:13:32 +04:00
NaiJi ✨ e0b32404be refactor: Implement better error handling on create server stage
Replace try-catch hell with APIGenericResult chain
2022-12-02 22:40:08 +04:00
NaiJi ✨ 0234278c2c refactor: Rename server.dart to server_api.dart
Because the class is called ServerApi, not just Server, it's totally not consistent with all other apis
2022-11-16 04:24:40 +04:00
NaiJi ✨ 68811efc1e refactor(server-api): Generalize and unify api response objects
- Separate response success from  business logic operation success
- Remove ApiResponse, replace with GenericResult
- Make GenericMutationResult inherit GenericResult
- Add generic error message for when a response couldn't be sent or received
2022-10-28 12:20:09 +04:00
NaiJi ✨ aa3dee585b chore(dart): Fix warnings that appeared at Dart 2.18 SDK 2022-10-26 20:26:09 +04:00
NaiJi ✨ 159f861965 Implement initialization migration to binds error handling 2022-09-18 17:29:00 +03:00
NaiJi ✨ 39358a827f Implement migrate to binds logic 2022-09-18 17:05:41 +03:00
NaiJi ✨ 11e58981b5 Implement migration process page 2022-09-16 12:08:31 +03:00
NaiJi ✨ d934a6a9cb Refactor graphql api, separate by logic 2022-08-26 22:28:01 +03:00