diff --git a/backend/.sqlx/query-492edd53e497a45c314d41044e85a5e3492227b5049dc6870d60817ad929e7af.json b/backend/.sqlx/query-418d257ac50ec518d960aa286a003caf748a5423b208d897ff4e23aae0330007.json similarity index 80% rename from backend/.sqlx/query-492edd53e497a45c314d41044e85a5e3492227b5049dc6870d60817ad929e7af.json rename to backend/.sqlx/query-418d257ac50ec518d960aa286a003caf748a5423b208d897ff4e23aae0330007.json index b5f50c99b0..65b0bd1364 100644 --- a/backend/.sqlx/query-492edd53e497a45c314d41044e85a5e3492227b5049dc6870d60817ad929e7af.json +++ b/backend/.sqlx/query-418d257ac50ec518d960aa286a003caf748a5423b208d897ff4e23aae0330007.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE\n websocket_trigger\n SET\n url = $1,\n script_path = $2,\n path = $3,\n is_flow = $4,\n filters = $5,\n filter_logic = $6,\n initial_messages = $7,\n url_runnable_args = $8,\n edited_by = $9,\n permissioned_as = $10,\n can_return_message = $11,\n can_return_error_result = $12,\n edited_at = now(),\n server_id = NULL,\n error = NULL,\n error_handler_path = $15,\n error_handler_args = $16,\n retry = $17,\n heartbeat = $18\n WHERE\n workspace_id = $13 AND path = $14\n ", + "query": "\n UPDATE\n websocket_trigger\n SET\n url = $1,\n script_path = $2,\n path = $3,\n is_flow = $4,\n filters = $5,\n filter_logic = $6,\n initial_messages = $7,\n url_runnable_args = $8,\n edited_by = $9,\n permissioned_as = $10,\n can_return_message = $11,\n can_return_error_result = $12,\n edited_at = now(),\n server_id = NULL,\n error = NULL,\n error_handler_path = $15,\n error_handler_args = $16,\n retry = $17,\n heartbeat = $18,\n run_on_filter_error = $19\n WHERE\n workspace_id = $13 AND path = $14\n ", "describe": { "columns": [], "parameters": { @@ -22,10 +22,11 @@ "Varchar", "Jsonb", "Jsonb", - "Jsonb" + "Jsonb", + "Bool" ] }, "nullable": [] }, - "hash": "492edd53e497a45c314d41044e85a5e3492227b5049dc6870d60817ad929e7af" + "hash": "418d257ac50ec518d960aa286a003caf748a5423b208d897ff4e23aae0330007" } diff --git a/backend/.sqlx/query-5fd769bde29e88eb43f5dc0ecd7f4a1fe20d216d818d69eea4ddbaace5233137.json b/backend/.sqlx/query-5fd769bde29e88eb43f5dc0ecd7f4a1fe20d216d818d69eea4ddbaace5233137.json deleted file mode 100644 index c38731ff6d..0000000000 --- a/backend/.sqlx/query-5fd769bde29e88eb43f5dc0ecd7f4a1fe20d216d818d69eea4ddbaace5233137.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "INSERT INTO websocket_trigger (\n path, url, script_path, is_flow, workspace_id, edited_by, edited_at,\n extra_perms, server_id, last_server_ping, error, filters, initial_messages,\n url_runnable_args, can_return_message, error_handler_path, error_handler_args,\n retry, can_return_error_result, mode, permissioned_as, filter_logic, labels,\n heartbeat\n )\n SELECT\n path, url, script_path, is_flow, $1, edited_by, edited_at,\n extra_perms, NULL, NULL, NULL, filters, initial_messages,\n url_runnable_args, can_return_message, error_handler_path, error_handler_args,\n retry, can_return_error_result, 'disabled'::TRIGGER_MODE, permissioned_as, filter_logic, labels,\n heartbeat\n FROM websocket_trigger WHERE workspace_id = $2", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Varchar", - "Text" - ] - }, - "nullable": [] - }, - "hash": "5fd769bde29e88eb43f5dc0ecd7f4a1fe20d216d818d69eea4ddbaace5233137" -} diff --git a/backend/.sqlx/query-68c19cb0e18b94870bbe81f9aab92ba37da67cd2a56834c9d1378eab7551284d.json b/backend/.sqlx/query-6f16ddb07e8543e12a12bd5b312da224e00c5c0ac1ba4abc16fe104d28b59da1.json similarity index 78% rename from backend/.sqlx/query-68c19cb0e18b94870bbe81f9aab92ba37da67cd2a56834c9d1378eab7551284d.json rename to backend/.sqlx/query-6f16ddb07e8543e12a12bd5b312da224e00c5c0ac1ba4abc16fe104d28b59da1.json index de69c0fc8c..769fd16d13 100644 --- a/backend/.sqlx/query-68c19cb0e18b94870bbe81f9aab92ba37da67cd2a56834c9d1378eab7551284d.json +++ b/backend/.sqlx/query-6f16ddb07e8543e12a12bd5b312da224e00c5c0ac1ba4abc16fe104d28b59da1.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n UPDATE kafka_trigger\n SET\n kafka_resource_path = $1,\n group_id = $2,\n topics = $3,\n filters = $4,\n filter_logic = $5,\n auto_offset_reset = $6,\n auto_commit = $7,\n script_path = $8,\n path = $9,\n is_flow = $10,\n edited_by = $11,\n permissioned_as = $12,\n edited_at = now(),\n server_id = NULL,\n error = NULL,\n error_handler_path = $15,\n error_handler_args = $16,\n retry = $17\n WHERE\n workspace_id = $13 AND path = $14\n ", + "query": "\n UPDATE kafka_trigger\n SET\n kafka_resource_path = $1,\n group_id = $2,\n topics = $3,\n filters = $4,\n filter_logic = $5,\n auto_offset_reset = $6,\n auto_commit = $7,\n script_path = $8,\n path = $9,\n is_flow = $10,\n edited_by = $11,\n permissioned_as = $12,\n edited_at = now(),\n server_id = NULL,\n error = NULL,\n error_handler_path = $15,\n error_handler_args = $16,\n retry = $17,\n run_on_filter_error = $18\n WHERE\n workspace_id = $13 AND path = $14\n ", "describe": { "columns": [], "parameters": { @@ -21,10 +21,11 @@ "Text", "Varchar", "Jsonb", - "Jsonb" + "Jsonb", + "Bool" ] }, "nullable": [] }, - "hash": "68c19cb0e18b94870bbe81f9aab92ba37da67cd2a56834c9d1378eab7551284d" + "hash": "6f16ddb07e8543e12a12bd5b312da224e00c5c0ac1ba4abc16fe104d28b59da1" } diff --git a/backend/.sqlx/query-6a8f4ed9946bb2a3c5e90695c90b70aa2e83fcb5aa0c953febdd9bac2d95bbec.json b/backend/.sqlx/query-8d9c5c4bcdc1ca66388fdf35a1573ba28a1891f46c80bcd3b3e4f058e037c26a.json similarity index 79% rename from backend/.sqlx/query-6a8f4ed9946bb2a3c5e90695c90b70aa2e83fcb5aa0c953febdd9bac2d95bbec.json rename to backend/.sqlx/query-8d9c5c4bcdc1ca66388fdf35a1573ba28a1891f46c80bcd3b3e4f058e037c26a.json index c6d3374639..23b6507fbd 100644 --- a/backend/.sqlx/query-6a8f4ed9946bb2a3c5e90695c90b70aa2e83fcb5aa0c953febdd9bac2d95bbec.json +++ b/backend/.sqlx/query-8d9c5c4bcdc1ca66388fdf35a1573ba28a1891f46c80bcd3b3e4f058e037c26a.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n INSERT INTO kafka_trigger (\n workspace_id,\n path,\n kafka_resource_path,\n group_id,\n topics,\n filters,\n filter_logic,\n auto_offset_reset,\n auto_commit,\n script_path,\n is_flow,\n mode,\n edited_by,\n permissioned_as,\n edited_at,\n error_handler_path,\n error_handler_args,\n retry\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, now(), $15, $16, $17\n )\n ", + "query": "\n INSERT INTO kafka_trigger (\n workspace_id,\n path,\n kafka_resource_path,\n group_id,\n topics,\n filters,\n filter_logic,\n auto_offset_reset,\n auto_commit,\n script_path,\n is_flow,\n mode,\n edited_by,\n permissioned_as,\n edited_at,\n error_handler_path,\n error_handler_args,\n retry,\n run_on_filter_error\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, now(), $15, $16, $17, $18\n )\n ", "describe": { "columns": [], "parameters": { @@ -32,10 +32,11 @@ "Varchar", "Varchar", "Jsonb", - "Jsonb" + "Jsonb", + "Bool" ] }, "nullable": [] }, - "hash": "6a8f4ed9946bb2a3c5e90695c90b70aa2e83fcb5aa0c953febdd9bac2d95bbec" + "hash": "8d9c5c4bcdc1ca66388fdf35a1573ba28a1891f46c80bcd3b3e4f058e037c26a" } diff --git a/backend/.sqlx/query-a8f792d147acc47791a8cbc473a13a9440d22500eef72b11065b9badbeb5101a.json b/backend/.sqlx/query-a8f792d147acc47791a8cbc473a13a9440d22500eef72b11065b9badbeb5101a.json new file mode 100644 index 0000000000..5d6a5285ad --- /dev/null +++ b/backend/.sqlx/query-a8f792d147acc47791a8cbc473a13a9440d22500eef72b11065b9badbeb5101a.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "INSERT INTO kafka_trigger (\n path, kafka_resource_path, topics, group_id, script_path, is_flow,\n workspace_id, edited_by, edited_at, extra_perms, server_id,\n last_server_ping, error, error_handler_path, error_handler_args, retry,\n mode, filters, auto_offset_reset, reset_offset, auto_commit,\n permissioned_as, filter_logic, labels, run_on_filter_error\n )\n SELECT\n path, kafka_resource_path, topics, group_id, script_path, is_flow,\n $1, edited_by, edited_at, extra_perms, NULL,\n NULL, NULL, error_handler_path, error_handler_args, retry,\n 'disabled'::TRIGGER_MODE, filters, auto_offset_reset, reset_offset, auto_commit,\n permissioned_as, filter_logic, labels, run_on_filter_error\n FROM kafka_trigger WHERE workspace_id = $2", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Varchar", + "Text" + ] + }, + "nullable": [] + }, + "hash": "a8f792d147acc47791a8cbc473a13a9440d22500eef72b11065b9badbeb5101a" +} diff --git a/backend/.sqlx/query-c9c0b92c1fea9b4bdafba32da60e5579a4c2940bed63097ffec7f757d9882667.json b/backend/.sqlx/query-c9c0b92c1fea9b4bdafba32da60e5579a4c2940bed63097ffec7f757d9882667.json deleted file mode 100644 index b72f952955..0000000000 --- a/backend/.sqlx/query-c9c0b92c1fea9b4bdafba32da60e5579a4c2940bed63097ffec7f757d9882667.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "db_name": "PostgreSQL", - "query": "INSERT INTO kafka_trigger (\n path, kafka_resource_path, topics, group_id, script_path, is_flow,\n workspace_id, edited_by, edited_at, extra_perms, server_id,\n last_server_ping, error, error_handler_path, error_handler_args, retry,\n mode, filters, auto_offset_reset, reset_offset, auto_commit,\n permissioned_as, filter_logic, labels\n )\n SELECT\n path, kafka_resource_path, topics, group_id, script_path, is_flow,\n $1, edited_by, edited_at, extra_perms, NULL,\n NULL, NULL, error_handler_path, error_handler_args, retry,\n 'disabled'::TRIGGER_MODE, filters, auto_offset_reset, reset_offset, auto_commit,\n permissioned_as, filter_logic, labels\n FROM kafka_trigger WHERE workspace_id = $2", - "describe": { - "columns": [], - "parameters": { - "Left": [ - "Varchar", - "Text" - ] - }, - "nullable": [] - }, - "hash": "c9c0b92c1fea9b4bdafba32da60e5579a4c2940bed63097ffec7f757d9882667" -} diff --git a/backend/.sqlx/query-cd54e1e83205fc161e4046f8b5e3bfda4e38156cd89e7a0b7f8164c98cf1c608.json b/backend/.sqlx/query-cd54e1e83205fc161e4046f8b5e3bfda4e38156cd89e7a0b7f8164c98cf1c608.json new file mode 100644 index 0000000000..0a8847114e --- /dev/null +++ b/backend/.sqlx/query-cd54e1e83205fc161e4046f8b5e3bfda4e38156cd89e7a0b7f8164c98cf1c608.json @@ -0,0 +1,15 @@ +{ + "db_name": "PostgreSQL", + "query": "INSERT INTO websocket_trigger (\n path, url, script_path, is_flow, workspace_id, edited_by, edited_at,\n extra_perms, server_id, last_server_ping, error, filters, initial_messages,\n url_runnable_args, can_return_message, error_handler_path, error_handler_args,\n retry, can_return_error_result, mode, permissioned_as, filter_logic, labels,\n heartbeat, run_on_filter_error\n )\n SELECT\n path, url, script_path, is_flow, $1, edited_by, edited_at,\n extra_perms, NULL, NULL, NULL, filters, initial_messages,\n url_runnable_args, can_return_message, error_handler_path, error_handler_args,\n retry, can_return_error_result, 'disabled'::TRIGGER_MODE, permissioned_as, filter_logic, labels,\n heartbeat, run_on_filter_error\n FROM websocket_trigger WHERE workspace_id = $2", + "describe": { + "columns": [], + "parameters": { + "Left": [ + "Varchar", + "Text" + ] + }, + "nullable": [] + }, + "hash": "cd54e1e83205fc161e4046f8b5e3bfda4e38156cd89e7a0b7f8164c98cf1c608" +} diff --git a/backend/.sqlx/query-11fd92de8688ef6b4d524aade507850a9cb3e097f2d957219d04ad134a5e0399.json b/backend/.sqlx/query-cdc2371af8d627a410e9ba0287eb1a35b08cbab2fe0d2a0e0d65a98658d42e22.json similarity index 77% rename from backend/.sqlx/query-11fd92de8688ef6b4d524aade507850a9cb3e097f2d957219d04ad134a5e0399.json rename to backend/.sqlx/query-cdc2371af8d627a410e9ba0287eb1a35b08cbab2fe0d2a0e0d65a98658d42e22.json index 0ce46a41e1..8447851cc5 100644 --- a/backend/.sqlx/query-11fd92de8688ef6b4d524aade507850a9cb3e097f2d957219d04ad134a5e0399.json +++ b/backend/.sqlx/query-cdc2371af8d627a410e9ba0287eb1a35b08cbab2fe0d2a0e0d65a98658d42e22.json @@ -1,6 +1,6 @@ { "db_name": "PostgreSQL", - "query": "\n INSERT INTO websocket_trigger (\n workspace_id,\n path,\n url,\n script_path,\n is_flow,\n mode,\n filters,\n filter_logic,\n initial_messages,\n url_runnable_args,\n edited_by,\n can_return_message,\n can_return_error_result,\n permissioned_as,\n edited_at,\n error_handler_path,\n error_handler_args,\n retry,\n heartbeat\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, now(), $15, $16, $17, $18\n )\n ", + "query": "\n INSERT INTO websocket_trigger (\n workspace_id,\n path,\n url,\n script_path,\n is_flow,\n mode,\n filters,\n filter_logic,\n initial_messages,\n url_runnable_args,\n edited_by,\n can_return_message,\n can_return_error_result,\n permissioned_as,\n edited_at,\n error_handler_path,\n error_handler_args,\n retry,\n heartbeat,\n run_on_filter_error\n ) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, now(), $15, $16, $17, $18, $19\n )\n ", "describe": { "columns": [], "parameters": { @@ -33,10 +33,11 @@ "Varchar", "Jsonb", "Jsonb", - "Jsonb" + "Jsonb", + "Bool" ] }, "nullable": [] }, - "hash": "11fd92de8688ef6b4d524aade507850a9cb3e097f2d957219d04ad134a5e0399" + "hash": "cdc2371af8d627a410e9ba0287eb1a35b08cbab2fe0d2a0e0d65a98658d42e22" } diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index d79ffcf2ca..39b9b7a85b 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -0b763cc905bb67b17728794bb52bfdf336fe25fb +695eddf214f6a0e6cf1249ee2c20e716788f0766 diff --git a/backend/migrations/20261105091349_trigger_run_on_filter_error.down.sql b/backend/migrations/20261105091349_trigger_run_on_filter_error.down.sql new file mode 100644 index 0000000000..83eb777b71 --- /dev/null +++ b/backend/migrations/20261105091349_trigger_run_on_filter_error.down.sql @@ -0,0 +1,2 @@ +ALTER TABLE kafka_trigger DROP COLUMN run_on_filter_error; +ALTER TABLE websocket_trigger DROP COLUMN run_on_filter_error; diff --git a/backend/migrations/20261105091349_trigger_run_on_filter_error.up.sql b/backend/migrations/20261105091349_trigger_run_on_filter_error.up.sql new file mode 100644 index 0000000000..174cee283c --- /dev/null +++ b/backend/migrations/20261105091349_trigger_run_on_filter_error.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE kafka_trigger ADD COLUMN run_on_filter_error BOOLEAN NOT NULL DEFAULT false; +ALTER TABLE websocket_trigger ADD COLUMN run_on_filter_error BOOLEAN NOT NULL DEFAULT false; diff --git a/backend/windmill-api-workspaces/src/workspaces.rs b/backend/windmill-api-workspaces/src/workspaces.rs index 206e683547..f80b6be2e5 100644 --- a/backend/windmill-api-workspaces/src/workspaces.rs +++ b/backend/windmill-api-workspaces/src/workspaces.rs @@ -7744,14 +7744,14 @@ async fn clone_triggers_and_schedules( extra_perms, server_id, last_server_ping, error, filters, initial_messages, url_runnable_args, can_return_message, error_handler_path, error_handler_args, retry, can_return_error_result, mode, permissioned_as, filter_logic, labels, - heartbeat + heartbeat, run_on_filter_error ) SELECT path, url, script_path, is_flow, $1, edited_by, edited_at, extra_perms, NULL, NULL, NULL, filters, initial_messages, url_runnable_args, can_return_message, error_handler_path, error_handler_args, retry, can_return_error_result, 'disabled'::TRIGGER_MODE, permissioned_as, filter_logic, labels, - heartbeat + heartbeat, run_on_filter_error FROM websocket_trigger WHERE workspace_id = $2"#, target_workspace_id, source_workspace_id, @@ -7765,14 +7765,14 @@ async fn clone_triggers_and_schedules( workspace_id, edited_by, edited_at, extra_perms, server_id, last_server_ping, error, error_handler_path, error_handler_args, retry, mode, filters, auto_offset_reset, reset_offset, auto_commit, - permissioned_as, filter_logic, labels + permissioned_as, filter_logic, labels, run_on_filter_error ) SELECT path, kafka_resource_path, topics, group_id, script_path, is_flow, $1, edited_by, edited_at, extra_perms, NULL, NULL, NULL, error_handler_path, error_handler_args, retry, 'disabled'::TRIGGER_MODE, filters, auto_offset_reset, reset_offset, auto_commit, - permissioned_as, filter_logic, labels + permissioned_as, filter_logic, labels, run_on_filter_error FROM kafka_trigger WHERE workspace_id = $2"#, target_workspace_id, source_workspace_id, diff --git a/backend/windmill-api/openapi.yaml b/backend/windmill-api/openapi.yaml index 65edadfa42..b684b7e69b 100644 --- a/backend/windmill-api/openapi.yaml +++ b/backend/windmill-api/openapi.yaml @@ -35155,6 +35155,10 @@ components: - or default: and description: "Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic." + run_on_filter_error: + type: boolean + default: false + description: "Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped." initial_messages: type: array nullable: true @@ -35222,6 +35226,10 @@ components: - or default: and description: "Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic." + run_on_filter_error: + type: boolean + default: false + description: "Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped." initial_messages: type: array nullable: true @@ -35300,6 +35308,10 @@ components: - or default: and description: "Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic." + run_on_filter_error: + type: boolean + default: false + description: "Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped." initial_messages: type: array nullable: true @@ -36981,6 +36993,10 @@ components: - or default: and description: "Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic." + run_on_filter_error: + type: boolean + default: false + description: "Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped." auto_offset_reset: type: string enum: @@ -37055,6 +37071,10 @@ components: - or default: and description: "Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic." + run_on_filter_error: + type: boolean + default: false + description: "Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped." auto_offset_reset: type: string enum: @@ -37125,6 +37145,10 @@ components: - or default: and description: "Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic." + run_on_filter_error: + type: boolean + default: false + description: "Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped." auto_offset_reset: type: string enum: diff --git a/backend/windmill-api/src/ai_session_tools/gen/schemas.json b/backend/windmill-api/src/ai_session_tools/gen/schemas.json index f15242d1aa..bf071a2159 100644 --- a/backend/windmill-api/src/ai_session_tools/gen/schemas.json +++ b/backend/windmill-api/src/ai_session_tools/gen/schemas.json @@ -1,8 +1,8 @@ { "trigger": { "http": "{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when triggered\",\n \"type\": \"string\"\n },\n \"route_path\": {\n \"description\": \"The URL route path that will trigger this endpoint (e.g., 'api/myendpoint'). Must NOT start with a /.\",\n \"type\": \"string\"\n },\n \"workspaced_route\": {\n \"description\": \"If true, the route includes the workspace ID in the path\",\n \"type\": \"boolean\"\n },\n \"summary\": {\n \"anyOf\": [\n {\n \"description\": \"Short summary describing the purpose of this trigger\",\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"description\": {\n \"anyOf\": [\n {\n \"description\": \"Detailed description of what this trigger does\",\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"static_asset_config\": {\n \"anyOf\": [\n {\n \"description\": \"Configuration for serving static assets (s3 bucket, storage path, filename)\",\n \"type\": \"object\",\n \"properties\": {\n \"s3\": {\n \"description\": \"S3 bucket path for static assets\",\n \"type\": \"string\"\n },\n \"storage\": {\n \"description\": \"Storage path for static assets\",\n \"type\": \"string\"\n },\n \"filename\": {\n \"description\": \"Filename for the static asset\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"s3\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"http_method\": {\n \"description\": \"HTTP method (get, post, put, delete, patch) that triggers this endpoint\",\n \"type\": \"string\",\n \"enum\": [\n \"get\",\n \"post\",\n \"put\",\n \"delete\",\n \"patch\"\n ]\n },\n \"authentication_resource_path\": {\n \"anyOf\": [\n {\n \"description\": \"Path to the resource containing authentication configuration (for api_key, basic_http, custom_script, signature methods)\",\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"is_async\": {\n \"description\": \"Deprecated, use request_type instead\",\n \"type\": \"boolean\"\n },\n \"request_type\": {\n \"description\": \"How the request is handled - 'sync' waits for result, 'async' returns job ID immediately, 'sync_sse' streams results via Server-Sent Events\",\n \"type\": \"string\",\n \"enum\": [\n \"sync\",\n \"async\",\n \"sync_sse\"\n ]\n },\n \"authentication_method\": {\n \"description\": \"How requests are authenticated - 'none' (public), 'windmill' (Windmill token), 'api_key', 'basic_http', 'custom_script', 'signature'\",\n \"type\": \"string\",\n \"enum\": [\n \"none\",\n \"windmill\",\n \"api_key\",\n \"basic_http\",\n \"custom_script\",\n \"signature\"\n ]\n },\n \"is_static_website\": {\n \"description\": \"If true, serves static files from S3/storage instead of running a script\",\n \"type\": \"boolean\"\n },\n \"wrap_body\": {\n \"description\": \"If true, wraps the request body in a 'body' parameter\",\n \"type\": \"boolean\"\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"raw_string\": {\n \"description\": \"If true, passes the request body as a raw string instead of parsing as JSON\",\n \"type\": \"boolean\"\n },\n \"allowed_origins\": {\n \"anyOf\": [\n {\n \"description\": \"Origins allowed to call this route cross-origin, matched against the request's Origin header (ignoring case) and echoed back on a match. When set, the list governs both the preflight and the response, overriding any Access-Control-Allow-Origin the runnable returns via wm_headers. Use ['*'] to opt out of any restriction, including the http_route_default_allowed_origins instance setting. An empty list is not a configuration and resolves exactly as null does. When null, the instance setting applies, or Access-Control-Allow-Origin: * if it is unset. Ignored on a static website, which has no authentication of its own and so hands out public files: restricting which browsers may read them protects nothing while breaking cross-origin webfonts and fetches. A single-file static asset is not exempt, since it can carry an authentication_method.\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"script_path\",\n \"route_path\",\n \"is_flow\",\n \"http_method\",\n \"authentication_method\",\n \"is_static_website\"\n ],\n \"additionalProperties\": false\n}", - "websocket": "{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when a message is received\",\n \"type\": \"string\"\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"url\": {\n \"description\": \"The WebSocket URL to connect to (can be a static URL or computed by a runnable)\",\n \"type\": \"string\"\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"filters\": {\n \"description\": \"Filters to match incoming messages (only matching messages trigger the script). Each entry is either a leaf `{key, value}` (top-level field) or `{path, value}` (dotted path into nested objects), or a group `{any_of: [...]}` / `{all_of: [...]}` / `{none_of: [...]}` nesting more entries. Entries at the top level are combined with `filter_logic`.\",\n \"type\": \"array\",\n \"items\": {\n \"description\": \"Either a leaf filter, matching a field of the message (parsed as JSON) against a value by equality (or superset, when the value is an object or array) — addressed by `key` for a top-level field or `path` for a dotted path into nested objects — or a group nesting sub-filters under a boolean operator (`none_of` matches when none of its sub-filters do).\\n\",\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"key\": {\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"key\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"Dotted path into nested objects, e.g. `a.b.c`. Does not traverse arrays.\",\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"path\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"any_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"any_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"all_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"all_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"none_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"none_of\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"filter_logic\": {\n \"default\": \"and\",\n \"description\": \"Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic.\",\n \"type\": \"string\",\n \"enum\": [\n \"and\",\n \"or\"\n ]\n },\n \"initial_messages\": {\n \"anyOf\": [\n {\n \"description\": \"Messages to send immediately after connecting (can be raw strings or computed by runnables)\",\n \"type\": \"array\",\n \"items\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"raw_message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"raw_message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"runnable_result\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"description\": \"The arguments to pass to the script or flow\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"is_flow\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"path\",\n \"args\",\n \"is_flow\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"runnable_result\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"url_runnable_args\": {\n \"anyOf\": [\n {\n \"description\": \"Arguments to pass to the script/flow that computes the WebSocket URL\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"can_return_message\": {\n \"description\": \"If true, the script can return a message to send back through the WebSocket\",\n \"type\": \"boolean\"\n },\n \"can_return_error_result\": {\n \"description\": \"If true, error results are sent back through the WebSocket\",\n \"type\": \"boolean\"\n },\n \"heartbeat\": {\n \"anyOf\": [\n {\n \"description\": \"Optional periodic heartbeat message configuration\",\n \"type\": \"object\",\n \"properties\": {\n \"interval_secs\": {\n \"description\": \"Interval in seconds between heartbeat messages\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"message\": {\n \"description\": \"Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).\",\n \"type\": \"string\"\n },\n \"state_field\": {\n \"description\": \"Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"interval_secs\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"script_path\",\n \"is_flow\",\n \"url\",\n \"filters\",\n \"can_return_message\",\n \"can_return_error_result\"\n ],\n \"additionalProperties\": false\n}", - "kafka": "{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when a message is received\",\n \"type\": \"string\"\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"kafka_resource_path\": {\n \"description\": \"Path to the Kafka resource containing connection configuration\",\n \"type\": \"string\"\n },\n \"group_id\": {\n \"description\": \"Kafka consumer group ID for this trigger\",\n \"type\": \"string\"\n },\n \"topics\": {\n \"description\": \"Array of Kafka topic names to subscribe to\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"filters\": {\n \"description\": \"Filters to match incoming messages (only matching messages trigger the script). Each entry is either a leaf `{key, value}` (top-level field) or `{path, value}` (dotted path into nested objects), or a group `{any_of: [...]}` / `{all_of: [...]}` / `{none_of: [...]}` nesting more entries. Entries at the top level are combined with `filter_logic`.\",\n \"type\": \"array\",\n \"items\": {\n \"description\": \"Either a leaf filter, matching a field of the message (parsed as JSON) against a value by equality (or superset, when the value is an object or array) — addressed by `key` for a top-level field or `path` for a dotted path into nested objects — or a group nesting sub-filters under a boolean operator (`none_of` matches when none of its sub-filters do).\\n\",\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"key\": {\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"key\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"Dotted path into nested objects, e.g. `a.b.c`. Does not traverse arrays.\",\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"path\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"any_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"any_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"all_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"all_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"none_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"none_of\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"filter_logic\": {\n \"default\": \"and\",\n \"description\": \"Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic.\",\n \"type\": \"string\",\n \"enum\": [\n \"and\",\n \"or\"\n ]\n },\n \"auto_offset_reset\": {\n \"default\": \"latest\",\n \"description\": \"Initial offset behavior when consumer group has no committed offset.\",\n \"type\": \"string\",\n \"enum\": [\n \"latest\",\n \"earliest\"\n ]\n },\n \"auto_commit\": {\n \"default\": true,\n \"description\": \"When true (default), offsets are committed automatically after receiving each message. When false, you must manually commit offsets using the commit_offsets endpoint.\",\n \"type\": \"boolean\"\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"script_path\",\n \"is_flow\",\n \"kafka_resource_path\",\n \"group_id\",\n \"topics\",\n \"filters\"\n ],\n \"additionalProperties\": false\n}", + "websocket": "{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when a message is received\",\n \"type\": \"string\"\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"url\": {\n \"description\": \"The WebSocket URL to connect to (can be a static URL or computed by a runnable)\",\n \"type\": \"string\"\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"filters\": {\n \"description\": \"Filters to match incoming messages (only matching messages trigger the script). Each entry is either a leaf `{key, value}` (top-level field) or `{path, value}` (dotted path into nested objects), or a group `{any_of: [...]}` / `{all_of: [...]}` / `{none_of: [...]}` nesting more entries. Entries at the top level are combined with `filter_logic`.\",\n \"type\": \"array\",\n \"items\": {\n \"description\": \"Either a leaf filter, matching a field of the message (parsed as JSON) against a value by equality (or superset, when the value is an object or array) — addressed by `key` for a top-level field or `path` for a dotted path into nested objects — or a group nesting sub-filters under a boolean operator (`none_of` matches when none of its sub-filters do).\\n\",\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"key\": {\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"key\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"Dotted path into nested objects, e.g. `a.b.c`. Does not traverse arrays.\",\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"path\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"any_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"any_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"all_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"all_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"none_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"none_of\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"filter_logic\": {\n \"default\": \"and\",\n \"description\": \"Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic.\",\n \"type\": \"string\",\n \"enum\": [\n \"and\",\n \"or\"\n ]\n },\n \"run_on_filter_error\": {\n \"default\": false,\n \"description\": \"Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped.\",\n \"type\": \"boolean\"\n },\n \"initial_messages\": {\n \"anyOf\": [\n {\n \"description\": \"Messages to send immediately after connecting (can be raw strings or computed by runnables)\",\n \"type\": \"array\",\n \"items\": {\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"raw_message\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"raw_message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"runnable_result\": {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"type\": \"string\"\n },\n \"args\": {\n \"description\": \"The arguments to pass to the script or flow\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"is_flow\": {\n \"type\": \"boolean\"\n }\n },\n \"required\": [\n \"path\",\n \"args\",\n \"is_flow\"\n ],\n \"additionalProperties\": false\n }\n },\n \"required\": [\n \"runnable_result\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"url_runnable_args\": {\n \"anyOf\": [\n {\n \"description\": \"Arguments to pass to the script/flow that computes the WebSocket URL\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"can_return_message\": {\n \"description\": \"If true, the script can return a message to send back through the WebSocket\",\n \"type\": \"boolean\"\n },\n \"can_return_error_result\": {\n \"description\": \"If true, error results are sent back through the WebSocket\",\n \"type\": \"boolean\"\n },\n \"heartbeat\": {\n \"anyOf\": [\n {\n \"description\": \"Optional periodic heartbeat message configuration\",\n \"type\": \"object\",\n \"properties\": {\n \"interval_secs\": {\n \"description\": \"Interval in seconds between heartbeat messages\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"message\": {\n \"description\": \"Message to send as heartbeat. Use {{state}} as a placeholder for a value extracted from incoming messages (see state_field).\",\n \"type\": \"string\"\n },\n \"state_field\": {\n \"description\": \"Optional. Top-level JSON field to extract from incoming messages. The extracted value replaces {{state}} in the heartbeat message.\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"interval_secs\",\n \"message\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"script_path\",\n \"is_flow\",\n \"url\",\n \"filters\",\n \"can_return_message\",\n \"can_return_error_result\"\n ],\n \"additionalProperties\": false\n}", + "kafka": "{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when a message is received\",\n \"type\": \"string\"\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"kafka_resource_path\": {\n \"description\": \"Path to the Kafka resource containing connection configuration\",\n \"type\": \"string\"\n },\n \"group_id\": {\n \"description\": \"Kafka consumer group ID for this trigger\",\n \"type\": \"string\"\n },\n \"topics\": {\n \"description\": \"Array of Kafka topic names to subscribe to\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"filters\": {\n \"description\": \"Filters to match incoming messages (only matching messages trigger the script). Each entry is either a leaf `{key, value}` (top-level field) or `{path, value}` (dotted path into nested objects), or a group `{any_of: [...]}` / `{all_of: [...]}` / `{none_of: [...]}` nesting more entries. Entries at the top level are combined with `filter_logic`.\",\n \"type\": \"array\",\n \"items\": {\n \"description\": \"Either a leaf filter, matching a field of the message (parsed as JSON) against a value by equality (or superset, when the value is an object or array) — addressed by `key` for a top-level field or `path` for a dotted path into nested objects — or a group nesting sub-filters under a boolean operator (`none_of` matches when none of its sub-filters do).\\n\",\n \"anyOf\": [\n {\n \"type\": \"object\",\n \"properties\": {\n \"key\": {\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"key\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"Dotted path into nested objects, e.g. `a.b.c`. Does not traverse arrays.\",\n \"type\": \"string\"\n },\n \"value\": {}\n },\n \"required\": [\n \"path\",\n \"value\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"any_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"any_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"all_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"all_of\"\n ],\n \"additionalProperties\": false\n },\n {\n \"type\": \"object\",\n \"properties\": {\n \"none_of\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n }\n }\n },\n \"required\": [\n \"none_of\"\n ],\n \"additionalProperties\": false\n }\n ]\n }\n },\n \"filter_logic\": {\n \"default\": \"and\",\n \"description\": \"Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic.\",\n \"type\": \"string\",\n \"enum\": [\n \"and\",\n \"or\"\n ]\n },\n \"run_on_filter_error\": {\n \"default\": false,\n \"description\": \"Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped.\",\n \"type\": \"boolean\"\n },\n \"auto_offset_reset\": {\n \"default\": \"latest\",\n \"description\": \"Initial offset behavior when consumer group has no committed offset.\",\n \"type\": \"string\",\n \"enum\": [\n \"latest\",\n \"earliest\"\n ]\n },\n \"auto_commit\": {\n \"default\": true,\n \"description\": \"When true (default), offsets are committed automatically after receiving each message. When false, you must manually commit offsets using the commit_offsets endpoint.\",\n \"type\": \"boolean\"\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"script_path\",\n \"is_flow\",\n \"kafka_resource_path\",\n \"group_id\",\n \"topics\",\n \"filters\"\n ],\n \"additionalProperties\": false\n}", "nats": "{\n \"type\": \"object\",\n \"properties\": {\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when a message is received\",\n \"type\": \"string\"\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"nats_resource_path\": {\n \"description\": \"Path to the NATS resource containing connection configuration\",\n \"type\": \"string\"\n },\n \"use_jetstream\": {\n \"description\": \"If true, uses NATS JetStream for durable message delivery\",\n \"type\": \"boolean\"\n },\n \"stream_name\": {\n \"anyOf\": [\n {\n \"description\": \"JetStream stream name (required when use_jetstream is true)\",\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"consumer_name\": {\n \"anyOf\": [\n {\n \"description\": \"JetStream consumer name (required when use_jetstream is true)\",\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"subjects\": {\n \"description\": \"Array of NATS subjects to subscribe to\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"script_path\",\n \"is_flow\",\n \"nats_resource_path\",\n \"use_jetstream\",\n \"subjects\"\n ],\n \"additionalProperties\": false\n}", "postgres": "{\n \"type\": \"object\",\n \"properties\": {\n \"replication_slot_name\": {\n \"description\": \"Name of the PostgreSQL logical replication slot to use\",\n \"type\": \"string\"\n },\n \"publication_name\": {\n \"description\": \"Name of the PostgreSQL publication to subscribe to for change data capture\",\n \"type\": \"string\"\n },\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when database changes are detected\",\n \"type\": \"string\"\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"postgres_resource_path\": {\n \"description\": \"Path to the PostgreSQL resource containing connection configuration\",\n \"type\": \"string\"\n },\n \"publication\": {\n \"description\": \"Configuration for creating/managing the publication (tables, operations)\",\n \"type\": \"object\",\n \"properties\": {\n \"table_to_track\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"schema_name\": {\n \"type\": \"string\"\n },\n \"table_to_track\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"table_name\": {\n \"type\": \"string\"\n },\n \"columns_name\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n },\n \"where_clause\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"table_name\"\n ],\n \"additionalProperties\": false\n }\n }\n },\n \"required\": [\n \"schema_name\",\n \"table_to_track\"\n ],\n \"additionalProperties\": false\n }\n },\n \"transaction_to_track\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"transaction_to_track\"\n ],\n \"additionalProperties\": false\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"path\",\n \"script_path\",\n \"is_flow\",\n \"postgres_resource_path\"\n ],\n \"additionalProperties\": false\n}", "mqtt": "{\n \"type\": \"object\",\n \"properties\": {\n \"mqtt_resource_path\": {\n \"description\": \"Path to the MQTT resource containing broker connection configuration\",\n \"type\": \"string\"\n },\n \"subscribe_topics\": {\n \"description\": \"Array of MQTT topics to subscribe to, each with topic name and QoS level\",\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"qos\": {\n \"type\": \"string\",\n \"enum\": [\n \"qos0\",\n \"qos1\",\n \"qos2\"\n ]\n },\n \"topic\": {\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"qos\",\n \"topic\"\n ],\n \"additionalProperties\": false\n }\n },\n \"client_id\": {\n \"anyOf\": [\n {\n \"description\": \"MQTT client ID for this connection\",\n \"type\": \"string\"\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"v3_config\": {\n \"anyOf\": [\n {\n \"description\": \"MQTT v3 specific configuration (clean_session)\",\n \"type\": \"object\",\n \"properties\": {\n \"clean_session\": {\n \"type\": \"boolean\"\n }\n },\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"v5_config\": {\n \"anyOf\": [\n {\n \"description\": \"MQTT v5 specific configuration (clean_start, topic_alias_maximum, session_expiry_interval)\",\n \"type\": \"object\",\n \"properties\": {\n \"clean_start\": {\n \"type\": \"boolean\"\n },\n \"topic_alias_maximum\": {\n \"type\": \"number\"\n },\n \"session_expiry_interval\": {\n \"type\": \"number\"\n }\n },\n \"additionalProperties\": false\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"client_version\": {\n \"anyOf\": [\n {\n \"description\": \"MQTT protocol version ('v3' or 'v5')\",\n \"type\": \"string\",\n \"enum\": [\n \"v3\",\n \"v5\"\n ]\n },\n {\n \"type\": \"null\"\n }\n ]\n },\n \"path\": {\n \"description\": \"The unique Windmill path for this trigger. Must be of the form `u//` or `f//`. This is the trigger object path, not the HTTP route path.\",\n \"type\": \"string\"\n },\n \"script_path\": {\n \"description\": \"Path to the script or flow to execute when a message is received\",\n \"type\": \"string\"\n },\n \"is_flow\": {\n \"description\": \"True if script_path points to a flow, false if it points to a script\",\n \"type\": \"boolean\"\n },\n \"mode\": {\n \"description\": \"job trigger mode\",\n \"type\": \"string\",\n \"enum\": [\n \"enabled\",\n \"disabled\",\n \"suspended\"\n ]\n },\n \"error_handler_path\": {\n \"description\": \"Path to a script to run when the triggered job fails. A bare path, without the script/ or flow/ prefix a schedule error handler takes; it cannot be a flow.\",\n \"type\": \"string\"\n },\n \"error_handler_args\": {\n \"description\": \"Arguments to pass to the error handler\",\n \"type\": \"object\",\n \"propertyNames\": {\n \"type\": \"string\"\n },\n \"additionalProperties\": {}\n },\n \"retry\": {\n \"description\": \"Retry configuration for failed executions\",\n \"type\": \"object\",\n \"properties\": {\n \"constant\": {\n \"description\": \"Retry with constant delay between attempts\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Seconds to wait between retries\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n }\n },\n \"additionalProperties\": false\n },\n \"exponential\": {\n \"description\": \"Retry with exponential backoff: the n-th retry waits multiplier × seconds^n\",\n \"type\": \"object\",\n \"properties\": {\n \"attempts\": {\n \"description\": \"Number of retry attempts\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"multiplier\": {\n \"description\": \"Multiplier for exponential backoff\",\n \"type\": \"integer\",\n \"minimum\": -9007199254740991,\n \"maximum\": 9007199254740991\n },\n \"seconds\": {\n \"description\": \"Base of the exponential (seconds); the n-th retry waits multiplier × seconds^n, where n counts constant retries too\",\n \"type\": \"integer\",\n \"minimum\": 1,\n \"maximum\": 9007199254740991\n },\n \"random_factor\": {\n \"description\": \"Random jitter percentage (0-100) to avoid thundering herd\",\n \"type\": \"integer\",\n \"minimum\": 0,\n \"maximum\": 100\n }\n },\n \"additionalProperties\": false\n },\n \"retry_if\": {\n \"description\": \"Conditional retry based on error or result\",\n \"type\": \"object\",\n \"properties\": {\n \"expr\": {\n \"description\": \"JavaScript expression that returns true to retry. Has access to 'result' and 'error' variables\",\n \"type\": \"string\"\n }\n },\n \"required\": [\n \"expr\"\n ],\n \"additionalProperties\": false\n }\n },\n \"additionalProperties\": false\n },\n \"permissioned_as\": {\n \"description\": \"The user or group this trigger runs as. Used during deployment to preserve the original trigger owner.\",\n \"type\": \"string\"\n },\n \"preserve_permissioned_as\": {\n \"description\": \"When true and the caller is a member of the 'wm_deployers' group, preserves the original permissioned_as value instead of overwriting it.\",\n \"type\": \"boolean\"\n },\n \"labels\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n }\n }\n },\n \"required\": [\n \"mqtt_resource_path\",\n \"subscribe_topics\",\n \"path\",\n \"script_path\",\n \"is_flow\"\n ],\n \"additionalProperties\": false\n}", diff --git a/backend/windmill-trigger-websocket/src/handler.rs b/backend/windmill-trigger-websocket/src/handler.rs index 3d68bab8dd..bdfb9e20a7 100644 --- a/backend/windmill-trigger-websocket/src/handler.rs +++ b/backend/windmill-trigger-websocket/src/handler.rs @@ -74,6 +74,7 @@ impl TriggerCrud for WebsocketTrigger { "url", "filters", "filter_logic", + "run_on_filter_error", "initial_messages", "url_runnable_args", "can_return_message", @@ -176,9 +177,10 @@ impl TriggerCrud for WebsocketTrigger { error_handler_path, error_handler_args, retry, - heartbeat + heartbeat, + run_on_filter_error ) VALUES ( - $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, now(), $15, $16, $17, $18 + $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, now(), $15, $16, $17, $18, $19 ) "#, w_id, @@ -201,7 +203,8 @@ impl TriggerCrud for WebsocketTrigger { trigger.error_handling.error_handler_path, trigger.error_handling.error_handler_args as _, trigger.error_handling.retry as _, - trigger.config.heartbeat.map(SqlxJson) as _ + trigger.config.heartbeat.map(SqlxJson) as _, + trigger.config.run_on_filter_error ) .execute(&mut *tx) .await?; @@ -258,7 +261,8 @@ impl TriggerCrud for WebsocketTrigger { error_handler_path = $15, error_handler_args = $16, retry = $17, - heartbeat = $18 + heartbeat = $18, + run_on_filter_error = $19 WHERE workspace_id = $13 AND path = $14 ", @@ -283,7 +287,8 @@ impl TriggerCrud for WebsocketTrigger { trigger.error_handling.error_handler_path, trigger.error_handling.error_handler_args as _, trigger.error_handling.retry as _, - trigger.config.heartbeat.map(SqlxJson) as _ + trigger.config.heartbeat.map(SqlxJson) as _, + trigger.config.run_on_filter_error ) .execute(&mut *tx) .await?; diff --git a/backend/windmill-trigger-websocket/src/lib.rs b/backend/windmill-trigger-websocket/src/lib.rs index b746fb7c57..04dd48b716 100644 --- a/backend/windmill-trigger-websocket/src/lib.rs +++ b/backend/windmill-trigger-websocket/src/lib.rs @@ -51,6 +51,8 @@ pub struct WebsocketConfig { pub filters: Vec>>, #[serde(default = "default_filter_logic")] pub filter_logic: String, + #[serde(default)] + pub run_on_filter_error: bool, #[serde(skip_serializing_if = "Option::is_none")] pub initial_messages: Option>>>, #[serde(skip_serializing_if = "Option::is_none")] @@ -69,6 +71,8 @@ pub struct WebsocketConfigRequest { filters: Vec, #[serde(default = "default_filter_logic")] filter_logic: String, + #[serde(default)] + run_on_filter_error: bool, initial_messages: Option>, url_runnable_args: Option, can_return_message: bool, diff --git a/backend/windmill-trigger-websocket/src/listener.rs b/backend/windmill-trigger-websocket/src/listener.rs index eb373b12ab..6751549946 100644 --- a/backend/windmill-trigger-websocket/src/listener.rs +++ b/backend/windmill-trigger-websocket/src/listener.rs @@ -527,10 +527,21 @@ impl Listener for WebsocketTrigger { } } - if filters.matches(&text) { - let trigger_info = HashMap::from([ - ("url".to_string(), to_raw_value(&listening_trigger.trigger_config.url)), - ]); + let mut trigger_info = HashMap::from([ + ("url".to_string(), to_raw_value(&listening_trigger.trigger_config.url)), + ]); + let should_handle = match filters.matches(&text) { + Ok(matched) => matched, + Err(error) if listening_trigger.trigger_config.run_on_filter_error => { + trigger_info.insert("filter_error".to_string(), to_raw_value(&error)); + true + } + Err(error) => { + tracing::warn!("WebSocket trigger {} skipped a message: its filters could not be applied, {}", listening_trigger.path, error); + false + } + }; + if should_handle { let _ = self.handle_event(db, listening_trigger, text, trigger_info, return_message_channels.clone()).await; } }, diff --git a/backend/windmill-trigger-websocket/tests/connect_retry.rs b/backend/windmill-trigger-websocket/tests/connect_retry.rs index af5d39c1fa..bb78137f8b 100644 --- a/backend/windmill-trigger-websocket/tests/connect_retry.rs +++ b/backend/windmill-trigger-websocket/tests/connect_retry.rs @@ -80,6 +80,7 @@ fn trigger(url: String, trigger_mode: bool) -> ListeningTrigger url, filters: vec![], filter_logic: "and".to_string(), + run_on_filter_error: false, initial_messages: None, url_runnable_args: None, can_return_message: false, diff --git a/backend/windmill-trigger/src/filter.rs b/backend/windmill-trigger/src/filter.rs index 3c1ab7db76..7c1f8e6576 100644 --- a/backend/windmill-trigger/src/filter.rs +++ b/backend/windmill-trigger/src/filter.rs @@ -1,5 +1,5 @@ use serde::{ - de::{self, MapAccess, Visitor}, + de::{self, IgnoredAny, MapAccess, Visitor}, Deserialize, Deserializer, }; use serde_json::{value::RawValue, Value}; @@ -113,18 +113,35 @@ impl CompiledFilters { Ok(()) } - /// Whether `text`, parsed as a JSON object, satisfies the filters. - pub fn matches(&self, text: &str) -> bool { + /// Whether `text`, parsed as a JSON object, satisfies the filters. Anything else is judged + /// as an object with no keys, which a `none_of` filter accepts. When that rejects it, JSON + /// that is not an object is a mismatch, and text that is not JSON an error the trigger's + /// `run_on_filter_error` setting decides on. + pub fn matches(&self, text: &str) -> std::result::Result { if self.filters.is_empty() { - return true; + return Ok(true); } let mut deserializer = serde_json::Deserializer::from_str(text); - let values = - Deserializer::deserialize_map(&mut deserializer, KeysVisitor { keys: &self.keys }) - .unwrap_or_default(); + let values = match Deserializer::deserialize_map( + &mut deserializer, + KeysVisitor { keys: &self.keys }, + ) { + Ok(values) => values, + Err(_) if eval_all(&self.filters, self.use_or_logic, &HashMap::new()) => { + return Ok(true) + } + // A data error is raised on the first token (`[`, `"`, ...), before the rest is read: + // parse it all so a truncated array is not taken for valid JSON that is not an object. + Err(err) if err.is_data() => { + return serde_json::from_str::(text) + .map(|_| false) + .map_err(|err| format!("payload is not valid JSON: {err}")) + } + Err(err) => return Err(format!("payload is not valid JSON: {err}")), + }; - eval_all(&self.filters, self.use_or_logic, &values) + Ok(eval_all(&self.filters, self.use_or_logic, &values)) } } @@ -325,7 +342,9 @@ mod tests { fn matches(payload: &str, filters: serde_json::Value, use_or_logic: bool) -> bool { let filters: Vec = serde_json::from_value(filters).unwrap(); - CompiledFilters::new(filters, use_or_logic).matches(payload) + CompiledFilters::new(filters, use_or_logic) + .matches(payload) + .unwrap() } #[test] @@ -388,7 +407,22 @@ mod tests { fn test_non_object_payload_never_matches() { let filters = json!([{"key": "a", "value": 1}]); assert!(!matches("[1, 2]", filters.clone(), false)); - assert!(!matches("nope", filters, true)); + assert!(!matches("\"nope\"", filters, true)); + } + + #[test] + fn test_non_json_payload_is_an_error_unless_accepted_without_keys() { + let compile = |filters: serde_json::Value| { + CompiledFilters::new(serde_json::from_value(filters).unwrap(), false) + }; + let keyed = compile(json!([{"key": "a", "value": 1}])); + assert!(keyed.matches("not json").is_err()); + assert!(keyed.matches(r#"{"a": 1, "b""#).is_err()); + assert!(keyed.matches("[1,").is_err()); + assert!(!keyed.matches("[1, 2]").unwrap()); + let negated = compile(json!([{"none_of": [{"key": "a", "value": 1}]}])); + assert!(negated.matches("not json").unwrap()); + assert!(negated.matches("[1, 2]").unwrap()); } #[test] @@ -592,9 +626,9 @@ mod tests { false, "u/admin/trigger", ); - assert!(filters.matches(r#"{"event": "created", "b": 2}"#)); - assert!(!filters.matches(r#"{"event": "created", "b": 3}"#)); - assert!(!filters.matches(r#"{"event": "other", "a": 1}"#)); + assert!(filters.matches(r#"{"event": "created", "b": 2}"#).unwrap()); + assert!(!filters.matches(r#"{"event": "created", "b": 3}"#).unwrap()); + assert!(!filters.matches(r#"{"event": "other", "a": 1}"#).unwrap()); } #[test] diff --git a/cli/src/guidance/skills.gen.ts b/cli/src/guidance/skills.gen.ts index 1198c4d8de..90da50f8ad 100644 --- a/cli/src/guidance/skills.gen.ts +++ b/cli/src/guidance/skills.gen.ts @@ -10270,6 +10270,11 @@ properties: description: Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested \`any_of\`/\`all_of\`/\`none_of\` groups carry their own logic. + run_on_filter_error: + type: boolean + description: Whether a message the filters cannot read (not UTF-8, or not JSON) + still runs the target, as if the trigger had no filters. A preprocessor then + finds the reason in \`event.filter_error\`. When false, such a message is skipped. auto_offset_reset: type: string enum: @@ -11004,6 +11009,11 @@ properties: description: Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested \`any_of\`/\`all_of\`/\`none_of\` groups carry their own logic. + run_on_filter_error: + type: boolean + description: Whether a message the filters cannot read (not UTF-8, or not JSON) + still runs the target, as if the trigger had no filters. A preprocessor then + finds the reason in \`event.filter_error\`. When false, such a message is skipped. initial_messages: type: array items: diff --git a/frontend/src/lib/components/copilot/chat/workspaceToolsZod.gen.ts b/frontend/src/lib/components/copilot/chat/workspaceToolsZod.gen.ts index 1e1e36b937..854fc9d51d 100644 --- a/frontend/src/lib/components/copilot/chat/workspaceToolsZod.gen.ts +++ b/frontend/src/lib/components/copilot/chat/workspaceToolsZod.gen.ts @@ -112,6 +112,7 @@ export const websocketTriggerRequestSchema = z.object({ "none_of": z.array(z.record(z.string(), z.any())) })]).describe("Either a leaf filter, matching a field of the message (parsed as JSON) against a value by equality (or superset, when the value is an object or array) \u2014 addressed by `key` for a top-level field or `path` for a dotted path into nested objects \u2014 or a group nesting sub-filters under a boolean operator (`none_of` matches when none of its sub-filters do).\n")).describe("Filters to match incoming messages (only matching messages trigger the script). Each entry is either a leaf `{key, value}` (top-level field) or `{path, value}` (dotted path into nested objects), or a group `{any_of: [...]}` / `{all_of: [...]}` / `{none_of: [...]}` nesting more entries. Entries at the top level are combined with `filter_logic`."), "filter_logic": z.enum(["and", "or"]).describe("Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic.").default("and").optional(), + "run_on_filter_error": z.boolean().describe("Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped.").default(false).optional(), "initial_messages": z.array(z.union([z.object({ "raw_message": z.string() }), z.object({ @@ -172,6 +173,7 @@ export const kafkaTriggerRequestSchema = z.object({ "none_of": z.array(z.record(z.string(), z.any())) })]).describe("Either a leaf filter, matching a field of the message (parsed as JSON) against a value by equality (or superset, when the value is an object or array) \u2014 addressed by `key` for a top-level field or `path` for a dotted path into nested objects \u2014 or a group nesting sub-filters under a boolean operator (`none_of` matches when none of its sub-filters do).\n")).describe("Filters to match incoming messages (only matching messages trigger the script). Each entry is either a leaf `{key, value}` (top-level field) or `{path, value}` (dotted path into nested objects), or a group `{any_of: [...]}` / `{all_of: [...]}` / `{none_of: [...]}` nesting more entries. Entries at the top level are combined with `filter_logic`."), "filter_logic": z.enum(["and", "or"]).describe("Logic to apply when evaluating the top-level filters. 'and' requires all of them to match, 'or' requires any of them to match. Nested `any_of`/`all_of`/`none_of` groups carry their own logic.").default("and").optional(), + "run_on_filter_error": z.boolean().describe("Whether a message the filters cannot read (not UTF-8, or not JSON) still runs the target, as if the trigger had no filters. A preprocessor then finds the reason in `event.filter_error`. When false, such a message is skipped.").default(false).optional(), "auto_offset_reset": z.enum(["latest", "earliest"]).describe("Initial offset behavior when consumer group has no committed offset.").default("latest").optional(), "auto_commit": z.boolean().describe("When true (default), offsets are committed automatically after receiving each message. When false, you must manually commit offsets using the commit_offsets endpoint.").default(true).optional(), "mode": z.enum(["enabled", "disabled", "suspended"]).describe("job trigger mode").optional(), diff --git a/frontend/src/lib/components/triggers/TriggerFilters.svelte b/frontend/src/lib/components/triggers/TriggerFilters.svelte index c59ffee736..9cbea6b045 100644 --- a/frontend/src/lib/components/triggers/TriggerFilters.svelte +++ b/frontend/src/lib/components/triggers/TriggerFilters.svelte @@ -1,11 +1,13 @@