@coasys/ad4m 0.11.2-dev-multi-user-email → 0.11.2-dev-multi-user-email-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.cjs +8 -1
- package/lib/index.js +8 -1
- package/lib/src/agent/AgentClient.js +1 -0
- package/lib/src/runtime/RuntimeResolver.d.ts +1 -0
- package/lib/src/runtime/RuntimeResolver.js +6 -1
- package/lib/src/schema.gql +1 -0
- package/lib/src/typeDefs.js +1 -0
- package/package.json +1 -1
- package/src/agent/AgentClient.ts +1 -0
- package/src/runtime/RuntimeResolver.ts +5 -1
package/lib/index.cjs
CHANGED
|
@@ -6915,6 +6915,7 @@ class AgentClient {
|
|
|
6915
6915
|
success
|
|
6916
6916
|
message
|
|
6917
6917
|
requiresPassword
|
|
6918
|
+
isExistingUser
|
|
6918
6919
|
}
|
|
6919
6920
|
}`,
|
|
6920
6921
|
variables: { email, appInfo },
|
|
@@ -17239,6 +17240,7 @@ type UserStatistics {
|
|
|
17239
17240
|
}
|
|
17240
17241
|
|
|
17241
17242
|
type VerificationRequestResult {
|
|
17243
|
+
isExistingUser: Boolean!
|
|
17242
17244
|
message: String!
|
|
17243
17245
|
requiresPassword: Boolean!
|
|
17244
17246
|
success: Boolean!
|
|
@@ -17567,6 +17569,10 @@ __decorate([
|
|
|
17567
17569
|
Field(),
|
|
17568
17570
|
__metadata("design:type", Boolean)
|
|
17569
17571
|
], exports.VerificationRequestResult.prototype, "requiresPassword", void 0);
|
|
17572
|
+
__decorate([
|
|
17573
|
+
Field(),
|
|
17574
|
+
__metadata("design:type", Boolean)
|
|
17575
|
+
], exports.VerificationRequestResult.prototype, "isExistingUser", void 0);
|
|
17570
17576
|
exports.VerificationRequestResult = __decorate([
|
|
17571
17577
|
ObjectType()
|
|
17572
17578
|
], exports.VerificationRequestResult);
|
|
@@ -17738,7 +17744,8 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
17738
17744
|
return {
|
|
17739
17745
|
success: true,
|
|
17740
17746
|
message: "Verification email sent",
|
|
17741
|
-
requiresPassword: false
|
|
17747
|
+
requiresPassword: false,
|
|
17748
|
+
isExistingUser: true
|
|
17742
17749
|
};
|
|
17743
17750
|
}
|
|
17744
17751
|
runtimeVerifyEmailCode(email, code, verificationType) {
|
package/lib/index.js
CHANGED
|
@@ -6911,6 +6911,7 @@ class AgentClient {
|
|
|
6911
6911
|
success
|
|
6912
6912
|
message
|
|
6913
6913
|
requiresPassword
|
|
6914
|
+
isExistingUser
|
|
6914
6915
|
}
|
|
6915
6916
|
}`,
|
|
6916
6917
|
variables: { email, appInfo },
|
|
@@ -17235,6 +17236,7 @@ type UserStatistics {
|
|
|
17235
17236
|
}
|
|
17236
17237
|
|
|
17237
17238
|
type VerificationRequestResult {
|
|
17239
|
+
isExistingUser: Boolean!
|
|
17238
17240
|
message: String!
|
|
17239
17241
|
requiresPassword: Boolean!
|
|
17240
17242
|
success: Boolean!
|
|
@@ -17563,6 +17565,10 @@ __decorate([
|
|
|
17563
17565
|
Field(),
|
|
17564
17566
|
__metadata("design:type", Boolean)
|
|
17565
17567
|
], VerificationRequestResult.prototype, "requiresPassword", void 0);
|
|
17568
|
+
__decorate([
|
|
17569
|
+
Field(),
|
|
17570
|
+
__metadata("design:type", Boolean)
|
|
17571
|
+
], VerificationRequestResult.prototype, "isExistingUser", void 0);
|
|
17566
17572
|
VerificationRequestResult = __decorate([
|
|
17567
17573
|
ObjectType()
|
|
17568
17574
|
], VerificationRequestResult);
|
|
@@ -17734,7 +17740,8 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
17734
17740
|
return {
|
|
17735
17741
|
success: true,
|
|
17736
17742
|
message: "Verification email sent",
|
|
17737
|
-
requiresPassword: false
|
|
17743
|
+
requiresPassword: false,
|
|
17744
|
+
isExistingUser: true
|
|
17738
17745
|
};
|
|
17739
17746
|
}
|
|
17740
17747
|
runtimeVerifyEmailCode(email, code, verificationType) {
|
|
@@ -307,6 +307,10 @@ __decorate([
|
|
|
307
307
|
Field(),
|
|
308
308
|
__metadata("design:type", Boolean)
|
|
309
309
|
], VerificationRequestResult.prototype, "requiresPassword", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
Field(),
|
|
312
|
+
__metadata("design:type", Boolean)
|
|
313
|
+
], VerificationRequestResult.prototype, "isExistingUser", void 0);
|
|
310
314
|
VerificationRequestResult = __decorate([
|
|
311
315
|
ObjectType()
|
|
312
316
|
], VerificationRequestResult);
|
|
@@ -479,7 +483,8 @@ let RuntimeResolver = class RuntimeResolver {
|
|
|
479
483
|
return {
|
|
480
484
|
success: true,
|
|
481
485
|
message: "Verification email sent",
|
|
482
|
-
requiresPassword: false
|
|
486
|
+
requiresPassword: false,
|
|
487
|
+
isExistingUser: true
|
|
483
488
|
};
|
|
484
489
|
}
|
|
485
490
|
runtimeVerifyEmailCode(email, code, verificationType) {
|
package/lib/src/schema.gql
CHANGED
package/lib/src/typeDefs.js
CHANGED
package/package.json
CHANGED
package/src/agent/AgentClient.ts
CHANGED
|
@@ -218,6 +218,9 @@ export class VerificationRequestResult {
|
|
|
218
218
|
|
|
219
219
|
@Field()
|
|
220
220
|
requiresPassword: boolean;
|
|
221
|
+
|
|
222
|
+
@Field()
|
|
223
|
+
isExistingUser: boolean;
|
|
221
224
|
}
|
|
222
225
|
|
|
223
226
|
/**
|
|
@@ -484,7 +487,8 @@ export default class RuntimeResolver {
|
|
|
484
487
|
return {
|
|
485
488
|
success: true,
|
|
486
489
|
message: "Verification email sent",
|
|
487
|
-
requiresPassword: false
|
|
490
|
+
requiresPassword: false,
|
|
491
|
+
isExistingUser: true
|
|
488
492
|
}
|
|
489
493
|
}
|
|
490
494
|
|