kizlo 0.15.1 → 0.15.2
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/integrations/nextjs/utils.js +4 -1
- package/dist/package.js +1 -1
- package/dist/router.d.ts +4 -4
- package/dist/seo/schema.d.ts +5 -5
- package/package.json +1 -1
|
@@ -18,7 +18,10 @@ function createNextCookiesInterface() {
|
|
|
18
18
|
const cookies = (await import("next/headers")).cookies;
|
|
19
19
|
const cookieJar = await cookies();
|
|
20
20
|
try {
|
|
21
|
-
for (const cookie of cookieList) cookieJar.delete(
|
|
21
|
+
for (const cookie of cookieList) cookieJar.delete({
|
|
22
|
+
name: cookie.name,
|
|
23
|
+
...cookie.options
|
|
24
|
+
});
|
|
22
25
|
} catch {}
|
|
23
26
|
}
|
|
24
27
|
};
|
package/dist/package.js
CHANGED
package/dist/router.d.ts
CHANGED
|
@@ -772,7 +772,7 @@ declare const ROUTER_MAP: {
|
|
|
772
772
|
exclude?: string | number | (string | number)[] | undefined;
|
|
773
773
|
include?: string | number | (string | number)[] | undefined;
|
|
774
774
|
order?: "asc" | "desc" | undefined;
|
|
775
|
-
orderBy?: "id" | "slug" | "name" | "description" | "include" | "include_slugs" | "term_group" |
|
|
775
|
+
orderBy?: "id" | "count" | "slug" | "name" | "description" | "include" | "include_slugs" | "term_group" | undefined;
|
|
776
776
|
hideEmpty?: string | boolean | undefined;
|
|
777
777
|
parent?: string | number | undefined;
|
|
778
778
|
post?: string | number | undefined;
|
|
@@ -988,7 +988,7 @@ declare const ROUTER_MAP: {
|
|
|
988
988
|
exclude?: string | number | (string | number)[] | undefined;
|
|
989
989
|
include?: string | number | (string | number)[] | undefined;
|
|
990
990
|
order?: "asc" | "desc" | undefined;
|
|
991
|
-
orderBy?: "id" | "slug" | "name" | "description" | "include" | "include_slugs" | "term_group" |
|
|
991
|
+
orderBy?: "id" | "count" | "slug" | "name" | "description" | "include" | "include_slugs" | "term_group" | undefined;
|
|
992
992
|
hideEmpty?: string | boolean | undefined;
|
|
993
993
|
post?: string | number | undefined;
|
|
994
994
|
slug?: string | string[] | undefined;
|
|
@@ -1151,7 +1151,7 @@ declare const ROUTER_MAP: {
|
|
|
1151
1151
|
sitemaps: {
|
|
1152
1152
|
list: Procedure<"internal", {}, {
|
|
1153
1153
|
key: string;
|
|
1154
|
-
type: "
|
|
1154
|
+
type: "post_type" | "taxonomy" | "author";
|
|
1155
1155
|
pages: number;
|
|
1156
1156
|
lastmod: string;
|
|
1157
1157
|
}[], DefinedErrorMapLike>;
|
|
@@ -1159,7 +1159,7 @@ declare const ROUTER_MAP: {
|
|
|
1159
1159
|
origin: string;
|
|
1160
1160
|
sitemaps: {
|
|
1161
1161
|
key: string;
|
|
1162
|
-
type: "
|
|
1162
|
+
type: "post_type" | "taxonomy" | "author";
|
|
1163
1163
|
pages: number;
|
|
1164
1164
|
lastmod: string;
|
|
1165
1165
|
}[];
|
package/dist/seo/schema.d.ts
CHANGED
|
@@ -108,17 +108,17 @@ declare const Seo: z.ZodObject<{
|
|
|
108
108
|
type Seo = z.infer<typeof Seo>;
|
|
109
109
|
declare const CONTENT_TYPES: readonly ["post_type", "taxonomy", "author"];
|
|
110
110
|
declare const ContentType: z.ZodEnum<{
|
|
111
|
-
author: "author";
|
|
112
111
|
post_type: "post_type";
|
|
113
112
|
taxonomy: "taxonomy";
|
|
113
|
+
author: "author";
|
|
114
114
|
}>;
|
|
115
115
|
type ContentType = z.infer<typeof ContentType>;
|
|
116
116
|
declare const Sitemap: z.ZodObject<{
|
|
117
117
|
key: z.ZodString;
|
|
118
118
|
type: z.ZodEnum<{
|
|
119
|
-
author: "author";
|
|
120
119
|
post_type: "post_type";
|
|
121
120
|
taxonomy: "taxonomy";
|
|
121
|
+
author: "author";
|
|
122
122
|
}>;
|
|
123
123
|
pages: z.ZodNumber;
|
|
124
124
|
lastmod: z.ZodString;
|
|
@@ -127,9 +127,9 @@ type Sitemap = z.infer<typeof Sitemap>;
|
|
|
127
127
|
declare const SitemapList: z.ZodArray<z.ZodObject<{
|
|
128
128
|
key: z.ZodString;
|
|
129
129
|
type: z.ZodEnum<{
|
|
130
|
-
author: "author";
|
|
131
130
|
post_type: "post_type";
|
|
132
131
|
taxonomy: "taxonomy";
|
|
132
|
+
author: "author";
|
|
133
133
|
}>;
|
|
134
134
|
pages: z.ZodNumber;
|
|
135
135
|
lastmod: z.ZodString;
|
|
@@ -140,9 +140,9 @@ declare const SitemapIndex: z.ZodObject<{
|
|
|
140
140
|
sitemaps: z.ZodArray<z.ZodObject<{
|
|
141
141
|
key: z.ZodString;
|
|
142
142
|
type: z.ZodEnum<{
|
|
143
|
-
author: "author";
|
|
144
143
|
post_type: "post_type";
|
|
145
144
|
taxonomy: "taxonomy";
|
|
145
|
+
author: "author";
|
|
146
146
|
}>;
|
|
147
147
|
pages: z.ZodNumber;
|
|
148
148
|
lastmod: z.ZodString;
|
|
@@ -174,9 +174,9 @@ declare const SitemapUrlList: z.ZodArray<z.ZodObject<{
|
|
|
174
174
|
type SitemapUrlList = z.infer<typeof SitemapUrlList>;
|
|
175
175
|
declare const ListSitemapUrlInputBase: z.ZodObject<{
|
|
176
176
|
type: z.ZodEnum<{
|
|
177
|
-
author: "author";
|
|
178
177
|
post_type: "post_type";
|
|
179
178
|
taxonomy: "taxonomy";
|
|
179
|
+
author: "author";
|
|
180
180
|
}>;
|
|
181
181
|
page: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodCoercedNumber<string | number>>>;
|
|
182
182
|
}, z.core.$strip>;
|