@zxncij2390/monorepo3 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintignore +16 -0
- package/.eslintrc.cjs +150 -0
- package/.github/ISSUE_TEMPLATE/bug-report.yml +178 -0
- package/.github/ISSUE_TEMPLATE/enhancement.yml +99 -0
- package/.github/ISSUE_TEMPLATE/question.yml +72 -0
- package/.github/ISSUE_TEMPLATE.md +39 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +24 -0
- package/.github/workflows/lock.yml +18 -0
- package/.github/workflows/publish-buildsystem.yml +34 -0
- package/.github/workflows/publish-docs.yml +21 -0
- package/.github/workflows/publish.yml +40 -0
- package/.github/workflows/pull_request.yaml +28 -0
- package/.github/workflows/push.yaml +32 -0
- package/.github/workflows/v3-nightly.yml +40 -0
- package/.mocharc.cjs +68 -0
- package/.vscode/launch.json +103 -0
- package/.vscode/settings.json +17 -0
- package/.vscode/tasks.json +124 -0
- package/AUTHORS +13 -0
- package/CHANGELOG.md +33 -0
- package/CODE_OF_CONDUCT.md +6 -0
- package/CONTRIBUTING.md +9 -0
- package/LICENSE +25 -0
- package/README.md +66 -0
- package/buildsystem-config.ts +146 -0
- package/debug/launch/graph.ts +20 -0
- package/debug/launch/main.ts +38 -0
- package/debug/launch/setup.ts +50 -0
- package/debug/launch/sp.ts +21 -0
- package/debug/launch/tsconfig.json +27 -0
- package/debug/serve/main.ts +47 -0
- package/debug/serve/plumbing/local-module-resolver-plugin.ts +68 -0
- package/debug/serve/plumbing/run.ts +24 -0
- package/debug/serve/plumbing/serve.ts +27 -0
- package/debug/serve/plumbing/webpack.config.ts +43 -0
- package/debug/serve/spa.html +12 -0
- package/debug/serve/tsconfig.json +15 -0
- package/debug/spfx/.eslintrc.js +352 -0
- package/debug/spfx/README.md +73 -0
- package/debug/spfx/package-lock.json +57299 -0
- package/debug/spfx/package.json +38 -0
- package/debug/spfx/pnpjs-local-debug-start.js +19 -0
- package/debug/spfx/teams/f4c0e5ff-c402-46b7-8073-8cc506808d06_color.png +0 -0
- package/debug/spfx/teams/f4c0e5ff-c402-46b7-8073-8cc506808d06_outline.png +0 -0
- package/docs/_theme/main.html +5 -0
- package/docs/azidjsclient/index.md +36 -0
- package/docs/concepts/adv-clientside-pages.md +169 -0
- package/docs/concepts/auth-browser.md +42 -0
- package/docs/concepts/auth-nodejs.md +101 -0
- package/docs/concepts/auth-spfx.md +76 -0
- package/docs/concepts/authentication.md +42 -0
- package/docs/concepts/batching-caching.md +77 -0
- package/docs/concepts/batching.md +257 -0
- package/docs/concepts/calling-other-endpoints.md +213 -0
- package/docs/concepts/custom-bundle.md +15 -0
- package/docs/concepts/error-handling.md +245 -0
- package/docs/concepts/invokable.md +7 -0
- package/docs/concepts/nightly-builds.md +19 -0
- package/docs/concepts/project-preset.md +123 -0
- package/docs/concepts/selective-imports.md +106 -0
- package/docs/concepts/typings.md +23 -0
- package/docs/contributing/debug-tests.md +76 -0
- package/docs/contributing/debugging.md +135 -0
- package/docs/contributing/documentation.md +34 -0
- package/docs/contributing/extending-the-library.md +223 -0
- package/docs/contributing/index.md +22 -0
- package/docs/contributing/local-debug-configuration.md +28 -0
- package/docs/contributing/npm-scripts.md +148 -0
- package/docs/contributing/pull-requests.md +27 -0
- package/docs/contributing/settings.md +98 -0
- package/docs/contributing/setup-dev-machine.md +36 -0
- package/docs/core/behavior-recipes.md +199 -0
- package/docs/core/behaviors.md +179 -0
- package/docs/core/moments.md +215 -0
- package/docs/core/observers.md +100 -0
- package/docs/core/storage.md +90 -0
- package/docs/core/timeline.md +190 -0
- package/docs/core/util.md +191 -0
- package/docs/css/extra.css +33 -0
- package/docs/getting-started.md +361 -0
- package/docs/graph/behaviors.md +267 -0
- package/docs/graph/bookings.md +180 -0
- package/docs/graph/calendars.md +270 -0
- package/docs/graph/cloud-communications.md +40 -0
- package/docs/graph/columns.md +125 -0
- package/docs/graph/contacts.md +298 -0
- package/docs/graph/content-types.md +193 -0
- package/docs/graph/directoryobjects.md +106 -0
- package/docs/graph/groups.md +164 -0
- package/docs/graph/insights.md +151 -0
- package/docs/graph/invitations.md +22 -0
- package/docs/graph/items.md +38 -0
- package/docs/graph/lists.md +87 -0
- package/docs/graph/messages.md +20 -0
- package/docs/graph/onedrive.md +614 -0
- package/docs/graph/outlook.md +82 -0
- package/docs/graph/photos.md +71 -0
- package/docs/graph/planner.md +249 -0
- package/docs/graph/search.md +25 -0
- package/docs/graph/shares.md +44 -0
- package/docs/graph/sites.md +47 -0
- package/docs/graph/subscriptions.md +79 -0
- package/docs/graph/teams.md +293 -0
- package/docs/graph/users.md +134 -0
- package/docs/img/ConsoleListenerColors.png +0 -0
- package/docs/img/Logo.png +0 -0
- package/docs/img/PnPJS_FluentAPI.gif +0 -0
- package/docs/img/SPFx-On-Premesis-2016-1.png +0 -0
- package/docs/img/TimelineArchitecture.jpg +0 -0
- package/docs/img/csp_copyccvalue.png +0 -0
- package/docs/img/csp_networktab.png +0 -0
- package/docs/img/office365-header-icon.png +0 -0
- package/docs/img/usage-2020-eoy.png +0 -0
- package/docs/img/usage-2021-eoy.png +0 -0
- package/docs/img/usage-2022-eoy.png +0 -0
- package/docs/index.md +56 -0
- package/docs/logging/index.md +262 -0
- package/docs/msaljsclient/index.md +33 -0
- package/docs/news/2020-year-in-review.md +162 -0
- package/docs/news/2021-year-in-review.md +148 -0
- package/docs/news/2022-year-in-review.md +122 -0
- package/docs/nodejs/behaviors.md +164 -0
- package/docs/nodejs/sp-extensions.md +99 -0
- package/docs/packages.md +53 -0
- package/docs/queryable/behaviors.md +496 -0
- package/docs/queryable/extensions.md +204 -0
- package/docs/queryable/queryable.md +385 -0
- package/docs/sp/alias-parameters.md +76 -0
- package/docs/sp/alm.md +139 -0
- package/docs/sp/attachments.md +157 -0
- package/docs/sp/behaviors.md +142 -0
- package/docs/sp/clientside-pages.md +1048 -0
- package/docs/sp/column-defaults.md +241 -0
- package/docs/sp/comments-likes.md +302 -0
- package/docs/sp/content-types.md +131 -0
- package/docs/sp/context-info.md +67 -0
- package/docs/sp/favorites.md +91 -0
- package/docs/sp/features.md +83 -0
- package/docs/sp/fields.md +668 -0
- package/docs/sp/files.md +559 -0
- package/docs/sp/folders.md +532 -0
- package/docs/sp/forms.md +22 -0
- package/docs/sp/groupSiteManager.md +40 -0
- package/docs/sp/hubsites.md +140 -0
- package/docs/sp/items.md +601 -0
- package/docs/sp/lists.md +572 -0
- package/docs/sp/navigation.md +171 -0
- package/docs/sp/permissions.md +82 -0
- package/docs/sp/profiles.md +407 -0
- package/docs/sp/publishing-sitepageservice.md +16 -0
- package/docs/sp/recycle-bin.md +72 -0
- package/docs/sp/regional-settings.md +108 -0
- package/docs/sp/related-items.md +136 -0
- package/docs/sp/search.md +207 -0
- package/docs/sp/security.md +196 -0
- package/docs/sp/sharing.md +273 -0
- package/docs/sp/site-designs.md +117 -0
- package/docs/sp/site-groups.md +144 -0
- package/docs/sp/site-scripts.md +123 -0
- package/docs/sp/site-users.md +211 -0
- package/docs/sp/sites.md +269 -0
- package/docs/sp/social.md +182 -0
- package/docs/sp/sp-utilities-utility.md +159 -0
- package/docs/sp/subscriptions.md +79 -0
- package/docs/sp/taxonomy.md +470 -0
- package/docs/sp/tenant-properties.md +55 -0
- package/docs/sp/user-custom-actions.md +95 -0
- package/docs/sp/views.md +226 -0
- package/docs/sp/webs.md +947 -0
- package/docs/sp-admin/index.md +139 -0
- package/docs/transition-guide.md +87 -0
- package/docs/v1/404.html +1611 -0
- package/docs/v1/assets/fonts/font-awesome.css +4 -0
- package/docs/v1/assets/fonts/material-icons.css +13 -0
- package/docs/v1/assets/fonts/specimen/FontAwesome.ttf +0 -0
- package/docs/v1/assets/fonts/specimen/FontAwesome.woff +0 -0
- package/docs/v1/assets/fonts/specimen/FontAwesome.woff2 +0 -0
- package/docs/v1/assets/fonts/specimen/MaterialIcons-Regular.ttf +0 -0
- package/docs/v1/assets/fonts/specimen/MaterialIcons-Regular.woff +0 -0
- package/docs/v1/assets/fonts/specimen/MaterialIcons-Regular.woff2 +0 -0
- package/docs/v1/assets/images/favicon.png +0 -0
- package/docs/v1/assets/images/icons/bitbucket.1b09e088.svg +20 -0
- package/docs/v1/assets/images/icons/github.f0b8504a.svg +18 -0
- package/docs/v1/assets/images/icons/gitlab.6dd19c00.svg +38 -0
- package/docs/v1/assets/javascripts/application.583bbe55.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.da.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.de.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.du.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.es.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.fi.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.fr.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.hu.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.it.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.jp.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.multi.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.no.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.pt.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.ro.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.ru.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.stemmer.support.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.sv.js +1 -0
- package/docs/v1/assets/javascripts/lunr/lunr.tr.js +1 -0
- package/docs/v1/assets/javascripts/lunr/tinyseg.js +1 -0
- package/docs/v1/assets/javascripts/modernizr.1aa3b519.js +1 -0
- package/docs/v1/assets/stylesheets/application-palette.22915126.css +1176 -0
- package/docs/v1/assets/stylesheets/application.451f80e5.css +2552 -0
- package/docs/v1/common/docs/adalclient/index.html +1994 -0
- package/docs/v1/common/docs/collections/index.html +1786 -0
- package/docs/v1/common/docs/custom-httpclientimpl/index.html +1798 -0
- package/docs/v1/common/docs/index.html +1787 -0
- package/docs/v1/common/docs/libconfig/index.html +1930 -0
- package/docs/v1/common/docs/netutil/index.html +1860 -0
- package/docs/v1/common/docs/storage/index.html +1850 -0
- package/docs/v1/common/docs/util/index.html +2058 -0
- package/docs/v1/config-store/docs/configuration/index.html +1730 -0
- package/docs/v1/config-store/docs/index.html +1761 -0
- package/docs/v1/config-store/docs/providers/index.html +1782 -0
- package/docs/v1/documentation/SPFx-On-Premesis-2016/index.html +1720 -0
- package/docs/v1/documentation/beta-versions/index.html +1742 -0
- package/docs/v1/documentation/css/extra.css +33 -0
- package/docs/v1/documentation/debugging/index.html +2098 -0
- package/docs/v1/documentation/deployment/index.html +1972 -0
- package/docs/v1/documentation/documentation/index.html +1760 -0
- package/docs/v1/documentation/getting-started/index.html +2280 -0
- package/docs/v1/documentation/getting-started-dev/index.html +1799 -0
- package/docs/v1/documentation/gulp-commands/index.html +2100 -0
- package/docs/v1/documentation/img/Logo.png +0 -0
- package/docs/v1/documentation/img/PnPJS_FluentAPI.gif +0 -0
- package/docs/v1/documentation/img/SPFx-On-Premesis-2016-1.png +0 -0
- package/docs/v1/documentation/img/office365-header-icon.png +0 -0
- package/docs/v1/documentation/img/pnpjs-common-uml.svg +220 -0
- package/docs/v1/documentation/img/pnpjs-config-store-uml.svg +56 -0
- package/docs/v1/documentation/img/pnpjs-graph-uml.svg +602 -0
- package/docs/v1/documentation/img/pnpjs-logging-uml.svg +59 -0
- package/docs/v1/documentation/img/pnpjs-nodejs-uml.svg +85 -0
- package/docs/v1/documentation/img/pnpjs-odata-uml.svg +253 -0
- package/docs/v1/documentation/img/pnpjs-sp-addinhelpers-uml.svg +48 -0
- package/docs/v1/documentation/img/pnpjs-sp-clientsvc-uml.svg +167 -0
- package/docs/v1/documentation/img/pnpjs-sp-taxonomy-uml.svg +458 -0
- package/docs/v1/documentation/img/pnpjs-sp-uml.svg +2833 -0
- package/docs/v1/documentation/package-structure/index.html +1875 -0
- package/docs/v1/documentation/packages/index.html +1741 -0
- package/docs/v1/documentation/polyfill/index.html +1877 -0
- package/docs/v1/documentation/theme/main.html +5 -0
- package/docs/v1/documentation/transition-guide/index.html +1977 -0
- package/docs/v1/graph/docs/contacts/index.html +2080 -0
- package/docs/v1/graph/docs/directoryobjects/index.html +1865 -0
- package/docs/v1/graph/docs/index.html +1858 -0
- package/docs/v1/graph/docs/insights/index.html +1698 -0
- package/docs/v1/graph/docs/invitations/index.html +1742 -0
- package/docs/v1/graph/docs/onedrive/index.html +2086 -0
- package/docs/v1/graph/docs/people/index.html +1664 -0
- package/docs/v1/graph/docs/planner/index.html +2097 -0
- package/docs/v1/graph/docs/security/index.html +1692 -0
- package/docs/v1/graph/docs/sites/index.html +2043 -0
- package/docs/v1/graph/docs/subscriptions/index.html +1835 -0
- package/docs/v1/graph/docs/teams/index.html +2097 -0
- package/docs/v1/index.html +1889 -0
- package/docs/v1/logging/docs/index.html +2045 -0
- package/docs/v1/nodejs/docs/adal-certificate-fetch-client/index.html +1676 -0
- package/docs/v1/nodejs/docs/adal-fetch-client/index.html +1713 -0
- package/docs/v1/nodejs/docs/bearer-token-fetch-client/index.html +1712 -0
- package/docs/v1/nodejs/docs/index.html +1764 -0
- package/docs/v1/nodejs/docs/provider-hosted-app/index.html +1725 -0
- package/docs/v1/nodejs/docs/proxy/index.html +1699 -0
- package/docs/v1/nodejs/docs/sp-fetch-client/index.html +1895 -0
- package/docs/v1/odata/docs/caching/index.html +1988 -0
- package/docs/v1/odata/docs/core/index.html +1829 -0
- package/docs/v1/odata/docs/index.html +1781 -0
- package/docs/v1/odata/docs/odata-batch/index.html +1755 -0
- package/docs/v1/odata/docs/parsers/index.html +1862 -0
- package/docs/v1/odata/docs/pipeline/index.html +1811 -0
- package/docs/v1/odata/docs/queryable/index.html +1967 -0
- package/docs/v1/pnpjs/docs/index.html +1814 -0
- package/docs/v1/search/search_index.json +1 -0
- package/docs/v1/sitemap.xml +428 -0
- package/docs/v1/sitemap.xml.gz +0 -0
- package/docs/v1/sp/docs/alias-parameters/index.html +1830 -0
- package/docs/v1/sp/docs/alm/index.html +1920 -0
- package/docs/v1/sp/docs/attachments/index.html +1998 -0
- package/docs/v1/sp/docs/client-side-pages/index.html +2031 -0
- package/docs/v1/sp/docs/comments-likes/index.html +1958 -0
- package/docs/v1/sp/docs/content-types/index.html +1758 -0
- package/docs/v1/sp/docs/entity-merging/index.html +1838 -0
- package/docs/v1/sp/docs/features/index.html +1824 -0
- package/docs/v1/sp/docs/fields/index.html +2031 -0
- package/docs/v1/sp/docs/files/index.html +2178 -0
- package/docs/v1/sp/docs/index.html +1894 -0
- package/docs/v1/sp/docs/items/index.html +2362 -0
- package/docs/v1/sp/docs/navigation-service/index.html +1791 -0
- package/docs/v1/sp/docs/permissions/index.html +1860 -0
- package/docs/v1/sp/docs/profiles/index.html +1794 -0
- package/docs/v1/sp/docs/related-items/index.html +1886 -0
- package/docs/v1/sp/docs/search/index.html +1830 -0
- package/docs/v1/sp/docs/sharing/index.html +2058 -0
- package/docs/v1/sp/docs/sitedesigns/index.html +1851 -0
- package/docs/v1/sp/docs/sites/index.html +2186 -0
- package/docs/v1/sp/docs/social/index.html +2011 -0
- package/docs/v1/sp/docs/sp-utilities-utility/index.html +2061 -0
- package/docs/v1/sp/docs/tenant-properties/index.html +1795 -0
- package/docs/v1/sp/docs/views/index.html +1869 -0
- package/docs/v1/sp/docs/webs/index.html +1972 -0
- package/docs/v1/sp-addinhelpers/docs/index.html +1771 -0
- package/docs/v1/sp-addinhelpers/docs/sp-request-executor-client/index.html +1760 -0
- package/docs/v1/sp-addinhelpers/docs/sp-rest-addin/index.html +1711 -0
- package/docs/v1/sp-clientsvc/docs/index.html +1736 -0
- package/docs/v1/sp-taxonomy/docs/index.html +1887 -0
- package/docs/v1/sp-taxonomy/docs/labels/index.html +1827 -0
- package/docs/v1/sp-taxonomy/docs/term-groups/index.html +1875 -0
- package/docs/v1/sp-taxonomy/docs/term-sets/index.html +1946 -0
- package/docs/v1/sp-taxonomy/docs/term-stores/index.html +2111 -0
- package/docs/v1/sp-taxonomy/docs/terms/index.html +2036 -0
- package/docs/v1/sp-taxonomy/docs/utilities/index.html +1783 -0
- package/docs/v2/404.html +2108 -0
- package/docs/v2/SPFx-on-premises/index.html +2278 -0
- package/docs/v2/_theme/main.html +5 -0
- package/docs/v2/adaljsclient/adalclient/index.html +15 -0
- package/docs/v2/adaljsclient/index.html +15 -0
- package/docs/v2/assets/images/favicon.png +0 -0
- package/docs/v2/assets/javascripts/bundle.9554a270.min.js +2 -0
- package/docs/v2/assets/javascripts/bundle.9554a270.min.js.map +1 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.ar.min.js +1 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.da.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.de.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.du.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.es.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.fi.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.fr.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.hu.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.it.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.ja.min.js +1 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.jp.min.js +1 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.multi.min.js +1 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.nl.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.no.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.pt.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.ro.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.ru.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.stemmer.support.min.js +1 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.sv.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.tr.min.js +18 -0
- package/docs/v2/assets/javascripts/lunr/min/lunr.vi.min.js +1 -0
- package/docs/v2/assets/javascripts/lunr/tinyseg.min.js +1 -0
- package/docs/v2/assets/javascripts/vendor.77e55a48.min.js +30 -0
- package/docs/v2/assets/javascripts/vendor.77e55a48.min.js.map +1 -0
- package/docs/v2/assets/javascripts/worker/search.4ac00218.min.js +59 -0
- package/docs/v2/assets/javascripts/worker/search.4ac00218.min.js.map +1 -0
- package/docs/v2/assets/stylesheets/main.38780c08.min.css +3 -0
- package/docs/v2/assets/stylesheets/main.38780c08.min.css.map +1 -0
- package/docs/v2/assets/stylesheets/palette.3f72e892.min.css +3 -0
- package/docs/v2/assets/stylesheets/palette.3f72e892.min.css.map +1 -0
- package/docs/v2/authentication/adaljsclient/index.html +2510 -0
- package/docs/v2/authentication/bearertokenclient/index.html +2251 -0
- package/docs/v2/authentication/client-spa/index.html +2206 -0
- package/docs/v2/authentication/client-spfx/index.html +2397 -0
- package/docs/v2/authentication/index.html +2307 -0
- package/docs/v2/authentication/lambdaclient/index.html +2304 -0
- package/docs/v2/authentication/msaljsclient/index.html +2413 -0
- package/docs/v2/authentication/server-nodejs/index.html +2404 -0
- package/docs/v2/authentication/sp-app-registration/index.html +2273 -0
- package/docs/v2/common/collections/index.html +2277 -0
- package/docs/v2/common/custom-httpclientimpl/index.html +2300 -0
- package/docs/v2/common/index.html +2262 -0
- package/docs/v2/common/libconfig/index.html +2413 -0
- package/docs/v2/common/netutil/index.html +2350 -0
- package/docs/v2/common/storage/index.html +2339 -0
- package/docs/v2/common/util/index.html +2638 -0
- package/docs/v2/concepts/configuration/index.html +2685 -0
- package/docs/v2/concepts/custom-bundle/index.html +2279 -0
- package/docs/v2/concepts/error-handling/index.html +2539 -0
- package/docs/v2/concepts/ie11-mode/index.html +2278 -0
- package/docs/v2/concepts/invokable/index.html +2254 -0
- package/docs/v2/concepts/polyfill/index.html +2401 -0
- package/docs/v2/concepts/selective-imports/index.html +2360 -0
- package/docs/v2/concepts/settings/index.html +2551 -0
- package/docs/v2/config-store/configuration/index.html +2226 -0
- package/docs/v2/config-store/index.html +2239 -0
- package/docs/v2/config-store/providers/index.html +2275 -0
- package/docs/v2/contributing/debug-tests/index.html +2323 -0
- package/docs/v2/contributing/debugging/index.html +2514 -0
- package/docs/v2/contributing/documentation/index.html +2291 -0
- package/docs/v2/contributing/extending-the-library/index.html +2521 -0
- package/docs/v2/contributing/index.html +2270 -0
- package/docs/v2/contributing/local-debug-configuration/index.html +2284 -0
- package/docs/v2/contributing/pull-requests/index.html +2261 -0
- package/docs/v2/contributing/setup-dev-machine/index.html +2284 -0
- package/docs/v2/css/extra.css +33 -0
- package/docs/v2/debug-tests/index.html +15 -0
- package/docs/v2/debugging/index.html +15 -0
- package/docs/v2/documentation/index.html +15 -0
- package/docs/v2/getting-started/index.html +2789 -0
- package/docs/v2/getting-started-dev/index.html +15 -0
- package/docs/v2/graph/calendars/index.html +2569 -0
- package/docs/v2/graph/contacts/index.html +2673 -0
- package/docs/v2/graph/directoryobjects/index.html +2402 -0
- package/docs/v2/graph/groups/index.html +2488 -0
- package/docs/v2/graph/index.html +2333 -0
- package/docs/v2/graph/insights/index.html +2478 -0
- package/docs/v2/graph/invitations/index.html +2273 -0
- package/docs/v2/graph/onedrive/index.html +2617 -0
- package/docs/v2/graph/outlook/index.html +2363 -0
- package/docs/v2/graph/photos/index.html +2351 -0
- package/docs/v2/graph/planner/index.html +2628 -0
- package/docs/v2/graph/search/index.html +2264 -0
- package/docs/v2/graph/subscriptions/index.html +2333 -0
- package/docs/v2/graph/teams/index.html +2619 -0
- package/docs/v2/graph/users/index.html +2461 -0
- package/docs/v2/img/ConsoleListenerColors.png +0 -0
- package/docs/v2/img/Logo.png +0 -0
- package/docs/v2/img/PnPJS_FluentAPI.gif +0 -0
- package/docs/v2/img/SPFx-On-Premesis-2016-1.png +0 -0
- package/docs/v2/img/office365-header-icon.png +0 -0
- package/docs/v2/img/usage-2020-eoy.png +0 -0
- package/docs/v2/index.html +2410 -0
- package/docs/v2/logging/index.html +2622 -0
- package/docs/v2/news/2020-year-in-review/index.html +2525 -0
- package/docs/v2/nodejs/adal-fetch-client/index.html +2204 -0
- package/docs/v2/nodejs/bearer-token-fetch-client/index.html +2203 -0
- package/docs/v2/nodejs/index.html +2261 -0
- package/docs/v2/nodejs/provider-hosted-app/index.html +2220 -0
- package/docs/v2/nodejs/proxy/index.html +2238 -0
- package/docs/v2/nodejs/sp-extensions/index.html +2362 -0
- package/docs/v2/nodejs/sp-fetch-client/index.html +2294 -0
- package/docs/v2/nodejs-support/index.html +2398 -0
- package/docs/v2/npm-scripts/index.html +2521 -0
- package/docs/v2/odata/caching/index.html +2465 -0
- package/docs/v2/odata/core/index.html +2322 -0
- package/docs/v2/odata/debug/index.html +2358 -0
- package/docs/v2/odata/extensions/index.html +2581 -0
- package/docs/v2/odata/index.html +2259 -0
- package/docs/v2/odata/odata-batch/index.html +2250 -0
- package/docs/v2/odata/parsers/index.html +2355 -0
- package/docs/v2/odata/pipeline/index.html +2297 -0
- package/docs/v2/odata/queryable/index.html +2455 -0
- package/docs/v2/packages/index.html +2251 -0
- package/docs/v2/pnpjs/index.html +2281 -0
- package/docs/v2/search/search_index.json +1 -0
- package/docs/v2/sitemap.xml +483 -0
- package/docs/v2/sitemap.xml.gz +0 -0
- package/docs/v2/sp/alias-parameters/index.html +2330 -0
- package/docs/v2/sp/alm/index.html +2433 -0
- package/docs/v2/sp/attachments/index.html +2504 -0
- package/docs/v2/sp/clientside-pages/index.html +3477 -0
- package/docs/v2/sp/column-defaults/index.html +2540 -0
- package/docs/v2/sp/comments-likes/index.html +2646 -0
- package/docs/v2/sp/content-types/index.html +2462 -0
- package/docs/v2/sp/custom-irequestclient/index.html +2339 -0
- package/docs/v2/sp/entity-merging/index.html +2325 -0
- package/docs/v2/sp/features/index.html +2440 -0
- package/docs/v2/sp/fields/index.html +3103 -0
- package/docs/v2/sp/files/index.html +2949 -0
- package/docs/v2/sp/folders/index.html +2968 -0
- package/docs/v2/sp/forms/index.html +2289 -0
- package/docs/v2/sp/hubsites/index.html +2485 -0
- package/docs/v2/sp/index.html +2328 -0
- package/docs/v2/sp/items/index.html +2974 -0
- package/docs/v2/sp/lists/index.html +3387 -0
- package/docs/v2/sp/navigation/index.html +2535 -0
- package/docs/v2/sp/permissions/index.html +2338 -0
- package/docs/v2/sp/profiles/index.html +2806 -0
- package/docs/v2/sp/regional-settings/index.html +2394 -0
- package/docs/v2/sp/related-items/index.html +2417 -0
- package/docs/v2/sp/search/index.html +2474 -0
- package/docs/v2/sp/security/index.html +2432 -0
- package/docs/v2/sp/sharing/index.html +2589 -0
- package/docs/v2/sp/site-designs/index.html +2414 -0
- package/docs/v2/sp/site-groups/index.html +2504 -0
- package/docs/v2/sp/site-scripts/index.html +2433 -0
- package/docs/v2/sp/site-users/index.html +2641 -0
- package/docs/v2/sp/sites/index.html +2727 -0
- package/docs/v2/sp/social/index.html +2517 -0
- package/docs/v2/sp/sp-utilities-utility/index.html +2460 -0
- package/docs/v2/sp/subscriptions/index.html +2395 -0
- package/docs/v2/sp/taxonomy/index.html +2565 -0
- package/docs/v2/sp/tenant-properties/index.html +2286 -0
- package/docs/v2/sp/user-custom-actions/index.html +2424 -0
- package/docs/v2/sp/views/index.html +2652 -0
- package/docs/v2/sp/webs/index.html +4190 -0
- package/docs/v2/sp-addinhelpers/index.html +2274 -0
- package/docs/v2/sp-addinhelpers/sp-request-executor-client/index.html +2253 -0
- package/docs/v2/sp-addinhelpers/sp-rest-addin/index.html +2206 -0
- package/docs/v2/transition-guide/index.html +2435 -0
- package/mkdocs-requirements.txt +2 -0
- package/mkdocs.yml +188 -0
- package/package.json +96 -0
- package/packages/azidjsclient/index.ts +68 -0
- package/packages/azidjsclient/package.json +13 -0
- package/packages/azidjsclient/tsconfig.json +12 -0
- package/packages/core/behaviors/assign-from.ts +17 -0
- package/packages/core/behaviors/copy-from.ts +58 -0
- package/packages/core/extendable.ts +193 -0
- package/packages/core/index.ts +11 -0
- package/packages/core/moments.ts +117 -0
- package/packages/core/package.json +10 -0
- package/packages/core/storage.ts +274 -0
- package/packages/core/timeline.ts +387 -0
- package/packages/core/tsconfig.json +10 -0
- package/packages/core/util.ts +169 -0
- package/packages/graph/attachments/conversations.ts +14 -0
- package/packages/graph/attachments/index.ts +8 -0
- package/packages/graph/attachments/types.ts +37 -0
- package/packages/graph/batching.ts +408 -0
- package/packages/graph/behaviors/consistency-level.ts +17 -0
- package/packages/graph/behaviors/defaults.ts +41 -0
- package/packages/graph/behaviors/endpoint.ts +22 -0
- package/packages/graph/behaviors/graphbrowser.ts +38 -0
- package/packages/graph/behaviors/paged.ts +109 -0
- package/packages/graph/behaviors/spfx.ts +46 -0
- package/packages/graph/behaviors/telemetry.ts +19 -0
- package/packages/graph/bookings/funcs.ts +18 -0
- package/packages/graph/bookings/index.ts +62 -0
- package/packages/graph/bookings/types.ts +352 -0
- package/packages/graph/calendars/funcs.ts +58 -0
- package/packages/graph/calendars/groups.ts +19 -0
- package/packages/graph/calendars/index.ts +18 -0
- package/packages/graph/calendars/types.ts +73 -0
- package/packages/graph/calendars/users.ts +28 -0
- package/packages/graph/cloud-communications/index.ts +24 -0
- package/packages/graph/cloud-communications/types.ts +32 -0
- package/packages/graph/cloud-communications/users.ts +15 -0
- package/packages/graph/columns/addColumns.ts +28 -0
- package/packages/graph/columns/content-types.ts +44 -0
- package/packages/graph/columns/index.ts +14 -0
- package/packages/graph/columns/lists.ts +33 -0
- package/packages/graph/columns/sites.ts +32 -0
- package/packages/graph/columns/types.ts +24 -0
- package/packages/graph/contacts/index.ts +14 -0
- package/packages/graph/contacts/types.ts +126 -0
- package/packages/graph/contacts/users.ts +17 -0
- package/packages/graph/content-types/index.ts +11 -0
- package/packages/graph/content-types/lists.ts +44 -0
- package/packages/graph/content-types/sites.ts +70 -0
- package/packages/graph/content-types/types.ts +112 -0
- package/packages/graph/conversations/groups.ts +20 -0
- package/packages/graph/conversations/index.ts +19 -0
- package/packages/graph/conversations/types.ts +147 -0
- package/packages/graph/decorators.ts +164 -0
- package/packages/graph/directory-objects/index.ts +24 -0
- package/packages/graph/directory-objects/types.ts +94 -0
- package/packages/graph/fi.ts +46 -0
- package/packages/graph/graphqueryable.ts +193 -0
- package/packages/graph/groups/index.ts +25 -0
- package/packages/graph/groups/types.ts +130 -0
- package/packages/graph/index.ts +21 -0
- package/packages/graph/insights/index.ts +20 -0
- package/packages/graph/insights/types.ts +105 -0
- package/packages/graph/insights/users.ts +14 -0
- package/packages/graph/invitations/index.ts +22 -0
- package/packages/graph/invitations/types.ts +41 -0
- package/packages/graph/lists/drive.ts +21 -0
- package/packages/graph/lists/index.ts +10 -0
- package/packages/graph/lists/sites.ts +16 -0
- package/packages/graph/lists/types.ts +47 -0
- package/packages/graph/members/groups.ts +17 -0
- package/packages/graph/members/index.ts +8 -0
- package/packages/graph/members/types.ts +40 -0
- package/packages/graph/messages/index.ts +14 -0
- package/packages/graph/messages/types.ts +46 -0
- package/packages/graph/messages/users.ts +27 -0
- package/packages/graph/onedrive/funcs.ts +40 -0
- package/packages/graph/onedrive/groups.ts +33 -0
- package/packages/graph/onedrive/index.ts +48 -0
- package/packages/graph/onedrive/sites.ts +35 -0
- package/packages/graph/onedrive/types.ts +482 -0
- package/packages/graph/onedrive/users.ts +56 -0
- package/packages/graph/onenote/index.ts +16 -0
- package/packages/graph/onenote/types.ts +119 -0
- package/packages/graph/onenote/users.ts +14 -0
- package/packages/graph/operations.ts +22 -0
- package/packages/graph/outlook/index.ts +11 -0
- package/packages/graph/outlook/types.ts +58 -0
- package/packages/graph/outlook/users.ts +14 -0
- package/packages/graph/package.json +16 -0
- package/packages/graph/photos/groups.ts +14 -0
- package/packages/graph/photos/index.ts +7 -0
- package/packages/graph/photos/types.ts +33 -0
- package/packages/graph/photos/users.ts +14 -0
- package/packages/graph/planner/groups.ts +14 -0
- package/packages/graph/planner/index.ts +42 -0
- package/packages/graph/planner/types.ts +213 -0
- package/packages/graph/planner/users.ts +14 -0
- package/packages/graph/post-install.cjs +20 -0
- package/packages/graph/presets/all.ts +42 -0
- package/packages/graph/search/index.ts +18 -0
- package/packages/graph/search/types.ts +20 -0
- package/packages/graph/shares/index.ts +23 -0
- package/packages/graph/shares/types.ts +47 -0
- package/packages/graph/sites/group.ts +14 -0
- package/packages/graph/sites/index.ts +25 -0
- package/packages/graph/sites/types.ts +45 -0
- package/packages/graph/subscriptions/index.ts +24 -0
- package/packages/graph/subscriptions/types.ts +59 -0
- package/packages/graph/teams/index.ts +68 -0
- package/packages/graph/teams/types.ts +333 -0
- package/packages/graph/teams/users.ts +14 -0
- package/packages/graph/tsconfig.json +16 -0
- package/packages/graph/users/index.ts +34 -0
- package/packages/graph/users/types.ts +56 -0
- package/packages/graph/utils/type.ts +3 -0
- package/packages/logging/index.ts +145 -0
- package/packages/logging/listeners.ts +134 -0
- package/packages/logging/package.json +10 -0
- package/packages/logging/tsconfig.json +7 -0
- package/packages/msaljsclient/index.ts +40 -0
- package/packages/msaljsclient/package.json +12 -0
- package/packages/msaljsclient/tsconfig.json +12 -0
- package/packages/nodejs/behaviors/fetch.ts +130 -0
- package/packages/nodejs/behaviors/graphdefault.ts +50 -0
- package/packages/nodejs/behaviors/msal.ts +24 -0
- package/packages/nodejs/behaviors/spdefault.ts +45 -0
- package/packages/nodejs/behaviors/stream-parse.ts +7 -0
- package/packages/nodejs/index.ts +33 -0
- package/packages/nodejs/package.json +17 -0
- package/packages/nodejs/sp-extensions/stream.ts +136 -0
- package/packages/nodejs/tsconfig.json +28 -0
- package/packages/queryable/add-prop.ts +18 -0
- package/packages/queryable/behaviors/bearer-token.ts +15 -0
- package/packages/queryable/behaviors/browser-fetch.ts +131 -0
- package/packages/queryable/behaviors/caching-pessimistic.ts +67 -0
- package/packages/queryable/behaviors/caching.ts +149 -0
- package/packages/queryable/behaviors/cancelable.ts +264 -0
- package/packages/queryable/behaviors/inject-headers.ts +23 -0
- package/packages/queryable/behaviors/parsers.ts +134 -0
- package/packages/queryable/behaviors/resolvers.ts +28 -0
- package/packages/queryable/behaviors/timeout.ts +24 -0
- package/packages/queryable/index.ts +19 -0
- package/packages/queryable/invokable.ts +42 -0
- package/packages/queryable/operations.ts +32 -0
- package/packages/queryable/package.json +11 -0
- package/packages/queryable/queryable-factory.ts +19 -0
- package/packages/queryable/queryable.ts +239 -0
- package/packages/queryable/request-builders.ts +20 -0
- package/packages/queryable/tsconfig.json +11 -0
- package/packages/readme.md +21 -0
- package/packages/sp/appcatalog/index.ts +35 -0
- package/packages/sp/appcatalog/types.ts +176 -0
- package/packages/sp/appcatalog/web.ts +19 -0
- package/packages/sp/attachments/index.ts +11 -0
- package/packages/sp/attachments/item.ts +17 -0
- package/packages/sp/attachments/types.ts +95 -0
- package/packages/sp/batching.ts +483 -0
- package/packages/sp/behaviors/defaults.ts +38 -0
- package/packages/sp/behaviors/request-digest.ts +78 -0
- package/packages/sp/behaviors/spbrowser.ts +40 -0
- package/packages/sp/behaviors/spfx.ts +83 -0
- package/packages/sp/behaviors/telemetry.ts +35 -0
- package/packages/sp/clientside-pages/funcs.ts +27 -0
- package/packages/sp/clientside-pages/index.ts +27 -0
- package/packages/sp/clientside-pages/types.ts +1661 -0
- package/packages/sp/clientside-pages/web.ts +93 -0
- package/packages/sp/column-defaults/folder.ts +89 -0
- package/packages/sp/column-defaults/index.ts +8 -0
- package/packages/sp/column-defaults/list.ts +219 -0
- package/packages/sp/column-defaults/types.ts +19 -0
- package/packages/sp/comments/clientside-page.ts +120 -0
- package/packages/sp/comments/index.ts +14 -0
- package/packages/sp/comments/item.ts +77 -0
- package/packages/sp/comments/types.ts +160 -0
- package/packages/sp/content-types/index.ts +17 -0
- package/packages/sp/content-types/item.ts +17 -0
- package/packages/sp/content-types/list.ts +17 -0
- package/packages/sp/content-types/types.ts +181 -0
- package/packages/sp/content-types/web.ts +17 -0
- package/packages/sp/context-info/index.ts +40 -0
- package/packages/sp/decorators.ts +18 -0
- package/packages/sp/favorites/index.ts +32 -0
- package/packages/sp/favorites/types.ts +187 -0
- package/packages/sp/features/index.ts +11 -0
- package/packages/sp/features/site.ts +17 -0
- package/packages/sp/features/types.ts +73 -0
- package/packages/sp/features/web.ts +17 -0
- package/packages/sp/fi.ts +46 -0
- package/packages/sp/fields/index.ts +22 -0
- package/packages/sp/fields/list.ts +17 -0
- package/packages/sp/fields/types.ts +648 -0
- package/packages/sp/fields/web.ts +23 -0
- package/packages/sp/files/folder.ts +17 -0
- package/packages/sp/files/index.ts +25 -0
- package/packages/sp/files/item.ts +17 -0
- package/packages/sp/files/readable-file.ts +40 -0
- package/packages/sp/files/types.ts +771 -0
- package/packages/sp/files/web.ts +46 -0
- package/packages/sp/folders/index.ts +19 -0
- package/packages/sp/folders/item.ts +16 -0
- package/packages/sp/folders/list.ts +17 -0
- package/packages/sp/folders/types.ts +439 -0
- package/packages/sp/folders/web.ts +50 -0
- package/packages/sp/forms/index.ts +9 -0
- package/packages/sp/forms/list.ts +14 -0
- package/packages/sp/forms/types.ts +41 -0
- package/packages/sp/groupsitemanager/index.ts +18 -0
- package/packages/sp/groupsitemanager/types.ts +433 -0
- package/packages/sp/hubsites/index.ts +31 -0
- package/packages/sp/hubsites/site.ts +43 -0
- package/packages/sp/hubsites/types.ts +71 -0
- package/packages/sp/hubsites/web.ts +38 -0
- package/packages/sp/index.ts +24 -0
- package/packages/sp/items/get-all.ts +52 -0
- package/packages/sp/items/index.ts +18 -0
- package/packages/sp/items/list.ts +14 -0
- package/packages/sp/items/types.ts +405 -0
- package/packages/sp/lists/index.ts +23 -0
- package/packages/sp/lists/types.ts +851 -0
- package/packages/sp/lists/web.ts +68 -0
- package/packages/sp/navigation/index.ts +35 -0
- package/packages/sp/navigation/types.ts +243 -0
- package/packages/sp/navigation/web.ts +19 -0
- package/packages/sp/operations.ts +33 -0
- package/packages/sp/package.json +15 -0
- package/packages/sp/post-install.cjs +20 -0
- package/packages/sp/presets/all.ts +75 -0
- package/packages/sp/profiles/index.ts +30 -0
- package/packages/sp/profiles/types.ts +595 -0
- package/packages/sp/publishing-sitepageservice/index.ts +22 -0
- package/packages/sp/publishing-sitepageservice/types.ts +18 -0
- package/packages/sp/recycle-bin/index.ts +36 -0
- package/packages/sp/recycle-bin/types.ts +113 -0
- package/packages/sp/regional-settings/content-type.ts +11 -0
- package/packages/sp/regional-settings/field.ts +11 -0
- package/packages/sp/regional-settings/funcs.ts +10 -0
- package/packages/sp/regional-settings/index.ts +18 -0
- package/packages/sp/regional-settings/list.ts +11 -0
- package/packages/sp/regional-settings/types.ts +159 -0
- package/packages/sp/regional-settings/user-custom-actions.ts +11 -0
- package/packages/sp/regional-settings/web.ts +21 -0
- package/packages/sp/related-items/index.ts +7 -0
- package/packages/sp/related-items/types.ts +194 -0
- package/packages/sp/related-items/web.ts +22 -0
- package/packages/sp/search/index.ts +48 -0
- package/packages/sp/search/query.ts +254 -0
- package/packages/sp/search/suggest.ts +130 -0
- package/packages/sp/search/types.ts +480 -0
- package/packages/sp/security/funcs.ts +94 -0
- package/packages/sp/security/index.ts +21 -0
- package/packages/sp/security/item.ts +29 -0
- package/packages/sp/security/list.ts +29 -0
- package/packages/sp/security/types.ts +440 -0
- package/packages/sp/security/web.ts +34 -0
- package/packages/sp/sharing/file.ts +75 -0
- package/packages/sp/sharing/folder.ts +69 -0
- package/packages/sp/sharing/funcs.ts +258 -0
- package/packages/sp/sharing/index.ts +27 -0
- package/packages/sp/sharing/item.ts +53 -0
- package/packages/sp/sharing/types.ts +626 -0
- package/packages/sp/sharing/web.ts +109 -0
- package/packages/sp/site-designs/index.ts +29 -0
- package/packages/sp/site-designs/types.ts +456 -0
- package/packages/sp/site-designs/web.ts +41 -0
- package/packages/sp/site-groups/index.ts +11 -0
- package/packages/sp/site-groups/types.ts +133 -0
- package/packages/sp/site-groups/web.ts +73 -0
- package/packages/sp/site-scripts/index.ts +27 -0
- package/packages/sp/site-scripts/list.ts +27 -0
- package/packages/sp/site-scripts/types.ts +243 -0
- package/packages/sp/site-scripts/web.ts +24 -0
- package/packages/sp/site-users/index.ts +12 -0
- package/packages/sp/site-users/types.ts +195 -0
- package/packages/sp/site-users/web.ts +56 -0
- package/packages/sp/sites/index.ts +26 -0
- package/packages/sp/sites/types.ts +422 -0
- package/packages/sp/social/index.ts +33 -0
- package/packages/sp/social/types.ts +381 -0
- package/packages/sp/spqueryable.ts +244 -0
- package/packages/sp/sputilities/index.ts +23 -0
- package/packages/sp/sputilities/types.ts +197 -0
- package/packages/sp/subscriptions/index.ts +10 -0
- package/packages/sp/subscriptions/list.ts +18 -0
- package/packages/sp/subscriptions/types.ts +107 -0
- package/packages/sp/taxonomy/index.ts +50 -0
- package/packages/sp/taxonomy/types.ts +508 -0
- package/packages/sp/tsconfig.json +16 -0
- package/packages/sp/types.ts +283 -0
- package/packages/sp/user-custom-actions/index.ts +15 -0
- package/packages/sp/user-custom-actions/list.ts +18 -0
- package/packages/sp/user-custom-actions/site.ts +18 -0
- package/packages/sp/user-custom-actions/types.ts +133 -0
- package/packages/sp/user-custom-actions/web.ts +21 -0
- package/packages/sp/utils/encode-path-str.ts +29 -0
- package/packages/sp/utils/extract-web-url.ts +21 -0
- package/packages/sp/utils/file-names.ts +35 -0
- package/packages/sp/utils/metadata.ts +5 -0
- package/packages/sp/utils/odata-url-from.ts +42 -0
- package/packages/sp/utils/to-resource-path.ts +9 -0
- package/packages/sp/views/index.ts +14 -0
- package/packages/sp/views/list.ts +33 -0
- package/packages/sp/views/types.ts +210 -0
- package/packages/sp/webparts/file.ts +21 -0
- package/packages/sp/webparts/index.ts +11 -0
- package/packages/sp/webparts/types.ts +141 -0
- package/packages/sp/webs/index.ts +32 -0
- package/packages/sp/webs/types.ts +350 -0
- package/packages/sp-admin/index.ts +46 -0
- package/packages/sp-admin/office-tenant.ts +567 -0
- package/packages/sp-admin/package.json +13 -0
- package/packages/sp-admin/site-properties.ts +45 -0
- package/packages/sp-admin/tenant.ts +595 -0
- package/packages/sp-admin/tsconfig.json +20 -0
- package/packages/sp-admin/types.ts +1679 -0
- package/packages/tsconfig-watch.json +9 -0
- package/packages/tsconfig.json +37 -0
- package/pre-install.cjs +1 -0
- package/samples/custom-bundle-webpack/index.ts +33 -0
- package/samples/custom-bundle-webpack/package-lock.json +4601 -0
- package/samples/custom-bundle-webpack/package.json +18 -0
- package/samples/custom-bundle-webpack/readme.md +102 -0
- package/samples/custom-bundle-webpack/tsconfig.json +12 -0
- package/samples/custom-bundle-webpack/webpack.config.js +27 -0
- package/samples/nodejs-app/.vscode/launch.json +27 -0
- package/samples/nodejs-app/.vscode/settings.json +10 -0
- package/samples/nodejs-app/.vscode/tasks.json +22 -0
- package/samples/nodejs-app/index.ts +63 -0
- package/samples/nodejs-app/package-lock.json +259 -0
- package/samples/nodejs-app/package.json +21 -0
- package/samples/nodejs-app/readme.md +140 -0
- package/samples/nodejs-app/tsconfig.json +14 -0
- package/samples/nodejs-commonjs/package-lock.json +702 -0
- package/samples/nodejs-commonjs/package.json +21 -0
- package/samples/nodejs-commonjs/readme.md +58 -0
- package/samples/nodejs-commonjs/src/index.ts +23 -0
- package/samples/nodejs-commonjs/src/settings.ts +35 -0
- package/samples/nodejs-commonjs/tsconfig.json +35 -0
- package/samples/project-preset/README.md +73 -0
- package/samples/project-preset/package-lock.json +21097 -0
- package/samples/project-preset/package.json +29 -0
- package/samples/project-preset/teams/4530a515-8ba7-45bb-9a27-be06b33c59d4_color.png +0 -0
- package/samples/project-preset/teams/4530a515-8ba7-45bb-9a27-be06b33c59d4_outline.png +0 -0
- package/samples/readme.md +16 -0
- package/settings.example.js +57 -0
- package/test/args.ts +107 -0
- package/test/clean-subsite.ts +36 -0
- package/test/core/assumptions.ts +99 -0
- package/test/core/storage.ts +60 -0
- package/test/core/timeline.ts +205 -0
- package/test/core/util.ts +205 -0
- package/test/graph/assets/testconvert.docx +0 -0
- package/test/graph/batch.ts +125 -0
- package/test/graph/calendars.ts +234 -0
- package/test/graph/columns.ts +247 -0
- package/test/graph/contacts.ts +254 -0
- package/test/graph/content-types.ts +206 -0
- package/test/graph/directoryobjects.ts +115 -0
- package/test/graph/groups.ts +130 -0
- package/test/graph/lists.ts +72 -0
- package/test/graph/onedrive.ts +365 -0
- package/test/graph/outlook.ts +95 -0
- package/test/graph/paging.ts +91 -0
- package/test/graph/planner.ts +160 -0
- package/test/graph/querable.ts +97 -0
- package/test/graph/search.ts +4 -0
- package/test/graph/shares.ts +26 -0
- package/test/graph/sites.ts +40 -0
- package/test/graph/teams.ts +76 -0
- package/test/graph/utilities/getTestingGraphSPSite.ts +27 -0
- package/test/graph/utilities/getValidUser.ts +37 -0
- package/test/load-settings.ts +103 -0
- package/test/logging/logging.ts +86 -0
- package/test/mocha-root-hooks.ts +227 -0
- package/test/nodejs/sp-extensions.ts +86 -0
- package/test/pnp-test.ts +60 -0
- package/test/queryable/add-prop.ts +24 -0
- package/test/queryable/behaviors.ts +188 -0
- package/test/queryable/invokable.ts +35 -0
- package/test/queryable/queryable.ts +118 -0
- package/test/sp/alias.ts +46 -0
- package/test/sp/appcatalog.ts +142 -0
- package/test/sp/assets/helloworld.sppkg +0 -0
- package/test/sp/assets/sample_file.jpg +0 -0
- package/test/sp/attachments.ts +134 -0
- package/test/sp/batch.ts +362 -0
- package/test/sp/clientside-pages.ts +426 -0
- package/test/sp/column-defaults.ts +225 -0
- package/test/sp/comments.ts +202 -0
- package/test/sp/content-types.ts +68 -0
- package/test/sp/favorites.ts +2 -0
- package/test/sp/features.ts +201 -0
- package/test/sp/fields.ts +396 -0
- package/test/sp/files.ts +338 -0
- package/test/sp/folders.ts +242 -0
- package/test/sp/forms.ts +22 -0
- package/test/sp/groupsitemanager.ts +88 -0
- package/test/sp/hubsites.ts +41 -0
- package/test/sp/items.ts +179 -0
- package/test/sp/lists.ts +319 -0
- package/test/sp/navigation.ts +167 -0
- package/test/sp/profiles.ts +2 -0
- package/test/sp/query-escaping.ts +94 -0
- package/test/sp/recycle-bin.ts +1 -0
- package/test/sp/regional-settings.ts +58 -0
- package/test/sp/related-items.ts +94 -0
- package/test/sp/search.ts +39 -0
- package/test/sp/security.ts +90 -0
- package/test/sp/sharing.ts +313 -0
- package/test/sp/site-designs.ts +224 -0
- package/test/sp/site-groups.ts +98 -0
- package/test/sp/site-scripts.ts +162 -0
- package/test/sp/site-users.ts +93 -0
- package/test/sp/sites.ts +156 -0
- package/test/sp/social.ts +2 -0
- package/test/sp/spfx.ts +52 -0
- package/test/sp/sputilities.ts +78 -0
- package/test/sp/subscriptions.ts +64 -0
- package/test/sp/taxonomy.ts +178 -0
- package/test/sp/user-custom-actions.ts +31 -0
- package/test/sp/views.ts +117 -0
- package/test/sp/webparts.ts +38 -0
- package/test/sp/webs.ts +249 -0
- package/test/test-invokable-props.ts +35 -0
- package/test/test-props.ts +90 -0
- package/test/test-recording.ts +171 -0
- package/test/tsconfig.json +18 -0
- package/tools/buildsystem/package-lock.json +4404 -0
- package/tools/buildsystem/package.json +56 -0
- package/tools/buildsystem/readme.md +23 -0
- package/tools/config.js +34 -0
- package/tools/local-module-resolver/cjs.ts +33 -0
- package/tools/local-module-resolver/esm-debug.ts +2 -0
- package/tools/local-module-resolver/esm-test.ts +2 -0
- package/tools/local-module-resolver/esm.ts +112 -0
- package/tools/local-module-resolver/readme.md +8 -0
- package/tsconfig.buildsystem.json +17 -0
- package/tsconfig.json +42 -0
@@ -0,0 +1,2685 @@
|
|
1
|
+
|
2
|
+
<!doctype html>
|
3
|
+
<html lang="en" class="no-js">
|
4
|
+
<head>
|
5
|
+
|
6
|
+
<meta charset="utf-8">
|
7
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
8
|
+
|
9
|
+
|
10
|
+
<link rel="canonical" href="https://pnp.github.io/pnpjs/concepts/configuration/">
|
11
|
+
|
12
|
+
|
13
|
+
<link rel="shortcut icon" href="../../assets/images/favicon.png">
|
14
|
+
<meta name="generator" content="mkdocs-1.1.2, mkdocs-material-6.0.2">
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
<title>Configuration - PnP/PnPjs</title>
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
<link rel="stylesheet" href="../../assets/stylesheets/main.38780c08.min.css">
|
23
|
+
|
24
|
+
|
25
|
+
<link rel="stylesheet" href="../../assets/stylesheets/palette.3f72e892.min.css">
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
<meta name="theme-color" content="#2094f3">
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
<link href="https://fonts.gstatic.com" rel="preconnect" crossorigin>
|
38
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700%7CRoboto+Mono&display=fallback">
|
39
|
+
<style>body,input{font-family:"Roboto",-apple-system,BlinkMacSystemFont,Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"Roboto Mono",SFMono-Regular,Consolas,Menlo,monospace}</style>
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
<link rel="stylesheet" href="../../css/extra.css">
|
45
|
+
|
46
|
+
|
47
|
+
<img src="https://telemetry.sharepointpnp.com/@pnp/pnpjs/ghpages/pnpjs/concepts/configuration/" alt="spacer" width="1" height="1" />
|
48
|
+
|
49
|
+
|
50
|
+
</head>
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
<body dir="ltr" data-md-color-scheme="" data-md-color-primary="blue" data-md-color-accent="">
|
59
|
+
|
60
|
+
|
61
|
+
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
62
|
+
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
63
|
+
<label class="md-overlay" for="__drawer"></label>
|
64
|
+
<div data-md-component="skip">
|
65
|
+
|
66
|
+
|
67
|
+
<a href="#pnpjs-configuration" class="md-skip">
|
68
|
+
Skip to content
|
69
|
+
</a>
|
70
|
+
|
71
|
+
</div>
|
72
|
+
<div data-md-component="announce">
|
73
|
+
|
74
|
+
</div>
|
75
|
+
|
76
|
+
<header class="md-header" data-md-component="header">
|
77
|
+
<nav class="md-header-nav md-grid" aria-label="Header">
|
78
|
+
<a href="https://pnp.github.io/pnpjs/" title="PnP/PnPjs" class="md-header-nav__button md-logo" aria-label="PnP/PnPjs">
|
79
|
+
|
80
|
+
<img src="../../img/Logo.png" alt="logo">
|
81
|
+
|
82
|
+
</a>
|
83
|
+
<label class="md-header-nav__button md-icon" for="__drawer">
|
84
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2z"/></svg>
|
85
|
+
</label>
|
86
|
+
<div class="md-header-nav__title" data-md-component="header-title">
|
87
|
+
|
88
|
+
<div class="md-header-nav__ellipsis">
|
89
|
+
<span class="md-header-nav__topic md-ellipsis">
|
90
|
+
PnP/PnPjs
|
91
|
+
</span>
|
92
|
+
<span class="md-header-nav__topic md-ellipsis">
|
93
|
+
|
94
|
+
Configuration
|
95
|
+
|
96
|
+
</span>
|
97
|
+
</div>
|
98
|
+
|
99
|
+
</div>
|
100
|
+
|
101
|
+
<label class="md-header-nav__button md-icon" for="__search">
|
102
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
103
|
+
</label>
|
104
|
+
|
105
|
+
<div class="md-search" data-md-component="search" role="dialog">
|
106
|
+
<label class="md-search__overlay" for="__search"></label>
|
107
|
+
<div class="md-search__inner" role="search">
|
108
|
+
<form class="md-search__form" name="search">
|
109
|
+
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" data-md-state="active">
|
110
|
+
<label class="md-search__icon md-icon" for="__search">
|
111
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5z"/></svg>
|
112
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
113
|
+
</label>
|
114
|
+
<button type="reset" class="md-search__icon md-icon" aria-label="Clear" data-md-component="search-reset" tabindex="-1">
|
115
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
|
116
|
+
</button>
|
117
|
+
</form>
|
118
|
+
<div class="md-search__output">
|
119
|
+
<div class="md-search__scrollwrap" data-md-scrollfix>
|
120
|
+
<div class="md-search-result" data-md-component="search-result">
|
121
|
+
<div class="md-search-result__meta">
|
122
|
+
Initializing search
|
123
|
+
</div>
|
124
|
+
<ol class="md-search-result__list"></ol>
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
</div>
|
130
|
+
|
131
|
+
|
132
|
+
<div class="md-header-nav__source">
|
133
|
+
|
134
|
+
<a href="https://github.com/pnp/pnpjs/" title="Go to repository" class="md-source">
|
135
|
+
<div class="md-source__icon md-icon">
|
136
|
+
|
137
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
138
|
+
</div>
|
139
|
+
<div class="md-source__repository">
|
140
|
+
GitHub
|
141
|
+
</div>
|
142
|
+
</a>
|
143
|
+
</div>
|
144
|
+
|
145
|
+
</nav>
|
146
|
+
</header>
|
147
|
+
|
148
|
+
<div class="md-container" data-md-component="container">
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
<main class="md-main" data-md-component="main">
|
154
|
+
<div class="md-main__inner md-grid">
|
155
|
+
|
156
|
+
|
157
|
+
<div class="md-sidebar md-sidebar--primary" data-md-component="navigation">
|
158
|
+
<div class="md-sidebar__scrollwrap">
|
159
|
+
<div class="md-sidebar__inner">
|
160
|
+
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
161
|
+
<label class="md-nav__title" for="__drawer">
|
162
|
+
<a href="https://pnp.github.io/pnpjs/" title="PnP/PnPjs" class="md-nav__button md-logo" aria-label="PnP/PnPjs">
|
163
|
+
|
164
|
+
<img src="../../img/Logo.png" alt="logo">
|
165
|
+
|
166
|
+
</a>
|
167
|
+
PnP/PnPjs
|
168
|
+
</label>
|
169
|
+
|
170
|
+
<div class="md-nav__source">
|
171
|
+
|
172
|
+
<a href="https://github.com/pnp/pnpjs/" title="Go to repository" class="md-source">
|
173
|
+
<div class="md-source__icon md-icon">
|
174
|
+
|
175
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.55 236.05L244 40.45a28.87 28.87 0 00-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 01-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 000 40.81l195.61 195.6a28.86 28.86 0 0040.8 0l194.69-194.69a28.86 28.86 0 000-40.81z"/></svg>
|
176
|
+
</div>
|
177
|
+
<div class="md-source__repository">
|
178
|
+
GitHub
|
179
|
+
</div>
|
180
|
+
</a>
|
181
|
+
</div>
|
182
|
+
|
183
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
<li class="md-nav__item">
|
191
|
+
<a href="../.." class="md-nav__link">
|
192
|
+
Home
|
193
|
+
</a>
|
194
|
+
</li>
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
<li class="md-nav__item">
|
203
|
+
<a href="../../getting-started/" class="md-nav__link">
|
204
|
+
Getting Started
|
205
|
+
</a>
|
206
|
+
</li>
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
<li class="md-nav__item">
|
215
|
+
<a href="../../news/2020-year-in-review/" class="md-nav__link">
|
216
|
+
2020 Year In Review
|
217
|
+
</a>
|
218
|
+
</li>
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
<li class="md-nav__item md-nav__item--nested">
|
227
|
+
|
228
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-4" type="checkbox" id="nav-4">
|
229
|
+
|
230
|
+
<label class="md-nav__link" for="nav-4">
|
231
|
+
General
|
232
|
+
<span class="md-nav__icon md-icon"></span>
|
233
|
+
</label>
|
234
|
+
<nav class="md-nav" aria-label="General" data-md-level="1">
|
235
|
+
<label class="md-nav__title" for="nav-4">
|
236
|
+
<span class="md-nav__icon md-icon"></span>
|
237
|
+
General
|
238
|
+
</label>
|
239
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
<li class="md-nav__item">
|
248
|
+
<a href="../../getting-started/" class="md-nav__link">
|
249
|
+
Getting Started
|
250
|
+
</a>
|
251
|
+
</li>
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
|
258
|
+
|
259
|
+
<li class="md-nav__item">
|
260
|
+
<a href="../../transition-guide/" class="md-nav__link">
|
261
|
+
Transition Guide
|
262
|
+
</a>
|
263
|
+
</li>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
<li class="md-nav__item">
|
272
|
+
<a href="../../npm-scripts/" class="md-nav__link">
|
273
|
+
Npm Scripts
|
274
|
+
</a>
|
275
|
+
</li>
|
276
|
+
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
|
282
|
+
|
283
|
+
<li class="md-nav__item">
|
284
|
+
<a href="../../SPFx-on-premises/" class="md-nav__link">
|
285
|
+
SPFx On-Premises
|
286
|
+
</a>
|
287
|
+
</li>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
<li class="md-nav__item">
|
296
|
+
<a href="../../nodejs-support/" class="md-nav__link">
|
297
|
+
Working in Nodejs
|
298
|
+
</a>
|
299
|
+
</li>
|
300
|
+
|
301
|
+
|
302
|
+
</ul>
|
303
|
+
</nav>
|
304
|
+
</li>
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
|
309
|
+
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
<li class="md-nav__item md-nav__item--active md-nav__item--nested">
|
315
|
+
|
316
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-5" type="checkbox" id="nav-5" checked>
|
317
|
+
|
318
|
+
<label class="md-nav__link" for="nav-5">
|
319
|
+
Library Concepts
|
320
|
+
<span class="md-nav__icon md-icon"></span>
|
321
|
+
</label>
|
322
|
+
<nav class="md-nav" aria-label="Library Concepts" data-md-level="1">
|
323
|
+
<label class="md-nav__title" for="nav-5">
|
324
|
+
<span class="md-nav__icon md-icon"></span>
|
325
|
+
Library Concepts
|
326
|
+
</label>
|
327
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
|
335
|
+
|
336
|
+
|
337
|
+
<li class="md-nav__item md-nav__item--active">
|
338
|
+
|
339
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="toc" type="checkbox" id="__toc">
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
<a href="./" class="md-nav__link md-nav__link--active">
|
345
|
+
Configuration
|
346
|
+
</a>
|
347
|
+
|
348
|
+
</li>
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
|
356
|
+
<li class="md-nav__item">
|
357
|
+
<a href="../selective-imports/" class="md-nav__link">
|
358
|
+
Selective Imports
|
359
|
+
</a>
|
360
|
+
</li>
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
<li class="md-nav__item">
|
369
|
+
<a href="../custom-bundle/" class="md-nav__link">
|
370
|
+
Custom Bundle
|
371
|
+
</a>
|
372
|
+
</li>
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
<li class="md-nav__item">
|
381
|
+
<a href="../ie11-mode/" class="md-nav__link">
|
382
|
+
IE11 Mode
|
383
|
+
</a>
|
384
|
+
</li>
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
<li class="md-nav__item">
|
393
|
+
<a href="../invokable/" class="md-nav__link">
|
394
|
+
Invokables
|
395
|
+
</a>
|
396
|
+
</li>
|
397
|
+
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
|
402
|
+
|
403
|
+
|
404
|
+
<li class="md-nav__item">
|
405
|
+
<a href="../polyfill/" class="md-nav__link">
|
406
|
+
Polyfills
|
407
|
+
</a>
|
408
|
+
</li>
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
<li class="md-nav__item">
|
417
|
+
<a href="../settings/" class="md-nav__link">
|
418
|
+
Settings
|
419
|
+
</a>
|
420
|
+
</li>
|
421
|
+
|
422
|
+
|
423
|
+
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
<li class="md-nav__item">
|
429
|
+
<a href="../error-handling/" class="md-nav__link">
|
430
|
+
Error Handling
|
431
|
+
</a>
|
432
|
+
</li>
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
<li class="md-nav__item md-nav__item--nested">
|
441
|
+
|
442
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-5-9" type="checkbox" id="nav-5-9">
|
443
|
+
|
444
|
+
<label class="md-nav__link" for="nav-5-9">
|
445
|
+
Authentication
|
446
|
+
<span class="md-nav__icon md-icon"></span>
|
447
|
+
</label>
|
448
|
+
<nav class="md-nav" aria-label="Authentication" data-md-level="2">
|
449
|
+
<label class="md-nav__title" for="nav-5-9">
|
450
|
+
<span class="md-nav__icon md-icon"></span>
|
451
|
+
Authentication
|
452
|
+
</label>
|
453
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
454
|
+
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
<li class="md-nav__item">
|
462
|
+
<a href="../../authentication/" class="md-nav__link">
|
463
|
+
Getting Started
|
464
|
+
</a>
|
465
|
+
</li>
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
<li class="md-nav__item">
|
474
|
+
<a href="../../authentication/client-spfx/" class="md-nav__link">
|
475
|
+
SPFx Auth
|
476
|
+
</a>
|
477
|
+
</li>
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
<li class="md-nav__item">
|
486
|
+
<a href="../../authentication/msaljsclient/" class="md-nav__link">
|
487
|
+
MSAL Client
|
488
|
+
</a>
|
489
|
+
</li>
|
490
|
+
|
491
|
+
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
<li class="md-nav__item">
|
498
|
+
<a href="../../authentication/adaljsclient/" class="md-nav__link">
|
499
|
+
ADAL Client
|
500
|
+
</a>
|
501
|
+
</li>
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
|
509
|
+
<li class="md-nav__item">
|
510
|
+
<a href="../../authentication/client-spa/" class="md-nav__link">
|
511
|
+
SPA Auth
|
512
|
+
</a>
|
513
|
+
</li>
|
514
|
+
|
515
|
+
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
<li class="md-nav__item">
|
522
|
+
<a href="../../authentication/server-nodejs/" class="md-nav__link">
|
523
|
+
NodeJS Auth
|
524
|
+
</a>
|
525
|
+
</li>
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
|
531
|
+
|
532
|
+
|
533
|
+
<li class="md-nav__item">
|
534
|
+
<a href="../../authentication/sp-app-registration/" class="md-nav__link">
|
535
|
+
SP App Reg
|
536
|
+
</a>
|
537
|
+
</li>
|
538
|
+
|
539
|
+
|
540
|
+
|
541
|
+
|
542
|
+
|
543
|
+
|
544
|
+
|
545
|
+
<li class="md-nav__item">
|
546
|
+
<a href="../../authentication/bearertokenclient/" class="md-nav__link">
|
547
|
+
Bearer Token Client
|
548
|
+
</a>
|
549
|
+
</li>
|
550
|
+
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
|
555
|
+
|
556
|
+
|
557
|
+
<li class="md-nav__item">
|
558
|
+
<a href="../../authentication/lambdaclient/" class="md-nav__link">
|
559
|
+
Lambda Token Client
|
560
|
+
</a>
|
561
|
+
</li>
|
562
|
+
|
563
|
+
|
564
|
+
</ul>
|
565
|
+
</nav>
|
566
|
+
</li>
|
567
|
+
|
568
|
+
|
569
|
+
</ul>
|
570
|
+
</nav>
|
571
|
+
</li>
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
|
577
|
+
|
578
|
+
|
579
|
+
<li class="md-nav__item md-nav__item--nested">
|
580
|
+
|
581
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6" type="checkbox" id="nav-6">
|
582
|
+
|
583
|
+
<label class="md-nav__link" for="nav-6">
|
584
|
+
Packages
|
585
|
+
<span class="md-nav__icon md-icon"></span>
|
586
|
+
</label>
|
587
|
+
<nav class="md-nav" aria-label="Packages" data-md-level="1">
|
588
|
+
<label class="md-nav__title" for="nav-6">
|
589
|
+
<span class="md-nav__icon md-icon"></span>
|
590
|
+
Packages
|
591
|
+
</label>
|
592
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
593
|
+
|
594
|
+
|
595
|
+
|
596
|
+
|
597
|
+
|
598
|
+
|
599
|
+
|
600
|
+
<li class="md-nav__item">
|
601
|
+
<a href="../../packages/" class="md-nav__link">
|
602
|
+
Packages
|
603
|
+
</a>
|
604
|
+
</li>
|
605
|
+
|
606
|
+
|
607
|
+
|
608
|
+
|
609
|
+
|
610
|
+
|
611
|
+
|
612
|
+
<li class="md-nav__item md-nav__item--nested">
|
613
|
+
|
614
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-2" type="checkbox" id="nav-6-2">
|
615
|
+
|
616
|
+
<label class="md-nav__link" for="nav-6-2">
|
617
|
+
common
|
618
|
+
<span class="md-nav__icon md-icon"></span>
|
619
|
+
</label>
|
620
|
+
<nav class="md-nav" aria-label="common" data-md-level="2">
|
621
|
+
<label class="md-nav__title" for="nav-6-2">
|
622
|
+
<span class="md-nav__icon md-icon"></span>
|
623
|
+
common
|
624
|
+
</label>
|
625
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
626
|
+
|
627
|
+
|
628
|
+
|
629
|
+
|
630
|
+
|
631
|
+
|
632
|
+
|
633
|
+
<li class="md-nav__item">
|
634
|
+
<a href="../../common/" class="md-nav__link">
|
635
|
+
common
|
636
|
+
</a>
|
637
|
+
</li>
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
|
642
|
+
|
643
|
+
|
644
|
+
|
645
|
+
<li class="md-nav__item">
|
646
|
+
<a href="../../common/collections/" class="md-nav__link">
|
647
|
+
collections
|
648
|
+
</a>
|
649
|
+
</li>
|
650
|
+
|
651
|
+
|
652
|
+
|
653
|
+
|
654
|
+
|
655
|
+
|
656
|
+
|
657
|
+
<li class="md-nav__item">
|
658
|
+
<a href="../../common/custom-httpclientimpl/" class="md-nav__link">
|
659
|
+
Custom HttpClientImpl
|
660
|
+
</a>
|
661
|
+
</li>
|
662
|
+
|
663
|
+
|
664
|
+
|
665
|
+
|
666
|
+
|
667
|
+
|
668
|
+
|
669
|
+
<li class="md-nav__item">
|
670
|
+
<a href="../../common/libconfig/" class="md-nav__link">
|
671
|
+
libconfig
|
672
|
+
</a>
|
673
|
+
</li>
|
674
|
+
|
675
|
+
|
676
|
+
|
677
|
+
|
678
|
+
|
679
|
+
|
680
|
+
|
681
|
+
<li class="md-nav__item">
|
682
|
+
<a href="../../common/netutil/" class="md-nav__link">
|
683
|
+
netutil
|
684
|
+
</a>
|
685
|
+
</li>
|
686
|
+
|
687
|
+
|
688
|
+
|
689
|
+
|
690
|
+
|
691
|
+
|
692
|
+
|
693
|
+
<li class="md-nav__item">
|
694
|
+
<a href="../../common/storage/" class="md-nav__link">
|
695
|
+
storage
|
696
|
+
</a>
|
697
|
+
</li>
|
698
|
+
|
699
|
+
|
700
|
+
|
701
|
+
|
702
|
+
|
703
|
+
|
704
|
+
|
705
|
+
<li class="md-nav__item">
|
706
|
+
<a href="../../common/util/" class="md-nav__link">
|
707
|
+
util
|
708
|
+
</a>
|
709
|
+
</li>
|
710
|
+
|
711
|
+
|
712
|
+
</ul>
|
713
|
+
</nav>
|
714
|
+
</li>
|
715
|
+
|
716
|
+
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
|
721
|
+
|
722
|
+
<li class="md-nav__item md-nav__item--nested">
|
723
|
+
|
724
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-3" type="checkbox" id="nav-6-3">
|
725
|
+
|
726
|
+
<label class="md-nav__link" for="nav-6-3">
|
727
|
+
config-store
|
728
|
+
<span class="md-nav__icon md-icon"></span>
|
729
|
+
</label>
|
730
|
+
<nav class="md-nav" aria-label="config-store" data-md-level="2">
|
731
|
+
<label class="md-nav__title" for="nav-6-3">
|
732
|
+
<span class="md-nav__icon md-icon"></span>
|
733
|
+
config-store
|
734
|
+
</label>
|
735
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
736
|
+
|
737
|
+
|
738
|
+
|
739
|
+
|
740
|
+
|
741
|
+
|
742
|
+
|
743
|
+
<li class="md-nav__item">
|
744
|
+
<a href="../../config-store/" class="md-nav__link">
|
745
|
+
config-store
|
746
|
+
</a>
|
747
|
+
</li>
|
748
|
+
|
749
|
+
|
750
|
+
|
751
|
+
|
752
|
+
|
753
|
+
|
754
|
+
|
755
|
+
<li class="md-nav__item">
|
756
|
+
<a href="../../config-store/configuration/" class="md-nav__link">
|
757
|
+
configuration
|
758
|
+
</a>
|
759
|
+
</li>
|
760
|
+
|
761
|
+
|
762
|
+
|
763
|
+
|
764
|
+
|
765
|
+
|
766
|
+
|
767
|
+
<li class="md-nav__item">
|
768
|
+
<a href="../../config-store/providers/" class="md-nav__link">
|
769
|
+
providers
|
770
|
+
</a>
|
771
|
+
</li>
|
772
|
+
|
773
|
+
|
774
|
+
</ul>
|
775
|
+
</nav>
|
776
|
+
</li>
|
777
|
+
|
778
|
+
|
779
|
+
|
780
|
+
|
781
|
+
|
782
|
+
|
783
|
+
|
784
|
+
<li class="md-nav__item md-nav__item--nested">
|
785
|
+
|
786
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-4" type="checkbox" id="nav-6-4">
|
787
|
+
|
788
|
+
<label class="md-nav__link" for="nav-6-4">
|
789
|
+
graph
|
790
|
+
<span class="md-nav__icon md-icon"></span>
|
791
|
+
</label>
|
792
|
+
<nav class="md-nav" aria-label="graph" data-md-level="2">
|
793
|
+
<label class="md-nav__title" for="nav-6-4">
|
794
|
+
<span class="md-nav__icon md-icon"></span>
|
795
|
+
graph
|
796
|
+
</label>
|
797
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
798
|
+
|
799
|
+
|
800
|
+
|
801
|
+
|
802
|
+
|
803
|
+
|
804
|
+
|
805
|
+
<li class="md-nav__item">
|
806
|
+
<a href="../../graph/" class="md-nav__link">
|
807
|
+
graph
|
808
|
+
</a>
|
809
|
+
</li>
|
810
|
+
|
811
|
+
|
812
|
+
|
813
|
+
|
814
|
+
|
815
|
+
|
816
|
+
|
817
|
+
<li class="md-nav__item">
|
818
|
+
<a href="../../graph/groups/" class="md-nav__link">
|
819
|
+
groups
|
820
|
+
</a>
|
821
|
+
</li>
|
822
|
+
|
823
|
+
|
824
|
+
|
825
|
+
|
826
|
+
|
827
|
+
|
828
|
+
|
829
|
+
<li class="md-nav__item">
|
830
|
+
<a href="../../graph/insights/" class="md-nav__link">
|
831
|
+
insights
|
832
|
+
</a>
|
833
|
+
</li>
|
834
|
+
|
835
|
+
|
836
|
+
|
837
|
+
|
838
|
+
|
839
|
+
|
840
|
+
|
841
|
+
<li class="md-nav__item">
|
842
|
+
<a href="../../graph/contacts/" class="md-nav__link">
|
843
|
+
contacts
|
844
|
+
</a>
|
845
|
+
</li>
|
846
|
+
|
847
|
+
|
848
|
+
|
849
|
+
|
850
|
+
|
851
|
+
|
852
|
+
|
853
|
+
<li class="md-nav__item">
|
854
|
+
<a href="../../graph/calendars/" class="md-nav__link">
|
855
|
+
calendars
|
856
|
+
</a>
|
857
|
+
</li>
|
858
|
+
|
859
|
+
|
860
|
+
|
861
|
+
|
862
|
+
|
863
|
+
|
864
|
+
|
865
|
+
<li class="md-nav__item">
|
866
|
+
<a href="../../graph/directoryobjects/" class="md-nav__link">
|
867
|
+
directory objects
|
868
|
+
</a>
|
869
|
+
</li>
|
870
|
+
|
871
|
+
|
872
|
+
|
873
|
+
|
874
|
+
|
875
|
+
|
876
|
+
|
877
|
+
<li class="md-nav__item">
|
878
|
+
<a href="../../graph/invitations/" class="md-nav__link">
|
879
|
+
invitations
|
880
|
+
</a>
|
881
|
+
</li>
|
882
|
+
|
883
|
+
|
884
|
+
|
885
|
+
|
886
|
+
|
887
|
+
|
888
|
+
|
889
|
+
<li class="md-nav__item">
|
890
|
+
<a href="../../graph/onedrive/" class="md-nav__link">
|
891
|
+
onedrive
|
892
|
+
</a>
|
893
|
+
</li>
|
894
|
+
|
895
|
+
|
896
|
+
|
897
|
+
|
898
|
+
|
899
|
+
|
900
|
+
|
901
|
+
<li class="md-nav__item">
|
902
|
+
<a href="../../graph/outlook/" class="md-nav__link">
|
903
|
+
outlook
|
904
|
+
</a>
|
905
|
+
</li>
|
906
|
+
|
907
|
+
|
908
|
+
|
909
|
+
|
910
|
+
|
911
|
+
|
912
|
+
|
913
|
+
<li class="md-nav__item">
|
914
|
+
<a href="../../graph/photos/" class="md-nav__link">
|
915
|
+
photos
|
916
|
+
</a>
|
917
|
+
</li>
|
918
|
+
|
919
|
+
|
920
|
+
|
921
|
+
|
922
|
+
|
923
|
+
|
924
|
+
|
925
|
+
<li class="md-nav__item">
|
926
|
+
<a href="../../graph/planner/" class="md-nav__link">
|
927
|
+
planner
|
928
|
+
</a>
|
929
|
+
</li>
|
930
|
+
|
931
|
+
|
932
|
+
|
933
|
+
|
934
|
+
|
935
|
+
|
936
|
+
|
937
|
+
<li class="md-nav__item">
|
938
|
+
<a href="../../graph/search/" class="md-nav__link">
|
939
|
+
search
|
940
|
+
</a>
|
941
|
+
</li>
|
942
|
+
|
943
|
+
|
944
|
+
|
945
|
+
|
946
|
+
|
947
|
+
|
948
|
+
|
949
|
+
<li class="md-nav__item">
|
950
|
+
<a href="../../graph/subscriptions/" class="md-nav__link">
|
951
|
+
subscriptions
|
952
|
+
</a>
|
953
|
+
</li>
|
954
|
+
|
955
|
+
|
956
|
+
|
957
|
+
|
958
|
+
|
959
|
+
|
960
|
+
|
961
|
+
<li class="md-nav__item">
|
962
|
+
<a href="../../graph/teams/" class="md-nav__link">
|
963
|
+
teams
|
964
|
+
</a>
|
965
|
+
</li>
|
966
|
+
|
967
|
+
|
968
|
+
|
969
|
+
|
970
|
+
|
971
|
+
|
972
|
+
|
973
|
+
<li class="md-nav__item">
|
974
|
+
<a href="../../graph/users/" class="md-nav__link">
|
975
|
+
users
|
976
|
+
</a>
|
977
|
+
</li>
|
978
|
+
|
979
|
+
|
980
|
+
</ul>
|
981
|
+
</nav>
|
982
|
+
</li>
|
983
|
+
|
984
|
+
|
985
|
+
|
986
|
+
|
987
|
+
|
988
|
+
|
989
|
+
|
990
|
+
<li class="md-nav__item">
|
991
|
+
<a href="../../logging/" class="md-nav__link">
|
992
|
+
logging
|
993
|
+
</a>
|
994
|
+
</li>
|
995
|
+
|
996
|
+
|
997
|
+
|
998
|
+
|
999
|
+
|
1000
|
+
|
1001
|
+
|
1002
|
+
<li class="md-nav__item md-nav__item--nested">
|
1003
|
+
|
1004
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-6" type="checkbox" id="nav-6-6">
|
1005
|
+
|
1006
|
+
<label class="md-nav__link" for="nav-6-6">
|
1007
|
+
nodejs
|
1008
|
+
<span class="md-nav__icon md-icon"></span>
|
1009
|
+
</label>
|
1010
|
+
<nav class="md-nav" aria-label="nodejs" data-md-level="2">
|
1011
|
+
<label class="md-nav__title" for="nav-6-6">
|
1012
|
+
<span class="md-nav__icon md-icon"></span>
|
1013
|
+
nodejs
|
1014
|
+
</label>
|
1015
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
1016
|
+
|
1017
|
+
|
1018
|
+
|
1019
|
+
|
1020
|
+
|
1021
|
+
|
1022
|
+
|
1023
|
+
<li class="md-nav__item">
|
1024
|
+
<a href="../../nodejs/" class="md-nav__link">
|
1025
|
+
nodejs
|
1026
|
+
</a>
|
1027
|
+
</li>
|
1028
|
+
|
1029
|
+
|
1030
|
+
|
1031
|
+
|
1032
|
+
|
1033
|
+
|
1034
|
+
|
1035
|
+
<li class="md-nav__item">
|
1036
|
+
<a href="../../nodejs/sp-fetch-client/" class="md-nav__link">
|
1037
|
+
SPFetchClient
|
1038
|
+
</a>
|
1039
|
+
</li>
|
1040
|
+
|
1041
|
+
|
1042
|
+
|
1043
|
+
|
1044
|
+
|
1045
|
+
|
1046
|
+
|
1047
|
+
<li class="md-nav__item">
|
1048
|
+
<a href="../../nodejs/adal-fetch-client/" class="md-nav__link">
|
1049
|
+
AdalFetchClient
|
1050
|
+
</a>
|
1051
|
+
</li>
|
1052
|
+
|
1053
|
+
|
1054
|
+
|
1055
|
+
|
1056
|
+
|
1057
|
+
|
1058
|
+
|
1059
|
+
<li class="md-nav__item">
|
1060
|
+
<a href="../../nodejs/bearer-token-fetch-client/" class="md-nav__link">
|
1061
|
+
BearerTokenFetchClient
|
1062
|
+
</a>
|
1063
|
+
</li>
|
1064
|
+
|
1065
|
+
|
1066
|
+
|
1067
|
+
|
1068
|
+
|
1069
|
+
|
1070
|
+
|
1071
|
+
<li class="md-nav__item">
|
1072
|
+
<a href="../../nodejs/provider-hosted-app/" class="md-nav__link">
|
1073
|
+
ProviderHostedRequestContext
|
1074
|
+
</a>
|
1075
|
+
</li>
|
1076
|
+
|
1077
|
+
|
1078
|
+
|
1079
|
+
|
1080
|
+
|
1081
|
+
|
1082
|
+
|
1083
|
+
<li class="md-nav__item">
|
1084
|
+
<a href="../../nodejs/sp-extensions/" class="md-nav__link">
|
1085
|
+
sp Extensions
|
1086
|
+
</a>
|
1087
|
+
</li>
|
1088
|
+
|
1089
|
+
|
1090
|
+
|
1091
|
+
|
1092
|
+
|
1093
|
+
|
1094
|
+
|
1095
|
+
<li class="md-nav__item">
|
1096
|
+
<a href="../../nodejs/proxy/" class="md-nav__link">
|
1097
|
+
proxy
|
1098
|
+
</a>
|
1099
|
+
</li>
|
1100
|
+
|
1101
|
+
|
1102
|
+
</ul>
|
1103
|
+
</nav>
|
1104
|
+
</li>
|
1105
|
+
|
1106
|
+
|
1107
|
+
|
1108
|
+
|
1109
|
+
|
1110
|
+
|
1111
|
+
|
1112
|
+
<li class="md-nav__item md-nav__item--nested">
|
1113
|
+
|
1114
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-7" type="checkbox" id="nav-6-7">
|
1115
|
+
|
1116
|
+
<label class="md-nav__link" for="nav-6-7">
|
1117
|
+
odata
|
1118
|
+
<span class="md-nav__icon md-icon"></span>
|
1119
|
+
</label>
|
1120
|
+
<nav class="md-nav" aria-label="odata" data-md-level="2">
|
1121
|
+
<label class="md-nav__title" for="nav-6-7">
|
1122
|
+
<span class="md-nav__icon md-icon"></span>
|
1123
|
+
odata
|
1124
|
+
</label>
|
1125
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
1126
|
+
|
1127
|
+
|
1128
|
+
|
1129
|
+
|
1130
|
+
|
1131
|
+
|
1132
|
+
|
1133
|
+
<li class="md-nav__item">
|
1134
|
+
<a href="../../odata/" class="md-nav__link">
|
1135
|
+
odata
|
1136
|
+
</a>
|
1137
|
+
</li>
|
1138
|
+
|
1139
|
+
|
1140
|
+
|
1141
|
+
|
1142
|
+
|
1143
|
+
|
1144
|
+
|
1145
|
+
<li class="md-nav__item">
|
1146
|
+
<a href="../../odata/caching/" class="md-nav__link">
|
1147
|
+
caching
|
1148
|
+
</a>
|
1149
|
+
</li>
|
1150
|
+
|
1151
|
+
|
1152
|
+
|
1153
|
+
|
1154
|
+
|
1155
|
+
|
1156
|
+
|
1157
|
+
<li class="md-nav__item">
|
1158
|
+
<a href="../../odata/core/" class="md-nav__link">
|
1159
|
+
core
|
1160
|
+
</a>
|
1161
|
+
</li>
|
1162
|
+
|
1163
|
+
|
1164
|
+
|
1165
|
+
|
1166
|
+
|
1167
|
+
|
1168
|
+
|
1169
|
+
<li class="md-nav__item">
|
1170
|
+
<a href="../../odata/odata-batch/" class="md-nav__link">
|
1171
|
+
OData Batching
|
1172
|
+
</a>
|
1173
|
+
</li>
|
1174
|
+
|
1175
|
+
|
1176
|
+
|
1177
|
+
|
1178
|
+
|
1179
|
+
|
1180
|
+
|
1181
|
+
<li class="md-nav__item">
|
1182
|
+
<a href="../../odata/extensions/" class="md-nav__link">
|
1183
|
+
Extending an OData library
|
1184
|
+
</a>
|
1185
|
+
</li>
|
1186
|
+
|
1187
|
+
|
1188
|
+
|
1189
|
+
|
1190
|
+
|
1191
|
+
|
1192
|
+
|
1193
|
+
<li class="md-nav__item">
|
1194
|
+
<a href="../../odata/debug/" class="md-nav__link">
|
1195
|
+
Debugging Proxy Objects
|
1196
|
+
</a>
|
1197
|
+
</li>
|
1198
|
+
|
1199
|
+
|
1200
|
+
|
1201
|
+
|
1202
|
+
|
1203
|
+
|
1204
|
+
|
1205
|
+
<li class="md-nav__item">
|
1206
|
+
<a href="../../odata/parsers/" class="md-nav__link">
|
1207
|
+
Parsers
|
1208
|
+
</a>
|
1209
|
+
</li>
|
1210
|
+
|
1211
|
+
|
1212
|
+
|
1213
|
+
|
1214
|
+
|
1215
|
+
|
1216
|
+
|
1217
|
+
<li class="md-nav__item">
|
1218
|
+
<a href="../../odata/pipeline/" class="md-nav__link">
|
1219
|
+
Pipeline
|
1220
|
+
</a>
|
1221
|
+
</li>
|
1222
|
+
|
1223
|
+
|
1224
|
+
|
1225
|
+
|
1226
|
+
|
1227
|
+
|
1228
|
+
|
1229
|
+
<li class="md-nav__item">
|
1230
|
+
<a href="../../odata/queryable/" class="md-nav__link">
|
1231
|
+
Queryable
|
1232
|
+
</a>
|
1233
|
+
</li>
|
1234
|
+
|
1235
|
+
|
1236
|
+
</ul>
|
1237
|
+
</nav>
|
1238
|
+
</li>
|
1239
|
+
|
1240
|
+
|
1241
|
+
|
1242
|
+
|
1243
|
+
|
1244
|
+
|
1245
|
+
|
1246
|
+
<li class="md-nav__item md-nav__item--nested">
|
1247
|
+
|
1248
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-8" type="checkbox" id="nav-6-8">
|
1249
|
+
|
1250
|
+
<label class="md-nav__link" for="nav-6-8">
|
1251
|
+
pnpjs
|
1252
|
+
<span class="md-nav__icon md-icon"></span>
|
1253
|
+
</label>
|
1254
|
+
<nav class="md-nav" aria-label="pnpjs" data-md-level="2">
|
1255
|
+
<label class="md-nav__title" for="nav-6-8">
|
1256
|
+
<span class="md-nav__icon md-icon"></span>
|
1257
|
+
pnpjs
|
1258
|
+
</label>
|
1259
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
1260
|
+
|
1261
|
+
|
1262
|
+
|
1263
|
+
|
1264
|
+
|
1265
|
+
|
1266
|
+
|
1267
|
+
<li class="md-nav__item">
|
1268
|
+
<a href="../../pnpjs/" class="md-nav__link">
|
1269
|
+
pnpjs
|
1270
|
+
</a>
|
1271
|
+
</li>
|
1272
|
+
|
1273
|
+
|
1274
|
+
</ul>
|
1275
|
+
</nav>
|
1276
|
+
</li>
|
1277
|
+
|
1278
|
+
|
1279
|
+
|
1280
|
+
|
1281
|
+
|
1282
|
+
|
1283
|
+
|
1284
|
+
<li class="md-nav__item md-nav__item--nested">
|
1285
|
+
|
1286
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-9" type="checkbox" id="nav-6-9">
|
1287
|
+
|
1288
|
+
<label class="md-nav__link" for="nav-6-9">
|
1289
|
+
sp
|
1290
|
+
<span class="md-nav__icon md-icon"></span>
|
1291
|
+
</label>
|
1292
|
+
<nav class="md-nav" aria-label="sp" data-md-level="2">
|
1293
|
+
<label class="md-nav__title" for="nav-6-9">
|
1294
|
+
<span class="md-nav__icon md-icon"></span>
|
1295
|
+
sp
|
1296
|
+
</label>
|
1297
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
1298
|
+
|
1299
|
+
|
1300
|
+
|
1301
|
+
|
1302
|
+
|
1303
|
+
|
1304
|
+
|
1305
|
+
<li class="md-nav__item">
|
1306
|
+
<a href="../../sp/" class="md-nav__link">
|
1307
|
+
sp
|
1308
|
+
</a>
|
1309
|
+
</li>
|
1310
|
+
|
1311
|
+
|
1312
|
+
|
1313
|
+
|
1314
|
+
|
1315
|
+
|
1316
|
+
|
1317
|
+
<li class="md-nav__item">
|
1318
|
+
<a href="../../sp/alias-parameters/" class="md-nav__link">
|
1319
|
+
Alias Parameters
|
1320
|
+
</a>
|
1321
|
+
</li>
|
1322
|
+
|
1323
|
+
|
1324
|
+
|
1325
|
+
|
1326
|
+
|
1327
|
+
|
1328
|
+
|
1329
|
+
<li class="md-nav__item">
|
1330
|
+
<a href="../../sp/alm/" class="md-nav__link">
|
1331
|
+
ALM api
|
1332
|
+
</a>
|
1333
|
+
</li>
|
1334
|
+
|
1335
|
+
|
1336
|
+
|
1337
|
+
|
1338
|
+
|
1339
|
+
|
1340
|
+
|
1341
|
+
<li class="md-nav__item">
|
1342
|
+
<a href="../../sp/attachments/" class="md-nav__link">
|
1343
|
+
Attachments
|
1344
|
+
</a>
|
1345
|
+
</li>
|
1346
|
+
|
1347
|
+
|
1348
|
+
|
1349
|
+
|
1350
|
+
|
1351
|
+
|
1352
|
+
|
1353
|
+
<li class="md-nav__item">
|
1354
|
+
<a href="../../sp/clientside-pages/" class="md-nav__link">
|
1355
|
+
Client-side Pages
|
1356
|
+
</a>
|
1357
|
+
</li>
|
1358
|
+
|
1359
|
+
|
1360
|
+
|
1361
|
+
|
1362
|
+
|
1363
|
+
|
1364
|
+
|
1365
|
+
<li class="md-nav__item">
|
1366
|
+
<a href="../../sp/column-defaults/" class="md-nav__link">
|
1367
|
+
Column Defaults
|
1368
|
+
</a>
|
1369
|
+
</li>
|
1370
|
+
|
1371
|
+
|
1372
|
+
|
1373
|
+
|
1374
|
+
|
1375
|
+
|
1376
|
+
|
1377
|
+
<li class="md-nav__item">
|
1378
|
+
<a href="../../sp/comments-likes/" class="md-nav__link">
|
1379
|
+
Comments and Likes
|
1380
|
+
</a>
|
1381
|
+
</li>
|
1382
|
+
|
1383
|
+
|
1384
|
+
|
1385
|
+
|
1386
|
+
|
1387
|
+
|
1388
|
+
|
1389
|
+
<li class="md-nav__item">
|
1390
|
+
<a href="../../sp/content-types/" class="md-nav__link">
|
1391
|
+
Content Types
|
1392
|
+
</a>
|
1393
|
+
</li>
|
1394
|
+
|
1395
|
+
|
1396
|
+
|
1397
|
+
|
1398
|
+
|
1399
|
+
|
1400
|
+
|
1401
|
+
<li class="md-nav__item">
|
1402
|
+
<a href="../../sp/entity-merging/" class="md-nav__link">
|
1403
|
+
Entity Merging
|
1404
|
+
</a>
|
1405
|
+
</li>
|
1406
|
+
|
1407
|
+
|
1408
|
+
|
1409
|
+
|
1410
|
+
|
1411
|
+
|
1412
|
+
|
1413
|
+
<li class="md-nav__item">
|
1414
|
+
<a href="../../sp/features/" class="md-nav__link">
|
1415
|
+
Features
|
1416
|
+
</a>
|
1417
|
+
</li>
|
1418
|
+
|
1419
|
+
|
1420
|
+
|
1421
|
+
|
1422
|
+
|
1423
|
+
|
1424
|
+
|
1425
|
+
<li class="md-nav__item">
|
1426
|
+
<a href="../../sp/fields/" class="md-nav__link">
|
1427
|
+
Fields
|
1428
|
+
</a>
|
1429
|
+
</li>
|
1430
|
+
|
1431
|
+
|
1432
|
+
|
1433
|
+
|
1434
|
+
|
1435
|
+
|
1436
|
+
|
1437
|
+
<li class="md-nav__item">
|
1438
|
+
<a href="../../sp/files/" class="md-nav__link">
|
1439
|
+
Files
|
1440
|
+
</a>
|
1441
|
+
</li>
|
1442
|
+
|
1443
|
+
|
1444
|
+
|
1445
|
+
|
1446
|
+
|
1447
|
+
|
1448
|
+
|
1449
|
+
<li class="md-nav__item">
|
1450
|
+
<a href="../../sp/folders/" class="md-nav__link">
|
1451
|
+
Folders
|
1452
|
+
</a>
|
1453
|
+
</li>
|
1454
|
+
|
1455
|
+
|
1456
|
+
|
1457
|
+
|
1458
|
+
|
1459
|
+
|
1460
|
+
|
1461
|
+
<li class="md-nav__item">
|
1462
|
+
<a href="../../sp/forms/" class="md-nav__link">
|
1463
|
+
Forms
|
1464
|
+
</a>
|
1465
|
+
</li>
|
1466
|
+
|
1467
|
+
|
1468
|
+
|
1469
|
+
|
1470
|
+
|
1471
|
+
|
1472
|
+
|
1473
|
+
<li class="md-nav__item">
|
1474
|
+
<a href="../../sp/hubsites/" class="md-nav__link">
|
1475
|
+
Hubsites
|
1476
|
+
</a>
|
1477
|
+
</li>
|
1478
|
+
|
1479
|
+
|
1480
|
+
|
1481
|
+
|
1482
|
+
|
1483
|
+
|
1484
|
+
|
1485
|
+
<li class="md-nav__item">
|
1486
|
+
<a href="../../sp/items/" class="md-nav__link">
|
1487
|
+
List Items
|
1488
|
+
</a>
|
1489
|
+
</li>
|
1490
|
+
|
1491
|
+
|
1492
|
+
|
1493
|
+
|
1494
|
+
|
1495
|
+
|
1496
|
+
|
1497
|
+
<li class="md-nav__item">
|
1498
|
+
<a href="../../sp/lists/" class="md-nav__link">
|
1499
|
+
Lists
|
1500
|
+
</a>
|
1501
|
+
</li>
|
1502
|
+
|
1503
|
+
|
1504
|
+
|
1505
|
+
|
1506
|
+
|
1507
|
+
|
1508
|
+
|
1509
|
+
<li class="md-nav__item">
|
1510
|
+
<a href="../../sp/navigation/" class="md-nav__link">
|
1511
|
+
Navigation
|
1512
|
+
</a>
|
1513
|
+
</li>
|
1514
|
+
|
1515
|
+
|
1516
|
+
|
1517
|
+
|
1518
|
+
|
1519
|
+
|
1520
|
+
|
1521
|
+
<li class="md-nav__item">
|
1522
|
+
<a href="../../sp/permissions/" class="md-nav__link">
|
1523
|
+
Permissions
|
1524
|
+
</a>
|
1525
|
+
</li>
|
1526
|
+
|
1527
|
+
|
1528
|
+
|
1529
|
+
|
1530
|
+
|
1531
|
+
|
1532
|
+
|
1533
|
+
<li class="md-nav__item">
|
1534
|
+
<a href="../../sp/profiles/" class="md-nav__link">
|
1535
|
+
Profiles
|
1536
|
+
</a>
|
1537
|
+
</li>
|
1538
|
+
|
1539
|
+
|
1540
|
+
|
1541
|
+
|
1542
|
+
|
1543
|
+
|
1544
|
+
|
1545
|
+
<li class="md-nav__item">
|
1546
|
+
<a href="../../sp/regional-settings/" class="md-nav__link">
|
1547
|
+
Regional Settings
|
1548
|
+
</a>
|
1549
|
+
</li>
|
1550
|
+
|
1551
|
+
|
1552
|
+
|
1553
|
+
|
1554
|
+
|
1555
|
+
|
1556
|
+
|
1557
|
+
<li class="md-nav__item">
|
1558
|
+
<a href="../../sp/related-items/" class="md-nav__link">
|
1559
|
+
Related Items
|
1560
|
+
</a>
|
1561
|
+
</li>
|
1562
|
+
|
1563
|
+
|
1564
|
+
|
1565
|
+
|
1566
|
+
|
1567
|
+
|
1568
|
+
|
1569
|
+
<li class="md-nav__item">
|
1570
|
+
<a href="../../sp/search/" class="md-nav__link">
|
1571
|
+
Search
|
1572
|
+
</a>
|
1573
|
+
</li>
|
1574
|
+
|
1575
|
+
|
1576
|
+
|
1577
|
+
|
1578
|
+
|
1579
|
+
|
1580
|
+
|
1581
|
+
<li class="md-nav__item">
|
1582
|
+
<a href="../../sp/security/" class="md-nav__link">
|
1583
|
+
Security
|
1584
|
+
</a>
|
1585
|
+
</li>
|
1586
|
+
|
1587
|
+
|
1588
|
+
|
1589
|
+
|
1590
|
+
|
1591
|
+
|
1592
|
+
|
1593
|
+
<li class="md-nav__item">
|
1594
|
+
<a href="../../sp/sharing/" class="md-nav__link">
|
1595
|
+
Sharing
|
1596
|
+
</a>
|
1597
|
+
</li>
|
1598
|
+
|
1599
|
+
|
1600
|
+
|
1601
|
+
|
1602
|
+
|
1603
|
+
|
1604
|
+
|
1605
|
+
<li class="md-nav__item">
|
1606
|
+
<a href="../../sp/site-designs/" class="md-nav__link">
|
1607
|
+
Site Designs
|
1608
|
+
</a>
|
1609
|
+
</li>
|
1610
|
+
|
1611
|
+
|
1612
|
+
|
1613
|
+
|
1614
|
+
|
1615
|
+
|
1616
|
+
|
1617
|
+
<li class="md-nav__item">
|
1618
|
+
<a href="../../sp/site-groups/" class="md-nav__link">
|
1619
|
+
Site Groups
|
1620
|
+
</a>
|
1621
|
+
</li>
|
1622
|
+
|
1623
|
+
|
1624
|
+
|
1625
|
+
|
1626
|
+
|
1627
|
+
|
1628
|
+
|
1629
|
+
<li class="md-nav__item">
|
1630
|
+
<a href="../../sp/site-scripts/" class="md-nav__link">
|
1631
|
+
Site Scripts
|
1632
|
+
</a>
|
1633
|
+
</li>
|
1634
|
+
|
1635
|
+
|
1636
|
+
|
1637
|
+
|
1638
|
+
|
1639
|
+
|
1640
|
+
|
1641
|
+
<li class="md-nav__item">
|
1642
|
+
<a href="../../sp/site-users/" class="md-nav__link">
|
1643
|
+
Site Users
|
1644
|
+
</a>
|
1645
|
+
</li>
|
1646
|
+
|
1647
|
+
|
1648
|
+
|
1649
|
+
|
1650
|
+
|
1651
|
+
|
1652
|
+
|
1653
|
+
<li class="md-nav__item">
|
1654
|
+
<a href="../../sp/sites/" class="md-nav__link">
|
1655
|
+
Sites
|
1656
|
+
</a>
|
1657
|
+
</li>
|
1658
|
+
|
1659
|
+
|
1660
|
+
|
1661
|
+
|
1662
|
+
|
1663
|
+
|
1664
|
+
|
1665
|
+
<li class="md-nav__item">
|
1666
|
+
<a href="../../sp/social/" class="md-nav__link">
|
1667
|
+
Social
|
1668
|
+
</a>
|
1669
|
+
</li>
|
1670
|
+
|
1671
|
+
|
1672
|
+
|
1673
|
+
|
1674
|
+
|
1675
|
+
|
1676
|
+
|
1677
|
+
<li class="md-nav__item">
|
1678
|
+
<a href="../../sp/sp-utilities-utility/" class="md-nav__link">
|
1679
|
+
SP.Utilities.Utility
|
1680
|
+
</a>
|
1681
|
+
</li>
|
1682
|
+
|
1683
|
+
|
1684
|
+
|
1685
|
+
|
1686
|
+
|
1687
|
+
|
1688
|
+
|
1689
|
+
<li class="md-nav__item">
|
1690
|
+
<a href="../../sp/subscriptions/" class="md-nav__link">
|
1691
|
+
Subscriptions
|
1692
|
+
</a>
|
1693
|
+
</li>
|
1694
|
+
|
1695
|
+
|
1696
|
+
|
1697
|
+
|
1698
|
+
|
1699
|
+
|
1700
|
+
|
1701
|
+
<li class="md-nav__item">
|
1702
|
+
<a href="../../sp/taxonomy/" class="md-nav__link">
|
1703
|
+
Taxonomy
|
1704
|
+
</a>
|
1705
|
+
</li>
|
1706
|
+
|
1707
|
+
|
1708
|
+
|
1709
|
+
|
1710
|
+
|
1711
|
+
|
1712
|
+
|
1713
|
+
<li class="md-nav__item">
|
1714
|
+
<a href="../../sp/tenant-properties/" class="md-nav__link">
|
1715
|
+
Tenant Properties
|
1716
|
+
</a>
|
1717
|
+
</li>
|
1718
|
+
|
1719
|
+
|
1720
|
+
|
1721
|
+
|
1722
|
+
|
1723
|
+
|
1724
|
+
|
1725
|
+
<li class="md-nav__item">
|
1726
|
+
<a href="../../sp/user-custom-actions/" class="md-nav__link">
|
1727
|
+
User custom actions
|
1728
|
+
</a>
|
1729
|
+
</li>
|
1730
|
+
|
1731
|
+
|
1732
|
+
|
1733
|
+
|
1734
|
+
|
1735
|
+
|
1736
|
+
|
1737
|
+
<li class="md-nav__item">
|
1738
|
+
<a href="../../sp/views/" class="md-nav__link">
|
1739
|
+
Views
|
1740
|
+
</a>
|
1741
|
+
</li>
|
1742
|
+
|
1743
|
+
|
1744
|
+
|
1745
|
+
|
1746
|
+
|
1747
|
+
|
1748
|
+
|
1749
|
+
<li class="md-nav__item">
|
1750
|
+
<a href="../../sp/webs/" class="md-nav__link">
|
1751
|
+
Webs
|
1752
|
+
</a>
|
1753
|
+
</li>
|
1754
|
+
|
1755
|
+
|
1756
|
+
|
1757
|
+
|
1758
|
+
|
1759
|
+
|
1760
|
+
|
1761
|
+
<li class="md-nav__item">
|
1762
|
+
<a href="../../sp/custom-irequestclient/" class="md-nav__link">
|
1763
|
+
Custom Request Client
|
1764
|
+
</a>
|
1765
|
+
</li>
|
1766
|
+
|
1767
|
+
|
1768
|
+
</ul>
|
1769
|
+
</nav>
|
1770
|
+
</li>
|
1771
|
+
|
1772
|
+
|
1773
|
+
|
1774
|
+
|
1775
|
+
|
1776
|
+
|
1777
|
+
|
1778
|
+
<li class="md-nav__item md-nav__item--nested">
|
1779
|
+
|
1780
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-6-10" type="checkbox" id="nav-6-10">
|
1781
|
+
|
1782
|
+
<label class="md-nav__link" for="nav-6-10">
|
1783
|
+
sp-addinhelpers
|
1784
|
+
<span class="md-nav__icon md-icon"></span>
|
1785
|
+
</label>
|
1786
|
+
<nav class="md-nav" aria-label="sp-addinhelpers" data-md-level="2">
|
1787
|
+
<label class="md-nav__title" for="nav-6-10">
|
1788
|
+
<span class="md-nav__icon md-icon"></span>
|
1789
|
+
sp-addinhelpers
|
1790
|
+
</label>
|
1791
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
1792
|
+
|
1793
|
+
|
1794
|
+
|
1795
|
+
|
1796
|
+
|
1797
|
+
|
1798
|
+
|
1799
|
+
<li class="md-nav__item">
|
1800
|
+
<a href="../../sp-addinhelpers/" class="md-nav__link">
|
1801
|
+
sp-addinhelpers
|
1802
|
+
</a>
|
1803
|
+
</li>
|
1804
|
+
|
1805
|
+
|
1806
|
+
|
1807
|
+
|
1808
|
+
|
1809
|
+
|
1810
|
+
|
1811
|
+
<li class="md-nav__item">
|
1812
|
+
<a href="../../sp-addinhelpers/sp-request-executor-client/" class="md-nav__link">
|
1813
|
+
SPRequestExecutorClient
|
1814
|
+
</a>
|
1815
|
+
</li>
|
1816
|
+
|
1817
|
+
|
1818
|
+
|
1819
|
+
|
1820
|
+
|
1821
|
+
|
1822
|
+
|
1823
|
+
<li class="md-nav__item">
|
1824
|
+
<a href="../../sp-addinhelpers/sp-rest-addin/" class="md-nav__link">
|
1825
|
+
SPRestAddIn
|
1826
|
+
</a>
|
1827
|
+
</li>
|
1828
|
+
|
1829
|
+
|
1830
|
+
</ul>
|
1831
|
+
</nav>
|
1832
|
+
</li>
|
1833
|
+
|
1834
|
+
|
1835
|
+
</ul>
|
1836
|
+
</nav>
|
1837
|
+
</li>
|
1838
|
+
|
1839
|
+
|
1840
|
+
|
1841
|
+
|
1842
|
+
|
1843
|
+
|
1844
|
+
|
1845
|
+
<li class="md-nav__item md-nav__item--nested">
|
1846
|
+
|
1847
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-7" type="checkbox" id="nav-7">
|
1848
|
+
|
1849
|
+
<label class="md-nav__link" for="nav-7">
|
1850
|
+
Contributing
|
1851
|
+
<span class="md-nav__icon md-icon"></span>
|
1852
|
+
</label>
|
1853
|
+
<nav class="md-nav" aria-label="Contributing" data-md-level="1">
|
1854
|
+
<label class="md-nav__title" for="nav-7">
|
1855
|
+
<span class="md-nav__icon md-icon"></span>
|
1856
|
+
Contributing
|
1857
|
+
</label>
|
1858
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
1859
|
+
|
1860
|
+
|
1861
|
+
|
1862
|
+
|
1863
|
+
|
1864
|
+
|
1865
|
+
|
1866
|
+
<li class="md-nav__item">
|
1867
|
+
<a href="../../contributing/" class="md-nav__link">
|
1868
|
+
Contributing
|
1869
|
+
</a>
|
1870
|
+
</li>
|
1871
|
+
|
1872
|
+
|
1873
|
+
|
1874
|
+
|
1875
|
+
|
1876
|
+
|
1877
|
+
|
1878
|
+
<li class="md-nav__item">
|
1879
|
+
<a href="../../contributing/setup-dev-machine/" class="md-nav__link">
|
1880
|
+
Setup Dev Machine
|
1881
|
+
</a>
|
1882
|
+
</li>
|
1883
|
+
|
1884
|
+
|
1885
|
+
|
1886
|
+
|
1887
|
+
|
1888
|
+
|
1889
|
+
|
1890
|
+
<li class="md-nav__item">
|
1891
|
+
<a href="../../contributing/local-debug-configuration/" class="md-nav__link">
|
1892
|
+
Local Debug Configuration
|
1893
|
+
</a>
|
1894
|
+
</li>
|
1895
|
+
|
1896
|
+
|
1897
|
+
|
1898
|
+
|
1899
|
+
|
1900
|
+
|
1901
|
+
|
1902
|
+
<li class="md-nav__item">
|
1903
|
+
<a href="../../contributing/debugging/" class="md-nav__link">
|
1904
|
+
Debugging
|
1905
|
+
</a>
|
1906
|
+
</li>
|
1907
|
+
|
1908
|
+
|
1909
|
+
|
1910
|
+
|
1911
|
+
|
1912
|
+
|
1913
|
+
|
1914
|
+
<li class="md-nav__item">
|
1915
|
+
<a href="../../contributing/extending-the-library/" class="md-nav__link">
|
1916
|
+
Extending the library
|
1917
|
+
</a>
|
1918
|
+
</li>
|
1919
|
+
|
1920
|
+
|
1921
|
+
|
1922
|
+
|
1923
|
+
|
1924
|
+
|
1925
|
+
|
1926
|
+
<li class="md-nav__item">
|
1927
|
+
<a href="../../contributing/debug-tests/" class="md-nav__link">
|
1928
|
+
Writing Tests
|
1929
|
+
</a>
|
1930
|
+
</li>
|
1931
|
+
|
1932
|
+
|
1933
|
+
|
1934
|
+
|
1935
|
+
|
1936
|
+
|
1937
|
+
|
1938
|
+
<li class="md-nav__item">
|
1939
|
+
<a href="../../contributing/documentation/" class="md-nav__link">
|
1940
|
+
Update Documentation
|
1941
|
+
</a>
|
1942
|
+
</li>
|
1943
|
+
|
1944
|
+
|
1945
|
+
|
1946
|
+
|
1947
|
+
|
1948
|
+
|
1949
|
+
|
1950
|
+
<li class="md-nav__item">
|
1951
|
+
<a href="../../contributing/pull-requests/" class="md-nav__link">
|
1952
|
+
Submit a Pull Request
|
1953
|
+
</a>
|
1954
|
+
</li>
|
1955
|
+
|
1956
|
+
|
1957
|
+
</ul>
|
1958
|
+
</nav>
|
1959
|
+
</li>
|
1960
|
+
|
1961
|
+
|
1962
|
+
|
1963
|
+
|
1964
|
+
|
1965
|
+
|
1966
|
+
|
1967
|
+
<li class="md-nav__item md-nav__item--nested">
|
1968
|
+
|
1969
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-8" type="checkbox" id="nav-8">
|
1970
|
+
|
1971
|
+
<label class="md-nav__link" for="nav-8">
|
1972
|
+
Version 1 Docs
|
1973
|
+
<span class="md-nav__icon md-icon"></span>
|
1974
|
+
</label>
|
1975
|
+
<nav class="md-nav" aria-label="Version 1 Docs" data-md-level="1">
|
1976
|
+
<label class="md-nav__title" for="nav-8">
|
1977
|
+
<span class="md-nav__icon md-icon"></span>
|
1978
|
+
Version 1 Docs
|
1979
|
+
</label>
|
1980
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
1981
|
+
|
1982
|
+
|
1983
|
+
|
1984
|
+
|
1985
|
+
|
1986
|
+
|
1987
|
+
|
1988
|
+
<li class="md-nav__item">
|
1989
|
+
<a href="../../v1/" class="md-nav__link">
|
1990
|
+
Home
|
1991
|
+
</a>
|
1992
|
+
</li>
|
1993
|
+
|
1994
|
+
|
1995
|
+
</ul>
|
1996
|
+
</nav>
|
1997
|
+
</li>
|
1998
|
+
|
1999
|
+
|
2000
|
+
|
2001
|
+
|
2002
|
+
|
2003
|
+
|
2004
|
+
|
2005
|
+
<li class="md-nav__item md-nav__item--nested">
|
2006
|
+
|
2007
|
+
<input class="md-nav__toggle md-toggle" data-md-toggle="nav-9" type="checkbox" id="nav-9">
|
2008
|
+
|
2009
|
+
<label class="md-nav__link" for="nav-9">
|
2010
|
+
Version 2 Docs
|
2011
|
+
<span class="md-nav__icon md-icon"></span>
|
2012
|
+
</label>
|
2013
|
+
<nav class="md-nav" aria-label="Version 2 Docs" data-md-level="1">
|
2014
|
+
<label class="md-nav__title" for="nav-9">
|
2015
|
+
<span class="md-nav__icon md-icon"></span>
|
2016
|
+
Version 2 Docs
|
2017
|
+
</label>
|
2018
|
+
<ul class="md-nav__list" data-md-scrollfix>
|
2019
|
+
|
2020
|
+
|
2021
|
+
|
2022
|
+
|
2023
|
+
|
2024
|
+
|
2025
|
+
|
2026
|
+
<li class="md-nav__item">
|
2027
|
+
<a href="../../v2/index.html" class="md-nav__link">
|
2028
|
+
Home
|
2029
|
+
</a>
|
2030
|
+
</li>
|
2031
|
+
|
2032
|
+
|
2033
|
+
</ul>
|
2034
|
+
</nav>
|
2035
|
+
</li>
|
2036
|
+
|
2037
|
+
|
2038
|
+
</ul>
|
2039
|
+
</nav>
|
2040
|
+
</div>
|
2041
|
+
</div>
|
2042
|
+
</div>
|
2043
|
+
|
2044
|
+
|
2045
|
+
<div class="md-sidebar md-sidebar--secondary" data-md-component="toc">
|
2046
|
+
<div class="md-sidebar__scrollwrap">
|
2047
|
+
<div class="md-sidebar__inner">
|
2048
|
+
|
2049
|
+
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
2050
|
+
|
2051
|
+
|
2052
|
+
|
2053
|
+
|
2054
|
+
|
2055
|
+
</nav>
|
2056
|
+
</div>
|
2057
|
+
</div>
|
2058
|
+
</div>
|
2059
|
+
|
2060
|
+
|
2061
|
+
<div class="md-content">
|
2062
|
+
<article class="md-content__inner md-typeset">
|
2063
|
+
|
2064
|
+
|
2065
|
+
<a href="https://github.com/pnp/pnpjs/tree/version-2/docs/concepts/configuration.md" title="Edit this page" class="md-content__button md-icon">
|
2066
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.71 7.04c.39-.39.39-1.04 0-1.41l-2.34-2.34c-.37-.39-1.02-.39-1.41 0l-1.84 1.83 3.75 3.75M3 17.25V21h3.75L17.81 9.93l-3.75-3.75L3 17.25z"/></svg>
|
2067
|
+
</a>
|
2068
|
+
|
2069
|
+
|
2070
|
+
<h1 id="pnpjs-configuration">PnPjs Configuration<a class="headerlink" href="#pnpjs-configuration" title="Permanent link">¶</a></h1>
|
2071
|
+
<p>This article describes the configuration architecture used by the library as well as the settings available.</p>
|
2072
|
+
<blockquote>
|
2073
|
+
<p>Starting with version 2.1.0 we updated our configuration design to support the ability to isolate settings to individual objects. The first part of this article discusses the newer design, you can read about the <a href="#prior-to-v210">pre v2.1.0 configuration</a> further down.</p>
|
2074
|
+
</blockquote>
|
2075
|
+
<h1 id="post-v210">Post v2.1.0<a class="headerlink" href="#post-v210" title="Permanent link">¶</a></h1>
|
2076
|
+
<h2 id="architecture">Architecture<a class="headerlink" href="#architecture" title="Permanent link">¶</a></h2>
|
2077
|
+
<p>Starting from v2.1.0 we have modified our configuration design to allow for configuring individual queryable objects.</p>
|
2078
|
+
<h2 id="backward-compatibility">Backward Compatibility<a class="headerlink" href="#backward-compatibility" title="Permanent link">¶</a></h2>
|
2079
|
+
<p>If you have no need to use the isolated runtimes introduced in 2.1.0 then you should see no change in library behavior from prior versions. You can continue to refer to the <a href="#prior-to-v210">pre v2.1.0 configuration</a> section - and if you see any issues please let us know.</p>
|
2080
|
+
<p>All of the available settings as described below remain, unchanged.</p>
|
2081
|
+
<blockquote>
|
2082
|
+
<p>If you previously used our internal configuration classes directly RuntimeConfigImpl, SPRuntimeConfigImpl, or GraphRuntimeConfigImpl they no longer exist. We do not consider this a breaking change as they were meant to be internal and their direct use was not documented. This includes the concrete default instances RuntimeConfig, SPRuntimeConfig, and GraphRuntimeConfig.</p>
|
2083
|
+
</blockquote>
|
2084
|
+
<h2 id="isolated-runtimes">Isolated Runtimes<a class="headerlink" href="#isolated-runtimes" title="Permanent link">¶</a></h2>
|
2085
|
+
<p>You can create an isolated runtime when using either the sp or graph libraries. What this does is create an isolated set of properties and behaviors specific to a given fluent chain. Have a look at this basic example below:</p>
|
2086
|
+
<pre><code class="language-TypeScript">import { sp } from "@pnp/sp";
|
2087
|
+
import "@pnp/sp/webs";
|
2088
|
+
|
2089
|
+
// create an isolated sp root instance
|
2090
|
+
const isolatedSP = await sp.createIsolated();
|
2091
|
+
|
2092
|
+
// this configuration applies to all objects created from "sp"
|
2093
|
+
sp.setup({
|
2094
|
+
sp: {
|
2095
|
+
baseUrl: "https://mytenant.sharepoint.com/",
|
2096
|
+
},
|
2097
|
+
});
|
2098
|
+
|
2099
|
+
// this configuration applies to all objects created from "isolatedSP"
|
2100
|
+
isolatedSP.setup({
|
2101
|
+
sp: {
|
2102
|
+
baseUrl: "https://mytenant.sharepoint.com/sites/dev",
|
2103
|
+
},
|
2104
|
+
});
|
2105
|
+
|
2106
|
+
// details for the web at https://mytenant.sharepoint.com/
|
2107
|
+
const web1 = await sp.web();
|
2108
|
+
|
2109
|
+
// details for the web at https://mytenant.sharepoint.com/sites/dev
|
2110
|
+
const web2 = await isolatedSP.web();
|
2111
|
+
</code></pre>
|
2112
|
+
<p>This configuration is supplied to all objects down a given fluent chain:</p>
|
2113
|
+
<pre><code class="language-TypeScript">import { sp } from "@pnp/sp";
|
2114
|
+
import "@pnp/sp/webs";
|
2115
|
+
import "@pnp/sp/lists";
|
2116
|
+
|
2117
|
+
// create an isolated sp root instance
|
2118
|
+
const isolatedSP = await sp.createIsolated();
|
2119
|
+
|
2120
|
+
// this configuraiton applies to all objects created from "sp"
|
2121
|
+
sp.setup({
|
2122
|
+
sp: {
|
2123
|
+
baseUrl: "https://mytenant.sharepoint.com/",
|
2124
|
+
},
|
2125
|
+
});
|
2126
|
+
|
2127
|
+
// this configuraiton applies to all objects created from "isolatedSP"
|
2128
|
+
isolatedSP.setup({
|
2129
|
+
sp: {
|
2130
|
+
baseUrl: "https://mytenant.sharepoint.com/sites/dev",
|
2131
|
+
},
|
2132
|
+
});
|
2133
|
+
|
2134
|
+
// details for the lists at https://mytenant.sharepoint.com/
|
2135
|
+
const lists1 = await sp.web.lists();
|
2136
|
+
|
2137
|
+
// details for the lists at https://mytenant.sharepoint.com/sites/dev
|
2138
|
+
const lists2 = await isolatedSP.web.lists();
|
2139
|
+
</code></pre>
|
2140
|
+
<h2 id="createisolated">createIsolated<a class="headerlink" href="#createisolated" title="Permanent link">¶</a></h2>
|
2141
|
+
<p>The createIsolated method is used to establish the isolated runtime for a given instance of either the sp or graph libraries. Once created it is no longer connected to the default instance and if you have common settings that must be updated you would need to update them across each isolated instance, this is by design. Currently sp and graph createIsolated methods accept the same init, but we have broken them out to make thing clear. All properties of the init object are optional. Any properties provided will overwrite those cloned from the default if cloneGlobal is true. If cloneGlobal is false you start with an empty config containing only the <a href="#common-configuration">core defaults</a>.</p>
|
2142
|
+
<h3 id="spcreateisolated">sp.createIsolated<a class="headerlink" href="#spcreateisolated" title="Permanent link">¶</a></h3>
|
2143
|
+
<pre><code class="language-TypeScript">import { sp, ISPConfiguration } from "@pnp/sp";
|
2144
|
+
|
2145
|
+
// accept all the defaults, will clone any settings from sp
|
2146
|
+
const isolatedSP = await sp.createIsolated();
|
2147
|
+
|
2148
|
+
// - specify all the config options, using the ISPConfiguration interface to type the config
|
2149
|
+
// - setting baseUrl in the root is equivelent to setting it with sp: { baseUrl: }, it is provided as a shortcut as this seemed to be a common use case
|
2150
|
+
// - if you set them both the baseUrl in the root will be used.
|
2151
|
+
// - you can set some or all of the settings in config and if you clone from the global the ones you specify will overwrite the cloned values
|
2152
|
+
// - for example your global config can specify everything and your isolated config could specify a different fetchClientFactory, see node example below
|
2153
|
+
const isolatedSP = await sp.createIsolated<ISPConfiguration>({
|
2154
|
+
baseUrl: "https://mytenant.sharepoint.com",
|
2155
|
+
cloneGlobal: false,
|
2156
|
+
config: {
|
2157
|
+
cacheExpirationIntervalMilliseconds: 1000,
|
2158
|
+
sp: {
|
2159
|
+
baseUrl: "https://mytenant.sharepoint.com",
|
2160
|
+
fetchClientFactory: () => void(0),
|
2161
|
+
headers: {
|
2162
|
+
"X-AnotherHeader": "54321",
|
2163
|
+
},
|
2164
|
+
},
|
2165
|
+
spfxContext: this.context, // only valid within SPFx
|
2166
|
+
},
|
2167
|
+
options: {
|
2168
|
+
headers: {
|
2169
|
+
"X-SomeHeader": "12345",
|
2170
|
+
},
|
2171
|
+
},
|
2172
|
+
});
|
2173
|
+
</code></pre>
|
2174
|
+
<p><em>Defaults</em></p>
|
2175
|
+
<table>
|
2176
|
+
<thead>
|
2177
|
+
<tr>
|
2178
|
+
<th>Name</th>
|
2179
|
+
<th>Default</th>
|
2180
|
+
</tr>
|
2181
|
+
</thead>
|
2182
|
+
<tbody>
|
2183
|
+
<tr>
|
2184
|
+
<td>baseUrl</td>
|
2185
|
+
<td>""</td>
|
2186
|
+
</tr>
|
2187
|
+
<tr>
|
2188
|
+
<td>cloneGlobal</td>
|
2189
|
+
<td>true</td>
|
2190
|
+
</tr>
|
2191
|
+
<tr>
|
2192
|
+
<td>config</td>
|
2193
|
+
<td>{}</td>
|
2194
|
+
</tr>
|
2195
|
+
<tr>
|
2196
|
+
<td>options</td>
|
2197
|
+
<td>{}</td>
|
2198
|
+
</tr>
|
2199
|
+
</tbody>
|
2200
|
+
</table>
|
2201
|
+
<h3 id="graphcreateisolated">graph.createIsolated<a class="headerlink" href="#graphcreateisolated" title="Permanent link">¶</a></h3>
|
2202
|
+
<pre><code class="language-TypeScript">import { graph, IGraphConfiguration } from "@pnp/graph";
|
2203
|
+
|
2204
|
+
// - specify all the config options, using the IGraphConfiguration interface to type the config
|
2205
|
+
// - setting baseUrl in the root is restricted to "v1.0" or "beta". If you need to specify a different absolute url should use config.graph.baseUrl
|
2206
|
+
// - in practice you should use one or the other. You can always swap Graph api version using IGraphQueryable.setEndpoint
|
2207
|
+
// - you can set some or all of the settings in config and if you clone from the global the ones you specify will overwrite the cloned values
|
2208
|
+
// - for example your global config can specify everything and your isolated config could specify a different fetchClientFactory, see node example below
|
2209
|
+
const isolatedGraph = await graph.createIsolated<IGraphConfiguration>({
|
2210
|
+
baseUrl: "v1.0",
|
2211
|
+
cloneGlobal: false,
|
2212
|
+
config: {
|
2213
|
+
cacheExpirationIntervalMilliseconds: 1000,
|
2214
|
+
graph: {
|
2215
|
+
baseUrl: "https://graph.microsoft.com",
|
2216
|
+
fetchClientFactory: () => void(0),
|
2217
|
+
headers: {
|
2218
|
+
"X-AnotherHeader": "54321",
|
2219
|
+
},
|
2220
|
+
},
|
2221
|
+
spfxContext: this.context, // only valid within SPFx
|
2222
|
+
},
|
2223
|
+
options: {
|
2224
|
+
headers: {
|
2225
|
+
"X-SomeHeader": "12345",
|
2226
|
+
},
|
2227
|
+
},
|
2228
|
+
});
|
2229
|
+
</code></pre>
|
2230
|
+
<h4 id="defaults">Defaults<a class="headerlink" href="#defaults" title="Permanent link">¶</a></h4>
|
2231
|
+
<table>
|
2232
|
+
<thead>
|
2233
|
+
<tr>
|
2234
|
+
<th>name</th>
|
2235
|
+
<th>Default</th>
|
2236
|
+
</tr>
|
2237
|
+
</thead>
|
2238
|
+
<tbody>
|
2239
|
+
<tr>
|
2240
|
+
<td>baseUrl</td>
|
2241
|
+
<td>"v1.0"</td>
|
2242
|
+
</tr>
|
2243
|
+
<tr>
|
2244
|
+
<td>cloneGlobal</td>
|
2245
|
+
<td>true</td>
|
2246
|
+
</tr>
|
2247
|
+
<tr>
|
2248
|
+
<td>config</td>
|
2249
|
+
<td>{}</td>
|
2250
|
+
</tr>
|
2251
|
+
<tr>
|
2252
|
+
<td>options</td>
|
2253
|
+
<td>{}</td>
|
2254
|
+
</tr>
|
2255
|
+
</tbody>
|
2256
|
+
</table>
|
2257
|
+
<h2 id="additional-examples">Additional Examples<a class="headerlink" href="#additional-examples" title="Permanent link">¶</a></h2>
|
2258
|
+
<h3 id="msal-with-node-multiple-site-requests">MSAL with Node multiple site requests<a class="headerlink" href="#msal-with-node-multiple-site-requests" title="Permanent link">¶</a></h3>
|
2259
|
+
<p><em>MSAL Support Added in 2.0.11</em></p>
|
2260
|
+
<p>In this example you can see how you can setup the MSAL client once and then set a different baseUrl for an isolated instance. <a href="../../authentication/server-nodejs/">More information specific to setting up the MSAL client is available</a>.</p>
|
2261
|
+
<pre><code class="language-TypeScript">import { sp } from "@pnp/sp";
|
2262
|
+
import "@pnp/sp/webs";
|
2263
|
+
import { readFileSync } from "fs";
|
2264
|
+
|
2265
|
+
// read in our private key
|
2266
|
+
const buffer = readFileSync("c:/temp/key.pem");
|
2267
|
+
|
2268
|
+
// configure node options
|
2269
|
+
sp.setup({
|
2270
|
+
sp: {
|
2271
|
+
baseUrl: "https://{my tenant}.sharepoint.com/sites/dev/",
|
2272
|
+
fetchClientFactory: () => {
|
2273
|
+
return new MsalFetchClient({
|
2274
|
+
auth: {
|
2275
|
+
authority: "https://login.microsoftonline.com/{tenant id or common}",
|
2276
|
+
clientCertificate: {
|
2277
|
+
thumbprint: "{certificate thumbprint, displayed in AAD}",
|
2278
|
+
privateKey: buffer.toString(),
|
2279
|
+
},
|
2280
|
+
clientId: "{client id}",
|
2281
|
+
}
|
2282
|
+
}, ["https://{my tenant}.sharepoint.com/.default"]); // you must set the scope for SharePoint access
|
2283
|
+
},
|
2284
|
+
},
|
2285
|
+
});
|
2286
|
+
|
2287
|
+
const isolatedSP = await sp.createIsolated<ISPConfigurationPart>({
|
2288
|
+
config: {
|
2289
|
+
sp: {
|
2290
|
+
baseUrl: "https://{my tenant}.sharepoint.com/sites/dev2/",
|
2291
|
+
},
|
2292
|
+
},
|
2293
|
+
});
|
2294
|
+
</code></pre>
|
2295
|
+
<h3 id="node-multiple-site-requests">Node multiple site requests<a class="headerlink" href="#node-multiple-site-requests" title="Permanent link">¶</a></h3>
|
2296
|
+
<p>Isolated configuration was most requested for scenarios in node where you need to access information in multiple sites. This example shows setting up the global configuration and then creating an isolated config with only the baseUrl updated.</p>
|
2297
|
+
<pre><code class="language-TypeScript">import { SPFetchClient } from "@pnp/nodejs";
|
2298
|
+
import { ISPConfigurationPart, sp } from "@pnp/sp";
|
2299
|
+
|
2300
|
+
sp.setup({
|
2301
|
+
cacheExpirationIntervalMilliseconds: 1000,
|
2302
|
+
defaultCachingStore: "local",
|
2303
|
+
sp: {
|
2304
|
+
fetchClientFactory: () => {
|
2305
|
+
return new SPFetchClient("https://mytenant.sharepoint.com/", "id", "secret");
|
2306
|
+
},
|
2307
|
+
headers: {
|
2308
|
+
"X-MyRequiredHeader": "SomeValue",
|
2309
|
+
"X-MyRequiredHeader2": "SomeValue",
|
2310
|
+
},
|
2311
|
+
},
|
2312
|
+
});
|
2313
|
+
|
2314
|
+
const isolatedSP = await sp.createIsolated<ISPConfigurationPart>({
|
2315
|
+
config: {
|
2316
|
+
sp: {
|
2317
|
+
fetchClientFactory: () => {
|
2318
|
+
return new SPFetchClient("https://mytenant.sharepoint.com/site/dev", "id", "secret");
|
2319
|
+
},
|
2320
|
+
},
|
2321
|
+
},
|
2322
|
+
});
|
2323
|
+
</code></pre>
|
2324
|
+
<h2 id="batching">Batching<a class="headerlink" href="#batching" title="Permanent link">¶</a></h2>
|
2325
|
+
<p>All batching functionality works as expected, but you must take care to only associate requests from the <em>same</em> isolated instance as you create the batch. Mixing requests across isolation boundaries is not supported. This applies to sp and graph batching.</p>
|
2326
|
+
<pre><code class="language-TypeScript">sp.setup({
|
2327
|
+
sp: {
|
2328
|
+
fetchClientFactory: () => {
|
2329
|
+
return new SPFetchClient("url1", "id", "secret");
|
2330
|
+
},
|
2331
|
+
},
|
2332
|
+
});
|
2333
|
+
|
2334
|
+
const isolated = await sp.createIsolated<ISPConfiguration>({
|
2335
|
+
config: {
|
2336
|
+
sp: {
|
2337
|
+
fetchClientFactory: () => {
|
2338
|
+
return new SPFetchClient("url2", "id", "secret");
|
2339
|
+
},
|
2340
|
+
},
|
2341
|
+
},
|
2342
|
+
});
|
2343
|
+
|
2344
|
+
const batch1 = sp.createBatch();
|
2345
|
+
sp.web.lists.select("Title").top(3).inBatch(batch1)().then(r => console.log(`here 1: ${JSON.stringify(r, null, 2)}`));
|
2346
|
+
sp.web.select("Title").inBatch(batch1)().then(r => console.log(`here 2: ${JSON.stringify(r, null, 2)}`));
|
2347
|
+
await batch1.execute();
|
2348
|
+
|
2349
|
+
const batch2 = isolated.createBatch();
|
2350
|
+
isolated.web.lists.select("Title").top(3).inBatch(batch2)().then(r => console.log(`here 3: ${JSON.stringify(r, null, 2)}`));
|
2351
|
+
isolated.web.select("Title").inBatch(batch2)().then(r => console.log(`here 4: ${JSON.stringify(r, null, 2)}`));
|
2352
|
+
await batch2.execute();
|
2353
|
+
</code></pre>
|
2354
|
+
<h2 id="ie11-mode">IE11 Mode<a class="headerlink" href="#ie11-mode" title="Permanent link">¶</a></h2>
|
2355
|
+
<p>The IE11 mode setting is always global. There is no scenario we care to support where once instance needs to run in ie11 mode and another does not. Your code either does or does not run in ie11.</p>
|
2356
|
+
<h1 id="prior-to-v210">Prior to v2.1.0<a class="headerlink" href="#prior-to-v210" title="Permanent link">¶</a></h1>
|
2357
|
+
<h2 id="architecture_1">Architecture<a class="headerlink" href="#architecture_1" title="Permanent link">¶</a></h2>
|
2358
|
+
<p>PnPjs uses an additive configuration design with multiple libraries sharing a single global configuration instance. If you need non-global configuration <a href="#non-global-configuration">please see this section</a>. There are three ways to access the setup functionality - through either the common, sp, or graph library's setup method. While the configuration is global the various methods have different typing on their input parameter. You can review the <a href="../../common/libconfig/">libconfig article</a> for more details on storing your own configuration.</p>
|
2359
|
+
<h2 id="common-configuration">Common Configuration<a class="headerlink" href="#common-configuration" title="Permanent link">¶</a></h2>
|
2360
|
+
<p>The common libary's setup method takes parameters defined by <a href="../../common/libconfig/#ilibraryconfiguration-interface">ILibraryConfiguration</a>. The properties and their defaults are listed below, followed by a code sample. You can call setup multiple times and any new values will be added to the existing configuration or replace the previous value if one existed.</p>
|
2361
|
+
<p>All values are optional.</p>
|
2362
|
+
<table>
|
2363
|
+
<thead>
|
2364
|
+
<tr>
|
2365
|
+
<th>Name</th>
|
2366
|
+
<th>Description</th>
|
2367
|
+
<th>Default</th>
|
2368
|
+
</tr>
|
2369
|
+
</thead>
|
2370
|
+
<tbody>
|
2371
|
+
<tr>
|
2372
|
+
<td>defaultCachingStore</td>
|
2373
|
+
<td>Where will PnPjs store cached data by default (session or local)</td>
|
2374
|
+
<td>session</td>
|
2375
|
+
</tr>
|
2376
|
+
<tr>
|
2377
|
+
<td>defaultCachingTimeoutSeconds</td>
|
2378
|
+
<td>The global default value used for cached data timeouts in seconds</td>
|
2379
|
+
<td>60</td>
|
2380
|
+
</tr>
|
2381
|
+
<tr>
|
2382
|
+
<td>globalCacheDisable</td>
|
2383
|
+
<td>Provides a way to globally within PnPjs disable all caching</td>
|
2384
|
+
<td>false</td>
|
2385
|
+
</tr>
|
2386
|
+
<tr>
|
2387
|
+
<td>enableCacheExpiration</td>
|
2388
|
+
<td>If true a timeout expired items will be removed from the cache in intervals determined by cacheTimeoutInterval</td>
|
2389
|
+
<td>false</td>
|
2390
|
+
</tr>
|
2391
|
+
<tr>
|
2392
|
+
<td>cacheExpirationIntervalMilliseconds</td>
|
2393
|
+
<td>Determines the interval in milliseconds at which the cache is checked to see if items have expired (min: 100)</td>
|
2394
|
+
<td>750</td>
|
2395
|
+
</tr>
|
2396
|
+
<tr>
|
2397
|
+
<td>spfxContext</td>
|
2398
|
+
<td>When running in SPFx the current context should always be supplied to PnPjs when available</td>
|
2399
|
+
<td>null</td>
|
2400
|
+
</tr>
|
2401
|
+
<tr>
|
2402
|
+
<td>ie11</td>
|
2403
|
+
<td>If true the library downgrades functionality to work in IE11</td>
|
2404
|
+
<td>false</td>
|
2405
|
+
</tr>
|
2406
|
+
</tbody>
|
2407
|
+
</table>
|
2408
|
+
<blockquote>
|
2409
|
+
<p>For more information on setting up in SPFx please see the <a href="../../authentication/">authentication section</a></p>
|
2410
|
+
<p>For more details on ie11 mode please see the <a href="../ie11-mode/">topic article</a></p>
|
2411
|
+
</blockquote>
|
2412
|
+
<pre><code class="language-ts">import { setup } from "@pnp/core";
|
2413
|
+
|
2414
|
+
// called before other code
|
2415
|
+
setup({
|
2416
|
+
cacheExpirationIntervalMilliseconds: 15000,
|
2417
|
+
defaultCachingStore: "local",
|
2418
|
+
defaultCachingTimeoutSeconds: 600,
|
2419
|
+
enableCacheExpiration: true,
|
2420
|
+
globalCacheDisable: false,
|
2421
|
+
ie11: false,
|
2422
|
+
spfxContext: this.context, // if in SPFx, otherwise leave it out
|
2423
|
+
});
|
2424
|
+
</code></pre>
|
2425
|
+
<h2 id="sp-configuration">SP Configuration<a class="headerlink" href="#sp-configuration" title="Permanent link">¶</a></h2>
|
2426
|
+
<p>The sp library's configuration is defined by the ISPConfiguration interface which extends ILibraryConfiguration. All of the sp values are contained in a top level property named "sp". The following table describes the properties with a code sample following.</p>
|
2427
|
+
<p>All values are optional.</p>
|
2428
|
+
<table>
|
2429
|
+
<thead>
|
2430
|
+
<tr>
|
2431
|
+
<th>Name</th>
|
2432
|
+
<th>Description</th>
|
2433
|
+
<th>Default</th>
|
2434
|
+
</tr>
|
2435
|
+
</thead>
|
2436
|
+
<tbody>
|
2437
|
+
<tr>
|
2438
|
+
<td>headers</td>
|
2439
|
+
<td>Allows you to apply any headers to all calls made by the sp library</td>
|
2440
|
+
<td>none</td>
|
2441
|
+
</tr>
|
2442
|
+
<tr>
|
2443
|
+
<td>baseUrl</td>
|
2444
|
+
<td>Allows you to define a base site url for all requests, takes precedence over all other url logic. Must be absolute.</td>
|
2445
|
+
<td>none</td>
|
2446
|
+
</tr>
|
2447
|
+
<tr>
|
2448
|
+
<td>fetchClientFactory</td>
|
2449
|
+
<td>Allows you to specify a factory function used to produce <a href="../../common/netutil/#httpclientimpl">IHttpClientImpl</a> instances</td>
|
2450
|
+
<td>none</td>
|
2451
|
+
</tr>
|
2452
|
+
</tbody>
|
2453
|
+
</table>
|
2454
|
+
<blockquote>
|
2455
|
+
<p>There are many examples of using fetchClientFactory available in the <a href="../../authentication/">authentication section</a>.</p>
|
2456
|
+
</blockquote>
|
2457
|
+
<pre><code class="language-ts">import { sp } from "@pnp/sp";
|
2458
|
+
import { SPFxAdalClient } from "@pnp/core";
|
2459
|
+
|
2460
|
+
// note you can still set the global configuration such as ie11 using the same object as
|
2461
|
+
// the interface extends ILibraryConfiguration
|
2462
|
+
sp.setup({
|
2463
|
+
ie11: false,
|
2464
|
+
sp: {
|
2465
|
+
baseUrl: "https://tenant.sharepoint.com/sites/dev",
|
2466
|
+
fetchClientFactory: () => {
|
2467
|
+
return new SPFxAdalClient(this.context);
|
2468
|
+
},
|
2469
|
+
headers: {
|
2470
|
+
"Accept": "application/json;odata=verbose",
|
2471
|
+
"X-Something": "header-value",
|
2472
|
+
},
|
2473
|
+
},
|
2474
|
+
spfxContext: this.context,
|
2475
|
+
});
|
2476
|
+
</code></pre>
|
2477
|
+
<h3 id="sharepoint-framework">SharePoint Framework<a class="headerlink" href="#sharepoint-framework" title="Permanent link">¶</a></h3>
|
2478
|
+
<p>You can optionally supply only the SPFx context to the sp configure method.</p>
|
2479
|
+
<pre><code class="language-ts">import { sp } from "@pnp/sp";
|
2480
|
+
|
2481
|
+
// in SPFx only
|
2482
|
+
sp.setup(this.context);
|
2483
|
+
</code></pre>
|
2484
|
+
<h2 id="graph-configuration">Graph Configuration<a class="headerlink" href="#graph-configuration" title="Permanent link">¶</a></h2>
|
2485
|
+
<p>The graph configuration works exactly the same as the sp configuration but is defined by the IGraphConfiguration interface which extends ILibraryConfiguration. All of the graph values are contained in a top level property named "graph". The following table describes the properties with a code sample following.</p>
|
2486
|
+
<p>All values are optional.</p>
|
2487
|
+
<table>
|
2488
|
+
<thead>
|
2489
|
+
<tr>
|
2490
|
+
<th>Name</th>
|
2491
|
+
<th>Description</th>
|
2492
|
+
<th>Default</th>
|
2493
|
+
</tr>
|
2494
|
+
</thead>
|
2495
|
+
<tbody>
|
2496
|
+
<tr>
|
2497
|
+
<td>headers</td>
|
2498
|
+
<td>Allows you to apply any headers to all calls made by the sp library</td>
|
2499
|
+
<td>none</td>
|
2500
|
+
</tr>
|
2501
|
+
<tr>
|
2502
|
+
<td>baseUrl</td>
|
2503
|
+
<td>Allows you to define a base site url for all requests, takes precedence over all other url logic. Must be absolute. (<em>Added in 2.0.8</em>)</td>
|
2504
|
+
<td>none</td>
|
2505
|
+
</tr>
|
2506
|
+
<tr>
|
2507
|
+
<td>fetchClientFactory</td>
|
2508
|
+
<td>Allows you to specify a factory function used to produce <a href="../../common/netutil/#httpclientimpl">IHttpClientImpl</a> instances</td>
|
2509
|
+
<td>none</td>
|
2510
|
+
</tr>
|
2511
|
+
</tbody>
|
2512
|
+
</table>
|
2513
|
+
<blockquote>
|
2514
|
+
<p>There are many examples of using fetchClientFactory available in the <a href="../../authentication/">authentication section</a>.</p>
|
2515
|
+
</blockquote>
|
2516
|
+
<pre><code class="language-ts">import { graph } from "@pnp/graph";
|
2517
|
+
import { MsalClientSetup } from "@pnp/msaljsclient";
|
2518
|
+
|
2519
|
+
// note you can still set the global configuration such as ie11 using the same object as
|
2520
|
+
// the interface extends ILibraryConfiguration
|
2521
|
+
graph.setup({
|
2522
|
+
ie11: false,
|
2523
|
+
graph: {
|
2524
|
+
// we set the GCC url
|
2525
|
+
baseUrl: "https://graph.microsoft.us",
|
2526
|
+
fetchClientFactory: MsalClientSetup({
|
2527
|
+
auth: {
|
2528
|
+
authority: "https://login.microsoftonline.com/tenant.onmicrosoft.com",
|
2529
|
+
clientId: "00000000-0000-0000-0000-000000000000",
|
2530
|
+
redirectUri: "https://tenant.sharepoint.com/sites/dev/SitePages/test.aspx",
|
2531
|
+
},
|
2532
|
+
}, ["Group.Read.All"]),
|
2533
|
+
headers: {
|
2534
|
+
"Accept": "application/json;odata=verbose",
|
2535
|
+
"X-Something": "header-value",
|
2536
|
+
},
|
2537
|
+
},
|
2538
|
+
spfxContext: this.context,
|
2539
|
+
});
|
2540
|
+
</code></pre>
|
2541
|
+
<h3 id="sharepoint-framework_1">SharePoint Framework<a class="headerlink" href="#sharepoint-framework_1" title="Permanent link">¶</a></h3>
|
2542
|
+
<p>You can optionally supply only the SPFx context to the graph configure method. We will attempt to set the baseUrl property from the context - but if that is failing in your environment and you need to call a special cloud (i.e. graph.microsoft.us) please set the baseUrl property.</p>
|
2543
|
+
<pre><code class="language-ts">import { graph } from "@pnp/graph";
|
2544
|
+
|
2545
|
+
// in SPFx only
|
2546
|
+
graph.setup(this.context);
|
2547
|
+
</code></pre>
|
2548
|
+
<h2 id="configure-everything-at-once">Configure Everything At Once<a class="headerlink" href="#configure-everything-at-once" title="Permanent link">¶</a></h2>
|
2549
|
+
<p>In some cases you might want to configure everything in one go. Because the configuration is stored in a single location you can use the common library's setup method and adjust the typings to ensure you are using the correct property names while only having to setup things with a single call.</p>
|
2550
|
+
<blockquote>
|
2551
|
+
<p>In versions before 2.0.8 ISPConfigurationPart, IGraphConfigurationPart, and ILibraryConfiguration incorrectly were missing the "I" prefix. That was fixed in 2.0.8 - but note if you are using an older version of the library you'll need to use the old names. Everything else in the below example works as expected.</p>
|
2552
|
+
</blockquote>
|
2553
|
+
<pre><code class="language-ts">import { ISPConfigurationPart } from "@pnp/sp";
|
2554
|
+
import { IGraphConfigurationPart } from "@pnp/graph";
|
2555
|
+
import { ILibraryConfiguration, setup } from "@pnp/core";
|
2556
|
+
|
2557
|
+
// you could also include your custom configuration parts
|
2558
|
+
export interface AllConfig extends ILibraryConfiguration, ISPConfigurationPart, IGraphConfigurationPart { }
|
2559
|
+
|
2560
|
+
// create a single big configuration entry
|
2561
|
+
const config: AllConfig = {
|
2562
|
+
graph: {
|
2563
|
+
baseUrl: "https://graph.microsoft.us",
|
2564
|
+
},
|
2565
|
+
ie11: false,
|
2566
|
+
sp: {
|
2567
|
+
baseUrl: "https://tenant.sharepoint.com/sites/dev",
|
2568
|
+
},
|
2569
|
+
};
|
2570
|
+
|
2571
|
+
setup(config);
|
2572
|
+
</code></pre>
|
2573
|
+
|
2574
|
+
|
2575
|
+
|
2576
|
+
|
2577
|
+
|
2578
|
+
|
2579
|
+
|
2580
|
+
</article>
|
2581
|
+
</div>
|
2582
|
+
</div>
|
2583
|
+
</main>
|
2584
|
+
|
2585
|
+
|
2586
|
+
<footer class="md-footer">
|
2587
|
+
|
2588
|
+
<div class="md-footer-nav">
|
2589
|
+
<nav class="md-footer-nav__inner md-grid" aria-label="Footer">
|
2590
|
+
|
2591
|
+
<a href="../../nodejs-support/" class="md-footer-nav__link md-footer-nav__link--prev" rel="prev">
|
2592
|
+
<div class="md-footer-nav__button md-icon">
|
2593
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12z"/></svg>
|
2594
|
+
</div>
|
2595
|
+
<div class="md-footer-nav__title">
|
2596
|
+
<div class="md-ellipsis">
|
2597
|
+
<span class="md-footer-nav__direction">
|
2598
|
+
Previous
|
2599
|
+
</span>
|
2600
|
+
Working in Nodejs
|
2601
|
+
</div>
|
2602
|
+
</div>
|
2603
|
+
</a>
|
2604
|
+
|
2605
|
+
|
2606
|
+
<a href="../selective-imports/" class="md-footer-nav__link md-footer-nav__link--next" rel="next">
|
2607
|
+
<div class="md-footer-nav__title">
|
2608
|
+
<div class="md-ellipsis">
|
2609
|
+
<span class="md-footer-nav__direction">
|
2610
|
+
Next
|
2611
|
+
</span>
|
2612
|
+
Selective Imports
|
2613
|
+
</div>
|
2614
|
+
</div>
|
2615
|
+
<div class="md-footer-nav__button md-icon">
|
2616
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11H4z"/></svg>
|
2617
|
+
</div>
|
2618
|
+
</a>
|
2619
|
+
|
2620
|
+
</nav>
|
2621
|
+
</div>
|
2622
|
+
|
2623
|
+
<div class="md-footer-meta md-typeset">
|
2624
|
+
<div class="md-footer-meta__inner md-grid">
|
2625
|
+
<div class="md-footer-copyright">
|
2626
|
+
|
2627
|
+
Made with
|
2628
|
+
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
2629
|
+
Material for MkDocs
|
2630
|
+
</a>
|
2631
|
+
</div>
|
2632
|
+
|
2633
|
+
<div class="md-footer-social">
|
2634
|
+
|
2635
|
+
|
2636
|
+
|
2637
|
+
|
2638
|
+
|
2639
|
+
|
2640
|
+
<a href="https://twitter.com/m365pnpjs" target="_blank" rel="noopener" title="twitter.com" class="md-footer-social__link">
|
2641
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"/></svg>
|
2642
|
+
</a>
|
2643
|
+
|
2644
|
+
|
2645
|
+
|
2646
|
+
|
2647
|
+
|
2648
|
+
|
2649
|
+
<a href="http://aka.ms/sppnp-videos" target="_blank" rel="noopener" title="aka.ms" class="md-footer-social__link">
|
2650
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg>
|
2651
|
+
</a>
|
2652
|
+
|
2653
|
+
|
2654
|
+
|
2655
|
+
|
2656
|
+
|
2657
|
+
|
2658
|
+
<a href="https://aka.ms/sppnp" target="_blank" rel="noopener" title="aka.ms" class="md-footer-social__link">
|
2659
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M0 32h214.6v214.6H0V32zm233.4 0H448v214.6H233.4V32zM0 265.4h214.6V480H0V265.4zm233.4 0H448V480H233.4V265.4z"/></svg>
|
2660
|
+
</a>
|
2661
|
+
|
2662
|
+
</div>
|
2663
|
+
|
2664
|
+
</div>
|
2665
|
+
</div>
|
2666
|
+
</footer>
|
2667
|
+
|
2668
|
+
</div>
|
2669
|
+
|
2670
|
+
<script src="../../assets/javascripts/vendor.77e55a48.min.js"></script>
|
2671
|
+
<script src="../../assets/javascripts/bundle.9554a270.min.js"></script><script id="__lang" type="application/json">{"clipboard.copy": "Copy to clipboard", "clipboard.copied": "Copied to clipboard", "search.config.lang": "en", "search.config.pipeline": "trimmer, stopWordFilter", "search.config.separator": "[\\s\\-]+", "search.result.placeholder": "Type to start searching", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.term.missing": "Missing"}</script>
|
2672
|
+
|
2673
|
+
<script>
|
2674
|
+
app = initialize({
|
2675
|
+
base: "../..",
|
2676
|
+
features: [],
|
2677
|
+
search: Object.assign({
|
2678
|
+
worker: "../../assets/javascripts/worker/search.4ac00218.min.js"
|
2679
|
+
}, typeof search !== "undefined" && search)
|
2680
|
+
})
|
2681
|
+
</script>
|
2682
|
+
|
2683
|
+
|
2684
|
+
</body>
|
2685
|
+
</html>
|