Skip to content

Commit 1fd1712

Browse files
committed
[CartTransform] Outdated TOML templates
1 parent 1e7bf3a commit 1fd1712

File tree

2 files changed

+24
-8
lines changed

2 files changed

+24
-8
lines changed
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
api_version = "2024-04"
2+
3+
[[extensions]]
14
name = "test-demo"
25
type = "cart_transform"
36
title = "cart transform"
4-
api_version = "2024-04"
57

6-
[build]
7-
command = ""
8-
path = "dist/function.wasm"
8+
[[extensions.targeting]]
9+
target = "purchase.cart-transform.run"
10+
input_query = "src/run.graphql"
11+
export = "run"
12+
13+
[extensions.build]
14+
command = ""
15+
path = "dist/function.wasm"
Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
2+
api_version = "2024-04"
3+
4+
[[extensions]]
15
name = "cart merge expand"
26
type = "cart_transform"
37
title = "cart merge expand"
4-
api_version = "2024-04"
58

6-
[build]
7-
command = "cargo build --target=wasm32-wasip1 --release"
8-
path = "target/wasm32-wasip1/release/bundle_cart_transform.wasm"
9+
[[extensions.targeting]]
10+
target = "purchase.cart-transform.run"
11+
input_query = "src/run.graphql"
12+
export = "run"
13+
14+
[extensions.build]
15+
command = "cargo build --target=wasm32-wasip1 --release"
16+
path = "target/wasm32-wasip1/release/bundle_cart_transform.wasm"
17+
watch = [ "src/**/*.rs" ]

0 commit comments

Comments
 (0)