vars: refactor - unify get_generators and _get_closure

This commit is contained in:
DavHau
2025-08-13 14:45:54 +07:00
parent aaeb616f82
commit a535450ec0
5 changed files with 27 additions and 34 deletions

View File

@@ -318,8 +318,13 @@ export const useMachineGenerators = (
],
queryFn: async () => {
const call = client.fetch("get_generators", {
base_dir: clanUri,
machine_name: machineName,
machine: {
name: machineName,
flake: {
identifier: clanUri,
},
full_closure: true, // TODO: Make this configurable
},
// TODO: Make this configurable
include_previous_values: true,
});