@pnp/sp
Version:
pnp - provides a fluent api for working with SharePoint REST
23 lines • 661 B
TypeScript
import { TimelinePipe } from "@pnp/core";
import { Queryable } from "@pnp/queryable";
export interface ISPFXContext {
aadTokenProviderFactory?: {
getTokenProvider(): Promise<{
getToken(resource: string): Promise<string>;
}>;
};
msGraphClientFactory?: {
getClient: () => Promise<any>;
};
pageContext: {
web: {
absoluteUrl: string;
};
legacyPageContext: {
formDigestTimeoutSeconds: number;
formDigestValue: string;
};
};
}
export declare function SPFx(context: ISPFXContext): TimelinePipe<Queryable>;
//# sourceMappingURL=spfx.d.ts.map