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)
Go to Latest
function setResource
import { setResource } from "https://deno.land/x/windmill@v1.28.1/mod.ts";

Set a resource value by path

Parameters

path: string

path of the resource to set

value: any

new value of the resource to set

optional
initializeToTypeIfNotExist: string

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

Returns

Promise<void>