Skip to content

[v0.6.1][HAPI-177] Declarative Structure Improvements

Pre-release
Pre-release

Choose a tag to compare

@FelipeRamosDev FelipeRamosDev released this 10 Jul 14:27
f3978e5

HAPI-177 Description

  • The lib declarative structure was changed, now the lib has a main instance class 4HandsAPI that handles all services related to the lib.
  • CRUD helpers was integrated to the DBService and now it's under database
  • Services and models have a shortcut path to be called on the projects
  • All services are independent now, and they can be used outside of the main instance as well.

Sub-tasks

  • HAPI-178 Declarative Structure Improvements (#197)
    Creating the new main instance for the 4hands-api.
  • HAPI-179 Add onReady and onError callbacks to the instance (#198)
    Added a Promise.all to handle all callbacks
  • HAPI-183 Create a CollectionBucket (#199)
    Created a new special Map to organize the collection.
  • HAPI-184 Create the CRUD class instance (#200)
    Created a class to manage the CRUD operations
  • HAPI-185 Remove CRUD importations (#203)
    Removing the old file CRUD importations since now it is a class instead
  • HAPI-186 Implement the DBService into _4HandsAPI (#204)
    Implementing the DBService.
  • HAPI-181 Achieve a full ServerAPI implementation (#206)
    Adapted the ServerAPI to the new approach
  • [HAPI-188] Achieve a full Redis implementation (#207)
    Implemented the Redis and also did some previous tests to the future class approach
  • [HAPI-189] Achieve a full Socket implementation (#208)
    Made some adjusts to fit the ServerIO
  • [HAPI-182] Blend the old models with the DB class models (#209)
    Blending the old models to work only with the DB class models
  • [HAPI-190] Fix SignIn issues (#210)
    Making the the sign in work properly
  • [HAPI-192] Make sure all auth features are working (#211)
    Adjusting more things I found during the check
  • [HAPI-193] New approach for models initializations (#212)
    Created the toModel approach.
  • [HAPI-191] Implement chat-app features to track possible bugs (#213)
    Fixed bugs found
  • [HAPI-196] Fix safe_values issues (#214)
    There was issues with the safe values reading.
  • [HAPI-197] General issues found during bot-store implementation (#215)
    While I was implementing at bot-store, I found some bugs and fixed right way
  • [HAPI-198] Create shortcut files for key features (#216)
    Created shortcuts path for the most used points
  • [HAPI-199] Change map folders approach names (#217)
    Moving files to new folder approach
  • [HAPI-195] Create new approach to blend the native collections with the project ones (#219)
    Creating new approach to blend the collections