Skip to content

Commit 951c00e

Browse files
authored
Merge pull request #161 from code0-tech/160-change-version-to-a-string-instead-of-nested-object
Change version to a string
2 parents a997e32 + 02e17ac commit 951c00e

File tree

4 files changed

+6
-17
lines changed

4 files changed

+6
-17
lines changed

proto/shared/shared.data_type.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package shared;
66

77
import "shared.struct.proto";
88
import "shared.translation.proto";
9-
import "shared.version.proto";
109

1110
/*
1211
A data type is a custom implementation that could be compared to an object
@@ -36,7 +35,8 @@ message DefinitionDataType {
3635
// List of generic keys
3736
repeated string generic_keys = 7;
3837
// Version of the data type
39-
shared.Version version = 8;
38+
// Format: "major.minor.patch", e.g. "1.2.3"
39+
string version = 8;
4040
}
4141

4242
message ExecutionDataType {

proto/shared/shared.flow_definition.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ package shared;
66

77
import "shared.translation.proto";
88
import "shared.struct.proto";
9-
import "shared.version.proto";
109

1110
message FlowType {
1211
string identifier = 1;
@@ -20,7 +19,8 @@ message FlowType {
2019
repeated shared.Translation display_message = 9;
2120
repeated shared.Translation alias = 10;
2221
// Version of the flow type
23-
shared.Version version = 11;
22+
// Format: "major.minor.patch", e.g. "1.2.3"
23+
string version = 11;
2424
}
2525

2626
message FlowTypeSetting {

proto/shared/shared.runtime_function.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ package shared;
77
import "shared.translation.proto";
88
import "shared.data_type.proto";
99
import "shared.struct.proto";
10-
import "shared.version.proto";
1110

1211
// Definition of a function used for execution
1312
message RuntimeFunctionDefinition {
@@ -23,7 +22,8 @@ message RuntimeFunctionDefinition {
2322
repeated Translation display_message = 10;
2423
repeated Translation alias = 11;
2524
// Version of the runtime function
26-
shared.Version version = 12;
25+
// Format: "major.minor.patch", e.g. "1.2.3"
26+
string version = 12;
2727
}
2828

2929
// Definition of a parameter used for execution

proto/shared/shared.version.proto

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)