@jdevalk/astro-seo-graph 1.4.1 → 2.0.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.
|
@@ -33,13 +33,7 @@ type AstroImageFunction = any;
|
|
|
33
33
|
export declare function imageSchema(image: AstroImageFunction): z.ZodObject<{
|
|
34
34
|
src: any;
|
|
35
35
|
alt: z.ZodString;
|
|
36
|
-
},
|
|
37
|
-
alt: string;
|
|
38
|
-
src?: any;
|
|
39
|
-
}, {
|
|
40
|
-
alt: string;
|
|
41
|
-
src?: any;
|
|
42
|
-
}>;
|
|
36
|
+
}, z.core.$strip>;
|
|
43
37
|
/**
|
|
44
38
|
* Zod schema for a nested `seo` field holding per-entry SEO overrides:
|
|
45
39
|
* title, description, share image, and page type. Enforces reasonable
|
|
@@ -63,30 +57,11 @@ export declare function seoSchema(image: AstroImageFunction): z.ZodObject<{
|
|
|
63
57
|
image: z.ZodOptional<z.ZodObject<{
|
|
64
58
|
src: any;
|
|
65
59
|
alt: z.ZodString;
|
|
66
|
-
},
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
alt: string;
|
|
71
|
-
src?: any;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
pageType: z.ZodDefault<z.ZodEnum<{
|
|
62
|
+
website: "website";
|
|
63
|
+
article: "article";
|
|
72
64
|
}>>;
|
|
73
|
-
|
|
74
|
-
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
pageType: "website" | "article";
|
|
76
|
-
title?: string | undefined;
|
|
77
|
-
description?: string | undefined;
|
|
78
|
-
image?: {
|
|
79
|
-
alt: string;
|
|
80
|
-
src?: any;
|
|
81
|
-
} | undefined;
|
|
82
|
-
}, {
|
|
83
|
-
title?: string | undefined;
|
|
84
|
-
description?: string | undefined;
|
|
85
|
-
image?: {
|
|
86
|
-
alt: string;
|
|
87
|
-
src?: any;
|
|
88
|
-
} | undefined;
|
|
89
|
-
pageType?: "website" | "article" | undefined;
|
|
90
|
-
}>;
|
|
65
|
+
}, z.core.$strip>;
|
|
91
66
|
export {};
|
|
92
67
|
//# sourceMappingURL=content-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-helpers.d.ts","sourceRoot":"","sources":["../src/content-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AAEH,KAAK,kBAAkB,GAAG,GAAG,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,kBAAkB
|
|
1
|
+
{"version":3,"file":"content-helpers.d.ts","sourceRoot":"","sources":["../src/content-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AAEH,KAAK,kBAAkB,GAAG,GAAG,CAAC;AAE9B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,kBAAkB;;;kBAKpD;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,kBAAkB;;;;;;;;;;;kBAOlD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jdevalk/astro-seo-graph",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Astro integration for @jdevalk/seo-graph-core. Seo component, route factories, content-collection aggregator, Zod content helpers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astro",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"astro": "^
|
|
49
|
+
"astro": "^6.0.0"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"schema-dts": "^2.0.0",
|
|
53
|
-
"zod": "^
|
|
53
|
+
"zod": "^4.4.3",
|
|
54
54
|
"@jdevalk/seo-graph-core": "0.6.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|