@davidmashadow/ss-ecommerce-types 1.0.20 → 1.0.21

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.
@@ -16,6 +16,8 @@ export * from './minio.types';
16
16
  export * from './payment.types';
17
17
  export * from './post.types';
18
18
  export * from './product.types';
19
+ export * from './question.types';
20
+ export * from './review.types';
19
21
  export * from './traffic.types';
20
22
  export * from './user.types';
21
23
  export * from './variant.types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
@@ -32,6 +32,8 @@ __exportStar(require("./minio.types"), exports);
32
32
  __exportStar(require("./payment.types"), exports);
33
33
  __exportStar(require("./post.types"), exports);
34
34
  __exportStar(require("./product.types"), exports);
35
+ __exportStar(require("./question.types"), exports);
36
+ __exportStar(require("./review.types"), exports);
35
37
  __exportStar(require("./traffic.types"), exports);
36
38
  __exportStar(require("./user.types"), exports);
37
39
  __exportStar(require("./variant.types"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,+CAA6B;AAC7B,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,8CAA4B;AAC5B,gDAA8B;AAC9B,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,+CAA6B;AAC7B,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,8CAA4B;AAC5B,gDAA8B;AAC9B,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC"}
@@ -0,0 +1,13 @@
1
+ import type { IUser } from "./user.types";
2
+ import type { IProduct } from "./product.types";
3
+ export interface IQuestion {
4
+ _id: string;
5
+ userId: IUser;
6
+ productId: IProduct;
7
+ status: string;
8
+ question: string;
9
+ answer: string;
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ }
13
+ //# sourceMappingURL=question.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"question.types.d.ts","sourceRoot":"","sources":["../../src/types/question.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,SAAS;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=question.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"question.types.js","sourceRoot":"","sources":["../../src/types/question.types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { IUser } from "./user.types";
2
+ import type { IProduct } from "./product.types";
3
+ export interface IReview {
4
+ _id: string;
5
+ userId: IUser;
6
+ productId: IProduct;
7
+ status: string;
8
+ rating: number;
9
+ content: string;
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ }
13
+ //# sourceMappingURL=review.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"review.types.d.ts","sourceRoot":"","sources":["../../src/types/review.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,OAAO;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,QAAQ,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=review.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"review.types.js","sourceRoot":"","sources":["../../src/types/review.types.ts"],"names":[],"mappings":""}
@@ -1,8 +1,7 @@
1
1
  import type { IImage, IPrice, IProduct } from "./product.types";
2
2
  export interface IVariant {
3
3
  _id: string;
4
- id: string;
5
- productId: IProduct['_id'];
4
+ productId: IProduct;
6
5
  name: string;
7
6
  images: IImage;
8
7
  price: IPrice;
@@ -1 +1 @@
1
- {"version":3,"file":"variant.types.d.ts","sourceRoot":"","sources":["../../src/types/variant.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhE,MAAM,WAAW,QAAQ;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"variant.types.d.ts","sourceRoot":"","sources":["../../src/types/variant.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAEhE,MAAM,WAAW,QAAQ;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,QAAQ,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davidmashadow/ss-ecommerce-types",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },