Design
Interfaces can be found in ./src/**/interface.ts
, the same with schemas (./src/**/schema.ts
) and validators (./src/**/validator.ts
).
Using the package
If you are not afraid of bloat, this package can be used with @aller/cyclops-frontend-api
.
If you are afraid of bloat, everything can be referenced with @aller/cyclops-frontend-api/lib/**
(e.g. @aller/cyclops-frontend-api/lib/user/login
). In this, you'll only include the parts of code you actually need, instead of the whole package.
Functions
injectUser
- @aller/cyclops-frontend-api/lib/user/login
- Injects a login-button and fetches whether the user is logged in.