simpo-component-library 1.6.41 → 1.6.43

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,10 @@ export interface Review {
2
2
  reviewId?: string;
3
3
  productId: string;
4
4
  userId: string;
5
+ userName: string;
5
6
  rating: number;
6
7
  title: string;
7
8
  review: string;
9
+ productImages: string[];
8
10
  createdTimeStamp?: Date;
9
11
  }
@@ -5,8 +5,9 @@ export declare class User {
5
5
  profilePic: string;
6
6
  contact: Contact;
7
7
  addressDetailsList: AddressDetails[];
8
+ deviceInfo: DeviceInfo[];
8
9
  constructor(json?: {
9
- [key: string]: string;
10
+ [key: string]: any;
10
11
  });
11
12
  }
12
13
  export interface Contact {
@@ -34,5 +35,13 @@ export interface Geolocation {
34
35
  latitude: number;
35
36
  longitude: number;
36
37
  }
38
+ export interface DeviceInfo {
39
+ deviceId: string;
40
+ firebaseToken: string;
41
+ os: string;
42
+ osVersion: string;
43
+ model: string;
44
+ brand: string;
45
+ }
37
46
  export declare type ADDRESS_TYPE = "HOME" | "WORK" | "OTHER";
38
47
  export declare type GENDER = "MALE" | "FEMALE" | "OTHERS";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.41",
3
+ "version": "1.6.43",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",