@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
14 lines • 752 B
TypeScript
import type { SharePointAccessor } from '../../accessor/sharepoint.ts';
import type { DeltaHook } from '../../events/base.ts';
/**
* Build the SharePoint delta hook: the `/delta` feed of each document library
* under the event root (`GraphDeltaHook`).
*
* A mount scoped to one site and library reads that library's feed, placed
* under its `keyPrefix`. An unscoped mount reads the library the root is in, or
* each library of the site or tenant the root names, found again on every
* ping: a library added is read from then on, and one gone or no longer at the
* root's path is deleted. Mirrors Python `build_delta_hook`.
*/
export declare function buildDeltaHook(accessor: SharePointAccessor): DeltaHook;
//# sourceMappingURL=events.d.ts.map