@pnp/sp
Version:
pnp - provides a fluent api for working with SharePoint REST
9 lines • 324 B
JavaScript
import { addProp } from "@pnp/queryable";
import { _List } from "../lists/types.js";
import { Views, View } from "./types.js";
addProp(_List, "views", Views);
addProp(_List, "defaultView", View);
_List.prototype.getView = function (viewId) {
return View(this, `getView('${viewId}')`);
};
//# sourceMappingURL=list.js.map