Skip to content

Commit

Permalink
[WM] Script 'f/c/trusted_script' deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfiszel committed Jan 26, 2025
1 parent 9db5d9b commit 8ec548c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
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

0 comments on commit 8ec548c

Please sign in to comment.