corede-common
Advanced tools
Comparing version 5.1.0 to 5.1.2
@@ -6,6 +6,4 @@ "use strict"; | ||
exports.confirmRegistrationQuery = (0, graphql_tag_1.gql) ` | ||
mutation confirmRegistration( | ||
$confirmRegistrationInput: ConfirmRegistrationInput! | ||
) { | ||
confirmRegistration(confirmRegistrationInput: $confirmRegistrationInput) { | ||
mutation confirmRegistration($input: ConfirmRegistrationInput!) { | ||
confirmRegistration(input: $input) { | ||
success | ||
@@ -12,0 +10,0 @@ message |
@@ -7,3 +7,3 @@ "use strict"; | ||
mutation login($input: LoginInput!) { | ||
login(loginRequestInput: $input) { | ||
login(input: $input) { | ||
twoFactorAuth | ||
@@ -10,0 +10,0 @@ twoFactorToken |
@@ -7,3 +7,3 @@ "use strict"; | ||
mutation register($input: RegisterInput!) { | ||
register(registerRequestInput: $input) { | ||
register(input: $input) { | ||
success | ||
@@ -10,0 +10,0 @@ message |
@@ -13,2 +13,5 @@ export interface IRegisterCodeCredential { | ||
} | ||
export interface IResetPasswordTokenCredential { | ||
token: string; | ||
} | ||
//# sourceMappingURL=code-credential.type.d.ts.map |
import { IBaseResult } from "../../../../interfaces/baseResult.interface"; | ||
import { IResetPasswordTokenCredential } from "./code-credential.type"; | ||
export interface IRequestResetPasswordResult extends IBaseResult { | ||
token: string; | ||
devMetadata?: IResetPasswordTokenCredential; | ||
} | ||
//# sourceMappingURL=request-reset-password.result.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export { IRegisterCodeCredential, IRegisterByCodeCredential, ITwoFactorCodeCredential, } from "./graphql/resolverTypes/code-credential.type"; | ||
export { IRegisterCodeCredential, IRegisterByCodeCredential, ITwoFactorCodeCredential, IResetPasswordTokenCredential, } from "./graphql/resolverTypes/code-credential.type"; | ||
export { IConfirmRegistrationByUserInput } from "./graphql/resolverTypes/confirm-registration-by-user.input"; | ||
@@ -3,0 +3,0 @@ export { IConfirmRegistrationByUserResult } from "./graphql/resolverTypes/confirm-registration-by-user.result"; |
export * from "./domains"; | ||
export * from "./enums"; | ||
export * from "./factories"; | ||
export * from "./graphql"; | ||
export * from "./interfaces"; | ||
@@ -5,0 +6,0 @@ export * from "./types"; |
@@ -20,2 +20,3 @@ "use strict"; | ||
__exportStar(require("./factories"), exports); | ||
__exportStar(require("./graphql"), exports); | ||
__exportStar(require("./interfaces"), exports); | ||
@@ -22,0 +23,0 @@ __exportStar(require("./types"), exports); |
{ | ||
"name": "corede-common", | ||
"version": "5.1.0", | ||
"version": "5.1.2", | ||
"description": "The common utility functions, interfaces, types etc.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -1,8 +0,6 @@ | ||
import { gql } from 'graphql-tag'; | ||
import { gql } from "graphql-tag"; | ||
export const confirmRegistrationQuery = gql` | ||
mutation confirmRegistration( | ||
$confirmRegistrationInput: ConfirmRegistrationInput! | ||
) { | ||
confirmRegistration(confirmRegistrationInput: $confirmRegistrationInput) { | ||
mutation confirmRegistration($input: ConfirmRegistrationInput!) { | ||
confirmRegistration(input: $input) { | ||
success | ||
@@ -9,0 +7,0 @@ message |
@@ -1,6 +0,6 @@ | ||
import { gql } from 'graphql-tag'; | ||
import { gql } from "graphql-tag"; | ||
export const loginQuery = gql` | ||
mutation login($input: LoginInput!) { | ||
login(loginRequestInput: $input) { | ||
login(input: $input) { | ||
twoFactorAuth | ||
@@ -28,2 +28,2 @@ twoFactorToken | ||
} | ||
`; | ||
`; |
@@ -1,6 +0,6 @@ | ||
import { gql } from 'graphql-tag'; | ||
import { gql } from "graphql-tag"; | ||
export const registerQuery = gql` | ||
mutation register($input: RegisterInput!) { | ||
register(registerRequestInput: $input) { | ||
register(input: $input) { | ||
success | ||
@@ -7,0 +7,0 @@ message |
@@ -15,1 +15,5 @@ export interface IRegisterCodeCredential { | ||
} | ||
export interface IResetPasswordTokenCredential { | ||
token: string; | ||
} |
import { IBaseResult } from "../../../../interfaces/baseResult.interface"; | ||
import { IResetPasswordTokenCredential } from "./code-credential.type"; | ||
export interface IRequestResetPasswordResult extends IBaseResult { | ||
token: string; | ||
devMetadata?: IResetPasswordTokenCredential; | ||
} |
@@ -10,2 +10,3 @@ //////////////////////////////////////////////////////////////// | ||
ITwoFactorCodeCredential, | ||
IResetPasswordTokenCredential, | ||
} from "./graphql/resolverTypes/code-credential.type"; | ||
@@ -12,0 +13,0 @@ export { IConfirmRegistrationByUserInput } from "./graphql/resolverTypes/confirm-registration-by-user.input"; |
@@ -20,2 +20,8 @@ //////////////////////////////////////////////////////////////// | ||
//////////////////////////////////////////////////////////////// | ||
// graphql | ||
//////////////////////////////////////////////////////////////// | ||
export * from "./graphql"; | ||
//////////////////////////////////////////////////////////////// | ||
// interfaces | ||
@@ -22,0 +28,0 @@ //////////////////////////////////////////////////////////////// |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
316840
563
2490