2 Replies
summary: ""
value:
modules:
- id: b
summary: Approval
value:
type: rawscript
content: >
import * as wmill from "windmill-client@^1.158.2";
export async function main() {
const resumeUrls = await wmill.getResumeUrls();
const enumData = ['66006626895a210001fa107e - PICKING_DELIVERY_SHOPPER', '6601976e053b120001062f9e - PICKING_DELIVERY_SHOPPER'].map((q) => {
return `${q} - ${q}`;
});
return {
resume: resumeUrls["resume"],
enums: {
"Select Task": enumData,
},
};
}
language: bun
input_transforms: {}
tag: ""
suspend:
required_events: 1
timeout: 1800
resume_form:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
properties:
Select Task:
type: string
description: ""
default: ""
required: []
type: object
order:
- Select Task
schema:
$schema: https://json-schema.org/draft/2020-12/schema
properties: {}
required: []
type: object
summary: ""
value:
modules:
- id: b
summary: Approval
value:
type: rawscript
content: >
import * as wmill from "windmill-client@^1.158.2";
export async function main() {
const resumeUrls = await wmill.getResumeUrls();
const enumData = ['66006626895a210001fa107e - PICKING_DELIVERY_SHOPPER', '6601976e053b120001062f9e - PICKING_DELIVERY_SHOPPER'].map((q) => {
return `${q} - ${q}`;
});
return {
resume: resumeUrls["resume"],
enums: {
"Select Task": enumData,
},
};
}
language: bun
input_transforms: {}
tag: ""
suspend:
required_events: 1
timeout: 1800
resume_form:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
properties:
Select Task:
type: string
description: ""
default: ""
required: []
type: object
order:
- Select Task
schema:
$schema: https://json-schema.org/draft/2020-12/schema
properties: {}
required: []
type: object
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View