@accounts/types
Advanced tools
Comparing version 0.27.0 to 0.28.0-alpha.0
@@ -10,2 +10,3 @@ export * from './types/database-interface'; | ||
export * from './types/login-result'; | ||
export * from './types/authentication-result'; | ||
export * from './types/impersonation-result'; | ||
@@ -20,1 +21,6 @@ export * from './types/login-user-identity'; | ||
export * from './types/services/password/login-user'; | ||
export * from './types/mfa/authenticator/authenticator-service'; | ||
export * from './types/mfa/authenticator/authenticator'; | ||
export * from './types/mfa/authenticator/create-authenticator'; | ||
export * from './types/mfa/challenge/create-mfa-challenge'; | ||
export * from './types/mfa/challenge/mfa-challenge'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./types/database-interface"), exports); | ||
tslib_1.__exportStar(require("./types/connection-informations"), exports); | ||
tslib_1.__exportStar(require("./types/tokens"), exports); | ||
tslib_1.__exportStar(require("./types/token-record"), exports); | ||
tslib_1.__exportStar(require("./types/user"), exports); | ||
tslib_1.__exportStar(require("./types/create-user"), exports); | ||
tslib_1.__exportStar(require("./types/create-user-result"), exports); | ||
tslib_1.__exportStar(require("./types/email-record"), exports); | ||
tslib_1.__exportStar(require("./types/login-result"), exports); | ||
tslib_1.__exportStar(require("./types/authentication-result"), exports); | ||
tslib_1.__exportStar(require("./types/impersonation-result"), exports); | ||
tslib_1.__exportStar(require("./types/login-user-identity"), exports); | ||
tslib_1.__exportStar(require("./types/hook-listener"), exports); | ||
tslib_1.__exportStar(require("./types/authentication-service"), exports); | ||
tslib_1.__exportStar(require("./types/session/database-interface"), exports); | ||
tslib_1.__exportStar(require("./types/session/session"), exports); | ||
tslib_1.__exportStar(require("./types/services/password/create-user"), exports); | ||
tslib_1.__exportStar(require("./types/services/password/database-interface"), exports); | ||
tslib_1.__exportStar(require("./types/services/password/login-user"), exports); | ||
tslib_1.__exportStar(require("./types/mfa/authenticator/authenticator-service"), exports); | ||
tslib_1.__exportStar(require("./types/mfa/authenticator/authenticator"), exports); | ||
tslib_1.__exportStar(require("./types/mfa/authenticator/create-authenticator"), exports); | ||
tslib_1.__exportStar(require("./types/mfa/challenge/create-mfa-challenge"), exports); | ||
tslib_1.__exportStar(require("./types/mfa/challenge/mfa-challenge"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -5,3 +5,5 @@ import { User } from './user'; | ||
import { DatabaseInterfaceServicePassword } from './services/password/database-interface'; | ||
export interface DatabaseInterface<CustomUser extends User = User> extends DatabaseInterfaceSessions, DatabaseInterfaceServicePassword<CustomUser> { | ||
import { DatabaseInterfaceAuthenticators } from './mfa/authenticator/database-interface'; | ||
import { DatabaseInterfaceMfaChallenges } from './mfa/challenge/database-interface'; | ||
export interface DatabaseInterface<CustomUser extends User = User> extends DatabaseInterfaceSessions, DatabaseInterfaceServicePassword<CustomUser>, DatabaseInterfaceAuthenticators, DatabaseInterfaceMfaChallenges { | ||
findUserById(userId: string): Promise<CustomUser | null>; | ||
@@ -8,0 +10,0 @@ createUser(user: CreateUser): Promise<string>; |
{ | ||
"name": "@accounts/types", | ||
"version": "0.27.0", | ||
"version": "0.28.0-alpha.0", | ||
"description": "Accounts-js Types", | ||
@@ -43,11 +43,11 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"tslib": "1.11.2" | ||
"tslib": "2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "25.2.1", | ||
"@types/node": "13.13.5", | ||
"@types/node": "14.0.13", | ||
"jest": "26.0.1", | ||
"rimraf": "3.0.2" | ||
}, | ||
"gitHead": "3f2f184f7d1f4229bfefb4ed99283de05a60d985" | ||
"gitHead": "9d3a051504a7c8a1698fd3c9cd8b1dbb11fcd906" | ||
} |
@@ -10,2 +10,3 @@ export * from './types/database-interface'; | ||
export * from './types/login-result'; | ||
export * from './types/authentication-result'; | ||
export * from './types/impersonation-result'; | ||
@@ -20,1 +21,6 @@ export * from './types/login-user-identity'; | ||
export * from './types/services/password/login-user'; | ||
export * from './types/mfa/authenticator/authenticator-service'; | ||
export * from './types/mfa/authenticator/authenticator'; | ||
export * from './types/mfa/authenticator/create-authenticator'; | ||
export * from './types/mfa/challenge/create-mfa-challenge'; | ||
export * from './types/mfa/challenge/mfa-challenge'; |
@@ -5,6 +5,10 @@ import { User } from './user'; | ||
import { DatabaseInterfaceServicePassword } from './services/password/database-interface'; | ||
import { DatabaseInterfaceAuthenticators } from './mfa/authenticator/database-interface'; | ||
import { DatabaseInterfaceMfaChallenges } from './mfa/challenge/database-interface'; | ||
export interface DatabaseInterface<CustomUser extends User = User> | ||
extends DatabaseInterfaceSessions, | ||
DatabaseInterfaceServicePassword<CustomUser> { | ||
DatabaseInterfaceServicePassword<CustomUser>, | ||
DatabaseInterfaceAuthenticators, | ||
DatabaseInterfaceMfaChallenges { | ||
// Find user by identity fields | ||
@@ -11,0 +15,0 @@ findUserById(userId: string): Promise<CustomUser | null>; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68358
123
1221
+ Addedtslib@2.0.0(transitive)
- Removedtslib@1.11.2(transitive)
Updatedtslib@2.0.0