cecon-interfaces 1.1.85 → 1.1.86

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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.85",
3
+ "version": "1.1.86",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -24,6 +24,7 @@ export declare class ProductGlobalEntity implements IProductGlobal {
24
24
  name: string;
25
25
  ncm: ProductNcmEntity;
26
26
  netWeight: number;
27
+ createdBy: string;
27
28
  price: number;
28
29
  tags: string[];
29
30
  thumbnail: string | null;
@@ -31,6 +31,7 @@ var ProductGlobalEntity = /** @class */ (function () {
31
31
  this.name = '';
32
32
  this.ncm = new product_ncm_entity_1.ProductNcmEntity();
33
33
  this.netWeight = 0;
34
+ this.createdBy = '';
34
35
  this.price = 0;
35
36
  this.tags = [];
36
37
  this.thumbnail = null;
@@ -49,6 +49,13 @@ export interface IProductGlobal {
49
49
  * @example "Product description"
50
50
  */
51
51
  description: string;
52
+ /**
53
+ * Name of the user who created the product.
54
+ * @minlength 1
55
+ * @maxlength 120
56
+ * @example "User name"
57
+ */
58
+ createdBy: string;
52
59
  /**
53
60
  * Gross weight of the product.
54
61
  * @example 1.5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.1.85",
3
+ "version": "1.1.86",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",