notion-astro-loader
Version:
Notion loader for the Astro Content Layer API. It allows you to load pages from a Notion database then render them as pages in a collection.
10 lines • 352 B
TypeScript
import type { Client } from "@notionhq/client";
import { z } from "astro/zod";
export declare function propertiesSchemaForDatabase(client: Client, databaseId: string): Promise<z.ZodObject<{
[k: string]: z.ZodTypeAny;
}, "strip", z.ZodTypeAny, {
[x: string]: any;
}, {
[x: string]: any;
}>>;
//# sourceMappingURL=database-properties.d.ts.map