UNPKG

ministry-platform-provider

Version:

TypeScript client library for Ministry Platform API integration

15 lines (14 loc) 558 B
import { MinistryPlatformClient } from "../core/ministryPlatformClient.js"; import { TableMetadata } from "../Interfaces/mpProviderInterfaces.js"; export declare class MetadataService { private client; constructor(client: MinistryPlatformClient); /** * Triggers an update of the metadata cache on all servers and in all applications. */ refreshMetadata(): Promise<void>; /** * Returns the list of tables available to the current user with basic metadata. */ getTables(search?: string): Promise<TableMetadata[]>; }