Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions proto/shared/shared.data_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package shared;

import "shared.struct.proto";
import "shared.translation.proto";
import "shared.version.proto";

/*
A data type is a custom implementation that could be compared to an object
Expand All @@ -32,6 +33,8 @@ message DefinitionDataType {
repeated DefinitionDataTypeRule rules = 4;
// List of generic keys
repeated string generic_keys = 5;
// Version of the data type
shared.Version version = 6;
}

message ExecutionDataType {
Expand Down
3 changes: 3 additions & 0 deletions proto/shared/shared.flow_definition.proto
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package shared;

import "shared.translation.proto";
import "shared.struct.proto";
import "shared.version.proto";

message FlowType {
string identifier = 1;
Expand All @@ -16,6 +17,8 @@ message FlowType {
repeated shared.Translation name = 6;
repeated shared.Translation description = 7;
repeated shared.Translation documentation = 8;
// Version of the flow type
shared.Version version = 9;
}

message FlowTypeSetting {
Expand Down
5 changes: 4 additions & 1 deletion proto/shared/shared.runtime_function.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ package shared;
import "shared.translation.proto";
import "shared.data_type.proto";
import "shared.struct.proto";
import "shared.version.proto";

// Definition of a function used for execution
message RuntimeFunctionDefinition {
Expand All @@ -19,6 +20,8 @@ message RuntimeFunctionDefinition {
repeated Translation description = 7;
repeated Translation documentation = 8;
repeated Translation deprecation_message = 9;
// Version of the runtime function
shared.Version version = 10;
}

// Definition of a parameter used for execution
Expand All @@ -29,4 +32,4 @@ message RuntimeParameterDefinition {
repeated Translation name = 4;
repeated Translation description = 5;
repeated Translation documentation = 6;
}
}
11 changes: 11 additions & 0 deletions proto/shared/shared.version.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
syntax = "proto3";

option ruby_package = "Tucana::Shared";

package shared;

message Version {
int32 major = 1;
int32 minor = 2;
int32 patch = 3;
}