@peabody-soft/mbs-protos 1.0.0 → 1.1.0

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.
Files changed (2) hide show
  1. package/Item.proto +5 -3
  2. package/package.json +1 -1
package/Item.proto CHANGED
@@ -6,7 +6,7 @@ option java_package = "com.merabills.server.core.generated";
6
6
  import "Entity.proto";
7
7
 
8
8
  // Something that a business buys or sells, or a category or price thereof.
9
- // Excluded: isPublic, isDisabled, keyValues and all Translations fields.
9
+ // Excluded: isPublic, keyValues and all Translations fields.
10
10
  message Item {
11
11
 
12
12
  Entity entity = 1;
@@ -18,9 +18,11 @@ message Item {
18
18
  // each product.
19
19
  int64 parentItemId = 2;
20
20
 
21
+ bool isDisabled = 3;
22
+
21
23
  // At most Constants.ITEM_NAME_MAX_LENGTH
22
- string name = 3;
24
+ string name = 4;
23
25
 
24
26
  // At most Constants.ITEM_DESCRIPTION_MAX_LENGTH
25
- optional string description = 4;
27
+ optional string description = 5;
26
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peabody-soft/mbs-protos",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "The MeraBills shop wire protocol",
5
5
  "author": "Peabody Soft",
6
6
  "license": "AGPL-3.0-or-later",