fix: increase limit for action scripts (#6520)

fix: increase action limit
This commit is contained in:
Fabi
2023-09-11 07:26:31 +02:00
committed by GitHub
parent 523dee8801
commit 3c6168d026

View File

@@ -12657,13 +12657,13 @@ message CreateActionRequest {
}
];
string script = 2 [
(validate.rules).string = {min_len: 1, max_len: 2000},
(validate.rules).string = {min_len: 1, max_bytes: 40000},
(google.api.field_behavior) = REQUIRED,
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"function log(context, calls){console.log(context)}\"";
description: "Javascript code that should be executed"
min_length: 1;
max_length: 2000;
max_length: 10000;
}
];
google.protobuf.Duration timeout = 3 [
@@ -12706,9 +12706,12 @@ message UpdateActionRequest {
}
];
string script = 3 [
(validate.rules).string = {min_len: 1, max_len: 2000},
(validate.rules).string = {min_len: 1, max_bytes: 40000},
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
example: "\"function log(context, calls){console.log(context)}\"";
description: "Javascript code that should be executed"
min_length: 1;
max_length: 10000;
}
];
google.protobuf.Duration timeout = 4 [