Skip to content

Commit

Permalink
fix(proto): add required imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerald Baulig committed Nov 13, 2024
1 parent fc450a0 commit b001756
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/protos/io/restorecommerce/customer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ package io.restorecommerce.customer;
import "io/restorecommerce/resource_base.proto";
import "io/restorecommerce/meta.proto";
import "io/restorecommerce/auth.proto";
import "io/restorecommerce/attribute.proto";
import "io/restorecommerce/status.proto";
import "io/restorecommerce/setting.proto";
import "io/restorecommerce/options.proto";
Expand Down
2 changes: 2 additions & 0 deletions packages/protos/io/restorecommerce/discount.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ syntax = "proto3";

package io.restorecommerce.dicount;

import "google/protobuf/timestamp.proto";

import "io/restorecommerce/resource_base.proto";
import "io/restorecommerce/meta.proto";
import "io/restorecommerce/auth.proto";
Expand Down
8 changes: 5 additions & 3 deletions packages/protos/io/restorecommerce/product.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ syntax = "proto3";
package io.restorecommerce.product;

import "google/protobuf/any.proto";
import "google/protobuf/timestamp.proto";

import "io/restorecommerce/resource_base.proto";
import "io/restorecommerce/meta.proto";
import "io/restorecommerce/image.proto";
Expand Down Expand Up @@ -186,7 +188,7 @@ message PhysicalVariant {
optional string parent_variant_id = 9;
repeated io.restorecommerce.property.Property properties = 10;
repeated string tax_ids = 11;
optional boolean active = 12;
optional bool active = 12;
optional google.protobuf.Timestamp valid_from = 13;
optional google.protobuf.Timestamp valid_to = 14;
optional Package package = 15; // size for shipping
Expand All @@ -204,7 +206,7 @@ message ServiceVariant {
optional string parent_variant_id = 9;
repeated io.restorecommerce.property.Property properties = 10;
repeated string tax_ids = 11;
optional boolean active = 12;
optional bool active = 12;
optional google.protobuf.Timestamp valid_from = 13;
optional google.protobuf.Timestamp valid_to = 14;
}
Expand All @@ -221,7 +223,7 @@ message VirtualVariant {
optional string parent_variant_id = 9;
repeated io.restorecommerce.property.Property properties = 10;
repeated string tax_ids = 11;
optional boolean active = 12;
optional bool active = 12;
optional google.protobuf.Timestamp valid_from = 13;
optional google.protobuf.Timestamp valid_to = 14;
}
Expand Down

0 comments on commit b001756

Please sign in to comment.