We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8065e8 + 64ea908 commit 80cddb8Copy full SHA for 80cddb8
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@sensinum/astro-strapi-loader",
3
- "version": "1.0.9",
+ "version": "1.0.10",
4
"description": "Astro loader for Strapi CMS",
5
"keywords": [
6
"astro",
src/utils/schema.ts
@@ -75,8 +75,8 @@ export class StrapiSchemaGenerator {
75
name: z.string(),
76
alternativeText: z.string().optional().nullable(),
77
caption: z.string().optional().nullable(),
78
- width: z.number().optional(),
79
- height: z.number().optional(),
+ width: z.number().optional().nullable(),
+ height: z.number().optional().nullable(),
80
formats: z.any().nullable(),
81
hash: z.string(),
82
ext: z.string().optional(),
0 commit comments