37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
let
|
|
PluginEnablement = {
|
|
installation_id = String;
|
|
expected_last_operation = String;
|
|
package_digest = String;
|
|
artifact_digest = String;
|
|
tools = [...String];
|
|
services = [...String] default [];
|
|
ticket_events = Bool default false;
|
|
logging = Bool default false;
|
|
ticket_read = Bool default false;
|
|
ticket_data_read = [...{ collection = String; schema_id = String; schema_version = String; }] default [];
|
|
ticket_data_write = [...{ collection = String; schema_id = String; schema_version = String; }] default [];
|
|
connections = { ...String } default {};
|
|
config = { ...Unknown } default {};
|
|
};
|
|
in {
|
|
plugins = {
|
|
enabled = { ...PluginEnablement } default {};
|
|
bindings = { ...{
|
|
origin = String;
|
|
network = String default "public_internet";
|
|
methods = [...String];
|
|
path_prefixes = [...String];
|
|
request_headers = [...String] default [];
|
|
response_headers = [...String] default [];
|
|
secret_ref = String default "";
|
|
limits = {
|
|
timeout_ms = Int;
|
|
max_request_bytes = Int;
|
|
max_response_bytes = Int;
|
|
max_header_bytes = Int;
|
|
};
|
|
} } default {};
|
|
} default {};
|
|
}
|