This article describes how the structure of the project is set up and how the code (variables, classes and functions) interoperates.
-
All definitions in the
apifolder are used by a client/UI. -
BBIframeBackend.tsredirects all calls from the client/UI toBBNativeBackend.ts. -
BBNativeBackend.tscontains all the logic to manage HTTP Requests to the actual BlackboardAPI. Once the request has been successful, the response will be stored in a specific object defined byBBBackend.tsas interface. -
BBAbstractBBackend.tshas abstract classes in which the method signatures are defined and documented. The file also has interfaces that are used to structure the responses fromBBNativeBackend.ts. -
index.d.tsis filled with:- Types. Each
typeis used as a parameter to make sure the right information is provided to Backend functions. - Interfaces. An
interfaceserves as a definition of the object that will be returned by Backend functions.
- Types. Each