@wepublish/api
Version:
API core for we.publish.
8 lines (7 loc) • 489 B
TypeScript
import { EventFromSource } from './events-import.model';
import { XMLEventType } from './xmlTypes';
export declare const getFallbackDesc: (source: string) => string;
export declare function getXMLfromURL(url: string): Promise<any>;
export declare const fetchAndParseKulturagenda: (urlToQuery: string, source: string) => Promise<EventFromSource[]>;
export declare const upcomingOnly: (XMLEvent: XMLEventType) => XMLEventType;
export declare const getImageUrl: (event: XMLEventType) => any;