@awsless/awsless 0.0.485 → 0.0.487

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.
@@ -901,7 +901,10 @@ var SitesSchema = z29.record(
901
901
  ),
902
902
  ssr: FunctionSchema.optional().describe("Specifies the file that will render the site on the server."),
903
903
  // envPrefix: z.string().optional().describe('Specifies a prefix for all '),
904
- origin: z29.enum(["ssr-first", "static-first"]).default("static-first").describe("Specifies the origin fallback ordering."),
904
+ // origin: z
905
+ // .enum(['ssr-first', 'static-first'])
906
+ // .default('static-first')
907
+ // .describe('Specifies the origin fallback ordering.'),
905
908
  // bind: z.object({
906
909
  // auth:
907
910
  // h
@@ -915,13 +918,16 @@ var SitesSchema = z29.record(
915
918
  // }),
916
919
  // ]),
917
920
  geoRestrictions: z29.array(z29.string().length(2).toUpperCase()).default([]).describe("Specifies a blacklist of countries that should be blocked."),
918
- forwardHost: z29.boolean().default(false).describe(
919
- [
920
- "Specify if the original `host` header should be forwarded to the SSR function.",
921
- "The original `host` header will be forwarded as `x-forwarded-host`.",
922
- "Keep in mind that this requires an extra CloudFront Function."
923
- ].join("\n")
924
- ),
921
+ // forwardHost: z
922
+ // .boolean()
923
+ // .default(false)
924
+ // .describe(
925
+ // [
926
+ // 'Specify if the original `host` header should be forwarded to the SSR function.',
927
+ // 'The original `host` header will be forwarded as `x-forwarded-host`.',
928
+ // 'Keep in mind that this requires an extra CloudFront Function.',
929
+ // ].join('\n')
930
+ // ),
925
931
  errors: z29.object({
926
932
  400: ErrorResponseSchema.describe("Customize a `400 Bad Request` response."),
927
933
  403: ErrorResponseSchema.describe("Customize a `403 Forbidden` response."),
Binary file