@nimee/shared-types 1.0.64 → 1.0.66

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.
@@ -1,4 +1,5 @@
1
1
  export interface IMarketPlace {
2
+ _id: string;
2
3
  baseAppURL: string;
3
4
  name: string;
4
5
  description: string;
@@ -9,4 +10,8 @@ export interface IMarketPlace {
9
10
  phone: string;
10
11
  address: string;
11
12
  owners: string[];
13
+ logoForMail?: string;
14
+ paymentProvider: string;
15
+ sellerPaymeId: string;
16
+ sellerPublicKey: string;
12
17
  }
package/dist/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export * from "./payment";
5
5
  export * from "./send-notification";
6
6
  export * from "./analytics";
7
7
  export * from "./common";
8
+ export * from "./user";
package/dist/index.js CHANGED
@@ -22,4 +22,5 @@ __exportStar(require("./payment"), exports);
22
22
  __exportStar(require("./send-notification"), exports);
23
23
  __exportStar(require("./analytics"), exports);
24
24
  __exportStar(require("./common"), exports);
25
+ __exportStar(require("./user"), exports);
25
26
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2BAA2B;AAC3B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,4CAA0B;AAC1B,sDAAoC;AACpC,8CAA4B;AAC5B,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2BAA2B;AAC3B,4CAA0B;AAC1B,8CAA4B;AAC5B,0CAAwB;AACxB,4CAA0B;AAC1B,sDAAoC;AACpC,8CAA4B;AAC5B,2CAAyB;AACzB,yCAAuB"}
@@ -0,0 +1 @@
1
+ export * from "./user";
@@ -1,2 +1,18 @@
1
- // export * from "./user";
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./user"), exports);
2
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":"AAAA,0BAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
@@ -0,0 +1,17 @@
1
+ export interface IUserModel {
2
+ _id: string;
3
+ fname: string;
4
+ lname: string;
5
+ email: string;
6
+ emailVerifiedToken: string;
7
+ facebookProfile: string;
8
+ token: string;
9
+ forgetPasswordToken: string;
10
+ roles: Array<string>;
11
+ hash: string;
12
+ isEmailVerified: Boolean;
13
+ isPhoneVerified: Boolean;
14
+ phone: string;
15
+ gender: string;
16
+ imageUrl: string;
17
+ }
package/dist/user/user.js CHANGED
@@ -1 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
1
3
  //# sourceMappingURL=user.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimee/shared-types",
3
- "version": "1.0.64",
3
+ "version": "1.0.66",
4
4
  "description": "Types and interfaces that any service can access if needed",
5
5
  "main": "dist/index.js",
6
6
  "author": "dan goldberg",
@@ -1,4 +1,5 @@
1
1
  export interface IMarketPlace {
2
+ _id: string;
2
3
  baseAppURL: string;
3
4
  name: string;
4
5
  description: string;
@@ -9,4 +10,8 @@ export interface IMarketPlace {
9
10
  phone: string;
10
11
  address: string;
11
12
  owners: string[];
13
+ logoForMail?: string;
14
+ paymentProvider: string;
15
+ sellerPaymeId: string;
16
+ sellerPublicKey: string;
12
17
  }
package/src/index.ts CHANGED
@@ -6,3 +6,4 @@ export * from "./payment";
6
6
  export * from "./send-notification";
7
7
  export * from "./analytics";
8
8
  export * from "./common";
9
+ export * from "./user";
package/src/user/index.ts CHANGED
@@ -1 +1 @@
1
- // export * from "./user";
1
+ export * from "./user";
package/src/user/user.ts CHANGED
@@ -0,0 +1,17 @@
1
+ export interface IUserModel {
2
+ _id: string;
3
+ fname: string;
4
+ lname: string;
5
+ email: string;
6
+ emailVerifiedToken: string;
7
+ facebookProfile: string;
8
+ token: string;
9
+ forgetPasswordToken: string;
10
+ roles: Array<string>;
11
+ hash: string;
12
+ isEmailVerified: Boolean;
13
+ isPhoneVerified: Boolean;
14
+ phone: string;
15
+ gender: string;
16
+ imageUrl: string;
17
+ }