1.1.0 • Published 6 months ago
@kpler/auth0-types v1.1.0
auth0-types
This package provides types for Auth0 Action Triggers.
It is not endorsed by, maintained by, or affiliated with Auth0 in any way.
Brought to you by Kpler - Intelligence tools for trade.
Installation
npm install -D @kpler/auth0-typesAvailable types
credentials-exchangepost-challengepost-change-passwordpost-loginpost-user-registrationpre-user-registrationsend-phone-message
Usage (example)
import type { PostLoginApi, PostLoginEvent } from "@kpler/auth0-types";
export const onExecutePostLogin = async (
event: PostLoginEvent,
api: PostLoginApi,
) => {
// "event" and "api" now have proper types!
};Contributing
Contributions are welcome! Please adhere to the coding standards used and open a PR.
Use Conventional Commits for your commit messages and make sure your code passes the ESLint ruleset (npm run lint).
If you plan for larger changes, please create an issue first.