@supacloud/admin 0.16.1 → 0.17.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -31817,6 +31817,7 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
31817
31817
  managed_upstream: optional(stringEnum(["edge-functions"]), "[upsert_route/update_route] 托管上游(同步 Edge Function)"),
31818
31818
  upstream_tls_insecure_skip_verify: optional(Type.Boolean(), "[upsert_route/update_route] 上游 TLS 跳过校验"),
31819
31819
  static_root: optional(Type.String(), "[upsert_route/update_route] 静态站点根目录"),
31820
+ spa: optional(Type.Boolean(), "[upsert_route/update_route] 是否启用 SPA 单页回退"),
31820
31821
  protocol: optional(stringEnum(["http", "https"]), "[upsert_route/update_route] 可选请求协议匹配"),
31821
31822
  redirect_to: optional(Type.String(), "[upsert_route/update_route] 带固定 host 的绝对 http(s) 目标,可在末尾使用 {http.request.uri}"),
31822
31823
  redirect_status: withDescription(redirectStatus, "[upsert_route/update_route] 重定向状态码,默认 308"),
@@ -31863,6 +31864,7 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
31863
31864
  managed_upstream,
31864
31865
  upstream_tls_insecure_skip_verify,
31865
31866
  static_root,
31867
+ spa,
31866
31868
  protocol,
31867
31869
  redirect_to,
31868
31870
  redirect_status,
@@ -31912,6 +31914,8 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
31912
31914
  body.upstream_tls_insecure_skip_verify = upstream_tls_insecure_skip_verify;
31913
31915
  if (static_root !== undefined)
31914
31916
  body.static_root = static_root;
31917
+ if (spa !== undefined)
31918
+ body.spa = spa;
31915
31919
  if (protocol !== undefined)
31916
31920
  body.protocol = protocol;
31917
31921
  if (redirect_to !== undefined)
@@ -31949,6 +31953,8 @@ Actions: routes, upsert_route, update_route, delete_route, config, get_certifica
31949
31953
  body.upstream_tls_insecure_skip_verify = upstream_tls_insecure_skip_verify;
31950
31954
  if (static_root !== undefined)
31951
31955
  body.static_root = static_root;
31956
+ if (spa !== undefined)
31957
+ body.spa = spa;
31952
31958
  if (protocol !== undefined)
31953
31959
  body.protocol = protocol;
31954
31960
  if (redirect_to !== undefined)
@@ -32542,7 +32548,7 @@ Actions: list_releases, get_release, upload_release, activate_release`, {
32542
32548
  // package.json
32543
32549
  var package_default = {
32544
32550
  name: "@supacloud/admin",
32545
- version: "0.16.1",
32551
+ version: "0.17.0",
32546
32552
  description: "Platform administration CLI for SupaCloud operators",
32547
32553
  type: "module",
32548
32554
  main: "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/admin",
3
- "version": "0.16.1",
3
+ "version": "0.17.0",
4
4
  "description": "Platform administration CLI for SupaCloud operators",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",