Sync all resource types on your instance with WindmillHub
https://www.windmill.dev/docs/core_concepts/resources_and_types#sync-resource-types-with-windmillhub
1
import * as wmill from "windmill-cli@1.393.2"
2
3
export async function main() {
4
await wmill.hubPull({ workspace: "admins", token: process.env["WM_TOKEN"], baseUrl: globalThis.process.env["BASE_URL"] });
5
}