@aptly-as/types 1.7.2 → 1.7.3

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.
@@ -29,10 +29,7 @@ export interface AptlyProductSchema<ID, DATE> extends AptlyDBCrawlerCleaner, Apt
29
29
  stats?: any;
30
30
  importID?: ID;
31
31
  source?: string;
32
- /**
33
- * @deprecated Use name
34
- */
35
- title: string;
32
+ title?: string;
36
33
  /**
37
34
  * @deprecated Not used
38
35
  */
@@ -54,7 +51,7 @@ export interface AptlyProductImageSchema<ID, DATE> extends AptlyMediaSrcSchema<I
54
51
  export declare type AptlyProductVariant = AptlyProductVariantSchema<string, string>;
55
52
  export interface AptlyProductVariantSchema<ID, DATE> {
56
53
  _id: ID;
57
- title: string;
54
+ title?: string;
58
55
  images: AptlyProductImageSchema<ID, DATE>[];
59
56
  documents: ID[];
60
57
  name?: string;
package/models/product.ts CHANGED
@@ -30,11 +30,7 @@ export interface AptlyProductSchema<ID, DATE> extends AptlyDBCrawlerCleaner, Apt
30
30
  stats?: any;
31
31
  importID?: ID;
32
32
  source?: string;
33
-
34
- /**
35
- * @deprecated Use name
36
- */
37
- title: string;
33
+ title?: string;
38
34
  /**
39
35
  * @deprecated Not used
40
36
  */
@@ -58,7 +54,7 @@ export interface AptlyProductImageSchema<ID, DATE> extends AptlyMediaSrcSchema<I
58
54
  export type AptlyProductVariant = AptlyProductVariantSchema<string, string>;
59
55
  export interface AptlyProductVariantSchema<ID, DATE> {
60
56
  _id: ID;
61
- title: string;
57
+ title?: string;
62
58
  images: AptlyProductImageSchema<ID, DATE>[];
63
59
  documents: ID[];
64
60
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aptly-as/types",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "Aptly types and enums",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",