mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 00:02:03 +00:00
fix: expose getResumeUrls in windmill-client
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user