Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development dart client v1.0.9 #19

Merged
merged 21 commits into from
May 27, 2024

Conversation

Mahmoud-Emad
Copy link
Owner

@Mahmoud-Emad Mahmoud-Emad commented May 22, 2024

  • Updated the dart client with some missing methods, fixed some issues with old routes, implemented new types, and removed old and unneeded types.
  • Created a new class SwitchKeysEnvironmentUsers to manage the environment users.
  • Created a new class SwitchKeysEnvironmentUserServices to manage the environment user services.
  • Created the get/has/set methods to manage user features.
  • Updated some docString.
  • Manage the environment user by accessing their constructor

… backend:

- Updated the version of the package.
- Installed 'dotenv' to manage the environment variables, e.g. the base url.
- Moded the static 'BASEURL' to '.env'.
- Connected over the deployed instance.
- Updated the 'Auth' example.
- Working on updating all scripts.
- Working on updating the structure of the classes to return the service class to provide access.
- Working on updating the docs.
@Mahmoud-Emad Mahmoud-Emad marked this pull request as draft May 22, 2024 08:06
- Replaced the http request with the 'SwitchKeysRequest.call' helper.
- Created a private method '_authenticate' and do the request inside to avoid code duplication.
- Added a docstring for the Auth module.
- Updated the 'organization' example.
…ization module method that can be used in development:

- Replaced all http methods with the new caller helper.
- Updated the '_readResponse' method in the 'SwitchKeysRequest' caller with the 'delete' response.
- Tested all of the organization module methods and all working fine against the deployed instance of the seitchkeys api.
@Mahmoud-Emad Mahmoud-Emad force-pushed the development_dart_client_v1.0.9 branch from 4842cc9 to 186cc98 Compare May 22, 2024 11:04
…with the newly implemented logout method:

- Implemented a new helper method for logging out the user after using the examples.
- Updated the defualt project environments.
- Updated the parsing of the environments.
- Updated the auth, organization, and projects examples.
…issues with old routes, implemented new types, removed old and unneeded types.
- Working on updating all scripts
- Implemented a new add/update/delete method on the environment feature.
- Created a new class SwitchKeysEnvironmentUsers to manage the environment users.
- Created a new class SwitchKeysEnvironmentUserServices to manage the environment user services.
- Created the get/has/set methods to manage user featrues.
- Updated some docString.
- Manage the environment user by accessing their constructor
@Mahmoud-Emad Mahmoud-Emad marked this pull request as ready for review May 27, 2024 10:58
@Mahmoud-Emad Mahmoud-Emad merged commit 42f4021 into development May 27, 2024
5 checks passed
@Mahmoud-Emad Mahmoud-Emad deleted the development_dart_client_v1.0.9 branch May 27, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant