Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion f/c/trusted_script.script.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {}
}
//bun.lockb
//bun.lock
<empty>
5 changes: 4 additions & 1 deletion f/c/trusted_script.script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ schema:
description: ''
default: null
enum:
- my
- myyy
- enum
originalType: enum
e:
type: string
description: ''
default: inferred type string from default arg
originalType: string
f:
type: object
description: ''
Expand All @@ -29,6 +31,7 @@ schema:
properties:
nested:
type: string
originalType: string
required:
- a
- b
4 changes: 2 additions & 2 deletions f/c/trusted_script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import * as wmill from "windmill-client"

// fill the type, or use the +Resource type to get a type-safe reference to a resource
// type Postgresql = object

//f
export async function main(
a: number,
b: "my" | "enum",
b: "myyy" | "enum",
//c: Postgresql,
//d: wmill.S3Object, // for large files backed by S3 (https://www.windmill.dev/docs/core_concepts/persistent_storage/large_data_files)
e = "inferred type string from default arg",
Expand Down
Loading