UNPKG

astro-loader-pocketbase

Version:

A content loader for Astro that uses the PocketBase API

23 lines (21 loc) 426 B
/** * Base interface for all PocketBase entries. */ interface PocketBaseBaseEntry { /** * ID of the entry. */ id: string; /** * ID of the collection the entry belongs to. */ collectionId: string; /** * Name of the collection the entry belongs to. */ collectionName: string; } /** * Type for a PocketBase entry. */ export type PocketBaseEntry = PocketBaseBaseEntry & Record<string, unknown>;