UNPKG

spws

Version:

SharePoint Web Services Wrapper

19 lines (18 loc) 715 B
import { SpwsResponse, View } from "../../types"; interface Operation extends SpwsResponse { data: View[]; } /** * Returns the display names, internal names, and URLs for the collection of views of the specified list. * @link https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-services/ms772703(v=office.12) * @param listName A string that contains the internal name of the list. * @example * ``` * const res = await getViewCollection("Announcements"); * ``` */ declare const getViewCollection: (listName: string, { webURL, }?: { /** The SharePoint webURL */ webURL?: string | undefined; }) => Promise<Operation>; export default getViewCollection;