Skip to main content
Deno 2 is finally here 🎉️
Learn more
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)
Go to Latest
function setResource
import { setResource } from "https://deno.land/x/windmill@v1.423.1/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>