UNPKG

661 BTypeScriptView Raw
1import { TimelinePipe } from "@pnp/core";
2import { Queryable } from "@pnp/queryable";
3export interface ISPFXContext {
4 aadTokenProviderFactory?: {
5 getTokenProvider(): Promise<{
6 getToken(resource: string): Promise<string>;
7 }>;
8 };
9 msGraphClientFactory?: {
10 getClient: () => Promise<any>;
11 };
12 pageContext: {
13 web: {
14 absoluteUrl: string;
15 };
16 legacyPageContext: {
17 formDigestTimeoutSeconds: number;
18 formDigestValue: string;
19 };
20 };
21}
22export declare function SPFx(context: ISPFXContext): TimelinePipe<Queryable>;
23//# sourceMappingURL=spfx.d.ts.map
\No newline at end of file