@supacloud/cli 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8585,6 +8585,7 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
|
|
|
8585
8585
|
hosts: withDescription(stringArray, "[upsert_route/update_route] 主机名列表,逗号分隔或 JSON 数组(1-20)"),
|
|
8586
8586
|
paths: withDescription(stringArray, "[upsert_route/update_route] 路径列表,逗号分隔或 JSON 数组(1-32)"),
|
|
8587
8587
|
upstream: optional(Type.String(), "[upsert_route/update_route] 反代上游 host:port 或 http(s)://host[:port]"),
|
|
8588
|
+
managed_upstream: optional(stringEnum(["edge-functions"]), "[upsert_route/update_route] 托管上游(同步 Edge Function)"),
|
|
8588
8589
|
upstream_tls_insecure_skip_verify: optional(Type.Boolean(), "[upsert_route/update_route] 上游 TLS 跳过校验"),
|
|
8589
8590
|
static_root: optional(Type.String(), "[upsert_route/update_route] 静态站点根目录"),
|
|
8590
8591
|
protocol: optional(stringEnum(["http", "https"]), "[upsert_route/update_route] 可选请求协议匹配"),
|
|
@@ -8630,6 +8631,7 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
|
|
|
8630
8631
|
hosts,
|
|
8631
8632
|
paths,
|
|
8632
8633
|
upstream,
|
|
8634
|
+
managed_upstream,
|
|
8633
8635
|
upstream_tls_insecure_skip_verify,
|
|
8634
8636
|
static_root,
|
|
8635
8637
|
protocol,
|
|
@@ -8675,6 +8677,8 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
|
|
|
8675
8677
|
};
|
|
8676
8678
|
if (upstream !== undefined)
|
|
8677
8679
|
body.upstream = upstream;
|
|
8680
|
+
if (managed_upstream !== undefined)
|
|
8681
|
+
body.managed_upstream = managed_upstream;
|
|
8678
8682
|
if (upstream_tls_insecure_skip_verify !== undefined)
|
|
8679
8683
|
body.upstream_tls_insecure_skip_verify = upstream_tls_insecure_skip_verify;
|
|
8680
8684
|
if (static_root !== undefined)
|
|
@@ -8710,6 +8714,8 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
|
|
|
8710
8714
|
};
|
|
8711
8715
|
if (upstream !== undefined)
|
|
8712
8716
|
body.upstream = upstream;
|
|
8717
|
+
if (managed_upstream !== undefined)
|
|
8718
|
+
body.managed_upstream = managed_upstream;
|
|
8713
8719
|
if (upstream_tls_insecure_skip_verify !== undefined)
|
|
8714
8720
|
body.upstream_tls_insecure_skip_verify = upstream_tls_insecure_skip_verify;
|
|
8715
8721
|
if (static_root !== undefined)
|