Skip to content

Commit cc0009e

Browse files
committed
Update pickup points
1 parent 2db467a commit cc0009e

File tree

9 files changed

+24
-10
lines changed

9 files changed

+24
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "{{name}}",
3+
"description": "{{name}}"
4+
}

order-routing/javascript/pickup-point-delivery-option-generators/default/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
api_version = "unstable"
22

33
[[extensions]]
4-
name = "{{name}}"
4+
name = "t:name"
55
handle = "{{handle}}"
66
type = "function"
77
{% if uid %}uid = "{{ uid }}"{% endif %}

order-routing/rust/pickup-point-delivery-option-generators/default/Cargo.toml.liquid

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
[package]
2-
name = "{{handle}}"
2+
name = "{{handle | replace: " ", "-" | downcase}}"
33
version = "1.0.0"
44
edition = "2021"
5-
rust-version = "1.62"
6-
7-
[lib]
8-
crate-type = ["cdylib"]
95

106
[dependencies]
117
serde = { version = "1.0.13", features = ["derive"] }
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "{{name}}",
3+
"description": "{{name}}"
4+
}

order-routing/rust/pickup-point-delivery-option-generators/default/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
api_version = "unstable"
22

33
[[extensions]]
4-
name = "{{name}}"
4+
name = "t:name"
55
handle = "{{handle}}"
66
type = "function"
77
{% if uid %}uid = "{{ uid }}"{% endif %}

order-routing/rust/pickup-point-delivery-option-generators/default/src/lib.rs

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
use std::process;
2+
pub mod fetch;
3+
pub mod run;
4+
5+
fn main() {
6+
eprintln!("Please invoke a named export.");
7+
process::exit(1);
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "{{name}}",
3+
"description": "{{name}}"
4+
}

order-routing/typescript/pickup-point-delivery-option-generators/default/shopify.extension.toml.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
api_version = "unstable"
22

33
[[extensions]]
4-
name = "{{name}}"
4+
name = "t:name"
55
handle = "{{handle}}"
66
type = "function"
77
{% if uid %}uid = "{{ uid }}"{% endif %}

0 commit comments

Comments
 (0)