mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
[PR #266] [MERGED] Dynamic template function args and TTL option for request chaining #191
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/266
Author: @gschier
Created: 10/16/2025
Status: ✅ Merged
Merged: 10/16/2025
Merged by: @gschier
Base:
main← Head:response-expiry📝 Commits (2)
8fc3f0aTemplate functions are now dynamic, and added response() expiry1512e3eDone📊 Changes
15 files changed (+365 additions, -95 deletions)
View changed files
📝
packages/plugin-runtime-types/src/bindings/gen_events.ts(+6 -2)📝
packages/plugin-runtime-types/src/plugins/TemplateFunctionPlugin.ts(+15 -6)📝
packages/plugin-runtime/src/PluginInstance.ts(+45 -10)📝
packages/plugin-runtime/src/migrations.ts(+4 -2)📝
plugins/template-function-response/src/index.ts(+43 -4)📝
src-tauri/src/lib.rs(+34 -14)📝
src-tauri/yaak-plugins/bindings/gen_events.ts(+6 -2)📝
src-tauri/yaak-plugins/src/events.rs(+22 -3)📝
src-tauri/yaak-plugins/src/manager.rs(+79 -26)📝
src-web/components/TemplateFunctionDialog.tsx(+20 -7)📝
src-web/components/core/Editor/Editor.tsx(+18 -12)📝
src-web/hooks/useHttpAuthenticationConfig.ts(+3 -3)➕
src-web/hooks/useTemplateFunctionConfig.ts(+60 -0)📝
src-web/hooks/useTemplateFunctions.ts(+8 -3)📝
src-web/lib/tauri.ts(+2 -1)📄 Description
This PR adds a "When Expired" sending behavior to the
response.*template functions.In order to support this, template function plugins needed the ability to only show certain inputs depending on the value of others (like auth can do) so that was added too.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.