@churchapps/helpers
Version:
Library of helper functions not specific to any one ChurchApps project or framework.
7 lines • 423 B
TypeScript
import type { PlanInterface, PlanItemInterface, PlanItemContentInterface } from "../interfaces/index.js";
export interface ContentProviderInterface {
readonly providerId: string;
canHandle(plan: PlanInterface, planItem: PlanItemInterface): boolean;
fetchContent(plan: PlanInterface, planItems: PlanItemInterface[]): Promise<Map<string, PlanItemContentInterface>>;
}
//# sourceMappingURL=ContentProvider.d.ts.map