{ "type": "RANDOM", "actions": [ { "weight": 1, "action": { "type": "RANDOM", "actions": [ { "weight": 1, "action": { "type": "PREVIEW_SCRIPT", "workspace": "demo", "language": "deno", "args": {}, "content": "export async function main() { return \"Hello World\"; }" } }, { "weight": 1, "action": { "type": "PREVIEW_SCRIPT", "workspace": "demo", "language": "python3", "args": {}, "content": "def main(): return \"Hello World\";" } }, { "weight": 1, "action": { "type": "PREVIEW_SCRIPT", "workspace": "demo", "language": "go", "args": {}, "content": "func main() { return \"Hello World\" }" } } ] } }, { "weight": 0.5, "action": { "type": "PREVIEW_SCRIPT", "workspace": "demo", "language": "deno", "args": {}, "content": "import { delay } from \"https://deno.land/std@0.131.0/async/delay.ts\"; export async function main() { await delay(1000); return \"Hello World\"; }" } } ] }