import { UserCustomActionScope } from './UserCustomActionScope'; import { IUserCustomActionProps } from './IUserCustomActionProps'; import { UserCustomActionAddResult, UserCustomActionUpdateResult } from '@pnp/sp'; export interface IUserCustomActionService { getUserCustomActions(scope: UserCustomActionScope, listId?: string): Promise; getUserCustomActionById(scope: UserCustomActionScope, id: string, listId?: string): Promise; addUserCustomAction(scope: UserCustomActionScope, customAction: IUserCustomActionProps, listId?: string): Promise; updateUserCustomAction(scope: UserCustomActionScope, id: string, props: {}, listId?: string): Promise; deleteUserCustomAction(scope: UserCustomActionScope, customAction: IUserCustomActionProps, listId?: string): Promise; }