@sellout/models 0.0.51 → 0.0.53

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.
@@ -18,6 +18,7 @@ const query = graphql_tag_1.default `
18
18
  phoneNumberWaitingForVerify
19
19
  emailWaitingForVerify
20
20
  preferredLogin
21
+ secondaryEmails
21
22
  userProfile {
22
23
  imageUrl
23
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"profile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"profile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,4 @@
1
+ export default interface ISecondaryEmail {
2
+ email: string;
3
+ verifiedAt?: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ISecondaryEmail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISecondaryEmail.js","sourceRoot":"","sources":["../../src/interfaces/ISecondaryEmail.ts"],"names":[],"mappings":""}
@@ -25,4 +25,5 @@ export default interface IUser {
25
25
  preferredLogin?: LoginTypes;
26
26
  authAttempts?: number;
27
27
  authTimeOut?: number;
28
+ secondaryEmails?: string[];
28
29
  }
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ email: {
3
+ type: StringConstructor;
4
+ required: boolean;
5
+ };
6
+ verifiedAt: {
7
+ type: NumberConstructor;
8
+ required: boolean;
9
+ default: number;
10
+ };
11
+ };
12
+ export default _default;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ email: {
5
+ type: String,
6
+ required: true,
7
+ },
8
+ verifiedAt: {
9
+ type: Number,
10
+ required: false,
11
+ default: 0,
12
+ },
13
+ };
14
+ //# sourceMappingURL=SecondaryEmail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SecondaryEmail.js","sourceRoot":"","sources":["../../src/schemas/SecondaryEmail.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf;IACD,UAAU,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,CAAC;KACX;CACF,CAAC"}