astro-ghostcms/.pnpm-store/v3/files/90/0b7a8f9fe41f5f4156bd0620749...

74 lines
2.2 KiB
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
import { z } from 'astro/zod';
export declare const rssSchema: z.ZodObject<{
title: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
pubDate: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>, Date | undefined, string | number | Date | undefined>, Date | undefined, string | number | Date | undefined>;
customData: z.ZodOptional<z.ZodString>;
categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
author: z.ZodOptional<z.ZodString>;
commentsUrl: z.ZodOptional<z.ZodString>;
source: z.ZodOptional<z.ZodObject<{
url: z.ZodString;
title: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
url: string;
}, {
title: string;
url: string;
}>>;
enclosure: z.ZodOptional<z.ZodObject<{
url: z.ZodString;
length: z.ZodNumber;
type: z.ZodString;
}, "strip", z.ZodTypeAny, {
length: number;
type: string;
url: string;
}, {
length: number;
type: string;
url: string;
}>>;
link: z.ZodOptional<z.ZodString>;
content: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
title?: string | undefined;
description?: string | undefined;
pubDate?: Date | undefined;
customData?: string | undefined;
categories?: string[] | undefined;
author?: string | undefined;
commentsUrl?: string | undefined;
source?: {
title: string;
url: string;
} | undefined;
enclosure?: {
length: number;
type: string;
url: string;
} | undefined;
link?: string | undefined;
content?: string | undefined;
}, {
title?: string | undefined;
description?: string | undefined;
pubDate?: string | number | Date | undefined;
customData?: string | undefined;
categories?: string[] | undefined;
author?: string | undefined;
commentsUrl?: string | undefined;
source?: {
title: string;
url: string;
} | undefined;
enclosure?: {
length: number;
type: string;
url: string;
} | undefined;
link?: string | undefined;
content?: string | undefined;
}>;