sp-js-provisioning
Version:
SharePoint provisioning with pure JavaScript
23 lines (22 loc) • 710 B
TypeScript
import { IWeb } from '@pnp/sp/presets/all';
import { IProvisioningConfig } from '../provisioningconfig';
import { ICustomAction } from '../schema';
import { HandlerBase } from './handlerbase';
/**
* Describes the Custom Actions Object Handler
*/
export declare class CustomActions extends HandlerBase {
/**
* Creates a new instance of the ObjectCustomActions class
*
* @param config - Provisioning config
*/
constructor(config: IProvisioningConfig);
/**
* Provisioning Custom Actions
*
* @param web - The web
* @param customactions - The Custom Actions to provision
*/
ProvisionObjects(web: IWeb, customActions: ICustomAction[]): Promise<void>;
}