UNPKG

sp-js-provisioning

Version:
23 lines (22 loc) 656 B
import { IWeb } from '@pnp/sp/presets/all'; import { IProvisioningConfig } from '../provisioningconfig'; import { IHooks } from '../schema'; import { HandlerBase } from './handlerbase'; /** * Describes the Hooks Object Handler */ export declare class Hooks extends HandlerBase { /** * Creates a new instance of the Hooks class * * @param config - Provisioning config */ constructor(config: IProvisioningConfig); /** * Provisioning Hooks * * @param hooks - The hook(s) to apply */ ProvisionObjects(web: IWeb, hooks: IHooks[]): Promise<void>; static getJsonResult(response: any): Promise<any>; }