blogger-feeds
Version:
Read-only utilities and client for Blogger feeds
22 lines (21 loc) • 574 B
TypeScript
import { type SchemaParser } from '../../client';
export type Post = {
postId: string;
title: string;
self: string;
href: string;
authors: string[];
published: string;
updated: string;
etag: string;
image: string | null;
type: string;
body: string;
categories: string[];
};
/**
* Maps each result data prop to its own schemaParser
* * must be fail-safe because blogger may change anytime
* * reuses meta data in single flow, since it's already calculated
*/
export declare const PostSchema: Map<keyof Post, SchemaParser>;