@pixerate/schemas 1.24.0 → 1.25.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/index.cjs +8 -0
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2366,8 +2366,16 @@ var MetaConfigSchema = import_zod.z.object({
|
|
|
2366
2366
|
canonicalUrl: import_zod.z.string().optional(),
|
|
2367
2367
|
mainImage: import_zod.z.string().optional(),
|
|
2368
2368
|
mainImageAlt: import_zod.z.string().optional(),
|
|
2369
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
2370
|
+
mainImageWidth: import_zod.z.number().int().positive().optional(),
|
|
2371
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
2372
|
+
mainImageHeight: import_zod.z.number().int().positive().optional(),
|
|
2369
2373
|
squareImage: import_zod.z.string().optional(),
|
|
2370
2374
|
squareImageAlt: import_zod.z.string().optional(),
|
|
2375
|
+
/** Pixel width of `squareImage`. */
|
|
2376
|
+
squareImageWidth: import_zod.z.number().int().positive().optional(),
|
|
2377
|
+
/** Pixel height of `squareImage`. */
|
|
2378
|
+
squareImageHeight: import_zod.z.number().int().positive().optional(),
|
|
2371
2379
|
ogType: import_zod.z.enum(["website", "article", "profile", "product"]).optional(),
|
|
2372
2380
|
ogLanguage: import_zod.z.string().optional(),
|
|
2373
2381
|
twitterCard: import_zod.z.enum(["summary", "summary_large_image", "app", "player"]).optional(),
|
package/dist/index.d.cts
CHANGED
|
@@ -16032,8 +16032,16 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
16032
16032
|
canonicalUrl: z.ZodOptional<z.ZodString>;
|
|
16033
16033
|
mainImage: z.ZodOptional<z.ZodString>;
|
|
16034
16034
|
mainImageAlt: z.ZodOptional<z.ZodString>;
|
|
16035
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
16036
|
+
mainImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16037
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
16038
|
+
mainImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
16035
16039
|
squareImage: z.ZodOptional<z.ZodString>;
|
|
16036
16040
|
squareImageAlt: z.ZodOptional<z.ZodString>;
|
|
16041
|
+
/** Pixel width of `squareImage`. */
|
|
16042
|
+
squareImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16043
|
+
/** Pixel height of `squareImage`. */
|
|
16044
|
+
squareImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
16037
16045
|
ogType: z.ZodOptional<z.ZodEnum<["website", "article", "profile", "product"]>>;
|
|
16038
16046
|
ogLanguage: z.ZodOptional<z.ZodString>;
|
|
16039
16047
|
twitterCard: z.ZodOptional<z.ZodEnum<["summary", "summary_large_image", "app", "player"]>>;
|
|
@@ -16058,8 +16066,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
16058
16066
|
canonicalUrl?: string | undefined;
|
|
16059
16067
|
mainImage?: string | undefined;
|
|
16060
16068
|
mainImageAlt?: string | undefined;
|
|
16069
|
+
mainImageWidth?: number | undefined;
|
|
16070
|
+
mainImageHeight?: number | undefined;
|
|
16061
16071
|
squareImage?: string | undefined;
|
|
16062
16072
|
squareImageAlt?: string | undefined;
|
|
16073
|
+
squareImageWidth?: number | undefined;
|
|
16074
|
+
squareImageHeight?: number | undefined;
|
|
16063
16075
|
article?: boolean | undefined;
|
|
16064
16076
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
16065
16077
|
ogLanguage?: string | undefined;
|
|
@@ -16083,8 +16095,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
16083
16095
|
canonicalUrl?: string | undefined;
|
|
16084
16096
|
mainImage?: string | undefined;
|
|
16085
16097
|
mainImageAlt?: string | undefined;
|
|
16098
|
+
mainImageWidth?: number | undefined;
|
|
16099
|
+
mainImageHeight?: number | undefined;
|
|
16086
16100
|
squareImage?: string | undefined;
|
|
16087
16101
|
squareImageAlt?: string | undefined;
|
|
16102
|
+
squareImageWidth?: number | undefined;
|
|
16103
|
+
squareImageHeight?: number | undefined;
|
|
16088
16104
|
article?: boolean | undefined;
|
|
16089
16105
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
16090
16106
|
ogLanguage?: string | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -16032,8 +16032,16 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
16032
16032
|
canonicalUrl: z.ZodOptional<z.ZodString>;
|
|
16033
16033
|
mainImage: z.ZodOptional<z.ZodString>;
|
|
16034
16034
|
mainImageAlt: z.ZodOptional<z.ZodString>;
|
|
16035
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
16036
|
+
mainImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16037
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
16038
|
+
mainImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
16035
16039
|
squareImage: z.ZodOptional<z.ZodString>;
|
|
16036
16040
|
squareImageAlt: z.ZodOptional<z.ZodString>;
|
|
16041
|
+
/** Pixel width of `squareImage`. */
|
|
16042
|
+
squareImageWidth: z.ZodOptional<z.ZodNumber>;
|
|
16043
|
+
/** Pixel height of `squareImage`. */
|
|
16044
|
+
squareImageHeight: z.ZodOptional<z.ZodNumber>;
|
|
16037
16045
|
ogType: z.ZodOptional<z.ZodEnum<["website", "article", "profile", "product"]>>;
|
|
16038
16046
|
ogLanguage: z.ZodOptional<z.ZodString>;
|
|
16039
16047
|
twitterCard: z.ZodOptional<z.ZodEnum<["summary", "summary_large_image", "app", "player"]>>;
|
|
@@ -16058,8 +16066,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
16058
16066
|
canonicalUrl?: string | undefined;
|
|
16059
16067
|
mainImage?: string | undefined;
|
|
16060
16068
|
mainImageAlt?: string | undefined;
|
|
16069
|
+
mainImageWidth?: number | undefined;
|
|
16070
|
+
mainImageHeight?: number | undefined;
|
|
16061
16071
|
squareImage?: string | undefined;
|
|
16062
16072
|
squareImageAlt?: string | undefined;
|
|
16073
|
+
squareImageWidth?: number | undefined;
|
|
16074
|
+
squareImageHeight?: number | undefined;
|
|
16063
16075
|
article?: boolean | undefined;
|
|
16064
16076
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
16065
16077
|
ogLanguage?: string | undefined;
|
|
@@ -16083,8 +16095,12 @@ declare const MetaConfigSchema: z.ZodObject<{
|
|
|
16083
16095
|
canonicalUrl?: string | undefined;
|
|
16084
16096
|
mainImage?: string | undefined;
|
|
16085
16097
|
mainImageAlt?: string | undefined;
|
|
16098
|
+
mainImageWidth?: number | undefined;
|
|
16099
|
+
mainImageHeight?: number | undefined;
|
|
16086
16100
|
squareImage?: string | undefined;
|
|
16087
16101
|
squareImageAlt?: string | undefined;
|
|
16102
|
+
squareImageWidth?: number | undefined;
|
|
16103
|
+
squareImageHeight?: number | undefined;
|
|
16088
16104
|
article?: boolean | undefined;
|
|
16089
16105
|
ogType?: "website" | "article" | "profile" | "product" | undefined;
|
|
16090
16106
|
ogLanguage?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -2101,8 +2101,16 @@ var MetaConfigSchema = z.object({
|
|
|
2101
2101
|
canonicalUrl: z.string().optional(),
|
|
2102
2102
|
mainImage: z.string().optional(),
|
|
2103
2103
|
mainImageAlt: z.string().optional(),
|
|
2104
|
+
/** Pixel width of `mainImage` (emitted as og:image:width). */
|
|
2105
|
+
mainImageWidth: z.number().int().positive().optional(),
|
|
2106
|
+
/** Pixel height of `mainImage` (emitted as og:image:height). */
|
|
2107
|
+
mainImageHeight: z.number().int().positive().optional(),
|
|
2104
2108
|
squareImage: z.string().optional(),
|
|
2105
2109
|
squareImageAlt: z.string().optional(),
|
|
2110
|
+
/** Pixel width of `squareImage`. */
|
|
2111
|
+
squareImageWidth: z.number().int().positive().optional(),
|
|
2112
|
+
/** Pixel height of `squareImage`. */
|
|
2113
|
+
squareImageHeight: z.number().int().positive().optional(),
|
|
2106
2114
|
ogType: z.enum(["website", "article", "profile", "product"]).optional(),
|
|
2107
2115
|
ogLanguage: z.string().optional(),
|
|
2108
2116
|
twitterCard: z.enum(["summary", "summary_large_image", "app", "player"]).optional(),
|