refactor: move frontend projects to frontend folder

This commit is contained in:
Felix Dubrownik
2022-11-08 14:34:45 +01:00
parent b218783481
commit a37219a032
127 changed files with 28 additions and 28 deletions

View File

@ -0,0 +1,83 @@
// SDK
import { Hanko } from "./Hanko";
export { Hanko };
// Clients
import { ConfigClient } from "./lib/client/ConfigClient";
import { PasscodeClient } from "./lib/client/PasscodeClient";
import { PasswordClient } from "./lib/client/PasswordClient";
import { UserClient } from "./lib/client/UserClient";
import { WebauthnClient } from "./lib/client/WebauthnClient";
export {
ConfigClient,
UserClient,
WebauthnClient,
PasswordClient,
PasscodeClient,
};
// Utils
import { WebauthnSupport } from "./lib/WebauthnSupport";
export { WebauthnSupport };
// DTO
import {
PasswordConfig,
Config,
WebauthnFinalized,
Credential,
UserInfo,
User,
Passcode,
} from "./lib/Dto";
export type {
PasswordConfig,
Config,
WebauthnFinalized,
Credential,
UserInfo,
User,
Passcode,
};
// Errors
import {
HankoError,
TechnicalError,
ConflictError,
RequestTimeoutError,
WebauthnRequestCancelledError,
InvalidPasswordError,
InvalidPasscodeError,
InvalidWebauthnCredentialError,
PasscodeExpiredError,
MaxNumOfPasscodeAttemptsReachedError,
NotFoundError,
TooManyRequestsError,
UnauthorizedError,
} from "./lib/Errors";
export {
HankoError,
TechnicalError,
ConflictError,
RequestTimeoutError,
WebauthnRequestCancelledError,
InvalidPasswordError,
InvalidPasscodeError,
InvalidWebauthnCredentialError,
PasscodeExpiredError,
MaxNumOfPasscodeAttemptsReachedError,
NotFoundError,
TooManyRequestsError,
UnauthorizedError,
};