@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
17 lines • 732 B
TypeScript
import type { resolveMsGraphConfig } from '../msgraph/config.ts';
/**
* A drive item's Graph URL.
*
* Takes the config, not just the drive id, because the service root is a
* per-mount setting (national cloud, private endpoint, test server) rather
* than a constant.
*
* Args:
* config: mount config carrying the service root.
* driveId: drive holding the item.
* path: drive-relative item path.
* action: optional trailing Graph action, e.g. `/content`.
*/
export declare function itemUrl(config: ReturnType<typeof resolveMsGraphConfig>, driveId: string, path: string, action?: string): string;
export declare function driveRefPath(driveId: string, folder?: string): string;
//# sourceMappingURL=client.d.ts.map