/** ************************************* * Title: Writer * Description: Creation of announcements, views (, datasets and dataservices) * Author: Wout Slabbinck (wout.slabbinck@ugent.be) * Created on 9/11/2021 *****************************************/ import * as N3 from 'n3'; import { Announce } from '../util/Interfaces'; /** * @interface AnnouncementConfig * @member creatorName The name of the person who initiated the LDES action * @member creatorURL The URL of the person (which is an foaf:Agent) * @member propertyPath The SHACL property path used in the bucketizer * @member pageSize The number of members per page used in the bucketizer * @member bucketizer The type of bucketizer used * @member viewId The URL of the root node * @member originalLDESURL The URL of the original ldes:EventStream (or tree:Collection) */ export interface AnnouncementConfig { creatorName: string; creatorURL: string; propertyPath: string; pageSize: string; bucketizer: string; viewId: string; originalLDESURL: string; } /** * Creates a view announcement, which can be send to an inbox * @param store contains the triples of the view * @param config contains the required parameters * @returns {Promise} */ export declare function createViewAnnouncement(store: N3.Store, config: AnnouncementConfig): Promise;