astro 5.2.6 → 5.3.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/content/content-layer.js +3 -3
- package/dist/core/app/middlewares.js +5 -4
- package/dist/core/build/plugins/plugin-manifest.js +2 -4
- package/dist/core/config/schema.d.ts +278 -312
- package/dist/core/config/schema.js +22 -22
- package/dist/core/constants.js +1 -1
- package/dist/core/dev/dev.js +1 -1
- package/dist/core/errors/errors-data.d.ts +74 -28
- package/dist/core/errors/errors-data.js +33 -12
- package/dist/core/messages.js +2 -2
- package/dist/core/session.d.ts +3 -1
- package/dist/core/session.js +37 -8
- package/dist/integrations/hooks.js +2 -0
- package/dist/runtime/server/endpoint.js +8 -2
- package/dist/runtime/server/render/any.d.ts +1 -1
- package/dist/runtime/server/render/any.js +79 -30
- package/dist/runtime/server/render/astro/instance.d.ts +4 -3
- package/dist/runtime/server/render/astro/instance.js +14 -6
- package/dist/runtime/server/render/astro/render-template.d.ts +1 -1
- package/dist/runtime/server/render/astro/render-template.js +21 -11
- package/dist/runtime/server/render/astro/render.js +12 -5
- package/dist/runtime/server/render/component.d.ts +1 -1
- package/dist/runtime/server/render/component.js +9 -7
- package/dist/runtime/server/render/util.d.ts +13 -7
- package/dist/runtime/server/render/util.js +23 -12
- package/dist/types/public/config.d.ts +33 -21
- package/dist/vite-plugin-astro-server/plugin.js +1 -1
- package/package.json +3 -3
|
@@ -63,12 +63,14 @@ export declare const ASTRO_CONFIG_DEFAULTS: {
|
|
|
63
63
|
schema: {};
|
|
64
64
|
validateSecrets: false;
|
|
65
65
|
};
|
|
66
|
+
session: undefined;
|
|
66
67
|
experimental: {
|
|
67
68
|
clientPrerender: false;
|
|
68
69
|
contentIntellisense: false;
|
|
69
70
|
responsiveImages: false;
|
|
70
71
|
svg: false;
|
|
71
72
|
serializeConfig: false;
|
|
73
|
+
session: false;
|
|
72
74
|
};
|
|
73
75
|
};
|
|
74
76
|
export declare const AstroConfigSchema: z.ZodObject<{
|
|
@@ -668,75 +670,76 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
668
670
|
optional?: boolean | undefined;
|
|
669
671
|
})> | undefined;
|
|
670
672
|
}>>>;
|
|
673
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
674
|
+
driver: z.ZodString;
|
|
675
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
676
|
+
cookie: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
677
|
+
name: z.ZodOptional<z.ZodString>;
|
|
678
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
679
|
+
path: z.ZodOptional<z.ZodString>;
|
|
680
|
+
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
681
|
+
sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
|
|
682
|
+
secure: z.ZodOptional<z.ZodBoolean>;
|
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
|
684
|
+
domain?: string | undefined;
|
|
685
|
+
path?: string | undefined;
|
|
686
|
+
maxAge?: number | undefined;
|
|
687
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
688
|
+
secure?: boolean | undefined;
|
|
689
|
+
name?: string | undefined;
|
|
690
|
+
}, {
|
|
691
|
+
domain?: string | undefined;
|
|
692
|
+
path?: string | undefined;
|
|
693
|
+
maxAge?: number | undefined;
|
|
694
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
695
|
+
secure?: boolean | undefined;
|
|
696
|
+
name?: string | undefined;
|
|
697
|
+
}>, z.ZodString]>, {
|
|
698
|
+
domain?: string | undefined;
|
|
699
|
+
path?: string | undefined;
|
|
700
|
+
maxAge?: number | undefined;
|
|
701
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
702
|
+
secure?: boolean | undefined;
|
|
703
|
+
name?: string | undefined;
|
|
704
|
+
}, string | {
|
|
705
|
+
domain?: string | undefined;
|
|
706
|
+
path?: string | undefined;
|
|
707
|
+
maxAge?: number | undefined;
|
|
708
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
709
|
+
secure?: boolean | undefined;
|
|
710
|
+
name?: string | undefined;
|
|
711
|
+
}>>;
|
|
712
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
713
|
+
}, "strip", z.ZodTypeAny, {
|
|
714
|
+
driver: string;
|
|
715
|
+
cookie?: {
|
|
716
|
+
domain?: string | undefined;
|
|
717
|
+
path?: string | undefined;
|
|
718
|
+
maxAge?: number | undefined;
|
|
719
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
720
|
+
secure?: boolean | undefined;
|
|
721
|
+
name?: string | undefined;
|
|
722
|
+
} | undefined;
|
|
723
|
+
options?: Record<string, any> | undefined;
|
|
724
|
+
ttl?: number | undefined;
|
|
725
|
+
}, {
|
|
726
|
+
driver: string;
|
|
727
|
+
cookie?: string | {
|
|
728
|
+
domain?: string | undefined;
|
|
729
|
+
path?: string | undefined;
|
|
730
|
+
maxAge?: number | undefined;
|
|
731
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
732
|
+
secure?: boolean | undefined;
|
|
733
|
+
name?: string | undefined;
|
|
734
|
+
} | undefined;
|
|
735
|
+
options?: Record<string, any> | undefined;
|
|
736
|
+
ttl?: number | undefined;
|
|
737
|
+
}>>;
|
|
671
738
|
experimental: z.ZodDefault<z.ZodObject<{
|
|
672
739
|
clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
673
740
|
contentIntellisense: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
674
741
|
responsiveImages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
675
|
-
session: z.ZodOptional<z.
|
|
676
|
-
driver: z.ZodString;
|
|
677
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
678
|
-
cookie: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
679
|
-
name: z.ZodOptional<z.ZodString>;
|
|
680
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
681
|
-
path: z.ZodOptional<z.ZodString>;
|
|
682
|
-
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
683
|
-
sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
|
|
684
|
-
secure: z.ZodOptional<z.ZodBoolean>;
|
|
685
|
-
}, "strip", z.ZodTypeAny, {
|
|
686
|
-
domain?: string | undefined;
|
|
687
|
-
path?: string | undefined;
|
|
688
|
-
maxAge?: number | undefined;
|
|
689
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
690
|
-
secure?: boolean | undefined;
|
|
691
|
-
name?: string | undefined;
|
|
692
|
-
}, {
|
|
693
|
-
domain?: string | undefined;
|
|
694
|
-
path?: string | undefined;
|
|
695
|
-
maxAge?: number | undefined;
|
|
696
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
697
|
-
secure?: boolean | undefined;
|
|
698
|
-
name?: string | undefined;
|
|
699
|
-
}>, z.ZodString]>, {
|
|
700
|
-
domain?: string | undefined;
|
|
701
|
-
path?: string | undefined;
|
|
702
|
-
maxAge?: number | undefined;
|
|
703
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
704
|
-
secure?: boolean | undefined;
|
|
705
|
-
name?: string | undefined;
|
|
706
|
-
}, string | {
|
|
707
|
-
domain?: string | undefined;
|
|
708
|
-
path?: string | undefined;
|
|
709
|
-
maxAge?: number | undefined;
|
|
710
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
711
|
-
secure?: boolean | undefined;
|
|
712
|
-
name?: string | undefined;
|
|
713
|
-
}>>;
|
|
714
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
715
|
-
}, "strip", z.ZodTypeAny, {
|
|
716
|
-
driver: string;
|
|
717
|
-
cookie?: {
|
|
718
|
-
domain?: string | undefined;
|
|
719
|
-
path?: string | undefined;
|
|
720
|
-
maxAge?: number | undefined;
|
|
721
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
722
|
-
secure?: boolean | undefined;
|
|
723
|
-
name?: string | undefined;
|
|
724
|
-
} | undefined;
|
|
725
|
-
options?: Record<string, any> | undefined;
|
|
726
|
-
ttl?: number | undefined;
|
|
727
|
-
}, {
|
|
728
|
-
driver: string;
|
|
729
|
-
cookie?: string | {
|
|
730
|
-
domain?: string | undefined;
|
|
731
|
-
path?: string | undefined;
|
|
732
|
-
maxAge?: number | undefined;
|
|
733
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
734
|
-
secure?: boolean | undefined;
|
|
735
|
-
name?: string | undefined;
|
|
736
|
-
} | undefined;
|
|
737
|
-
options?: Record<string, any> | undefined;
|
|
738
|
-
ttl?: number | undefined;
|
|
739
|
-
}>>;
|
|
742
|
+
session: z.ZodOptional<z.ZodBoolean>;
|
|
740
743
|
svg: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodOptional<z.ZodObject<{
|
|
741
744
|
mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"inline">, z.ZodLiteral<"sprite">]>>;
|
|
742
745
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -757,19 +760,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
757
760
|
svg?: {
|
|
758
761
|
mode?: "inline" | "sprite" | undefined;
|
|
759
762
|
} | undefined;
|
|
760
|
-
session?:
|
|
761
|
-
driver: string;
|
|
762
|
-
cookie?: {
|
|
763
|
-
domain?: string | undefined;
|
|
764
|
-
path?: string | undefined;
|
|
765
|
-
maxAge?: number | undefined;
|
|
766
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
767
|
-
secure?: boolean | undefined;
|
|
768
|
-
name?: string | undefined;
|
|
769
|
-
} | undefined;
|
|
770
|
-
options?: Record<string, any> | undefined;
|
|
771
|
-
ttl?: number | undefined;
|
|
772
|
-
} | undefined;
|
|
763
|
+
session?: boolean | undefined;
|
|
773
764
|
}, {
|
|
774
765
|
clientPrerender?: boolean | undefined;
|
|
775
766
|
contentIntellisense?: boolean | undefined;
|
|
@@ -778,19 +769,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
778
769
|
mode?: "inline" | "sprite" | undefined;
|
|
779
770
|
} | undefined;
|
|
780
771
|
serializeConfig?: boolean | undefined;
|
|
781
|
-
session?:
|
|
782
|
-
driver: string;
|
|
783
|
-
cookie?: string | {
|
|
784
|
-
domain?: string | undefined;
|
|
785
|
-
path?: string | undefined;
|
|
786
|
-
maxAge?: number | undefined;
|
|
787
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
788
|
-
secure?: boolean | undefined;
|
|
789
|
-
name?: string | undefined;
|
|
790
|
-
} | undefined;
|
|
791
|
-
options?: Record<string, any> | undefined;
|
|
792
|
-
ttl?: number | undefined;
|
|
793
|
-
} | undefined;
|
|
772
|
+
session?: boolean | undefined;
|
|
794
773
|
}>>;
|
|
795
774
|
legacy: z.ZodDefault<z.ZodObject<{
|
|
796
775
|
collections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -934,23 +913,24 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
934
913
|
svg?: {
|
|
935
914
|
mode?: "inline" | "sprite" | undefined;
|
|
936
915
|
} | undefined;
|
|
937
|
-
session?:
|
|
938
|
-
driver: string;
|
|
939
|
-
cookie?: {
|
|
940
|
-
domain?: string | undefined;
|
|
941
|
-
path?: string | undefined;
|
|
942
|
-
maxAge?: number | undefined;
|
|
943
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
944
|
-
secure?: boolean | undefined;
|
|
945
|
-
name?: string | undefined;
|
|
946
|
-
} | undefined;
|
|
947
|
-
options?: Record<string, any> | undefined;
|
|
948
|
-
ttl?: number | undefined;
|
|
949
|
-
} | undefined;
|
|
916
|
+
session?: boolean | undefined;
|
|
950
917
|
};
|
|
951
918
|
legacy: {
|
|
952
919
|
collections: boolean;
|
|
953
920
|
};
|
|
921
|
+
session?: {
|
|
922
|
+
driver: string;
|
|
923
|
+
cookie?: {
|
|
924
|
+
domain?: string | undefined;
|
|
925
|
+
path?: string | undefined;
|
|
926
|
+
maxAge?: number | undefined;
|
|
927
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
928
|
+
secure?: boolean | undefined;
|
|
929
|
+
name?: string | undefined;
|
|
930
|
+
} | undefined;
|
|
931
|
+
options?: Record<string, any> | undefined;
|
|
932
|
+
ttl?: number | undefined;
|
|
933
|
+
} | undefined;
|
|
954
934
|
site?: string | undefined;
|
|
955
935
|
adapter?: {
|
|
956
936
|
name: string;
|
|
@@ -983,6 +963,19 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
983
963
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
984
964
|
destination: string;
|
|
985
965
|
}> | undefined;
|
|
966
|
+
session?: {
|
|
967
|
+
driver: string;
|
|
968
|
+
cookie?: string | {
|
|
969
|
+
domain?: string | undefined;
|
|
970
|
+
path?: string | undefined;
|
|
971
|
+
maxAge?: number | undefined;
|
|
972
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
973
|
+
secure?: boolean | undefined;
|
|
974
|
+
name?: string | undefined;
|
|
975
|
+
} | undefined;
|
|
976
|
+
options?: Record<string, any> | undefined;
|
|
977
|
+
ttl?: number | undefined;
|
|
978
|
+
} | undefined;
|
|
986
979
|
build?: {
|
|
987
980
|
client?: string | undefined;
|
|
988
981
|
format?: "file" | "directory" | "preserve" | undefined;
|
|
@@ -1124,19 +1117,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
|
|
|
1124
1117
|
mode?: "inline" | "sprite" | undefined;
|
|
1125
1118
|
} | undefined;
|
|
1126
1119
|
serializeConfig?: boolean | undefined;
|
|
1127
|
-
session?:
|
|
1128
|
-
driver: string;
|
|
1129
|
-
cookie?: string | {
|
|
1130
|
-
domain?: string | undefined;
|
|
1131
|
-
path?: string | undefined;
|
|
1132
|
-
maxAge?: number | undefined;
|
|
1133
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1134
|
-
secure?: boolean | undefined;
|
|
1135
|
-
name?: string | undefined;
|
|
1136
|
-
} | undefined;
|
|
1137
|
-
options?: Record<string, any> | undefined;
|
|
1138
|
-
ttl?: number | undefined;
|
|
1139
|
-
} | undefined;
|
|
1120
|
+
session?: boolean | undefined;
|
|
1140
1121
|
} | undefined;
|
|
1141
1122
|
legacy?: {
|
|
1142
1123
|
collections?: boolean | undefined;
|
|
@@ -1740,75 +1721,76 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1740
1721
|
optional?: boolean | undefined;
|
|
1741
1722
|
})> | undefined;
|
|
1742
1723
|
}>>>;
|
|
1724
|
+
session: z.ZodOptional<z.ZodObject<{
|
|
1725
|
+
driver: z.ZodString;
|
|
1726
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1727
|
+
cookie: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
1728
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1729
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
1730
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1731
|
+
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
1732
|
+
sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
|
|
1733
|
+
secure: z.ZodOptional<z.ZodBoolean>;
|
|
1734
|
+
}, "strip", z.ZodTypeAny, {
|
|
1735
|
+
domain?: string | undefined;
|
|
1736
|
+
path?: string | undefined;
|
|
1737
|
+
maxAge?: number | undefined;
|
|
1738
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1739
|
+
secure?: boolean | undefined;
|
|
1740
|
+
name?: string | undefined;
|
|
1741
|
+
}, {
|
|
1742
|
+
domain?: string | undefined;
|
|
1743
|
+
path?: string | undefined;
|
|
1744
|
+
maxAge?: number | undefined;
|
|
1745
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1746
|
+
secure?: boolean | undefined;
|
|
1747
|
+
name?: string | undefined;
|
|
1748
|
+
}>, z.ZodString]>, {
|
|
1749
|
+
domain?: string | undefined;
|
|
1750
|
+
path?: string | undefined;
|
|
1751
|
+
maxAge?: number | undefined;
|
|
1752
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1753
|
+
secure?: boolean | undefined;
|
|
1754
|
+
name?: string | undefined;
|
|
1755
|
+
}, string | {
|
|
1756
|
+
domain?: string | undefined;
|
|
1757
|
+
path?: string | undefined;
|
|
1758
|
+
maxAge?: number | undefined;
|
|
1759
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1760
|
+
secure?: boolean | undefined;
|
|
1761
|
+
name?: string | undefined;
|
|
1762
|
+
}>>;
|
|
1763
|
+
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1764
|
+
}, "strip", z.ZodTypeAny, {
|
|
1765
|
+
driver: string;
|
|
1766
|
+
cookie?: {
|
|
1767
|
+
domain?: string | undefined;
|
|
1768
|
+
path?: string | undefined;
|
|
1769
|
+
maxAge?: number | undefined;
|
|
1770
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1771
|
+
secure?: boolean | undefined;
|
|
1772
|
+
name?: string | undefined;
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
options?: Record<string, any> | undefined;
|
|
1775
|
+
ttl?: number | undefined;
|
|
1776
|
+
}, {
|
|
1777
|
+
driver: string;
|
|
1778
|
+
cookie?: string | {
|
|
1779
|
+
domain?: string | undefined;
|
|
1780
|
+
path?: string | undefined;
|
|
1781
|
+
maxAge?: number | undefined;
|
|
1782
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1783
|
+
secure?: boolean | undefined;
|
|
1784
|
+
name?: string | undefined;
|
|
1785
|
+
} | undefined;
|
|
1786
|
+
options?: Record<string, any> | undefined;
|
|
1787
|
+
ttl?: number | undefined;
|
|
1788
|
+
}>>;
|
|
1743
1789
|
experimental: z.ZodDefault<z.ZodObject<{
|
|
1744
1790
|
clientPrerender: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1745
1791
|
contentIntellisense: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1746
1792
|
responsiveImages: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1747
|
-
session: z.ZodOptional<z.
|
|
1748
|
-
driver: z.ZodString;
|
|
1749
|
-
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
1750
|
-
cookie: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
1751
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1752
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
1753
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1754
|
-
maxAge: z.ZodOptional<z.ZodNumber>;
|
|
1755
|
-
sameSite: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["strict", "lax", "none"]>, z.ZodBoolean]>>;
|
|
1756
|
-
secure: z.ZodOptional<z.ZodBoolean>;
|
|
1757
|
-
}, "strip", z.ZodTypeAny, {
|
|
1758
|
-
domain?: string | undefined;
|
|
1759
|
-
path?: string | undefined;
|
|
1760
|
-
maxAge?: number | undefined;
|
|
1761
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1762
|
-
secure?: boolean | undefined;
|
|
1763
|
-
name?: string | undefined;
|
|
1764
|
-
}, {
|
|
1765
|
-
domain?: string | undefined;
|
|
1766
|
-
path?: string | undefined;
|
|
1767
|
-
maxAge?: number | undefined;
|
|
1768
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1769
|
-
secure?: boolean | undefined;
|
|
1770
|
-
name?: string | undefined;
|
|
1771
|
-
}>, z.ZodString]>, {
|
|
1772
|
-
domain?: string | undefined;
|
|
1773
|
-
path?: string | undefined;
|
|
1774
|
-
maxAge?: number | undefined;
|
|
1775
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1776
|
-
secure?: boolean | undefined;
|
|
1777
|
-
name?: string | undefined;
|
|
1778
|
-
}, string | {
|
|
1779
|
-
domain?: string | undefined;
|
|
1780
|
-
path?: string | undefined;
|
|
1781
|
-
maxAge?: number | undefined;
|
|
1782
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1783
|
-
secure?: boolean | undefined;
|
|
1784
|
-
name?: string | undefined;
|
|
1785
|
-
}>>;
|
|
1786
|
-
ttl: z.ZodOptional<z.ZodNumber>;
|
|
1787
|
-
}, "strip", z.ZodTypeAny, {
|
|
1788
|
-
driver: string;
|
|
1789
|
-
cookie?: {
|
|
1790
|
-
domain?: string | undefined;
|
|
1791
|
-
path?: string | undefined;
|
|
1792
|
-
maxAge?: number | undefined;
|
|
1793
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1794
|
-
secure?: boolean | undefined;
|
|
1795
|
-
name?: string | undefined;
|
|
1796
|
-
} | undefined;
|
|
1797
|
-
options?: Record<string, any> | undefined;
|
|
1798
|
-
ttl?: number | undefined;
|
|
1799
|
-
}, {
|
|
1800
|
-
driver: string;
|
|
1801
|
-
cookie?: string | {
|
|
1802
|
-
domain?: string | undefined;
|
|
1803
|
-
path?: string | undefined;
|
|
1804
|
-
maxAge?: number | undefined;
|
|
1805
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1806
|
-
secure?: boolean | undefined;
|
|
1807
|
-
name?: string | undefined;
|
|
1808
|
-
} | undefined;
|
|
1809
|
-
options?: Record<string, any> | undefined;
|
|
1810
|
-
ttl?: number | undefined;
|
|
1811
|
-
}>>;
|
|
1793
|
+
session: z.ZodOptional<z.ZodBoolean>;
|
|
1812
1794
|
svg: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodOptional<z.ZodObject<{
|
|
1813
1795
|
mode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"inline">, z.ZodLiteral<"sprite">]>>;
|
|
1814
1796
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1829,19 +1811,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1829
1811
|
svg?: {
|
|
1830
1812
|
mode?: "inline" | "sprite" | undefined;
|
|
1831
1813
|
} | undefined;
|
|
1832
|
-
session?:
|
|
1833
|
-
driver: string;
|
|
1834
|
-
cookie?: {
|
|
1835
|
-
domain?: string | undefined;
|
|
1836
|
-
path?: string | undefined;
|
|
1837
|
-
maxAge?: number | undefined;
|
|
1838
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1839
|
-
secure?: boolean | undefined;
|
|
1840
|
-
name?: string | undefined;
|
|
1841
|
-
} | undefined;
|
|
1842
|
-
options?: Record<string, any> | undefined;
|
|
1843
|
-
ttl?: number | undefined;
|
|
1844
|
-
} | undefined;
|
|
1814
|
+
session?: boolean | undefined;
|
|
1845
1815
|
}, {
|
|
1846
1816
|
clientPrerender?: boolean | undefined;
|
|
1847
1817
|
contentIntellisense?: boolean | undefined;
|
|
@@ -1850,19 +1820,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
1850
1820
|
mode?: "inline" | "sprite" | undefined;
|
|
1851
1821
|
} | undefined;
|
|
1852
1822
|
serializeConfig?: boolean | undefined;
|
|
1853
|
-
session?:
|
|
1854
|
-
driver: string;
|
|
1855
|
-
cookie?: string | {
|
|
1856
|
-
domain?: string | undefined;
|
|
1857
|
-
path?: string | undefined;
|
|
1858
|
-
maxAge?: number | undefined;
|
|
1859
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
1860
|
-
secure?: boolean | undefined;
|
|
1861
|
-
name?: string | undefined;
|
|
1862
|
-
} | undefined;
|
|
1863
|
-
options?: Record<string, any> | undefined;
|
|
1864
|
-
ttl?: number | undefined;
|
|
1865
|
-
} | undefined;
|
|
1823
|
+
session?: boolean | undefined;
|
|
1866
1824
|
}>>;
|
|
1867
1825
|
legacy: z.ZodDefault<z.ZodObject<{
|
|
1868
1826
|
collections: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -2084,23 +2042,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2084
2042
|
svg?: {
|
|
2085
2043
|
mode?: "inline" | "sprite" | undefined;
|
|
2086
2044
|
} | undefined;
|
|
2087
|
-
session?:
|
|
2088
|
-
driver: string;
|
|
2089
|
-
cookie?: {
|
|
2090
|
-
domain?: string | undefined;
|
|
2091
|
-
path?: string | undefined;
|
|
2092
|
-
maxAge?: number | undefined;
|
|
2093
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2094
|
-
secure?: boolean | undefined;
|
|
2095
|
-
name?: string | undefined;
|
|
2096
|
-
} | undefined;
|
|
2097
|
-
options?: Record<string, any> | undefined;
|
|
2098
|
-
ttl?: number | undefined;
|
|
2099
|
-
} | undefined;
|
|
2045
|
+
session?: boolean | undefined;
|
|
2100
2046
|
};
|
|
2101
2047
|
legacy: {
|
|
2102
2048
|
collections: boolean;
|
|
2103
2049
|
};
|
|
2050
|
+
session?: {
|
|
2051
|
+
driver: string;
|
|
2052
|
+
cookie?: {
|
|
2053
|
+
domain?: string | undefined;
|
|
2054
|
+
path?: string | undefined;
|
|
2055
|
+
maxAge?: number | undefined;
|
|
2056
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2057
|
+
secure?: boolean | undefined;
|
|
2058
|
+
name?: string | undefined;
|
|
2059
|
+
} | undefined;
|
|
2060
|
+
options?: Record<string, any> | undefined;
|
|
2061
|
+
ttl?: number | undefined;
|
|
2062
|
+
} | undefined;
|
|
2104
2063
|
site?: string | undefined;
|
|
2105
2064
|
adapter?: {
|
|
2106
2065
|
name: string;
|
|
@@ -2133,6 +2092,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2133
2092
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
2134
2093
|
destination: string;
|
|
2135
2094
|
}> | undefined;
|
|
2095
|
+
session?: {
|
|
2096
|
+
driver: string;
|
|
2097
|
+
cookie?: string | {
|
|
2098
|
+
domain?: string | undefined;
|
|
2099
|
+
path?: string | undefined;
|
|
2100
|
+
maxAge?: number | undefined;
|
|
2101
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2102
|
+
secure?: boolean | undefined;
|
|
2103
|
+
name?: string | undefined;
|
|
2104
|
+
} | undefined;
|
|
2105
|
+
options?: Record<string, any> | undefined;
|
|
2106
|
+
ttl?: number | undefined;
|
|
2107
|
+
} | undefined;
|
|
2136
2108
|
build?: {
|
|
2137
2109
|
client?: string | undefined;
|
|
2138
2110
|
format?: "file" | "directory" | "preserve" | undefined;
|
|
@@ -2274,19 +2246,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2274
2246
|
mode?: "inline" | "sprite" | undefined;
|
|
2275
2247
|
} | undefined;
|
|
2276
2248
|
serializeConfig?: boolean | undefined;
|
|
2277
|
-
session?:
|
|
2278
|
-
driver: string;
|
|
2279
|
-
cookie?: string | {
|
|
2280
|
-
domain?: string | undefined;
|
|
2281
|
-
path?: string | undefined;
|
|
2282
|
-
maxAge?: number | undefined;
|
|
2283
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2284
|
-
secure?: boolean | undefined;
|
|
2285
|
-
name?: string | undefined;
|
|
2286
|
-
} | undefined;
|
|
2287
|
-
options?: Record<string, any> | undefined;
|
|
2288
|
-
ttl?: number | undefined;
|
|
2289
|
-
} | undefined;
|
|
2249
|
+
session?: boolean | undefined;
|
|
2290
2250
|
} | undefined;
|
|
2291
2251
|
legacy?: {
|
|
2292
2252
|
collections?: boolean | undefined;
|
|
@@ -2427,23 +2387,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2427
2387
|
svg?: {
|
|
2428
2388
|
mode?: "inline" | "sprite" | undefined;
|
|
2429
2389
|
} | undefined;
|
|
2430
|
-
session?:
|
|
2431
|
-
driver: string;
|
|
2432
|
-
cookie?: {
|
|
2433
|
-
domain?: string | undefined;
|
|
2434
|
-
path?: string | undefined;
|
|
2435
|
-
maxAge?: number | undefined;
|
|
2436
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2437
|
-
secure?: boolean | undefined;
|
|
2438
|
-
name?: string | undefined;
|
|
2439
|
-
} | undefined;
|
|
2440
|
-
options?: Record<string, any> | undefined;
|
|
2441
|
-
ttl?: number | undefined;
|
|
2442
|
-
} | undefined;
|
|
2390
|
+
session?: boolean | undefined;
|
|
2443
2391
|
};
|
|
2444
2392
|
legacy: {
|
|
2445
2393
|
collections: boolean;
|
|
2446
2394
|
};
|
|
2395
|
+
session?: {
|
|
2396
|
+
driver: string;
|
|
2397
|
+
cookie?: {
|
|
2398
|
+
domain?: string | undefined;
|
|
2399
|
+
path?: string | undefined;
|
|
2400
|
+
maxAge?: number | undefined;
|
|
2401
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2402
|
+
secure?: boolean | undefined;
|
|
2403
|
+
name?: string | undefined;
|
|
2404
|
+
} | undefined;
|
|
2405
|
+
options?: Record<string, any> | undefined;
|
|
2406
|
+
ttl?: number | undefined;
|
|
2407
|
+
} | undefined;
|
|
2447
2408
|
site?: string | undefined;
|
|
2448
2409
|
adapter?: {
|
|
2449
2410
|
name: string;
|
|
@@ -2476,6 +2437,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2476
2437
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
2477
2438
|
destination: string;
|
|
2478
2439
|
}> | undefined;
|
|
2440
|
+
session?: {
|
|
2441
|
+
driver: string;
|
|
2442
|
+
cookie?: string | {
|
|
2443
|
+
domain?: string | undefined;
|
|
2444
|
+
path?: string | undefined;
|
|
2445
|
+
maxAge?: number | undefined;
|
|
2446
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2447
|
+
secure?: boolean | undefined;
|
|
2448
|
+
name?: string | undefined;
|
|
2449
|
+
} | undefined;
|
|
2450
|
+
options?: Record<string, any> | undefined;
|
|
2451
|
+
ttl?: number | undefined;
|
|
2452
|
+
} | undefined;
|
|
2479
2453
|
build?: {
|
|
2480
2454
|
client?: string | undefined;
|
|
2481
2455
|
format?: "file" | "directory" | "preserve" | undefined;
|
|
@@ -2617,19 +2591,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2617
2591
|
mode?: "inline" | "sprite" | undefined;
|
|
2618
2592
|
} | undefined;
|
|
2619
2593
|
serializeConfig?: boolean | undefined;
|
|
2620
|
-
session?:
|
|
2621
|
-
driver: string;
|
|
2622
|
-
cookie?: string | {
|
|
2623
|
-
domain?: string | undefined;
|
|
2624
|
-
path?: string | undefined;
|
|
2625
|
-
maxAge?: number | undefined;
|
|
2626
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2627
|
-
secure?: boolean | undefined;
|
|
2628
|
-
name?: string | undefined;
|
|
2629
|
-
} | undefined;
|
|
2630
|
-
options?: Record<string, any> | undefined;
|
|
2631
|
-
ttl?: number | undefined;
|
|
2632
|
-
} | undefined;
|
|
2594
|
+
session?: boolean | undefined;
|
|
2633
2595
|
} | undefined;
|
|
2634
2596
|
legacy?: {
|
|
2635
2597
|
collections?: boolean | undefined;
|
|
@@ -2770,23 +2732,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2770
2732
|
svg?: {
|
|
2771
2733
|
mode?: "inline" | "sprite" | undefined;
|
|
2772
2734
|
} | undefined;
|
|
2773
|
-
session?:
|
|
2774
|
-
driver: string;
|
|
2775
|
-
cookie?: {
|
|
2776
|
-
domain?: string | undefined;
|
|
2777
|
-
path?: string | undefined;
|
|
2778
|
-
maxAge?: number | undefined;
|
|
2779
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2780
|
-
secure?: boolean | undefined;
|
|
2781
|
-
name?: string | undefined;
|
|
2782
|
-
} | undefined;
|
|
2783
|
-
options?: Record<string, any> | undefined;
|
|
2784
|
-
ttl?: number | undefined;
|
|
2785
|
-
} | undefined;
|
|
2735
|
+
session?: boolean | undefined;
|
|
2786
2736
|
};
|
|
2787
2737
|
legacy: {
|
|
2788
2738
|
collections: boolean;
|
|
2789
2739
|
};
|
|
2740
|
+
session?: {
|
|
2741
|
+
driver: string;
|
|
2742
|
+
cookie?: {
|
|
2743
|
+
domain?: string | undefined;
|
|
2744
|
+
path?: string | undefined;
|
|
2745
|
+
maxAge?: number | undefined;
|
|
2746
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2747
|
+
secure?: boolean | undefined;
|
|
2748
|
+
name?: string | undefined;
|
|
2749
|
+
} | undefined;
|
|
2750
|
+
options?: Record<string, any> | undefined;
|
|
2751
|
+
ttl?: number | undefined;
|
|
2752
|
+
} | undefined;
|
|
2790
2753
|
site?: string | undefined;
|
|
2791
2754
|
adapter?: {
|
|
2792
2755
|
name: string;
|
|
@@ -2819,6 +2782,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2819
2782
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
2820
2783
|
destination: string;
|
|
2821
2784
|
}> | undefined;
|
|
2785
|
+
session?: {
|
|
2786
|
+
driver: string;
|
|
2787
|
+
cookie?: string | {
|
|
2788
|
+
domain?: string | undefined;
|
|
2789
|
+
path?: string | undefined;
|
|
2790
|
+
maxAge?: number | undefined;
|
|
2791
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2792
|
+
secure?: boolean | undefined;
|
|
2793
|
+
name?: string | undefined;
|
|
2794
|
+
} | undefined;
|
|
2795
|
+
options?: Record<string, any> | undefined;
|
|
2796
|
+
ttl?: number | undefined;
|
|
2797
|
+
} | undefined;
|
|
2822
2798
|
build?: {
|
|
2823
2799
|
client?: string | undefined;
|
|
2824
2800
|
format?: "file" | "directory" | "preserve" | undefined;
|
|
@@ -2960,19 +2936,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
2960
2936
|
mode?: "inline" | "sprite" | undefined;
|
|
2961
2937
|
} | undefined;
|
|
2962
2938
|
serializeConfig?: boolean | undefined;
|
|
2963
|
-
session?:
|
|
2964
|
-
driver: string;
|
|
2965
|
-
cookie?: string | {
|
|
2966
|
-
domain?: string | undefined;
|
|
2967
|
-
path?: string | undefined;
|
|
2968
|
-
maxAge?: number | undefined;
|
|
2969
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
2970
|
-
secure?: boolean | undefined;
|
|
2971
|
-
name?: string | undefined;
|
|
2972
|
-
} | undefined;
|
|
2973
|
-
options?: Record<string, any> | undefined;
|
|
2974
|
-
ttl?: number | undefined;
|
|
2975
|
-
} | undefined;
|
|
2939
|
+
session?: boolean | undefined;
|
|
2976
2940
|
} | undefined;
|
|
2977
2941
|
legacy?: {
|
|
2978
2942
|
collections?: boolean | undefined;
|
|
@@ -3113,23 +3077,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
3113
3077
|
svg?: {
|
|
3114
3078
|
mode?: "inline" | "sprite" | undefined;
|
|
3115
3079
|
} | undefined;
|
|
3116
|
-
session?:
|
|
3117
|
-
driver: string;
|
|
3118
|
-
cookie?: {
|
|
3119
|
-
domain?: string | undefined;
|
|
3120
|
-
path?: string | undefined;
|
|
3121
|
-
maxAge?: number | undefined;
|
|
3122
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
3123
|
-
secure?: boolean | undefined;
|
|
3124
|
-
name?: string | undefined;
|
|
3125
|
-
} | undefined;
|
|
3126
|
-
options?: Record<string, any> | undefined;
|
|
3127
|
-
ttl?: number | undefined;
|
|
3128
|
-
} | undefined;
|
|
3080
|
+
session?: boolean | undefined;
|
|
3129
3081
|
};
|
|
3130
3082
|
legacy: {
|
|
3131
3083
|
collections: boolean;
|
|
3132
3084
|
};
|
|
3085
|
+
session?: {
|
|
3086
|
+
driver: string;
|
|
3087
|
+
cookie?: {
|
|
3088
|
+
domain?: string | undefined;
|
|
3089
|
+
path?: string | undefined;
|
|
3090
|
+
maxAge?: number | undefined;
|
|
3091
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
3092
|
+
secure?: boolean | undefined;
|
|
3093
|
+
name?: string | undefined;
|
|
3094
|
+
} | undefined;
|
|
3095
|
+
options?: Record<string, any> | undefined;
|
|
3096
|
+
ttl?: number | undefined;
|
|
3097
|
+
} | undefined;
|
|
3133
3098
|
site?: string | undefined;
|
|
3134
3099
|
adapter?: {
|
|
3135
3100
|
name: string;
|
|
@@ -3162,6 +3127,19 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
3162
3127
|
status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
|
|
3163
3128
|
destination: string;
|
|
3164
3129
|
}> | undefined;
|
|
3130
|
+
session?: {
|
|
3131
|
+
driver: string;
|
|
3132
|
+
cookie?: string | {
|
|
3133
|
+
domain?: string | undefined;
|
|
3134
|
+
path?: string | undefined;
|
|
3135
|
+
maxAge?: number | undefined;
|
|
3136
|
+
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
3137
|
+
secure?: boolean | undefined;
|
|
3138
|
+
name?: string | undefined;
|
|
3139
|
+
} | undefined;
|
|
3140
|
+
options?: Record<string, any> | undefined;
|
|
3141
|
+
ttl?: number | undefined;
|
|
3142
|
+
} | undefined;
|
|
3165
3143
|
build?: {
|
|
3166
3144
|
client?: string | undefined;
|
|
3167
3145
|
format?: "file" | "directory" | "preserve" | undefined;
|
|
@@ -3303,19 +3281,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
|
|
|
3303
3281
|
mode?: "inline" | "sprite" | undefined;
|
|
3304
3282
|
} | undefined;
|
|
3305
3283
|
serializeConfig?: boolean | undefined;
|
|
3306
|
-
session?:
|
|
3307
|
-
driver: string;
|
|
3308
|
-
cookie?: string | {
|
|
3309
|
-
domain?: string | undefined;
|
|
3310
|
-
path?: string | undefined;
|
|
3311
|
-
maxAge?: number | undefined;
|
|
3312
|
-
sameSite?: boolean | "lax" | "strict" | "none" | undefined;
|
|
3313
|
-
secure?: boolean | undefined;
|
|
3314
|
-
name?: string | undefined;
|
|
3315
|
-
} | undefined;
|
|
3316
|
-
options?: Record<string, any> | undefined;
|
|
3317
|
-
ttl?: number | undefined;
|
|
3318
|
-
} | undefined;
|
|
3284
|
+
session?: boolean | undefined;
|
|
3319
3285
|
} | undefined;
|
|
3320
3286
|
legacy?: {
|
|
3321
3287
|
collections?: boolean | undefined;
|