Skip to main content
Module

x/windmill/mod.ts>setResource

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Latest
function setResource
import { setResource } from "https://deno.land/x/windmill@v1.298.0/mod.ts";

Set a resource value by path

Parameters

value: any

new value of the resource to set

optional
path: string

path of the resource to set, default to state path

optional
initializeToTypeIfNotExist: string

if the resource does not exist, initialize it with this type

Returns

Promise<void>