fix: expose getResumeUrls in windmill-client

This commit is contained in:
Ruben Fiszel
2023-08-26 11:54:21 +02:00
parent 796f6d561b
commit 3142bc932c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -254,13 +254,13 @@ func main() (interface{}, error) {
export const DENO_INIT_CODE_APPROVAL = `import * as wmill from "npm:windmill-client@1"
export async function main(approver?: string) {
return wmill.getResumeEndpoints(approver)
return wmill.getResumeUrls(approver)
}`
export const BUN_INIT_CODE_APPROVAL = `import * as wmill from "windmill-client@1"
export async function main(approver?: string) {
return wmill.getResumeEndpoints(approver)
return wmill.getResumeUrls(approver)
}`
export const DOCKER_INIT_CODE = `# shellcheck shell=bash
+1 -1
View File
@@ -6,4 +6,4 @@ npx --yes openapi-typescript-codegen --input ../backend/windmill-api/openapi.yam
&& sed -i '213 i \\ request.referrerPolicy = \"no-referrer\"\n' src/core/request.ts
cp client.ts src/
echo 'export { setClient, getVariable, setVariable, getResource, setResource } from "./client";' >> src/index.ts
echo 'export { setClient, getVariable, setVariable, getResource, setResource, getResumeUrls } from "./client";' >> src/index.ts