@pnp/sp 4.0.0-alpha0-v4nightly.20240226 → 4.0.0-alpha0-v4nightly.20240229
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/appcatalog/index.d.ts.map +1 -0
- package/appcatalog/index.js.map +1 -0
- package/appcatalog/types.d.ts.map +1 -0
- package/appcatalog/types.js.map +1 -0
- package/appcatalog/web.d.ts.map +1 -0
- package/appcatalog/web.js.map +1 -0
- package/attachments/index.d.ts.map +1 -0
- package/attachments/index.js.map +1 -0
- package/attachments/item.d.ts.map +1 -0
- package/attachments/item.js.map +1 -0
- package/attachments/types.d.ts.map +1 -0
- package/attachments/types.js.map +1 -0
- package/batching.d.ts.map +1 -0
- package/batching.js.map +1 -0
- package/behaviors/defaults.d.ts.map +1 -0
- package/behaviors/defaults.js.map +1 -0
- package/behaviors/request-digest.d.ts.map +1 -0
- package/behaviors/request-digest.js.map +1 -0
- package/behaviors/spbrowser.d.ts.map +1 -0
- package/behaviors/spbrowser.js.map +1 -0
- package/behaviors/spfx.d.ts.map +1 -0
- package/behaviors/spfx.js.map +1 -0
- package/behaviors/telemetry.d.ts.map +1 -0
- package/behaviors/telemetry.js.map +1 -0
- package/clientside-pages/funcs.d.ts.map +1 -0
- package/clientside-pages/funcs.js.map +1 -0
- package/clientside-pages/index.d.ts.map +1 -0
- package/clientside-pages/index.js.map +1 -0
- package/clientside-pages/types.d.ts.map +1 -0
- package/clientside-pages/types.js.map +1 -0
- package/clientside-pages/web.d.ts.map +1 -0
- package/clientside-pages/web.js.map +1 -0
- package/column-defaults/folder.d.ts.map +1 -0
- package/column-defaults/folder.js.map +1 -0
- package/column-defaults/index.d.ts.map +1 -0
- package/column-defaults/index.js.map +1 -0
- package/column-defaults/list.d.ts.map +1 -0
- package/column-defaults/list.js.map +1 -0
- package/column-defaults/types.d.ts.map +1 -0
- package/column-defaults/types.js.map +1 -0
- package/comments/clientside-page.d.ts.map +1 -0
- package/comments/clientside-page.js.map +1 -0
- package/comments/index.d.ts.map +1 -0
- package/comments/index.js.map +1 -0
- package/comments/item.d.ts.map +1 -0
- package/comments/item.js.map +1 -0
- package/comments/types.d.ts.map +1 -0
- package/comments/types.js.map +1 -0
- package/content-types/index.d.ts.map +1 -0
- package/content-types/index.js.map +1 -0
- package/content-types/item.d.ts.map +1 -0
- package/content-types/item.js.map +1 -0
- package/content-types/list.d.ts.map +1 -0
- package/content-types/list.js.map +1 -0
- package/content-types/types.d.ts.map +1 -0
- package/content-types/types.js.map +1 -0
- package/content-types/web.d.ts.map +1 -0
- package/content-types/web.js.map +1 -0
- package/context-info/index.d.ts.map +1 -0
- package/context-info/index.js.map +1 -0
- package/decorators.d.ts.map +1 -0
- package/decorators.js.map +1 -0
- package/favorites/index.d.ts.map +1 -0
- package/favorites/index.js.map +1 -0
- package/favorites/types.d.ts.map +1 -0
- package/favorites/types.js.map +1 -0
- package/features/index.d.ts.map +1 -0
- package/features/index.js.map +1 -0
- package/features/site.d.ts.map +1 -0
- package/features/site.js.map +1 -0
- package/features/types.d.ts.map +1 -0
- package/features/types.js.map +1 -0
- package/features/web.d.ts.map +1 -0
- package/features/web.js.map +1 -0
- package/fi.d.ts.map +1 -0
- package/fi.js.map +1 -0
- package/fields/index.d.ts.map +1 -0
- package/fields/index.js.map +1 -0
- package/fields/list.d.ts.map +1 -0
- package/fields/list.js.map +1 -0
- package/fields/types.d.ts.map +1 -0
- package/fields/types.js.map +1 -0
- package/fields/web.d.ts.map +1 -0
- package/fields/web.js.map +1 -0
- package/files/folder.d.ts.map +1 -0
- package/files/folder.js.map +1 -0
- package/files/index.d.ts.map +1 -0
- package/files/index.js.map +1 -0
- package/files/item.d.ts.map +1 -0
- package/files/item.js.map +1 -0
- package/files/readable-file.d.ts.map +1 -0
- package/files/readable-file.js.map +1 -0
- package/files/types.d.ts.map +1 -0
- package/files/types.js.map +1 -0
- package/files/web.d.ts.map +1 -0
- package/files/web.js.map +1 -0
- package/folders/index.d.ts.map +1 -0
- package/folders/index.js.map +1 -0
- package/folders/item.d.ts.map +1 -0
- package/folders/item.js.map +1 -0
- package/folders/list.d.ts.map +1 -0
- package/folders/list.js.map +1 -0
- package/folders/types.d.ts.map +1 -0
- package/folders/types.js.map +1 -0
- package/folders/web.d.ts.map +1 -0
- package/folders/web.js.map +1 -0
- package/forms/index.d.ts.map +1 -0
- package/forms/index.js.map +1 -0
- package/forms/list.d.ts.map +1 -0
- package/forms/list.js.map +1 -0
- package/forms/types.d.ts.map +1 -0
- package/forms/types.js.map +1 -0
- package/groupsitemanager/index.d.ts.map +1 -0
- package/groupsitemanager/index.js.map +1 -0
- package/groupsitemanager/types.d.ts.map +1 -0
- package/groupsitemanager/types.js.map +1 -0
- package/hubsites/index.d.ts.map +1 -0
- package/hubsites/index.js.map +1 -0
- package/hubsites/site.d.ts.map +1 -0
- package/hubsites/site.js.map +1 -0
- package/hubsites/types.d.ts.map +1 -0
- package/hubsites/types.js.map +1 -0
- package/hubsites/web.d.ts.map +1 -0
- package/hubsites/web.js.map +1 -0
- package/index.d.ts.map +1 -0
- package/index.js.map +1 -0
- package/items/index.d.ts.map +1 -0
- package/items/index.js.map +1 -0
- package/items/list.d.ts.map +1 -0
- package/items/list.js.map +1 -0
- package/items/types.d.ts.map +1 -0
- package/items/types.js.map +1 -0
- package/lists/index.d.ts.map +1 -0
- package/lists/index.js.map +1 -0
- package/lists/types.d.ts.map +1 -0
- package/lists/types.js.map +1 -0
- package/lists/web.d.ts.map +1 -0
- package/lists/web.js.map +1 -0
- package/navigation/index.d.ts.map +1 -0
- package/navigation/index.js.map +1 -0
- package/navigation/types.d.ts.map +1 -0
- package/navigation/types.js.map +1 -0
- package/navigation/web.d.ts.map +1 -0
- package/navigation/web.js.map +1 -0
- package/package.json +5 -18
- package/presets/all.d.ts.map +1 -0
- package/presets/all.js.map +1 -0
- package/profiles/index.d.ts.map +1 -0
- package/profiles/index.js.map +1 -0
- package/profiles/types.d.ts.map +1 -0
- package/profiles/types.js.map +1 -0
- package/publishing-sitepageservice/index.d.ts.map +1 -0
- package/publishing-sitepageservice/index.js.map +1 -0
- package/publishing-sitepageservice/types.d.ts.map +1 -0
- package/publishing-sitepageservice/types.js.map +1 -0
- package/recycle-bin/index.d.ts.map +1 -0
- package/recycle-bin/index.js.map +1 -0
- package/recycle-bin/types.d.ts.map +1 -0
- package/recycle-bin/types.js.map +1 -0
- package/regional-settings/content-type.d.ts.map +1 -0
- package/regional-settings/content-type.js.map +1 -0
- package/regional-settings/field.d.ts.map +1 -0
- package/regional-settings/field.js.map +1 -0
- package/regional-settings/funcs.d.ts.map +1 -0
- package/regional-settings/funcs.js.map +1 -0
- package/regional-settings/index.d.ts.map +1 -0
- package/regional-settings/index.js.map +1 -0
- package/regional-settings/list.d.ts.map +1 -0
- package/regional-settings/list.js.map +1 -0
- package/regional-settings/types.d.ts.map +1 -0
- package/regional-settings/types.js.map +1 -0
- package/regional-settings/user-custom-actions.d.ts.map +1 -0
- package/regional-settings/user-custom-actions.js.map +1 -0
- package/regional-settings/web.d.ts.map +1 -0
- package/regional-settings/web.js.map +1 -0
- package/related-items/index.d.ts.map +1 -0
- package/related-items/index.js.map +1 -0
- package/related-items/types.d.ts.map +1 -0
- package/related-items/types.js.map +1 -0
- package/related-items/web.d.ts.map +1 -0
- package/related-items/web.js.map +1 -0
- package/search/index.d.ts.map +1 -0
- package/search/index.js.map +1 -0
- package/search/query.d.ts.map +1 -0
- package/search/query.js.map +1 -0
- package/search/suggest.d.ts.map +1 -0
- package/search/suggest.js.map +1 -0
- package/search/types.d.ts.map +1 -0
- package/search/types.js.map +1 -0
- package/security/funcs.d.ts.map +1 -0
- package/security/funcs.js.map +1 -0
- package/security/index.d.ts.map +1 -0
- package/security/index.js.map +1 -0
- package/security/item.d.ts.map +1 -0
- package/security/item.js.map +1 -0
- package/security/list.d.ts.map +1 -0
- package/security/list.js.map +1 -0
- package/security/types.d.ts.map +1 -0
- package/security/types.js.map +1 -0
- package/security/web.d.ts.map +1 -0
- package/security/web.js.map +1 -0
- package/sharing/file.d.ts.map +1 -0
- package/sharing/file.js.map +1 -0
- package/sharing/folder.d.ts.map +1 -0
- package/sharing/folder.js.map +1 -0
- package/sharing/funcs.d.ts.map +1 -0
- package/sharing/funcs.js.map +1 -0
- package/sharing/index.d.ts.map +1 -0
- package/sharing/index.js.map +1 -0
- package/sharing/item.d.ts.map +1 -0
- package/sharing/item.js.map +1 -0
- package/sharing/types.d.ts.map +1 -0
- package/sharing/types.js.map +1 -0
- package/sharing/web.d.ts.map +1 -0
- package/sharing/web.js.map +1 -0
- package/site-designs/index.d.ts.map +1 -0
- package/site-designs/index.js.map +1 -0
- package/site-designs/types.d.ts.map +1 -0
- package/site-designs/types.js.map +1 -0
- package/site-designs/web.d.ts.map +1 -0
- package/site-designs/web.js.map +1 -0
- package/site-groups/index.d.ts.map +1 -0
- package/site-groups/index.js.map +1 -0
- package/site-groups/types.d.ts.map +1 -0
- package/site-groups/types.js.map +1 -0
- package/site-groups/web.d.ts.map +1 -0
- package/site-groups/web.js.map +1 -0
- package/site-scripts/index.d.ts.map +1 -0
- package/site-scripts/index.js.map +1 -0
- package/site-scripts/list.d.ts.map +1 -0
- package/site-scripts/list.js.map +1 -0
- package/site-scripts/types.d.ts.map +1 -0
- package/site-scripts/types.js.map +1 -0
- package/site-scripts/web.d.ts.map +1 -0
- package/site-scripts/web.js.map +1 -0
- package/site-users/index.d.ts.map +1 -0
- package/site-users/index.js.map +1 -0
- package/site-users/types.d.ts.map +1 -0
- package/site-users/types.js.map +1 -0
- package/site-users/web.d.ts.map +1 -0
- package/site-users/web.js.map +1 -0
- package/sites/index.d.ts.map +1 -0
- package/sites/index.js.map +1 -0
- package/sites/types.d.ts.map +1 -0
- package/sites/types.js.map +1 -0
- package/social/index.d.ts.map +1 -0
- package/social/index.js.map +1 -0
- package/social/types.d.ts.map +1 -0
- package/social/types.js.map +1 -0
- package/spqueryable.d.ts +117 -0
- package/spqueryable.d.ts.map +1 -0
- package/spqueryable.js +207 -0
- package/spqueryable.js.map +1 -0
- package/sputilities/index.d.ts.map +1 -0
- package/sputilities/index.js.map +1 -0
- package/sputilities/types.d.ts.map +1 -0
- package/sputilities/types.js.map +1 -0
- package/subscriptions/index.d.ts.map +1 -0
- package/subscriptions/index.js.map +1 -0
- package/subscriptions/list.d.ts.map +1 -0
- package/subscriptions/list.js.map +1 -0
- package/subscriptions/types.d.ts.map +1 -0
- package/subscriptions/types.js.map +1 -0
- package/types.d.ts.map +1 -0
- package/types.js.map +1 -0
- package/user-custom-actions/index.d.ts.map +1 -0
- package/user-custom-actions/index.js.map +1 -0
- package/user-custom-actions/list.d.ts.map +1 -0
- package/user-custom-actions/list.js.map +1 -0
- package/user-custom-actions/site.d.ts.map +1 -0
- package/user-custom-actions/site.js.map +1 -0
- package/user-custom-actions/types.d.ts.map +1 -0
- package/user-custom-actions/types.js.map +1 -0
- package/user-custom-actions/web.d.ts.map +1 -0
- package/user-custom-actions/web.js.map +1 -0
- package/utils/encode-path-str.d.ts.map +1 -0
- package/utils/encode-path-str.js.map +1 -0
- package/utils/extract-web-url.d.ts.map +1 -0
- package/utils/extract-web-url.js.map +1 -0
- package/utils/file-names.d.ts.map +1 -0
- package/utils/file-names.js.map +1 -0
- package/utils/metadata.d.ts.map +1 -0
- package/utils/metadata.js.map +1 -0
- package/utils/odata-url-from.d.ts.map +1 -0
- package/utils/odata-url-from.js.map +1 -0
- package/utils/to-resource-path.d.ts.map +1 -0
- package/utils/to-resource-path.js.map +1 -0
- package/views/index.d.ts.map +1 -0
- package/views/index.js.map +1 -0
- package/views/list.d.ts.map +1 -0
- package/views/list.js.map +1 -0
- package/views/types.d.ts.map +1 -0
- package/views/types.js.map +1 -0
- package/webparts/file.d.ts.map +1 -0
- package/webparts/file.js.map +1 -0
- package/webparts/index.d.ts.map +1 -0
- package/webparts/index.js.map +1 -0
- package/webparts/types.d.ts.map +1 -0
- package/webparts/types.js.map +1 -0
- package/webs/index.d.ts.map +1 -0
- package/webs/index.js.map +1 -0
- package/webs/types.d.ts.map +1 -0
- package/webs/types.js.map +1 -0
- package/commonjs/appcatalog/index.d.ts.map +0 -1
- package/commonjs/appcatalog/index.js +0 -22
- package/commonjs/appcatalog/index.js.map +0 -1
- package/commonjs/appcatalog/types.d.ts.map +0 -1
- package/commonjs/appcatalog/types.js +0 -134
- package/commonjs/appcatalog/types.js.map +0 -1
- package/commonjs/appcatalog/web.d.ts.map +0 -1
- package/commonjs/appcatalog/web.js +0 -9
- package/commonjs/appcatalog/web.js.map +0 -1
- package/commonjs/attachments/index.d.ts.map +0 -1
- package/commonjs/attachments/index.js +0 -8
- package/commonjs/attachments/index.js.map +0 -1
- package/commonjs/attachments/item.d.ts.map +0 -1
- package/commonjs/attachments/item.js +0 -7
- package/commonjs/attachments/item.js.map +0 -1
- package/commonjs/attachments/types.d.ts.map +0 -1
- package/commonjs/attachments/types.js +0 -68
- package/commonjs/attachments/types.js.map +0 -1
- package/commonjs/batching.d.ts.map +0 -1
- package/commonjs/batching.js +0 -355
- package/commonjs/batching.js.map +0 -1
- package/commonjs/behaviors/defaults.d.ts.map +0 -1
- package/commonjs/behaviors/defaults.js +0 -29
- package/commonjs/behaviors/defaults.js.map +0 -1
- package/commonjs/behaviors/request-digest.d.ts.map +0 -1
- package/commonjs/behaviors/request-digest.js +0 -60
- package/commonjs/behaviors/request-digest.js.map +0 -1
- package/commonjs/behaviors/spbrowser.d.ts.map +0 -1
- package/commonjs/behaviors/spbrowser.js +0 -27
- package/commonjs/behaviors/spbrowser.js.map +0 -1
- package/commonjs/behaviors/spfx.d.ts.map +0 -1
- package/commonjs/behaviors/spfx.js +0 -62
- package/commonjs/behaviors/spfx.js.map +0 -1
- package/commonjs/behaviors/telemetry.d.ts.map +0 -1
- package/commonjs/behaviors/telemetry.js +0 -27
- package/commonjs/behaviors/telemetry.js.map +0 -1
- package/commonjs/clientside-pages/funcs.d.ts.map +0 -1
- package/commonjs/clientside-pages/funcs.js +0 -31
- package/commonjs/clientside-pages/funcs.js.map +0 -1
- package/commonjs/clientside-pages/index.d.ts.map +0 -1
- package/commonjs/clientside-pages/index.js +0 -14
- package/commonjs/clientside-pages/index.js.map +0 -1
- package/commonjs/clientside-pages/types.d.ts.map +0 -1
- package/commonjs/clientside-pages/types.js +0 -1155
- package/commonjs/clientside-pages/types.js.map +0 -1
- package/commonjs/clientside-pages/web.d.ts.map +0 -1
- package/commonjs/clientside-pages/web.js +0 -33
- package/commonjs/clientside-pages/web.js.map +0 -1
- package/commonjs/column-defaults/folder.d.ts.map +0 -1
- package/commonjs/column-defaults/folder.js +0 -50
- package/commonjs/column-defaults/folder.js.map +0 -1
- package/commonjs/column-defaults/index.d.ts.map +0 -1
- package/commonjs/column-defaults/index.js +0 -5
- package/commonjs/column-defaults/index.js.map +0 -1
- package/commonjs/column-defaults/list.d.ts.map +0 -1
- package/commonjs/column-defaults/list.js +0 -171
- package/commonjs/column-defaults/list.js.map +0 -1
- package/commonjs/column-defaults/types.d.ts.map +0 -1
- package/commonjs/column-defaults/types.js +0 -3
- package/commonjs/column-defaults/types.js.map +0 -1
- package/commonjs/comments/clientside-page.d.ts.map +0 -1
- package/commonjs/comments/clientside-page.js +0 -51
- package/commonjs/comments/clientside-page.js.map +0 -1
- package/commonjs/comments/index.d.ts.map +0 -1
- package/commonjs/comments/index.js +0 -9
- package/commonjs/comments/index.js.map +0 -1
- package/commonjs/comments/item.d.ts.map +0 -1
- package/commonjs/comments/item.js +0 -37
- package/commonjs/comments/item.js.map +0 -1
- package/commonjs/comments/types.d.ts.map +0 -1
- package/commonjs/comments/types.js +0 -89
- package/commonjs/comments/types.js.map +0 -1
- package/commonjs/content-types/index.d.ts.map +0 -1
- package/commonjs/content-types/index.js +0 -12
- package/commonjs/content-types/index.js.map +0 -1
- package/commonjs/content-types/item.d.ts.map +0 -1
- package/commonjs/content-types/item.js +0 -7
- package/commonjs/content-types/item.js.map +0 -1
- package/commonjs/content-types/list.d.ts.map +0 -1
- package/commonjs/content-types/list.js +0 -7
- package/commonjs/content-types/list.js.map +0 -1
- package/commonjs/content-types/types.d.ts.map +0 -1
- package/commonjs/content-types/types.js +0 -115
- package/commonjs/content-types/types.js.map +0 -1
- package/commonjs/content-types/web.d.ts.map +0 -1
- package/commonjs/content-types/web.js +0 -7
- package/commonjs/content-types/web.js.map +0 -1
- package/commonjs/context-info/index.d.ts.map +0 -1
- package/commonjs/context-info/index.js +0 -17
- package/commonjs/context-info/index.js.map +0 -1
- package/commonjs/decorators.d.ts.map +0 -1
- package/commonjs/decorators.js +0 -20
- package/commonjs/decorators.js.map +0 -1
- package/commonjs/favorites/index.d.ts.map +0 -1
- package/commonjs/favorites/index.js +0 -15
- package/commonjs/favorites/index.js.map +0 -1
- package/commonjs/favorites/types.d.ts.map +0 -1
- package/commonjs/favorites/types.js +0 -115
- package/commonjs/favorites/types.js.map +0 -1
- package/commonjs/features/index.d.ts.map +0 -1
- package/commonjs/features/index.js +0 -9
- package/commonjs/features/index.js.map +0 -1
- package/commonjs/features/site.d.ts.map +0 -1
- package/commonjs/features/site.js +0 -7
- package/commonjs/features/site.js.map +0 -1
- package/commonjs/features/types.d.ts.map +0 -1
- package/commonjs/features/types.js +0 -56
- package/commonjs/features/types.js.map +0 -1
- package/commonjs/features/web.d.ts.map +0 -1
- package/commonjs/features/web.js +0 -7
- package/commonjs/features/web.js.map +0 -1
- package/commonjs/fi.d.ts.map +0 -1
- package/commonjs/fi.js +0 -40
- package/commonjs/fi.js.map +0 -1
- package/commonjs/fields/index.d.ts.map +0 -1
- package/commonjs/fields/index.js +0 -17
- package/commonjs/fields/index.js.map +0 -1
- package/commonjs/fields/list.d.ts.map +0 -1
- package/commonjs/fields/list.js +0 -7
- package/commonjs/fields/list.js.map +0 -1
- package/commonjs/fields/types.d.ts.map +0 -1
- package/commonjs/fields/types.js +0 -459
- package/commonjs/fields/types.js.map +0 -1
- package/commonjs/fields/web.d.ts.map +0 -1
- package/commonjs/fields/web.js +0 -8
- package/commonjs/fields/web.js.map +0 -1
- package/commonjs/files/folder.d.ts.map +0 -1
- package/commonjs/files/folder.js +0 -7
- package/commonjs/files/folder.js.map +0 -1
- package/commonjs/files/index.d.ts.map +0 -1
- package/commonjs/files/index.js +0 -18
- package/commonjs/files/index.js.map +0 -1
- package/commonjs/files/item.d.ts.map +0 -1
- package/commonjs/files/item.js +0 -7
- package/commonjs/files/item.js.map +0 -1
- package/commonjs/files/readable-file.d.ts.map +0 -1
- package/commonjs/files/readable-file.js +0 -38
- package/commonjs/files/readable-file.js.map +0 -1
- package/commonjs/files/types.d.ts.map +0 -1
- package/commonjs/files/types.js +0 -592
- package/commonjs/files/types.js.map +0 -1
- package/commonjs/files/web.d.ts.map +0 -1
- package/commonjs/files/web.js +0 -15
- package/commonjs/files/web.js.map +0 -1
- package/commonjs/folders/index.d.ts.map +0 -1
- package/commonjs/folders/index.js +0 -13
- package/commonjs/folders/index.js.map +0 -1
- package/commonjs/folders/item.d.ts.map +0 -1
- package/commonjs/folders/item.js +0 -7
- package/commonjs/folders/item.js.map +0 -1
- package/commonjs/folders/list.d.ts.map +0 -1
- package/commonjs/folders/list.js +0 -7
- package/commonjs/folders/list.js.map +0 -1
- package/commonjs/folders/types.d.ts.map +0 -1
- package/commonjs/folders/types.js +0 -253
- package/commonjs/folders/types.js.map +0 -1
- package/commonjs/folders/web.d.ts.map +0 -1
- package/commonjs/folders/web.js +0 -14
- package/commonjs/folders/web.js.map +0 -1
- package/commonjs/forms/index.d.ts.map +0 -1
- package/commonjs/forms/index.js +0 -8
- package/commonjs/forms/index.js.map +0 -1
- package/commonjs/forms/list.d.ts.map +0 -1
- package/commonjs/forms/list.js +0 -7
- package/commonjs/forms/list.js.map +0 -1
- package/commonjs/forms/types.d.ts.map +0 -1
- package/commonjs/forms/types.js +0 -34
- package/commonjs/forms/types.js.map +0 -1
- package/commonjs/groupsitemanager/index.d.ts.map +0 -1
- package/commonjs/groupsitemanager/index.js +0 -14
- package/commonjs/groupsitemanager/index.js.map +0 -1
- package/commonjs/groupsitemanager/types.d.ts.map +0 -1
- package/commonjs/groupsitemanager/types.js +0 -325
- package/commonjs/groupsitemanager/types.js.map +0 -1
- package/commonjs/hubsites/index.d.ts.map +0 -1
- package/commonjs/hubsites/index.js +0 -18
- package/commonjs/hubsites/index.js.map +0 -1
- package/commonjs/hubsites/site.d.ts.map +0 -1
- package/commonjs/hubsites/site.js +0 -14
- package/commonjs/hubsites/site.js.map +0 -1
- package/commonjs/hubsites/types.d.ts.map +0 -1
- package/commonjs/hubsites/types.js +0 -34
- package/commonjs/hubsites/types.js.map +0 -1
- package/commonjs/hubsites/web.d.ts.map +0 -1
- package/commonjs/hubsites/web.js +0 -15
- package/commonjs/hubsites/web.js.map +0 -1
- package/commonjs/index.d.ts.map +0 -1
- package/commonjs/index.js +0 -21
- package/commonjs/index.js.map +0 -1
- package/commonjs/items/index.d.ts.map +0 -1
- package/commonjs/items/index.js +0 -10
- package/commonjs/items/index.js.map +0 -1
- package/commonjs/items/list.d.ts.map +0 -1
- package/commonjs/items/list.js +0 -7
- package/commonjs/items/list.js.map +0 -1
- package/commonjs/items/types.d.ts.map +0 -1
- package/commonjs/items/types.js +0 -295
- package/commonjs/items/types.js.map +0 -1
- package/commonjs/lists/index.d.ts.map +0 -1
- package/commonjs/lists/index.js +0 -10
- package/commonjs/lists/index.js.map +0 -1
- package/commonjs/lists/types.d.ts.map +0 -1
- package/commonjs/lists/types.js +0 -357
- package/commonjs/lists/types.js.map +0 -1
- package/commonjs/lists/web.d.ts.map +0 -1
- package/commonjs/lists/web.js +0 -20
- package/commonjs/lists/web.js.map +0 -1
- package/commonjs/navigation/index.d.ts.map +0 -1
- package/commonjs/navigation/index.js +0 -19
- package/commonjs/navigation/index.js.map +0 -1
- package/commonjs/navigation/types.d.ts.map +0 -1
- package/commonjs/navigation/types.js +0 -153
- package/commonjs/navigation/types.js.map +0 -1
- package/commonjs/navigation/web.d.ts.map +0 -1
- package/commonjs/navigation/web.js +0 -7
- package/commonjs/navigation/web.js.map +0 -1
- package/commonjs/package.json +0 -1
- package/commonjs/presets/all.d.ts.map +0 -1
- package/commonjs/presets/all.js +0 -76
- package/commonjs/presets/all.js.map +0 -1
- package/commonjs/profiles/index.d.ts.map +0 -1
- package/commonjs/profiles/index.js +0 -16
- package/commonjs/profiles/index.js.map +0 -1
- package/commonjs/profiles/types.d.ts.map +0 -1
- package/commonjs/profiles/types.js +0 -362
- package/commonjs/profiles/types.js.map +0 -1
- package/commonjs/publishing-sitepageservice/index.d.ts.map +0 -1
- package/commonjs/publishing-sitepageservice/index.js +0 -13
- package/commonjs/publishing-sitepageservice/index.js.map +0 -1
- package/commonjs/publishing-sitepageservice/types.d.ts.map +0 -1
- package/commonjs/publishing-sitepageservice/types.js +0 -20
- package/commonjs/publishing-sitepageservice/types.js.map +0 -1
- package/commonjs/recycle-bin/index.d.ts.map +0 -1
- package/commonjs/recycle-bin/index.js +0 -12
- package/commonjs/recycle-bin/index.js.map +0 -1
- package/commonjs/recycle-bin/types.d.ts.map +0 -1
- package/commonjs/recycle-bin/types.js +0 -83
- package/commonjs/recycle-bin/types.js.map +0 -1
- package/commonjs/regional-settings/content-type.d.ts.map +0 -1
- package/commonjs/regional-settings/content-type.js +0 -7
- package/commonjs/regional-settings/content-type.js.map +0 -1
- package/commonjs/regional-settings/field.d.ts.map +0 -1
- package/commonjs/regional-settings/field.js +0 -7
- package/commonjs/regional-settings/field.js.map +0 -1
- package/commonjs/regional-settings/funcs.d.ts.map +0 -1
- package/commonjs/regional-settings/funcs.js +0 -12
- package/commonjs/regional-settings/funcs.js.map +0 -1
- package/commonjs/regional-settings/index.d.ts.map +0 -1
- package/commonjs/regional-settings/index.js +0 -13
- package/commonjs/regional-settings/index.js.map +0 -1
- package/commonjs/regional-settings/list.d.ts.map +0 -1
- package/commonjs/regional-settings/list.js +0 -7
- package/commonjs/regional-settings/list.js.map +0 -1
- package/commonjs/regional-settings/types.d.ts.map +0 -1
- package/commonjs/regional-settings/types.js +0 -88
- package/commonjs/regional-settings/types.js.map +0 -1
- package/commonjs/regional-settings/user-custom-actions.d.ts.map +0 -1
- package/commonjs/regional-settings/user-custom-actions.js +0 -7
- package/commonjs/regional-settings/user-custom-actions.js.map +0 -1
- package/commonjs/regional-settings/web.d.ts.map +0 -1
- package/commonjs/regional-settings/web.js +0 -10
- package/commonjs/regional-settings/web.js.map +0 -1
- package/commonjs/related-items/index.d.ts.map +0 -1
- package/commonjs/related-items/index.js +0 -7
- package/commonjs/related-items/index.js.map +0 -1
- package/commonjs/related-items/types.d.ts.map +0 -1
- package/commonjs/related-items/types.js +0 -84
- package/commonjs/related-items/types.js.map +0 -1
- package/commonjs/related-items/web.d.ts.map +0 -1
- package/commonjs/related-items/web.js +0 -12
- package/commonjs/related-items/web.js.map +0 -1
- package/commonjs/search/index.d.ts.map +0 -1
- package/commonjs/search/index.js +0 -21
- package/commonjs/search/index.js.map +0 -1
- package/commonjs/search/query.d.ts.map +0 -1
- package/commonjs/search/query.js +0 -220
- package/commonjs/search/query.js.map +0 -1
- package/commonjs/search/suggest.d.ts.map +0 -1
- package/commonjs/search/suggest.js +0 -44
- package/commonjs/search/suggest.js.map +0 -1
- package/commonjs/search/types.d.ts.map +0 -1
- package/commonjs/search/types.js +0 -58
- package/commonjs/search/types.js.map +0 -1
- package/commonjs/security/funcs.d.ts.map +0 -1
- package/commonjs/security/funcs.js +0 -91
- package/commonjs/security/funcs.js.map +0 -1
- package/commonjs/security/index.d.ts.map +0 -1
- package/commonjs/security/index.js +0 -13
- package/commonjs/security/index.js.map +0 -1
- package/commonjs/security/item.d.ts.map +0 -1
- package/commonjs/security/item.js +0 -17
- package/commonjs/security/item.js.map +0 -1
- package/commonjs/security/list.d.ts.map +0 -1
- package/commonjs/security/list.js +0 -17
- package/commonjs/security/list.js.map +0 -1
- package/commonjs/security/types.d.ts.map +0 -1
- package/commonjs/security/types.js +0 -336
- package/commonjs/security/types.js.map +0 -1
- package/commonjs/security/web.d.ts.map +0 -1
- package/commonjs/security/web.js +0 -18
- package/commonjs/security/web.js.map +0 -1
- package/commonjs/sharing/file.d.ts.map +0 -1
- package/commonjs/sharing/file.js +0 -40
- package/commonjs/sharing/file.js.map +0 -1
- package/commonjs/sharing/folder.d.ts.map +0 -1
- package/commonjs/sharing/folder.js +0 -38
- package/commonjs/sharing/folder.js.map +0 -1
- package/commonjs/sharing/funcs.d.ts.map +0 -1
- package/commonjs/sharing/funcs.js +0 -211
- package/commonjs/sharing/funcs.js.map +0 -1
- package/commonjs/sharing/index.d.ts.map +0 -1
- package/commonjs/sharing/index.js +0 -15
- package/commonjs/sharing/index.js.map +0 -1
- package/commonjs/sharing/item.d.ts.map +0 -1
- package/commonjs/sharing/item.js +0 -16
- package/commonjs/sharing/item.js.map +0 -1
- package/commonjs/sharing/types.d.ts.map +0 -1
- package/commonjs/sharing/types.js +0 -117
- package/commonjs/sharing/types.js.map +0 -1
- package/commonjs/sharing/web.d.ts.map +0 -1
- package/commonjs/sharing/web.js +0 -59
- package/commonjs/sharing/web.js.map +0 -1
- package/commonjs/site-designs/index.d.ts.map +0 -1
- package/commonjs/site-designs/index.js +0 -16
- package/commonjs/site-designs/index.js.map +0 -1
- package/commonjs/site-designs/types.d.ts.map +0 -1
- package/commonjs/site-designs/types.js +0 -179
- package/commonjs/site-designs/types.js.map +0 -1
- package/commonjs/site-designs/web.d.ts.map +0 -1
- package/commonjs/site-designs/web.js +0 -14
- package/commonjs/site-designs/web.js.map +0 -1
- package/commonjs/site-groups/index.d.ts.map +0 -1
- package/commonjs/site-groups/index.js +0 -8
- package/commonjs/site-groups/index.js.map +0 -1
- package/commonjs/site-groups/types.d.ts.map +0 -1
- package/commonjs/site-groups/types.js +0 -88
- package/commonjs/site-groups/types.js.map +0 -1
- package/commonjs/site-groups/web.d.ts.map +0 -1
- package/commonjs/site-groups/web.js +0 -20
- package/commonjs/site-groups/web.js.map +0 -1
- package/commonjs/site-scripts/index.d.ts.map +0 -1
- package/commonjs/site-scripts/index.js +0 -17
- package/commonjs/site-scripts/index.js.map +0 -1
- package/commonjs/site-scripts/list.d.ts.map +0 -1
- package/commonjs/site-scripts/list.js +0 -15
- package/commonjs/site-scripts/list.js.map +0 -1
- package/commonjs/site-scripts/types.d.ts.map +0 -1
- package/commonjs/site-scripts/types.js +0 -112
- package/commonjs/site-scripts/types.js.map +0 -1
- package/commonjs/site-scripts/web.d.ts.map +0 -1
- package/commonjs/site-scripts/web.js +0 -10
- package/commonjs/site-scripts/web.js.map +0 -1
- package/commonjs/site-users/index.d.ts.map +0 -1
- package/commonjs/site-users/index.js +0 -8
- package/commonjs/site-users/index.js.map +0 -1
- package/commonjs/site-users/types.d.ts.map +0 -1
- package/commonjs/site-users/types.js +0 -100
- package/commonjs/site-users/types.js.map +0 -1
- package/commonjs/site-users/web.d.ts.map +0 -1
- package/commonjs/site-users/web.js +0 -20
- package/commonjs/site-users/web.js.map +0 -1
- package/commonjs/sites/index.d.ts.map +0 -1
- package/commonjs/sites/index.js +0 -17
- package/commonjs/sites/index.js.map +0 -1
- package/commonjs/sites/types.d.ts.map +0 -1
- package/commonjs/sites/types.js +0 -261
- package/commonjs/sites/types.js.map +0 -1
- package/commonjs/social/index.d.ts.map +0 -1
- package/commonjs/social/index.js +0 -20
- package/commonjs/social/index.js.map +0 -1
- package/commonjs/social/types.d.ts.map +0 -1
- package/commonjs/social/types.js +0 -210
- package/commonjs/social/types.js.map +0 -1
- package/commonjs/spqueryable.d.ts +0 -117
- package/commonjs/spqueryable.d.ts.map +0 -1
- package/commonjs/spqueryable.js +0 -219
- package/commonjs/spqueryable.js.map +0 -1
- package/commonjs/sputilities/index.d.ts.map +0 -1
- package/commonjs/sputilities/index.js +0 -15
- package/commonjs/sputilities/index.js.map +0 -1
- package/commonjs/sputilities/types.d.ts.map +0 -1
- package/commonjs/sputilities/types.js +0 -69
- package/commonjs/sputilities/types.js.map +0 -1
- package/commonjs/subscriptions/index.d.ts.map +0 -1
- package/commonjs/subscriptions/index.js +0 -8
- package/commonjs/subscriptions/index.js.map +0 -1
- package/commonjs/subscriptions/list.d.ts.map +0 -1
- package/commonjs/subscriptions/list.js +0 -7
- package/commonjs/subscriptions/list.js.map +0 -1
- package/commonjs/subscriptions/types.d.ts.map +0 -1
- package/commonjs/subscriptions/types.js +0 -74
- package/commonjs/subscriptions/types.js.map +0 -1
- package/commonjs/types.d.ts.map +0 -1
- package/commonjs/types.js +0 -84
- package/commonjs/types.js.map +0 -1
- package/commonjs/user-custom-actions/index.d.ts.map +0 -1
- package/commonjs/user-custom-actions/index.js +0 -12
- package/commonjs/user-custom-actions/index.js.map +0 -1
- package/commonjs/user-custom-actions/list.d.ts.map +0 -1
- package/commonjs/user-custom-actions/list.js +0 -7
- package/commonjs/user-custom-actions/list.js.map +0 -1
- package/commonjs/user-custom-actions/site.d.ts.map +0 -1
- package/commonjs/user-custom-actions/site.js +0 -7
- package/commonjs/user-custom-actions/site.js.map +0 -1
- package/commonjs/user-custom-actions/types.d.ts.map +0 -1
- package/commonjs/user-custom-actions/types.js +0 -76
- package/commonjs/user-custom-actions/types.js.map +0 -1
- package/commonjs/user-custom-actions/web.d.ts.map +0 -1
- package/commonjs/user-custom-actions/web.js +0 -7
- package/commonjs/user-custom-actions/web.js.map +0 -1
- package/commonjs/utils/encode-path-str.d.ts.map +0 -1
- package/commonjs/utils/encode-path-str.js +0 -29
- package/commonjs/utils/encode-path-str.js.map +0 -1
- package/commonjs/utils/extract-web-url.d.ts.map +0 -1
- package/commonjs/utils/extract-web-url.js +0 -20
- package/commonjs/utils/extract-web-url.js.map +0 -1
- package/commonjs/utils/file-names.d.ts.map +0 -1
- package/commonjs/utils/file-names.js +0 -41
- package/commonjs/utils/file-names.js.map +0 -1
- package/commonjs/utils/metadata.d.ts.map +0 -1
- package/commonjs/utils/metadata.js +0 -10
- package/commonjs/utils/metadata.js.map +0 -1
- package/commonjs/utils/odata-url-from.d.ts.map +0 -1
- package/commonjs/utils/odata-url-from.js +0 -41
- package/commonjs/utils/odata-url-from.js.map +0 -1
- package/commonjs/utils/to-resource-path.d.ts.map +0 -1
- package/commonjs/utils/to-resource-path.js +0 -10
- package/commonjs/utils/to-resource-path.js.map +0 -1
- package/commonjs/views/index.d.ts.map +0 -1
- package/commonjs/views/index.js +0 -10
- package/commonjs/views/index.js.map +0 -1
- package/commonjs/views/list.d.ts.map +0 -1
- package/commonjs/views/list.js +0 -11
- package/commonjs/views/list.js.map +0 -1
- package/commonjs/views/types.d.ts.map +0 -1
- package/commonjs/views/types.js +0 -140
- package/commonjs/views/types.js.map +0 -1
- package/commonjs/webparts/file.d.ts.map +0 -1
- package/commonjs/webparts/file.js +0 -8
- package/commonjs/webparts/file.js.map +0 -1
- package/commonjs/webparts/index.d.ts.map +0 -1
- package/commonjs/webparts/index.js +0 -10
- package/commonjs/webparts/index.js.map +0 -1
- package/commonjs/webparts/types.d.ts.map +0 -1
- package/commonjs/webparts/types.js +0 -92
- package/commonjs/webparts/types.js.map +0 -1
- package/commonjs/webs/index.d.ts.map +0 -1
- package/commonjs/webs/index.js +0 -16
- package/commonjs/webs/index.js.map +0 -1
- package/commonjs/webs/types.d.ts.map +0 -1
- package/commonjs/webs/types.js +0 -227
- package/commonjs/webs/types.js.map +0 -1
- package/esm/appcatalog/index.d.ts +0 -11
- package/esm/appcatalog/index.d.ts.map +0 -1
- package/esm/appcatalog/index.js.map +0 -1
- package/esm/appcatalog/types.d.ts +0 -79
- package/esm/appcatalog/types.d.ts.map +0 -1
- package/esm/appcatalog/types.js.map +0 -1
- package/esm/appcatalog/web.d.ts +0 -13
- package/esm/appcatalog/web.d.ts.map +0 -1
- package/esm/appcatalog/web.js.map +0 -1
- package/esm/attachments/index.d.ts +0 -3
- package/esm/attachments/index.d.ts.map +0 -1
- package/esm/attachments/index.js.map +0 -1
- package/esm/attachments/item.d.ts +0 -13
- package/esm/attachments/item.d.ts.map +0 -1
- package/esm/attachments/item.js.map +0 -1
- package/esm/attachments/types.d.ts +0 -57
- package/esm/attachments/types.d.ts.map +0 -1
- package/esm/attachments/types.js.map +0 -1
- package/esm/batching.d.ts +0 -45
- package/esm/batching.d.ts.map +0 -1
- package/esm/batching.js.map +0 -1
- package/esm/behaviors/defaults.d.ts +0 -5
- package/esm/behaviors/defaults.d.ts.map +0 -1
- package/esm/behaviors/defaults.js.map +0 -1
- package/esm/behaviors/request-digest.d.ts +0 -9
- package/esm/behaviors/request-digest.d.ts.map +0 -1
- package/esm/behaviors/request-digest.js.map +0 -1
- package/esm/behaviors/spbrowser.d.ts +0 -7
- package/esm/behaviors/spbrowser.d.ts.map +0 -1
- package/esm/behaviors/spbrowser.js.map +0 -1
- package/esm/behaviors/spfx.d.ts +0 -21
- package/esm/behaviors/spfx.d.ts.map +0 -1
- package/esm/behaviors/spfx.js.map +0 -1
- package/esm/behaviors/telemetry.d.ts +0 -4
- package/esm/behaviors/telemetry.d.ts.map +0 -1
- package/esm/behaviors/telemetry.js.map +0 -1
- package/esm/clientside-pages/funcs.d.ts +0 -23
- package/esm/clientside-pages/funcs.d.ts.map +0 -1
- package/esm/clientside-pages/funcs.js.map +0 -1
- package/esm/clientside-pages/index.d.ts +0 -3
- package/esm/clientside-pages/index.d.ts.map +0 -1
- package/esm/clientside-pages/index.js.map +0 -1
- package/esm/clientside-pages/types.d.ts +0 -495
- package/esm/clientside-pages/types.d.ts.map +0 -1
- package/esm/clientside-pages/types.js.map +0 -1
- package/esm/clientside-pages/web.d.ts +0 -42
- package/esm/clientside-pages/web.d.ts.map +0 -1
- package/esm/clientside-pages/web.js.map +0 -1
- package/esm/column-defaults/folder.d.ts +0 -28
- package/esm/column-defaults/folder.d.ts.map +0 -1
- package/esm/column-defaults/folder.js.map +0 -1
- package/esm/column-defaults/index.d.ts +0 -4
- package/esm/column-defaults/index.d.ts.map +0 -1
- package/esm/column-defaults/index.js.map +0 -1
- package/esm/column-defaults/list.d.ts +0 -20
- package/esm/column-defaults/list.d.ts.map +0 -1
- package/esm/column-defaults/list.js.map +0 -1
- package/esm/column-defaults/types.d.ts +0 -22
- package/esm/column-defaults/types.d.ts.map +0 -1
- package/esm/column-defaults/types.js.map +0 -1
- package/esm/comments/clientside-page.d.ts +0 -58
- package/esm/comments/clientside-page.d.ts.map +0 -1
- package/esm/comments/clientside-page.js.map +0 -1
- package/esm/comments/index.d.ts +0 -3
- package/esm/comments/index.d.ts.map +0 -1
- package/esm/comments/index.js.map +0 -1
- package/esm/comments/item.d.ts +0 -37
- package/esm/comments/item.d.ts.map +0 -1
- package/esm/comments/item.js.map +0 -1
- package/esm/comments/types.d.ts +0 -111
- package/esm/comments/types.d.ts.map +0 -1
- package/esm/comments/types.js.map +0 -1
- package/esm/content-types/index.d.ts +0 -5
- package/esm/content-types/index.d.ts.map +0 -1
- package/esm/content-types/index.js.map +0 -1
- package/esm/content-types/item.d.ts +0 -13
- package/esm/content-types/item.d.ts.map +0 -1
- package/esm/content-types/item.js.map +0 -1
- package/esm/content-types/list.d.ts +0 -13
- package/esm/content-types/list.d.ts.map +0 -1
- package/esm/content-types/list.js.map +0 -1
- package/esm/content-types/types.d.ts +0 -120
- package/esm/content-types/types.d.ts.map +0 -1
- package/esm/content-types/types.js.map +0 -1
- package/esm/content-types/web.d.ts +0 -13
- package/esm/content-types/web.d.ts.map +0 -1
- package/esm/content-types/web.js.map +0 -1
- package/esm/context-info/index.d.ts +0 -22
- package/esm/context-info/index.d.ts.map +0 -1
- package/esm/context-info/index.js.map +0 -1
- package/esm/decorators.d.ts +0 -9
- package/esm/decorators.d.ts.map +0 -1
- package/esm/decorators.js.map +0 -1
- package/esm/favorites/index.d.ts +0 -11
- package/esm/favorites/index.d.ts.map +0 -1
- package/esm/favorites/index.js.map +0 -1
- package/esm/favorites/types.d.ts +0 -113
- package/esm/favorites/types.d.ts.map +0 -1
- package/esm/favorites/types.js.map +0 -1
- package/esm/features/index.d.ts +0 -4
- package/esm/features/index.d.ts.map +0 -1
- package/esm/features/index.js.map +0 -1
- package/esm/features/site.d.ts +0 -13
- package/esm/features/site.d.ts.map +0 -1
- package/esm/features/site.js.map +0 -1
- package/esm/features/types.d.ts +0 -42
- package/esm/features/types.d.ts.map +0 -1
- package/esm/features/types.js.map +0 -1
- package/esm/features/web.d.ts +0 -13
- package/esm/features/web.d.ts.map +0 -1
- package/esm/features/web.js.map +0 -1
- package/esm/fi.d.ts +0 -25
- package/esm/fi.d.ts.map +0 -1
- package/esm/fi.js.map +0 -1
- package/esm/fields/index.d.ts +0 -4
- package/esm/fields/index.d.ts.map +0 -1
- package/esm/fields/index.js.map +0 -1
- package/esm/fields/list.d.ts +0 -13
- package/esm/fields/list.d.ts.map +0 -1
- package/esm/fields/list.js.map +0 -1
- package/esm/fields/types.d.ts +0 -402
- package/esm/fields/types.d.ts.map +0 -1
- package/esm/fields/types.js.map +0 -1
- package/esm/fields/web.d.ts +0 -18
- package/esm/fields/web.d.ts.map +0 -1
- package/esm/fields/web.js.map +0 -1
- package/esm/files/folder.d.ts +0 -13
- package/esm/files/folder.d.ts.map +0 -1
- package/esm/files/folder.js.map +0 -1
- package/esm/files/index.d.ts +0 -5
- package/esm/files/index.d.ts.map +0 -1
- package/esm/files/index.js.map +0 -1
- package/esm/files/item.d.ts +0 -13
- package/esm/files/item.d.ts.map +0 -1
- package/esm/files/item.js.map +0 -1
- package/esm/files/readable-file.d.ts +0 -23
- package/esm/files/readable-file.d.ts.map +0 -1
- package/esm/files/readable-file.js.map +0 -1
- package/esm/files/types.d.ts +0 -455
- package/esm/files/types.d.ts.map +0 -1
- package/esm/files/types.js.map +0 -1
- package/esm/files/web.d.ts +0 -29
- package/esm/files/web.d.ts.map +0 -1
- package/esm/files/web.js.map +0 -1
- package/esm/folders/index.d.ts +0 -5
- package/esm/folders/index.d.ts.map +0 -1
- package/esm/folders/index.js.map +0 -1
- package/esm/folders/item.d.ts +0 -10
- package/esm/folders/item.d.ts.map +0 -1
- package/esm/folders/item.js.map +0 -1
- package/esm/folders/list.d.ts +0 -13
- package/esm/folders/list.d.ts.map +0 -1
- package/esm/folders/list.js.map +0 -1
- package/esm/folders/types.d.ts +0 -237
- package/esm/folders/types.d.ts.map +0 -1
- package/esm/folders/types.js.map +0 -1
- package/esm/folders/web.d.ts +0 -33
- package/esm/folders/web.d.ts.map +0 -1
- package/esm/folders/web.js.map +0 -1
- package/esm/forms/index.d.ts +0 -3
- package/esm/forms/index.d.ts.map +0 -1
- package/esm/forms/index.js.map +0 -1
- package/esm/forms/list.d.ts +0 -10
- package/esm/forms/list.d.ts.map +0 -1
- package/esm/forms/list.js.map +0 -1
- package/esm/forms/types.d.ts +0 -36
- package/esm/forms/types.d.ts.map +0 -1
- package/esm/forms/types.js.map +0 -1
- package/esm/groupsitemanager/index.d.ts +0 -8
- package/esm/groupsitemanager/index.d.ts.map +0 -1
- package/esm/groupsitemanager/index.js.map +0 -1
- package/esm/groupsitemanager/types.d.ts +0 -312
- package/esm/groupsitemanager/types.d.ts.map +0 -1
- package/esm/groupsitemanager/types.js.map +0 -1
- package/esm/hubsites/index.d.ts +0 -13
- package/esm/hubsites/index.d.ts.map +0 -1
- package/esm/hubsites/index.js.map +0 -1
- package/esm/hubsites/site.d.ts +0 -27
- package/esm/hubsites/site.d.ts.map +0 -1
- package/esm/hubsites/site.js.map +0 -1
- package/esm/hubsites/types.d.ts +0 -56
- package/esm/hubsites/types.d.ts.map +0 -1
- package/esm/hubsites/types.js.map +0 -1
- package/esm/hubsites/web.d.ts +0 -22
- package/esm/hubsites/web.d.ts.map +0 -1
- package/esm/hubsites/web.js.map +0 -1
- package/esm/index.d.ts +0 -15
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/items/index.d.ts +0 -3
- package/esm/items/index.d.ts.map +0 -1
- package/esm/items/index.js.map +0 -1
- package/esm/items/list.d.ts +0 -10
- package/esm/items/list.d.ts.map +0 -1
- package/esm/items/list.js.map +0 -1
- package/esm/items/types.d.ts +0 -193
- package/esm/items/types.d.ts.map +0 -1
- package/esm/items/types.js.map +0 -1
- package/esm/lists/index.d.ts +0 -3
- package/esm/lists/index.d.ts.map +0 -1
- package/esm/lists/index.js.map +0 -1
- package/esm/lists/types.d.ts +0 -634
- package/esm/lists/types.d.ts.map +0 -1
- package/esm/lists/types.js.map +0 -1
- package/esm/lists/web.d.ts +0 -44
- package/esm/lists/web.d.ts.map +0 -1
- package/esm/lists/web.js.map +0 -1
- package/esm/navigation/index.d.ts +0 -9
- package/esm/navigation/index.d.ts.map +0 -1
- package/esm/navigation/index.js.map +0 -1
- package/esm/navigation/types.d.ts +0 -155
- package/esm/navigation/types.d.ts.map +0 -1
- package/esm/navigation/types.js.map +0 -1
- package/esm/navigation/web.d.ts +0 -14
- package/esm/navigation/web.d.ts.map +0 -1
- package/esm/navigation/web.js.map +0 -1
- package/esm/package.json +0 -1
- package/esm/presets/all.d.ts +0 -73
- package/esm/presets/all.d.ts.map +0 -1
- package/esm/presets/all.js.map +0 -1
- package/esm/profiles/index.d.ts +0 -8
- package/esm/profiles/index.d.ts.map +0 -1
- package/esm/profiles/index.js.map +0 -1
- package/esm/profiles/types.d.ts +0 -358
- package/esm/profiles/types.d.ts.map +0 -1
- package/esm/profiles/types.js.map +0 -1
- package/esm/publishing-sitepageservice/index.d.ts +0 -11
- package/esm/publishing-sitepageservice/index.d.ts.map +0 -1
- package/esm/publishing-sitepageservice/index.js.map +0 -1
- package/esm/publishing-sitepageservice/types.d.ts +0 -12
- package/esm/publishing-sitepageservice/types.d.ts.map +0 -1
- package/esm/publishing-sitepageservice/types.js.map +0 -1
- package/esm/recycle-bin/index.d.ts +0 -25
- package/esm/recycle-bin/index.d.ts.map +0 -1
- package/esm/recycle-bin/index.js.map +0 -1
- package/esm/recycle-bin/types.d.ts +0 -82
- package/esm/recycle-bin/types.d.ts.map +0 -1
- package/esm/recycle-bin/types.js.map +0 -1
- package/esm/regional-settings/content-type.d.ts +0 -8
- package/esm/regional-settings/content-type.d.ts.map +0 -1
- package/esm/regional-settings/content-type.js.map +0 -1
- package/esm/regional-settings/field.d.ts +0 -8
- package/esm/regional-settings/field.d.ts.map +0 -1
- package/esm/regional-settings/field.js.map +0 -1
- package/esm/regional-settings/funcs.d.ts +0 -3
- package/esm/regional-settings/funcs.d.ts.map +0 -1
- package/esm/regional-settings/funcs.js.map +0 -1
- package/esm/regional-settings/index.d.ts +0 -7
- package/esm/regional-settings/index.d.ts.map +0 -1
- package/esm/regional-settings/index.js.map +0 -1
- package/esm/regional-settings/list.d.ts +0 -8
- package/esm/regional-settings/list.d.ts.map +0 -1
- package/esm/regional-settings/list.js.map +0 -1
- package/esm/regional-settings/types.d.ts +0 -105
- package/esm/regional-settings/types.d.ts.map +0 -1
- package/esm/regional-settings/types.js.map +0 -1
- package/esm/regional-settings/user-custom-actions.d.ts +0 -8
- package/esm/regional-settings/user-custom-actions.d.ts.map +0 -1
- package/esm/regional-settings/user-custom-actions.js.map +0 -1
- package/esm/regional-settings/web.d.ts +0 -13
- package/esm/regional-settings/web.d.ts.map +0 -1
- package/esm/regional-settings/web.js.map +0 -1
- package/esm/related-items/index.d.ts +0 -3
- package/esm/related-items/index.d.ts.map +0 -1
- package/esm/related-items/index.js.map +0 -1
- package/esm/related-items/types.d.ts +0 -77
- package/esm/related-items/types.d.ts.map +0 -1
- package/esm/related-items/types.js.map +0 -1
- package/esm/related-items/web.d.ts +0 -13
- package/esm/related-items/web.d.ts.map +0 -1
- package/esm/related-items/web.js.map +0 -1
- package/esm/search/index.d.ts +0 -23
- package/esm/search/index.d.ts.map +0 -1
- package/esm/search/index.js.map +0 -1
- package/esm/search/query.d.ts +0 -62
- package/esm/search/query.d.ts.map +0 -1
- package/esm/search/query.js.map +0 -1
- package/esm/search/suggest.d.ts +0 -76
- package/esm/search/suggest.d.ts.map +0 -1
- package/esm/search/suggest.js.map +0 -1
- package/esm/search/types.d.ts +0 -436
- package/esm/search/types.d.ts.map +0 -1
- package/esm/search/types.js.map +0 -1
- package/esm/security/funcs.d.ts +0 -44
- package/esm/security/funcs.d.ts.map +0 -1
- package/esm/security/funcs.js.map +0 -1
- package/esm/security/index.d.ts +0 -5
- package/esm/security/index.d.ts.map +0 -1
- package/esm/security/index.js.map +0 -1
- package/esm/security/item.d.ts +0 -8
- package/esm/security/item.d.ts.map +0 -1
- package/esm/security/item.js.map +0 -1
- package/esm/security/list.d.ts +0 -8
- package/esm/security/list.d.ts.map +0 -1
- package/esm/security/list.js.map +0 -1
- package/esm/security/types.d.ts +0 -319
- package/esm/security/types.d.ts.map +0 -1
- package/esm/security/types.js.map +0 -1
- package/esm/security/web.d.ts +0 -10
- package/esm/security/web.d.ts.map +0 -1
- package/esm/security/web.js.map +0 -1
- package/esm/sharing/file.d.ts +0 -19
- package/esm/sharing/file.d.ts.map +0 -1
- package/esm/sharing/file.js.map +0 -1
- package/esm/sharing/folder.d.ts +0 -10
- package/esm/sharing/folder.d.ts.map +0 -1
- package/esm/sharing/folder.js.map +0 -1
- package/esm/sharing/funcs.d.ts +0 -63
- package/esm/sharing/funcs.d.ts.map +0 -1
- package/esm/sharing/funcs.js.map +0 -1
- package/esm/sharing/index.d.ts +0 -6
- package/esm/sharing/index.d.ts.map +0 -1
- package/esm/sharing/index.js.map +0 -1
- package/esm/sharing/item.d.ts +0 -17
- package/esm/sharing/item.d.ts.map +0 -1
- package/esm/sharing/item.js.map +0 -1
- package/esm/sharing/types.d.ts +0 -589
- package/esm/sharing/types.d.ts.map +0 -1
- package/esm/sharing/types.js.map +0 -1
- package/esm/sharing/web.d.ts +0 -20
- package/esm/sharing/web.d.ts.map +0 -1
- package/esm/sharing/web.js.map +0 -1
- package/esm/site-designs/index.d.ts +0 -9
- package/esm/site-designs/index.d.ts.map +0 -1
- package/esm/site-designs/index.js.map +0 -1
- package/esm/site-designs/types.d.ts +0 -376
- package/esm/site-designs/types.d.ts.map +0 -1
- package/esm/site-designs/types.js.map +0 -1
- package/esm/site-designs/web.d.ts +0 -26
- package/esm/site-designs/web.d.ts.map +0 -1
- package/esm/site-designs/web.js.map +0 -1
- package/esm/site-groups/index.d.ts +0 -3
- package/esm/site-groups/index.d.ts.map +0 -1
- package/esm/site-groups/index.js.map +0 -1
- package/esm/site-groups/types.d.ts +0 -87
- package/esm/site-groups/types.d.ts.map +0 -1
- package/esm/site-groups/types.js.map +0 -1
- package/esm/site-groups/web.d.ts +0 -41
- package/esm/site-groups/web.d.ts.map +0 -1
- package/esm/site-groups/web.js.map +0 -1
- package/esm/site-scripts/index.d.ts +0 -10
- package/esm/site-scripts/index.d.ts.map +0 -1
- package/esm/site-scripts/index.js.map +0 -1
- package/esm/site-scripts/list.d.ts +0 -13
- package/esm/site-scripts/list.d.ts.map +0 -1
- package/esm/site-scripts/list.js.map +0 -1
- package/esm/site-scripts/types.d.ts +0 -184
- package/esm/site-scripts/types.d.ts.map +0 -1
- package/esm/site-scripts/types.js.map +0 -1
- package/esm/site-scripts/web.d.ts +0 -14
- package/esm/site-scripts/web.d.ts.map +0 -1
- package/esm/site-scripts/web.js.map +0 -1
- package/esm/site-users/index.d.ts +0 -3
- package/esm/site-users/index.d.ts.map +0 -1
- package/esm/site-users/index.js.map +0 -1
- package/esm/site-users/types.d.ts +0 -139
- package/esm/site-users/types.d.ts.map +0 -1
- package/esm/site-users/types.js.map +0 -1
- package/esm/site-users/web.d.ts +0 -32
- package/esm/site-users/web.d.ts.map +0 -1
- package/esm/site-users/web.js.map +0 -1
- package/esm/sites/index.d.ts +0 -8
- package/esm/sites/index.d.ts.map +0 -1
- package/esm/sites/index.js.map +0 -1
- package/esm/sites/types.d.ts +0 -221
- package/esm/sites/types.d.ts.map +0 -1
- package/esm/sites/types.js.map +0 -1
- package/esm/social/index.d.ts +0 -11
- package/esm/social/index.d.ts.map +0 -1
- package/esm/social/index.js.map +0 -1
- package/esm/social/types.d.ts +0 -305
- package/esm/social/types.d.ts.map +0 -1
- package/esm/social/types.js.map +0 -1
- package/esm/spqueryable.d.ts +0 -117
- package/esm/spqueryable.d.ts.map +0 -1
- package/esm/spqueryable.js +0 -203
- package/esm/spqueryable.js.map +0 -1
- package/esm/sputilities/index.d.ts +0 -8
- package/esm/sputilities/index.d.ts.map +0 -1
- package/esm/sputilities/index.js.map +0 -1
- package/esm/sputilities/types.d.ts +0 -101
- package/esm/sputilities/types.d.ts.map +0 -1
- package/esm/sputilities/types.js.map +0 -1
- package/esm/subscriptions/index.d.ts +0 -3
- package/esm/subscriptions/index.d.ts.map +0 -1
- package/esm/subscriptions/index.js.map +0 -1
- package/esm/subscriptions/list.d.ts +0 -14
- package/esm/subscriptions/list.d.ts.map +0 -1
- package/esm/subscriptions/list.js.map +0 -1
- package/esm/subscriptions/types.d.ts +0 -55
- package/esm/subscriptions/types.d.ts.map +0 -1
- package/esm/subscriptions/types.js.map +0 -1
- package/esm/types.d.ts +0 -241
- package/esm/types.d.ts.map +0 -1
- package/esm/types.js.map +0 -1
- package/esm/user-custom-actions/index.d.ts +0 -5
- package/esm/user-custom-actions/index.d.ts.map +0 -1
- package/esm/user-custom-actions/index.js.map +0 -1
- package/esm/user-custom-actions/list.d.ts +0 -13
- package/esm/user-custom-actions/list.d.ts.map +0 -1
- package/esm/user-custom-actions/list.js.map +0 -1
- package/esm/user-custom-actions/site.d.ts +0 -13
- package/esm/user-custom-actions/site.d.ts.map +0 -1
- package/esm/user-custom-actions/site.js.map +0 -1
- package/esm/user-custom-actions/types.d.ts +0 -82
- package/esm/user-custom-actions/types.d.ts.map +0 -1
- package/esm/user-custom-actions/types.js.map +0 -1
- package/esm/user-custom-actions/web.d.ts +0 -16
- package/esm/user-custom-actions/web.d.ts.map +0 -1
- package/esm/user-custom-actions/web.js.map +0 -1
- package/esm/utils/encode-path-str.d.ts +0 -8
- package/esm/utils/encode-path-str.d.ts.map +0 -1
- package/esm/utils/encode-path-str.js.map +0 -1
- package/esm/utils/extract-web-url.d.ts +0 -2
- package/esm/utils/extract-web-url.d.ts.map +0 -1
- package/esm/utils/extract-web-url.js.map +0 -1
- package/esm/utils/file-names.d.ts +0 -18
- package/esm/utils/file-names.d.ts.map +0 -1
- package/esm/utils/file-names.js.map +0 -1
- package/esm/utils/metadata.d.ts +0 -6
- package/esm/utils/metadata.d.ts.map +0 -1
- package/esm/utils/metadata.js.map +0 -1
- package/esm/utils/odata-url-from.d.ts +0 -2
- package/esm/utils/odata-url-from.d.ts.map +0 -1
- package/esm/utils/odata-url-from.js.map +0 -1
- package/esm/utils/to-resource-path.d.ts +0 -5
- package/esm/utils/to-resource-path.d.ts.map +0 -1
- package/esm/utils/to-resource-path.js.map +0 -1
- package/esm/views/index.d.ts +0 -3
- package/esm/views/index.d.ts.map +0 -1
- package/esm/views/index.js.map +0 -1
- package/esm/views/list.d.ts +0 -24
- package/esm/views/list.d.ts.map +0 -1
- package/esm/views/list.js.map +0 -1
- package/esm/views/types.d.ts +0 -147
- package/esm/views/types.d.ts.map +0 -1
- package/esm/views/types.js.map +0 -1
- package/esm/webparts/file.d.ts +0 -16
- package/esm/webparts/file.d.ts.map +0 -1
- package/esm/webparts/file.js.map +0 -1
- package/esm/webparts/index.d.ts +0 -3
- package/esm/webparts/index.d.ts.map +0 -1
- package/esm/webparts/index.js.map +0 -1
- package/esm/webparts/types.d.ts +0 -84
- package/esm/webparts/types.d.ts.map +0 -1
- package/esm/webparts/types.js.map +0 -1
- package/esm/webs/index.d.ts +0 -11
- package/esm/webs/index.d.ts.map +0 -1
- package/esm/webs/index.js.map +0 -1
- package/esm/webs/types.d.ts +0 -204
- package/esm/webs/types.d.ts.map +0 -1
- package/esm/webs/types.js.map +0 -1
- /package/{commonjs/appcatalog → appcatalog}/index.d.ts +0 -0
- /package/{esm/appcatalog → appcatalog}/index.js +0 -0
- /package/{commonjs/appcatalog → appcatalog}/types.d.ts +0 -0
- /package/{esm/appcatalog → appcatalog}/types.js +0 -0
- /package/{commonjs/appcatalog → appcatalog}/web.d.ts +0 -0
- /package/{esm/appcatalog → appcatalog}/web.js +0 -0
- /package/{commonjs/attachments → attachments}/index.d.ts +0 -0
- /package/{esm/attachments → attachments}/index.js +0 -0
- /package/{commonjs/attachments → attachments}/item.d.ts +0 -0
- /package/{esm/attachments → attachments}/item.js +0 -0
- /package/{commonjs/attachments → attachments}/types.d.ts +0 -0
- /package/{esm/attachments → attachments}/types.js +0 -0
- /package/{commonjs/batching.d.ts → batching.d.ts} +0 -0
- /package/{esm/batching.js → batching.js} +0 -0
- /package/{commonjs/behaviors → behaviors}/defaults.d.ts +0 -0
- /package/{esm/behaviors → behaviors}/defaults.js +0 -0
- /package/{commonjs/behaviors → behaviors}/request-digest.d.ts +0 -0
- /package/{esm/behaviors → behaviors}/request-digest.js +0 -0
- /package/{commonjs/behaviors → behaviors}/spbrowser.d.ts +0 -0
- /package/{esm/behaviors → behaviors}/spbrowser.js +0 -0
- /package/{commonjs/behaviors → behaviors}/spfx.d.ts +0 -0
- /package/{esm/behaviors → behaviors}/spfx.js +0 -0
- /package/{commonjs/behaviors → behaviors}/telemetry.d.ts +0 -0
- /package/{esm/behaviors → behaviors}/telemetry.js +0 -0
- /package/{commonjs/clientside-pages → clientside-pages}/funcs.d.ts +0 -0
- /package/{esm/clientside-pages → clientside-pages}/funcs.js +0 -0
- /package/{commonjs/clientside-pages → clientside-pages}/index.d.ts +0 -0
- /package/{esm/clientside-pages → clientside-pages}/index.js +0 -0
- /package/{commonjs/clientside-pages → clientside-pages}/types.d.ts +0 -0
- /package/{esm/clientside-pages → clientside-pages}/types.js +0 -0
- /package/{commonjs/clientside-pages → clientside-pages}/web.d.ts +0 -0
- /package/{esm/clientside-pages → clientside-pages}/web.js +0 -0
- /package/{commonjs/column-defaults → column-defaults}/folder.d.ts +0 -0
- /package/{esm/column-defaults → column-defaults}/folder.js +0 -0
- /package/{commonjs/column-defaults → column-defaults}/index.d.ts +0 -0
- /package/{esm/column-defaults → column-defaults}/index.js +0 -0
- /package/{commonjs/column-defaults → column-defaults}/list.d.ts +0 -0
- /package/{esm/column-defaults → column-defaults}/list.js +0 -0
- /package/{commonjs/column-defaults → column-defaults}/types.d.ts +0 -0
- /package/{esm/column-defaults → column-defaults}/types.js +0 -0
- /package/{commonjs/comments → comments}/clientside-page.d.ts +0 -0
- /package/{esm/comments → comments}/clientside-page.js +0 -0
- /package/{commonjs/comments → comments}/index.d.ts +0 -0
- /package/{esm/comments → comments}/index.js +0 -0
- /package/{commonjs/comments → comments}/item.d.ts +0 -0
- /package/{esm/comments → comments}/item.js +0 -0
- /package/{commonjs/comments → comments}/types.d.ts +0 -0
- /package/{esm/comments → comments}/types.js +0 -0
- /package/{commonjs/content-types → content-types}/index.d.ts +0 -0
- /package/{esm/content-types → content-types}/index.js +0 -0
- /package/{commonjs/content-types → content-types}/item.d.ts +0 -0
- /package/{esm/content-types → content-types}/item.js +0 -0
- /package/{commonjs/content-types → content-types}/list.d.ts +0 -0
- /package/{esm/content-types → content-types}/list.js +0 -0
- /package/{commonjs/content-types → content-types}/types.d.ts +0 -0
- /package/{esm/content-types → content-types}/types.js +0 -0
- /package/{commonjs/content-types → content-types}/web.d.ts +0 -0
- /package/{esm/content-types → content-types}/web.js +0 -0
- /package/{commonjs/context-info → context-info}/index.d.ts +0 -0
- /package/{esm/context-info → context-info}/index.js +0 -0
- /package/{commonjs/decorators.d.ts → decorators.d.ts} +0 -0
- /package/{esm/decorators.js → decorators.js} +0 -0
- /package/{commonjs/favorites → favorites}/index.d.ts +0 -0
- /package/{esm/favorites → favorites}/index.js +0 -0
- /package/{commonjs/favorites → favorites}/types.d.ts +0 -0
- /package/{esm/favorites → favorites}/types.js +0 -0
- /package/{commonjs/features → features}/index.d.ts +0 -0
- /package/{esm/features → features}/index.js +0 -0
- /package/{commonjs/features → features}/site.d.ts +0 -0
- /package/{esm/features → features}/site.js +0 -0
- /package/{commonjs/features → features}/types.d.ts +0 -0
- /package/{esm/features → features}/types.js +0 -0
- /package/{commonjs/features → features}/web.d.ts +0 -0
- /package/{esm/features → features}/web.js +0 -0
- /package/{commonjs/fi.d.ts → fi.d.ts} +0 -0
- /package/{esm/fi.js → fi.js} +0 -0
- /package/{commonjs/fields → fields}/index.d.ts +0 -0
- /package/{esm/fields → fields}/index.js +0 -0
- /package/{commonjs/fields → fields}/list.d.ts +0 -0
- /package/{esm/fields → fields}/list.js +0 -0
- /package/{commonjs/fields → fields}/types.d.ts +0 -0
- /package/{esm/fields → fields}/types.js +0 -0
- /package/{commonjs/fields → fields}/web.d.ts +0 -0
- /package/{esm/fields → fields}/web.js +0 -0
- /package/{commonjs/files → files}/folder.d.ts +0 -0
- /package/{esm/files → files}/folder.js +0 -0
- /package/{commonjs/files → files}/index.d.ts +0 -0
- /package/{esm/files → files}/index.js +0 -0
- /package/{commonjs/files → files}/item.d.ts +0 -0
- /package/{esm/files → files}/item.js +0 -0
- /package/{commonjs/files → files}/readable-file.d.ts +0 -0
- /package/{esm/files → files}/readable-file.js +0 -0
- /package/{commonjs/files → files}/types.d.ts +0 -0
- /package/{esm/files → files}/types.js +0 -0
- /package/{commonjs/files → files}/web.d.ts +0 -0
- /package/{esm/files → files}/web.js +0 -0
- /package/{commonjs/folders → folders}/index.d.ts +0 -0
- /package/{esm/folders → folders}/index.js +0 -0
- /package/{commonjs/folders → folders}/item.d.ts +0 -0
- /package/{esm/folders → folders}/item.js +0 -0
- /package/{commonjs/folders → folders}/list.d.ts +0 -0
- /package/{esm/folders → folders}/list.js +0 -0
- /package/{commonjs/folders → folders}/types.d.ts +0 -0
- /package/{esm/folders → folders}/types.js +0 -0
- /package/{commonjs/folders → folders}/web.d.ts +0 -0
- /package/{esm/folders → folders}/web.js +0 -0
- /package/{commonjs/forms → forms}/index.d.ts +0 -0
- /package/{esm/forms → forms}/index.js +0 -0
- /package/{commonjs/forms → forms}/list.d.ts +0 -0
- /package/{esm/forms → forms}/list.js +0 -0
- /package/{commonjs/forms → forms}/types.d.ts +0 -0
- /package/{esm/forms → forms}/types.js +0 -0
- /package/{commonjs/groupsitemanager → groupsitemanager}/index.d.ts +0 -0
- /package/{esm/groupsitemanager → groupsitemanager}/index.js +0 -0
- /package/{commonjs/groupsitemanager → groupsitemanager}/types.d.ts +0 -0
- /package/{esm/groupsitemanager → groupsitemanager}/types.js +0 -0
- /package/{commonjs/hubsites → hubsites}/index.d.ts +0 -0
- /package/{esm/hubsites → hubsites}/index.js +0 -0
- /package/{commonjs/hubsites → hubsites}/site.d.ts +0 -0
- /package/{esm/hubsites → hubsites}/site.js +0 -0
- /package/{commonjs/hubsites → hubsites}/types.d.ts +0 -0
- /package/{esm/hubsites → hubsites}/types.js +0 -0
- /package/{commonjs/hubsites → hubsites}/web.d.ts +0 -0
- /package/{esm/hubsites → hubsites}/web.js +0 -0
- /package/{commonjs/index.d.ts → index.d.ts} +0 -0
- /package/{esm/index.js → index.js} +0 -0
- /package/{commonjs/items → items}/index.d.ts +0 -0
- /package/{esm/items → items}/index.js +0 -0
- /package/{commonjs/items → items}/list.d.ts +0 -0
- /package/{esm/items → items}/list.js +0 -0
- /package/{commonjs/items → items}/types.d.ts +0 -0
- /package/{esm/items → items}/types.js +0 -0
- /package/{commonjs/lists → lists}/index.d.ts +0 -0
- /package/{esm/lists → lists}/index.js +0 -0
- /package/{commonjs/lists → lists}/types.d.ts +0 -0
- /package/{esm/lists → lists}/types.js +0 -0
- /package/{commonjs/lists → lists}/web.d.ts +0 -0
- /package/{esm/lists → lists}/web.js +0 -0
- /package/{commonjs/navigation → navigation}/index.d.ts +0 -0
- /package/{esm/navigation → navigation}/index.js +0 -0
- /package/{commonjs/navigation → navigation}/types.d.ts +0 -0
- /package/{esm/navigation → navigation}/types.js +0 -0
- /package/{commonjs/navigation → navigation}/web.d.ts +0 -0
- /package/{esm/navigation → navigation}/web.js +0 -0
- /package/{commonjs/presets → presets}/all.d.ts +0 -0
- /package/{esm/presets → presets}/all.js +0 -0
- /package/{commonjs/profiles → profiles}/index.d.ts +0 -0
- /package/{esm/profiles → profiles}/index.js +0 -0
- /package/{commonjs/profiles → profiles}/types.d.ts +0 -0
- /package/{esm/profiles → profiles}/types.js +0 -0
- /package/{commonjs/publishing-sitepageservice → publishing-sitepageservice}/index.d.ts +0 -0
- /package/{esm/publishing-sitepageservice → publishing-sitepageservice}/index.js +0 -0
- /package/{commonjs/publishing-sitepageservice → publishing-sitepageservice}/types.d.ts +0 -0
- /package/{esm/publishing-sitepageservice → publishing-sitepageservice}/types.js +0 -0
- /package/{commonjs/recycle-bin → recycle-bin}/index.d.ts +0 -0
- /package/{esm/recycle-bin → recycle-bin}/index.js +0 -0
- /package/{commonjs/recycle-bin → recycle-bin}/types.d.ts +0 -0
- /package/{esm/recycle-bin → recycle-bin}/types.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/content-type.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/content-type.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/field.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/field.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/funcs.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/funcs.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/index.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/index.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/list.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/list.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/types.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/types.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/user-custom-actions.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/user-custom-actions.js +0 -0
- /package/{commonjs/regional-settings → regional-settings}/web.d.ts +0 -0
- /package/{esm/regional-settings → regional-settings}/web.js +0 -0
- /package/{commonjs/related-items → related-items}/index.d.ts +0 -0
- /package/{esm/related-items → related-items}/index.js +0 -0
- /package/{commonjs/related-items → related-items}/types.d.ts +0 -0
- /package/{esm/related-items → related-items}/types.js +0 -0
- /package/{commonjs/related-items → related-items}/web.d.ts +0 -0
- /package/{esm/related-items → related-items}/web.js +0 -0
- /package/{commonjs/search → search}/index.d.ts +0 -0
- /package/{esm/search → search}/index.js +0 -0
- /package/{commonjs/search → search}/query.d.ts +0 -0
- /package/{esm/search → search}/query.js +0 -0
- /package/{commonjs/search → search}/suggest.d.ts +0 -0
- /package/{esm/search → search}/suggest.js +0 -0
- /package/{commonjs/search → search}/types.d.ts +0 -0
- /package/{esm/search → search}/types.js +0 -0
- /package/{commonjs/security → security}/funcs.d.ts +0 -0
- /package/{esm/security → security}/funcs.js +0 -0
- /package/{commonjs/security → security}/index.d.ts +0 -0
- /package/{esm/security → security}/index.js +0 -0
- /package/{commonjs/security → security}/item.d.ts +0 -0
- /package/{esm/security → security}/item.js +0 -0
- /package/{commonjs/security → security}/list.d.ts +0 -0
- /package/{esm/security → security}/list.js +0 -0
- /package/{commonjs/security → security}/types.d.ts +0 -0
- /package/{esm/security → security}/types.js +0 -0
- /package/{commonjs/security → security}/web.d.ts +0 -0
- /package/{esm/security → security}/web.js +0 -0
- /package/{commonjs/sharing → sharing}/file.d.ts +0 -0
- /package/{esm/sharing → sharing}/file.js +0 -0
- /package/{commonjs/sharing → sharing}/folder.d.ts +0 -0
- /package/{esm/sharing → sharing}/folder.js +0 -0
- /package/{commonjs/sharing → sharing}/funcs.d.ts +0 -0
- /package/{esm/sharing → sharing}/funcs.js +0 -0
- /package/{commonjs/sharing → sharing}/index.d.ts +0 -0
- /package/{esm/sharing → sharing}/index.js +0 -0
- /package/{commonjs/sharing → sharing}/item.d.ts +0 -0
- /package/{esm/sharing → sharing}/item.js +0 -0
- /package/{commonjs/sharing → sharing}/types.d.ts +0 -0
- /package/{esm/sharing → sharing}/types.js +0 -0
- /package/{commonjs/sharing → sharing}/web.d.ts +0 -0
- /package/{esm/sharing → sharing}/web.js +0 -0
- /package/{commonjs/site-designs → site-designs}/index.d.ts +0 -0
- /package/{esm/site-designs → site-designs}/index.js +0 -0
- /package/{commonjs/site-designs → site-designs}/types.d.ts +0 -0
- /package/{esm/site-designs → site-designs}/types.js +0 -0
- /package/{commonjs/site-designs → site-designs}/web.d.ts +0 -0
- /package/{esm/site-designs → site-designs}/web.js +0 -0
- /package/{commonjs/site-groups → site-groups}/index.d.ts +0 -0
- /package/{esm/site-groups → site-groups}/index.js +0 -0
- /package/{commonjs/site-groups → site-groups}/types.d.ts +0 -0
- /package/{esm/site-groups → site-groups}/types.js +0 -0
- /package/{commonjs/site-groups → site-groups}/web.d.ts +0 -0
- /package/{esm/site-groups → site-groups}/web.js +0 -0
- /package/{commonjs/site-scripts → site-scripts}/index.d.ts +0 -0
- /package/{esm/site-scripts → site-scripts}/index.js +0 -0
- /package/{commonjs/site-scripts → site-scripts}/list.d.ts +0 -0
- /package/{esm/site-scripts → site-scripts}/list.js +0 -0
- /package/{commonjs/site-scripts → site-scripts}/types.d.ts +0 -0
- /package/{esm/site-scripts → site-scripts}/types.js +0 -0
- /package/{commonjs/site-scripts → site-scripts}/web.d.ts +0 -0
- /package/{esm/site-scripts → site-scripts}/web.js +0 -0
- /package/{commonjs/site-users → site-users}/index.d.ts +0 -0
- /package/{esm/site-users → site-users}/index.js +0 -0
- /package/{commonjs/site-users → site-users}/types.d.ts +0 -0
- /package/{esm/site-users → site-users}/types.js +0 -0
- /package/{commonjs/site-users → site-users}/web.d.ts +0 -0
- /package/{esm/site-users → site-users}/web.js +0 -0
- /package/{commonjs/sites → sites}/index.d.ts +0 -0
- /package/{esm/sites → sites}/index.js +0 -0
- /package/{commonjs/sites → sites}/types.d.ts +0 -0
- /package/{esm/sites → sites}/types.js +0 -0
- /package/{commonjs/social → social}/index.d.ts +0 -0
- /package/{esm/social → social}/index.js +0 -0
- /package/{commonjs/social → social}/types.d.ts +0 -0
- /package/{esm/social → social}/types.js +0 -0
- /package/{commonjs/sputilities → sputilities}/index.d.ts +0 -0
- /package/{esm/sputilities → sputilities}/index.js +0 -0
- /package/{commonjs/sputilities → sputilities}/types.d.ts +0 -0
- /package/{esm/sputilities → sputilities}/types.js +0 -0
- /package/{commonjs/subscriptions → subscriptions}/index.d.ts +0 -0
- /package/{esm/subscriptions → subscriptions}/index.js +0 -0
- /package/{commonjs/subscriptions → subscriptions}/list.d.ts +0 -0
- /package/{esm/subscriptions → subscriptions}/list.js +0 -0
- /package/{commonjs/subscriptions → subscriptions}/types.d.ts +0 -0
- /package/{esm/subscriptions → subscriptions}/types.js +0 -0
- /package/{commonjs/types.d.ts → types.d.ts} +0 -0
- /package/{esm/types.js → types.js} +0 -0
- /package/{commonjs/user-custom-actions → user-custom-actions}/index.d.ts +0 -0
- /package/{esm/user-custom-actions → user-custom-actions}/index.js +0 -0
- /package/{commonjs/user-custom-actions → user-custom-actions}/list.d.ts +0 -0
- /package/{esm/user-custom-actions → user-custom-actions}/list.js +0 -0
- /package/{commonjs/user-custom-actions → user-custom-actions}/site.d.ts +0 -0
- /package/{esm/user-custom-actions → user-custom-actions}/site.js +0 -0
- /package/{commonjs/user-custom-actions → user-custom-actions}/types.d.ts +0 -0
- /package/{esm/user-custom-actions → user-custom-actions}/types.js +0 -0
- /package/{commonjs/user-custom-actions → user-custom-actions}/web.d.ts +0 -0
- /package/{esm/user-custom-actions → user-custom-actions}/web.js +0 -0
- /package/{commonjs/utils → utils}/encode-path-str.d.ts +0 -0
- /package/{esm/utils → utils}/encode-path-str.js +0 -0
- /package/{commonjs/utils → utils}/extract-web-url.d.ts +0 -0
- /package/{esm/utils → utils}/extract-web-url.js +0 -0
- /package/{commonjs/utils → utils}/file-names.d.ts +0 -0
- /package/{esm/utils → utils}/file-names.js +0 -0
- /package/{commonjs/utils → utils}/metadata.d.ts +0 -0
- /package/{esm/utils → utils}/metadata.js +0 -0
- /package/{commonjs/utils → utils}/odata-url-from.d.ts +0 -0
- /package/{esm/utils → utils}/odata-url-from.js +0 -0
- /package/{commonjs/utils → utils}/to-resource-path.d.ts +0 -0
- /package/{esm/utils → utils}/to-resource-path.js +0 -0
- /package/{commonjs/views → views}/index.d.ts +0 -0
- /package/{esm/views → views}/index.js +0 -0
- /package/{commonjs/views → views}/list.d.ts +0 -0
- /package/{esm/views → views}/list.js +0 -0
- /package/{commonjs/views → views}/types.d.ts +0 -0
- /package/{esm/views → views}/types.js +0 -0
- /package/{commonjs/webparts → webparts}/file.d.ts +0 -0
- /package/{esm/webparts → webparts}/file.js +0 -0
- /package/{commonjs/webparts → webparts}/index.d.ts +0 -0
- /package/{esm/webparts → webparts}/index.js +0 -0
- /package/{commonjs/webparts → webparts}/types.d.ts +0 -0
- /package/{esm/webparts → webparts}/types.js +0 -0
- /package/{commonjs/webs → webs}/index.d.ts +0 -0
- /package/{esm/webs → webs}/index.js +0 -0
- /package/{commonjs/webs → webs}/types.d.ts +0 -0
- /package/{esm/webs → webs}/types.js +0 -0
package/commonjs/batching.js
DELETED
|
@@ -1,355 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchNever = exports.createBatch = void 0;
|
|
4
|
-
const core_1 = require("@pnp/core");
|
|
5
|
-
const queryable_1 = require("@pnp/queryable");
|
|
6
|
-
const spqueryable_js_1 = require("./spqueryable.js");
|
|
7
|
-
const fi_js_1 = require("./fi.js");
|
|
8
|
-
const types_js_1 = require("./webs/types.js");
|
|
9
|
-
fi_js_1.SPFI.prototype.batched = function (props) {
|
|
10
|
-
const batched = (0, fi_js_1.spfi)(this);
|
|
11
|
-
const [behavior, execute] = createBatch(batched._root, props);
|
|
12
|
-
batched.using(behavior);
|
|
13
|
-
return [batched, execute];
|
|
14
|
-
};
|
|
15
|
-
types_js_1._Web.prototype.batched = function (props) {
|
|
16
|
-
const batched = (0, types_js_1.Web)(this);
|
|
17
|
-
const [behavior, execute] = createBatch(batched, props);
|
|
18
|
-
batched.using(behavior);
|
|
19
|
-
return [batched, execute];
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Tracks on a batched instance that registration is complete (the child request has gotten to the send moment and the request is included in the batch)
|
|
23
|
-
*/
|
|
24
|
-
const RegistrationCompleteSym = Symbol.for("batch_registration");
|
|
25
|
-
/**
|
|
26
|
-
* Tracks on a batched instance that the child request timeline lifecycle is complete (called in child.dispose)
|
|
27
|
-
*/
|
|
28
|
-
const RequestCompleteSym = Symbol.for("batch_request");
|
|
29
|
-
/**
|
|
30
|
-
* Special batch parsing behavior used to convert the batch response text into a set of Response objects for each request
|
|
31
|
-
* @returns A parser behavior
|
|
32
|
-
*/
|
|
33
|
-
function BatchParse() {
|
|
34
|
-
return (0, queryable_1.parseBinderWithErrorCheck)(async (response) => {
|
|
35
|
-
const text = await response.text();
|
|
36
|
-
return parseResponse(text);
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Internal class used to execute the batch request through the timeline lifecycle
|
|
41
|
-
*/
|
|
42
|
-
class BatchQueryable extends spqueryable_js_1._SPQueryable {
|
|
43
|
-
constructor(base, requestBaseUrl = base.toUrl().replace(/_api[\\|/].*$/i, "")) {
|
|
44
|
-
super(requestBaseUrl, "_api/$batch");
|
|
45
|
-
this.requestBaseUrl = requestBaseUrl;
|
|
46
|
-
// this will copy over the current observables from the base associated with this batch
|
|
47
|
-
// this will replace any other parsing present
|
|
48
|
-
this.using((0, core_1.CopyFrom)(base, "replace"), BatchParse());
|
|
49
|
-
this.on.dispose(() => {
|
|
50
|
-
// there is a code path where you may invoke a batch, say on items.add, whose return
|
|
51
|
-
// is an object like { data: any, item: IItem }. The expectation from v1 on is `item` in that object
|
|
52
|
-
// is immediately usable to make additional queries. Without this step when that IItem instance is
|
|
53
|
-
// created using "this.getById" within IITems.add all of the current observers of "this" are
|
|
54
|
-
// linked to the IItem instance created (expected), BUT they will be the set of observers setup
|
|
55
|
-
// to handle the batch, meaning invoking `item` will result in a half batched call that
|
|
56
|
-
// doesn't really work. To deliver the expected functionality we "reset" the
|
|
57
|
-
// observers using the original instance, mimicing the behavior had
|
|
58
|
-
// the IItem been created from that base without a batch involved. We use CopyFrom to ensure
|
|
59
|
-
// that we maintain the references to the InternalResolve and InternalReject events through
|
|
60
|
-
// the end of this timeline lifecycle. This works because CopyFrom by design uses Object.keys
|
|
61
|
-
// which ignores symbol properties.
|
|
62
|
-
base.using((0, core_1.CopyFrom)(this, "replace", (k) => /(auth|send|pre|init)/i.test(k)));
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Creates a batched version of the supplied base, meaning that all chained fluent operations from the new base are part of the batch
|
|
68
|
-
*
|
|
69
|
-
* @param base The base from which to initialize the batch
|
|
70
|
-
* @param props Any properties used to initialize the batch functionality
|
|
71
|
-
* @returns A tuple of [behavior used to assign objects to the batch, the execute function used to resolve the batch requests]
|
|
72
|
-
*/
|
|
73
|
-
function createBatch(base, props) {
|
|
74
|
-
const registrationPromises = [];
|
|
75
|
-
const completePromises = [];
|
|
76
|
-
const requests = [];
|
|
77
|
-
const batchId = (0, core_1.getGUID)();
|
|
78
|
-
const batchQuery = new BatchQueryable(base);
|
|
79
|
-
// this query is used to copy back the behaviors after the batch executes
|
|
80
|
-
// it should not manipulated or have behaviors added.
|
|
81
|
-
const refQuery = new BatchQueryable(base);
|
|
82
|
-
const { headersCopyPattern } = {
|
|
83
|
-
headersCopyPattern: /Accept|Content-Type|IF-Match/i,
|
|
84
|
-
...props,
|
|
85
|
-
};
|
|
86
|
-
const execute = async () => {
|
|
87
|
-
await Promise.all(registrationPromises);
|
|
88
|
-
if (requests.length < 1) {
|
|
89
|
-
// even if we have no requests we need to await the complete promises to ensure
|
|
90
|
-
// that execute only resolves AFTER every child request disposes #2457
|
|
91
|
-
// this likely means caching is being used, we returned values for all child requests from the cache
|
|
92
|
-
return Promise.all(completePromises).then(() => void (0));
|
|
93
|
-
}
|
|
94
|
-
const batchBody = [];
|
|
95
|
-
let currentChangeSetId = "";
|
|
96
|
-
for (let i = 0; i < requests.length; i++) {
|
|
97
|
-
const [, url, init] = requests[i];
|
|
98
|
-
if (init.method === "GET") {
|
|
99
|
-
if (currentChangeSetId.length > 0) {
|
|
100
|
-
// end an existing change set
|
|
101
|
-
batchBody.push(`--changeset_${currentChangeSetId}--\n\n`);
|
|
102
|
-
currentChangeSetId = "";
|
|
103
|
-
}
|
|
104
|
-
batchBody.push(`--batch_${batchId}\n`);
|
|
105
|
-
}
|
|
106
|
-
else {
|
|
107
|
-
if (currentChangeSetId.length < 1) {
|
|
108
|
-
// start new change set
|
|
109
|
-
currentChangeSetId = (0, core_1.getGUID)();
|
|
110
|
-
batchBody.push(`--batch_${batchId}\n`);
|
|
111
|
-
batchBody.push(`Content-Type: multipart/mixed; boundary="changeset_${currentChangeSetId}"\n\n`);
|
|
112
|
-
}
|
|
113
|
-
batchBody.push(`--changeset_${currentChangeSetId}\n`);
|
|
114
|
-
}
|
|
115
|
-
// common batch part prefix
|
|
116
|
-
batchBody.push("Content-Type: application/http\n");
|
|
117
|
-
batchBody.push("Content-Transfer-Encoding: binary\n\n");
|
|
118
|
-
// these are the per-request headers
|
|
119
|
-
const headers = new Headers(init.headers);
|
|
120
|
-
// this is the url of the individual request within the batch
|
|
121
|
-
const reqUrl = (0, core_1.isUrlAbsolute)(url) ? url : (0, core_1.combine)(batchQuery.requestBaseUrl, url);
|
|
122
|
-
if (init.method !== "GET") {
|
|
123
|
-
let method = init.method;
|
|
124
|
-
if (headers.has("X-HTTP-Method")) {
|
|
125
|
-
method = headers.get("X-HTTP-Method");
|
|
126
|
-
headers.delete("X-HTTP-Method");
|
|
127
|
-
}
|
|
128
|
-
batchBody.push(`${method} ${reqUrl} HTTP/1.1\n`);
|
|
129
|
-
}
|
|
130
|
-
else {
|
|
131
|
-
batchBody.push(`${init.method} ${reqUrl} HTTP/1.1\n`);
|
|
132
|
-
}
|
|
133
|
-
// lastly we apply any default headers we need that may not exist
|
|
134
|
-
if (!headers.has("Accept")) {
|
|
135
|
-
headers.append("Accept", "application/json");
|
|
136
|
-
}
|
|
137
|
-
if (!headers.has("Content-Type")) {
|
|
138
|
-
headers.append("Content-Type", "application/json;charset=utf-8");
|
|
139
|
-
}
|
|
140
|
-
// write headers into batch body
|
|
141
|
-
headers.forEach((value, name) => {
|
|
142
|
-
if (headersCopyPattern.test(name)) {
|
|
143
|
-
batchBody.push(`${name}: ${value}\n`);
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
batchBody.push("\n");
|
|
147
|
-
if (init.body) {
|
|
148
|
-
batchBody.push(`${init.body}\n\n`);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
if (currentChangeSetId.length > 0) {
|
|
152
|
-
// Close the changeset
|
|
153
|
-
batchBody.push(`--changeset_${currentChangeSetId}--\n\n`);
|
|
154
|
-
currentChangeSetId = "";
|
|
155
|
-
}
|
|
156
|
-
batchBody.push(`--batch_${batchId}--\n`);
|
|
157
|
-
const responses = await (0, spqueryable_js_1.spPost)(batchQuery, {
|
|
158
|
-
body: batchBody.join(""),
|
|
159
|
-
headers: {
|
|
160
|
-
"Content-Type": `multipart/mixed; boundary=batch_${batchId}`,
|
|
161
|
-
},
|
|
162
|
-
});
|
|
163
|
-
if (responses.length !== requests.length) {
|
|
164
|
-
throw Error("Could not properly parse responses to match requests in batch.");
|
|
165
|
-
}
|
|
166
|
-
return new Promise((res, rej) => {
|
|
167
|
-
try {
|
|
168
|
-
for (let index = 0; index < responses.length; index++) {
|
|
169
|
-
const [, , , resolve, reject] = requests[index];
|
|
170
|
-
try {
|
|
171
|
-
resolve(responses[index]);
|
|
172
|
-
}
|
|
173
|
-
catch (e) {
|
|
174
|
-
reject(e);
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
// this small delay allows the promises to resolve correctly in order by dropping this resolve behind
|
|
178
|
-
// the other work in the event loop. Feels hacky, but it works so 🤷
|
|
179
|
-
setTimeout(res, 0);
|
|
180
|
-
}
|
|
181
|
-
catch (e) {
|
|
182
|
-
setTimeout(() => rej(e), 0);
|
|
183
|
-
}
|
|
184
|
-
}).then(() => Promise.all(completePromises)).then(() => void (0));
|
|
185
|
-
};
|
|
186
|
-
const register = (instance) => {
|
|
187
|
-
instance.on.init(function () {
|
|
188
|
-
if ((0, core_1.isFunc)(this[RegistrationCompleteSym])) {
|
|
189
|
-
throw Error("This instance is already part of a batch. Please review the docs at https://pnp.github.io/pnpjs/concepts/batching#reuse.");
|
|
190
|
-
}
|
|
191
|
-
// we need to ensure we wait to start execute until all our batch children hit the .send method to be fully registered
|
|
192
|
-
registrationPromises.push(new Promise((resolve) => {
|
|
193
|
-
this[RegistrationCompleteSym] = resolve;
|
|
194
|
-
}));
|
|
195
|
-
return this;
|
|
196
|
-
});
|
|
197
|
-
instance.on.pre(async function (url, init, result) {
|
|
198
|
-
// Do not add to timeline if using BatchNever behavior
|
|
199
|
-
if ((0, core_1.hOP)(init.headers, "X-PnP-BatchNever")) {
|
|
200
|
-
// clean up the init operations from the timeline
|
|
201
|
-
// not strictly necessary as none of the logic that uses this should be in the request, but good to keep things tidy
|
|
202
|
-
if (typeof (this[RequestCompleteSym]) === "function") {
|
|
203
|
-
this[RequestCompleteSym]();
|
|
204
|
-
delete this[RequestCompleteSym];
|
|
205
|
-
}
|
|
206
|
-
this.using((0, core_1.CopyFrom)(refQuery, "replace", (k) => /(init|pre)/i.test(k)));
|
|
207
|
-
return [url, init, result];
|
|
208
|
-
}
|
|
209
|
-
// the entire request will be auth'd - we don't need to run this for each batch request
|
|
210
|
-
this.on.auth.clear();
|
|
211
|
-
// we replace the send function with our batching logic
|
|
212
|
-
this.on.send.replace(async function (url, init) {
|
|
213
|
-
// this is the promise that Queryable will see returned from .emit.send
|
|
214
|
-
const promise = new Promise((resolve, reject) => {
|
|
215
|
-
// add the request information into the batch
|
|
216
|
-
requests.push([this, url.toString(), init, resolve, reject]);
|
|
217
|
-
});
|
|
218
|
-
this.log(`[batch:${batchId}] (${(new Date()).getTime()}) Adding request ${init.method} ${url.toString()} to batch.`, 0);
|
|
219
|
-
// we need to ensure we wait to resolve execute until all our batch children have fully completed their request timelines
|
|
220
|
-
completePromises.push(new Promise((resolve) => {
|
|
221
|
-
this[RequestCompleteSym] = resolve;
|
|
222
|
-
}));
|
|
223
|
-
// indicate that registration of this request is complete
|
|
224
|
-
this[RegistrationCompleteSym]();
|
|
225
|
-
return promise;
|
|
226
|
-
});
|
|
227
|
-
this.on.dispose(function () {
|
|
228
|
-
if ((0, core_1.isFunc)(this[RegistrationCompleteSym])) {
|
|
229
|
-
// if this request is in a batch and caching is in play we need to resolve the registration promises to unblock processing of the batch
|
|
230
|
-
// because the request will never reach the "send" moment as the result is returned from "pre"
|
|
231
|
-
this[RegistrationCompleteSym]();
|
|
232
|
-
// remove the symbol props we added for good hygene
|
|
233
|
-
delete this[RegistrationCompleteSym];
|
|
234
|
-
}
|
|
235
|
-
if ((0, core_1.isFunc)(this[RequestCompleteSym])) {
|
|
236
|
-
// let things know we are done with this request
|
|
237
|
-
this[RequestCompleteSym]();
|
|
238
|
-
delete this[RequestCompleteSym];
|
|
239
|
-
// there is a code path where you may invoke a batch, say on items.add, whose return
|
|
240
|
-
// is an object like { data: any, item: IItem }. The expectation from v1 on is `item` in that object
|
|
241
|
-
// is immediately usable to make additional queries. Without this step when that IItem instance is
|
|
242
|
-
// created using "this.getById" within IITems.add all of the current observers of "this" are
|
|
243
|
-
// linked to the IItem instance created (expected), BUT they will be the set of observers setup
|
|
244
|
-
// to handle the batch, meaning invoking `item` will result in a half batched call that
|
|
245
|
-
// doesn't really work. To deliver the expected functionality we "reset" the
|
|
246
|
-
// observers using the original instance, mimicing the behavior had
|
|
247
|
-
// the IItem been created from that base without a batch involved. We use CopyFrom to ensure
|
|
248
|
-
// that we maintain the references to the InternalResolve and InternalReject events through
|
|
249
|
-
// the end of this timeline lifecycle. This works because CopyFrom by design uses Object.keys
|
|
250
|
-
// which ignores symbol properties.
|
|
251
|
-
this.using((0, core_1.CopyFrom)(refQuery, "replace", (k) => /(auth|pre|send|init|dispose)/i.test(k)));
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
return [url, init, result];
|
|
255
|
-
});
|
|
256
|
-
return instance;
|
|
257
|
-
};
|
|
258
|
-
return [register, execute];
|
|
259
|
-
}
|
|
260
|
-
exports.createBatch = createBatch;
|
|
261
|
-
/**
|
|
262
|
-
* Behavior that blocks batching for the request regardless of "method"
|
|
263
|
-
*
|
|
264
|
-
* This is used for requests to bypass batching methods. Example - Request Digest where we need to get a request-digest inside of a batch.
|
|
265
|
-
* @returns TimelinePipe
|
|
266
|
-
*/
|
|
267
|
-
function BatchNever() {
|
|
268
|
-
return (instance) => {
|
|
269
|
-
instance.on.pre.prepend(async function (url, init, result) {
|
|
270
|
-
init.headers = { ...init.headers, "X-PnP-BatchNever": "1" };
|
|
271
|
-
return [url, init, result];
|
|
272
|
-
});
|
|
273
|
-
return instance;
|
|
274
|
-
};
|
|
275
|
-
}
|
|
276
|
-
exports.BatchNever = BatchNever;
|
|
277
|
-
/**
|
|
278
|
-
* Parses the text body returned by the server from a batch request
|
|
279
|
-
*
|
|
280
|
-
* @param body String body from the server response
|
|
281
|
-
* @returns Parsed response objects
|
|
282
|
-
*/
|
|
283
|
-
function parseResponse(body) {
|
|
284
|
-
const responses = [];
|
|
285
|
-
const header = "--batchresponse_";
|
|
286
|
-
// Ex. "HTTP/1.1 500 Internal Server Error"
|
|
287
|
-
const statusRegExp = new RegExp("^HTTP/[0-9.]+ +([0-9]+) +(.*)", "i");
|
|
288
|
-
const lines = body.split("\n");
|
|
289
|
-
let state = "batch";
|
|
290
|
-
let status;
|
|
291
|
-
let statusText;
|
|
292
|
-
let headers = {};
|
|
293
|
-
const bodyReader = [];
|
|
294
|
-
for (let i = 0; i < lines.length; ++i) {
|
|
295
|
-
let line = lines[i];
|
|
296
|
-
switch (state) {
|
|
297
|
-
case "batch":
|
|
298
|
-
if (line.substring(0, header.length) === header) {
|
|
299
|
-
state = "batchHeaders";
|
|
300
|
-
}
|
|
301
|
-
else {
|
|
302
|
-
if (line.trim() !== "") {
|
|
303
|
-
throw Error(`Invalid response, line ${i}`);
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
break;
|
|
307
|
-
case "batchHeaders":
|
|
308
|
-
if (line.trim() === "") {
|
|
309
|
-
state = "status";
|
|
310
|
-
}
|
|
311
|
-
break;
|
|
312
|
-
case "status": {
|
|
313
|
-
const parts = statusRegExp.exec(line);
|
|
314
|
-
if (parts.length !== 3) {
|
|
315
|
-
throw Error(`Invalid status, line ${i}`);
|
|
316
|
-
}
|
|
317
|
-
status = parseInt(parts[1], 10);
|
|
318
|
-
statusText = parts[2];
|
|
319
|
-
state = "statusHeaders";
|
|
320
|
-
break;
|
|
321
|
-
}
|
|
322
|
-
case "statusHeaders":
|
|
323
|
-
if (line.trim() === "") {
|
|
324
|
-
state = "body";
|
|
325
|
-
}
|
|
326
|
-
else {
|
|
327
|
-
const headerParts = line.split(":");
|
|
328
|
-
if ((headerParts === null || headerParts === void 0 ? void 0 : headerParts.length) === 2) {
|
|
329
|
-
headers[headerParts[0].trim()] = headerParts[1].trim();
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
break;
|
|
333
|
-
case "body":
|
|
334
|
-
// reset the body reader
|
|
335
|
-
bodyReader.length = 0;
|
|
336
|
-
// this allows us to capture batch bodies that are returned as multi-line (renderListDataAsStream, #2454)
|
|
337
|
-
while (line.substring(0, header.length) !== header) {
|
|
338
|
-
bodyReader.push(line);
|
|
339
|
-
line = lines[++i];
|
|
340
|
-
}
|
|
341
|
-
// because we have read the closing --batchresponse_ line, we need to move the line pointer back one
|
|
342
|
-
// so that the logic works as expected either to get the next result or end processing
|
|
343
|
-
i--;
|
|
344
|
-
responses.push(new Response(status === 204 ? null : bodyReader.join(""), { status, statusText, headers }));
|
|
345
|
-
state = "batch";
|
|
346
|
-
headers = {};
|
|
347
|
-
break;
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
if (state !== "status") {
|
|
351
|
-
throw Error("Unexpected end of input");
|
|
352
|
-
}
|
|
353
|
-
return responses;
|
|
354
|
-
}
|
|
355
|
-
//# sourceMappingURL=batching.js.map
|
package/commonjs/batching.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"batching.js","sourceRoot":"","sources":["../../../../packages/sp/batching.ts"],"names":[],"mappings":";;;AAAA,oCAAiG;AACj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C;gBAC3G,KAAK,GAAG,OAAO,CAAC;gBAChB,OAAO,GAAG,EAAE,CAAC;gBACb,MAAM;SACb;KACJ;IAED,IAAI,KAAK,KAAK,QAAQ,EAAE;QACpB,MAAM,KAAK,CAAC,yBAAyB,CAAC,CAAC;KAC1C;IAED,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/defaults.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAiB,SAAS,EAAgC,MAAM,gBAAgB,CAAC;AAGxF,wBAAgB,WAAW,IAAI,YAAY,CAAC,SAAS,CAAC,CAmBrD;AAED,wBAAgB,cAAc,IAAI,YAAY,CAAC,SAAS,CAAC,CAYxD"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DefaultHeaders = exports.DefaultInit = void 0;
|
|
4
|
-
const queryable_1 = require("@pnp/queryable");
|
|
5
|
-
const telemetry_js_1 = require("./telemetry.js");
|
|
6
|
-
function DefaultInit() {
|
|
7
|
-
return (instance) => {
|
|
8
|
-
instance.on.pre(async (url, init, result) => {
|
|
9
|
-
init.cache = "no-cache";
|
|
10
|
-
init.credentials = "same-origin";
|
|
11
|
-
return [url, init, result];
|
|
12
|
-
});
|
|
13
|
-
instance.using((0, telemetry_js_1.Telemetry)(), (0, queryable_1.RejectOnError)(), (0, queryable_1.ResolveOnData)());
|
|
14
|
-
return instance;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
exports.DefaultInit = DefaultInit;
|
|
18
|
-
function DefaultHeaders() {
|
|
19
|
-
return (instance) => {
|
|
20
|
-
instance
|
|
21
|
-
.using((0, queryable_1.InjectHeaders)({
|
|
22
|
-
"Accept": "application/json",
|
|
23
|
-
"Content-Type": "application/json;charset=utf-8",
|
|
24
|
-
}));
|
|
25
|
-
return instance;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
exports.DefaultHeaders = DefaultHeaders;
|
|
29
|
-
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/defaults.ts"],"names":[],"mappings":";;;AACA,8CAAwF;AACxF,iDAA2C;AAE3C,SAAgB,WAAW;IAEvB,OAAO,CAAC,QAAmB,EAAE,EAAE;QAE3B,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;YAExC,IAAI,CAAC,KAAK,GAAG,UAAU,CAAC;YACxB,IAAI,CAAC,WAAW,GAAG,aAAa,CAAC;YAEjC,OAAO,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/B,CAAC,CAAC,CAAC;QAEH,QAAQ,CAAC,KAAK,CACV,IAAA,wBAAS,GAAE,EACX,IAAA,yBAAa,GAAE,EACf,IAAA,yBAAa,GAAE,CAAC,CAAC;QAErB,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAC;AACN,CAAC;AAnBD,kCAmBC;AAED,SAAgB,cAAc;IAE1B,OAAO,CAAC,QAAmB,EAAE,EAAE;QAE3B,QAAQ;aACH,KAAK,CAAC,IAAA,yBAAa,EAAC;YACjB,QAAQ,EAAE,kBAAkB;YAC5B,cAAc,EAAE,gCAAgC;SACnD,CAAC,CAAC,CAAC;QAER,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAC;AACN,CAAC;AAZD,wCAYC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request-digest.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/request-digest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuD,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9F,OAAO,EAAa,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAKtD,UAAU,WAAW;IACjB,UAAU,EAAE,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACjB;AAUD,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,KAAK,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,YAAY,CAAC,SAAS,CAAC,CA0DhI"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RequestDigest = void 0;
|
|
4
|
-
const core_1 = require("@pnp/core");
|
|
5
|
-
const queryable_1 = require("@pnp/queryable");
|
|
6
|
-
const extract_web_url_js_1 = require("../utils/extract-web-url.js");
|
|
7
|
-
const spqueryable_js_1 = require("../spqueryable.js");
|
|
8
|
-
const batching_js_1 = require("../batching.js");
|
|
9
|
-
function clearExpired(digest) {
|
|
10
|
-
const now = new Date();
|
|
11
|
-
return !(0, core_1.objectDefinedNotNull)(digest) || (now > digest.expiration) ? null : digest;
|
|
12
|
-
}
|
|
13
|
-
// allows for the caching of digests across all calls which each have their own IDigestInfo wrapper.
|
|
14
|
-
const digests = new Map();
|
|
15
|
-
function RequestDigest(hook) {
|
|
16
|
-
return (instance) => {
|
|
17
|
-
instance.on.pre(async function (url, init, result) {
|
|
18
|
-
// add the request to the auth moment of the timeline
|
|
19
|
-
this.on.auth(async (url, init) => {
|
|
20
|
-
// eslint-disable-next-line max-len
|
|
21
|
-
if (/get/i.test(init.method) || (init.headers && ((0, core_1.hOP)(init.headers, "X-RequestDigest") || (0, core_1.hOP)(init.headers, "Authorization") || (0, core_1.hOP)(init.headers, "X-PnPjs-NoDigest")))) {
|
|
22
|
-
return [url, init];
|
|
23
|
-
}
|
|
24
|
-
const urlAsString = url.toString();
|
|
25
|
-
const webUrl = (0, extract_web_url_js_1.extractWebUrl)(urlAsString);
|
|
26
|
-
// do we have one in the cache that is still valid
|
|
27
|
-
// from #2186 we need to always ensure the digest we get isn't expired
|
|
28
|
-
let digest = clearExpired(digests.get(webUrl));
|
|
29
|
-
if (!(0, core_1.objectDefinedNotNull)(digest) && (0, core_1.isFunc)(hook)) {
|
|
30
|
-
digest = clearExpired(hook(urlAsString, init));
|
|
31
|
-
}
|
|
32
|
-
if (!(0, core_1.objectDefinedNotNull)(digest)) {
|
|
33
|
-
digest = await (0, spqueryable_js_1.spPost)((0, spqueryable_js_1.SPQueryable)([this, (0, core_1.combine)(webUrl, "_api/contextinfo")]).using((0, queryable_1.JSONParse)(), (0, batching_js_1.BatchNever)()), {
|
|
34
|
-
headers: {
|
|
35
|
-
"Accept": "application/json",
|
|
36
|
-
"X-PnPjs-NoDigest": "1",
|
|
37
|
-
},
|
|
38
|
-
}).then(p => ({
|
|
39
|
-
expiration: (0, core_1.dateAdd)(new Date(), "second", p.FormDigestTimeoutSeconds),
|
|
40
|
-
value: p.FormDigestValue,
|
|
41
|
-
}));
|
|
42
|
-
}
|
|
43
|
-
if ((0, core_1.objectDefinedNotNull)(digest)) {
|
|
44
|
-
// if we got a digest, set it in the headers
|
|
45
|
-
init.headers = {
|
|
46
|
-
"X-RequestDigest": digest.value,
|
|
47
|
-
...init.headers,
|
|
48
|
-
};
|
|
49
|
-
// and cache it for future requests
|
|
50
|
-
digests.set(webUrl, digest);
|
|
51
|
-
}
|
|
52
|
-
return [url, init];
|
|
53
|
-
});
|
|
54
|
-
return [url, init, result];
|
|
55
|
-
});
|
|
56
|
-
return instance;
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.RequestDigest = RequestDigest;
|
|
60
|
-
//# sourceMappingURL=request-digest.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request-digest.js","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/request-digest.ts"],"names":[],"mappings":";;;AAAA,oCAA8F;AAC9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AAC,CAAC;AACN,CAAC;AA1DD,sCA0DC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spbrowser.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/spbrowser.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,YAAY,EAAE,MAAM,WAAW,CAAC;AACjE,OAAO,EAAuC,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAIhF,MAAM,WAAW,eAAe;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,SAAS,CAAC,KAAK,CAAC,EAAE,eAAe,GAAG,YAAY,CAAC,SAAS,CAAC,CA8B1E"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SPBrowser = void 0;
|
|
4
|
-
const core_1 = require("@pnp/core");
|
|
5
|
-
const queryable_1 = require("@pnp/queryable");
|
|
6
|
-
const defaults_js_1 = require("./defaults.js");
|
|
7
|
-
const request_digest_js_1 = require("./request-digest.js");
|
|
8
|
-
function SPBrowser(props) {
|
|
9
|
-
if ((props === null || props === void 0 ? void 0 : props.baseUrl) && !(0, core_1.isUrlAbsolute)(props.baseUrl)) {
|
|
10
|
-
throw Error("SPBrowser props.baseUrl must be absolute when supplied.");
|
|
11
|
-
}
|
|
12
|
-
return (instance) => {
|
|
13
|
-
instance.using((0, defaults_js_1.DefaultHeaders)(), (0, defaults_js_1.DefaultInit)(), (0, queryable_1.BrowserFetchWithRetry)(), (0, queryable_1.DefaultParse)(), (0, request_digest_js_1.RequestDigest)());
|
|
14
|
-
if ((0, core_1.isUrlAbsolute)(props === null || props === void 0 ? void 0 : props.baseUrl)) {
|
|
15
|
-
// we want to fix up the url first
|
|
16
|
-
instance.on.pre.prepend(async (url, init, result) => {
|
|
17
|
-
if (!(0, core_1.isUrlAbsolute)(url)) {
|
|
18
|
-
url = (0, core_1.combine)(props.baseUrl, url);
|
|
19
|
-
}
|
|
20
|
-
return [url, init, result];
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
return instance;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.SPBrowser = SPBrowser;
|
|
27
|
-
//# sourceMappingURL=spbrowser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spbrowser.js","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/spbrowser.ts"],"names":[],"mappings":";;;AAAA,oCAAiE;AACjE,8CAAgF;AAChF,+CAA4D;AAC5D,2DAAoD;AAMpD,SAAgB,SAAS,CAAC,KAAuB;IAE7C,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,KAAI,CAAC,IAAA,oBAAa,EAAC,KAAK,CAAC,OAAO,CAAC,EAAE;QACjD,MAAM,KAAK,CAAC,yDAAyD,CAAC,CAAC;KAC1E;IAED,OAAO,CAAC,QAAmB,EAAE,EAAE;QAE3B,QAAQ,CAAC,KAAK,CACV,IAAA,4BAAc,GAAE,EAChB,IAAA,yBAAW,GAAE,EACb,IAAA,iCAAqB,GAAE,EACvB,IAAA,wBAAY,GAAE,EACd,IAAA,iCAAa,GAAE,CAAC,CAAC;QAErB,IAAI,IAAA,oBAAa,EAAC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,OAAO,CAAC,EAAE;YAE/B,kCAAkC;YAClC,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;gBAEhD,IAAI,CAAC,IAAA,oBAAa,EAAC,GAAG,CAAC,EAAE;oBACrB,GAAG,GAAG,IAAA,cAAO,EAAC,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;iBACrC;gBAED,OAAO,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC/B,CAAC,CAAC,CAAC;SACN;QAED,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAC;AACN,CAAC;AA9BD,8BA8BC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spfx.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/spfx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,YAAY,EAAE,MAAM,WAAW,CAAC;AAC1E,OAAO,EAAuC,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAIhF,MAAM,WAAW,YAAY;IAEzB,WAAW,EAAE;QACT,GAAG,EAAE;YACD,WAAW,EAAE,MAAM,CAAC;SACvB,CAAC;QACF,iBAAiB,EAAE;YACf,wBAAwB,EAAE,MAAM,CAAC;YACjC,eAAe,EAAE,MAAM,CAAC;SAC3B,CAAC;KACL,CAAC;IAEF,uBAAuB,CAAC,EAAE;QACtB,gBAAgB,IAAI,OAAO,CAAC;YACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;SAC/C,CAAC,CAAC;KACN,CAAC;CACL;AAeD,wBAAgB,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,YAAY,CAAC,SAAS,CAAC,CAmBxE;AAED,wBAAgB,IAAI,CAAC,OAAO,EAAE,YAAY,GAAG,YAAY,CAAC,SAAS,CAAC,CAyCnE"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SPFx = exports.SPFxToken = void 0;
|
|
4
|
-
const core_1 = require("@pnp/core");
|
|
5
|
-
const queryable_1 = require("@pnp/queryable");
|
|
6
|
-
const defaults_js_1 = require("./defaults.js");
|
|
7
|
-
const request_digest_js_1 = require("./request-digest.js");
|
|
8
|
-
class SPFxTokenNullOrUndefinedError extends Error {
|
|
9
|
-
constructor(behaviorName) {
|
|
10
|
-
super(`SPFx Context supplied to ${behaviorName} Behavior is null or undefined.`);
|
|
11
|
-
}
|
|
12
|
-
static check(behaviorName, context) {
|
|
13
|
-
if (typeof context === "undefined" || context === null) {
|
|
14
|
-
throw new SPFxTokenNullOrUndefinedError(behaviorName);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
function SPFxToken(context) {
|
|
19
|
-
SPFxTokenNullOrUndefinedError.check("SPFxToken", context);
|
|
20
|
-
return (instance) => {
|
|
21
|
-
instance.on.auth.replace(async function (url, init) {
|
|
22
|
-
const provider = await context.aadTokenProviderFactory.getTokenProvider();
|
|
23
|
-
const token = await provider.getToken(`${url.protocol}//${url.hostname}`);
|
|
24
|
-
// eslint-disable-next-line @typescript-eslint/dot-notation
|
|
25
|
-
init.headers["Authorization"] = `Bearer ${token}`;
|
|
26
|
-
return [url, init];
|
|
27
|
-
});
|
|
28
|
-
return instance;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.SPFxToken = SPFxToken;
|
|
32
|
-
function SPFx(context) {
|
|
33
|
-
SPFxTokenNullOrUndefinedError.check("SPFx", context);
|
|
34
|
-
return (instance) => {
|
|
35
|
-
instance.using((0, defaults_js_1.DefaultHeaders)(), (0, defaults_js_1.DefaultInit)(), (0, queryable_1.BrowserFetchWithRetry)(), (0, queryable_1.DefaultParse)(),
|
|
36
|
-
// remove SPFx Token in default due to issues #2570, #2571
|
|
37
|
-
// SPFxToken(context),
|
|
38
|
-
(0, request_digest_js_1.RequestDigest)((url) => {
|
|
39
|
-
var _a, _b, _c;
|
|
40
|
-
const sameWeb = (new RegExp(`^${(0, core_1.combine)(context.pageContext.web.absoluteUrl, "/_api")}`, "i")).test(url);
|
|
41
|
-
if (sameWeb && ((_b = (_a = context === null || context === void 0 ? void 0 : context.pageContext) === null || _a === void 0 ? void 0 : _a.legacyPageContext) === null || _b === void 0 ? void 0 : _b.formDigestValue)) {
|
|
42
|
-
const creationDateFromDigest = new Date(context.pageContext.legacyPageContext.formDigestValue.split(",")[1]);
|
|
43
|
-
// account for page lifetime in timeout #2304 & others
|
|
44
|
-
// account for tab sleep #2550
|
|
45
|
-
return {
|
|
46
|
-
value: context.pageContext.legacyPageContext.formDigestValue,
|
|
47
|
-
expiration: (0, core_1.dateAdd)(creationDateFromDigest, "second", ((_c = context.pageContext.legacyPageContext) === null || _c === void 0 ? void 0 : _c.formDigestTimeoutSeconds) - 15 || 1585),
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
}));
|
|
51
|
-
// we want to fix up the url first
|
|
52
|
-
instance.on.pre.prepend(async (url, init, result) => {
|
|
53
|
-
if (!(0, core_1.isUrlAbsolute)(url)) {
|
|
54
|
-
url = (0, core_1.combine)(context.pageContext.web.absoluteUrl, url);
|
|
55
|
-
}
|
|
56
|
-
return [url, init, result];
|
|
57
|
-
});
|
|
58
|
-
return instance;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.SPFx = SPFx;
|
|
62
|
-
//# sourceMappingURL=spfx.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"spfx.js","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/spfx.ts"],"names":[],"mappings":";;;AAAA,oCAA0E;AAC1E,8CAAgF;AAChF,+CAA4D;AAC5D,2DAAoD;AAqBpD,MAAM,6BAA8B,SAAQ,KAAK;IAE7C,YAAY,YAAoB;QAC5B,KAAK,CAAC,4BAA4B,YAAY,iCAAiC,CAAC,CAAC;IACrF,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,YAAoB,EAAE,OAAsB;QAC5D,IAAI,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,KAAK,IAAI,EAAE;YACpD,MAAM,IAAI,6BAA6B,CAAC,YAAY,CAAC,CAAC;SACzD;IACL,CAAC;CACJ;AAED,SAAgB,SAAS,CAAC,OAAqB;IAE3C,6BAA6B,CAAC,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAE1D,OAAO,CAAC,QAAmB,EAAE,EAAE;QAE3B,QAAQ,CAAC,EAAE,CA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CAAC,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBAE7G,sDAAsD;gBACtD,8BAA8B;gBAC9B,OAAO;oBACH,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,iBAAiB,CAAC,eAAe;oBAC5D,UAAU,EAAE,IAAA,cAAO,EAAC,sBAAsB,EAAE,QAAQ,EAAE,CAAA,MAAA,OAAO,CAAC,WAAW,CAAC,iBAAiB,0CAAE,wBAAwB,IAAG,EAAE,IAAI,IAAI,CAAC;iBACtI,CAAC;aACL;QACL,CAAC,CAAC,CAAC,CAAC;QAER,kCAAkC;QAClC,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;YAEhD,IAAI,CAAC,IAAA,oBAAa,EAAC,GAAG,CAAC,EAAE;gBACrB,GAAG,GAAG,IAAA,cAAO,EAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;aAC3D;YAED,OAAO,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;QAC/B,CAAC,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC;IACpB,CAAC,CAAC;AACN,CAAC;AAzCD,oBAyCC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,wBAAgB,SAAS,IAAI,YAAY,CAAC,SAAS,CAAC,CA+BnD"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Telemetry = void 0;
|
|
4
|
-
function Telemetry() {
|
|
5
|
-
return (instance) => {
|
|
6
|
-
instance.on.pre(async function (url, init, result) {
|
|
7
|
-
let clientTag = "PnPCoreJS:4.0.0-alpha0:";
|
|
8
|
-
// make our best guess based on url to the method called
|
|
9
|
-
const { pathname } = new URL(url);
|
|
10
|
-
// remove anything before the _api as that is potentially PII and we don't care, just want to get the called path to the REST API
|
|
11
|
-
// and we want to modify any (*) calls at the end such as items(3) and items(344) so we just track "items()"
|
|
12
|
-
clientTag += pathname
|
|
13
|
-
.substring(pathname.indexOf("_api/") + 5)
|
|
14
|
-
.split("/")
|
|
15
|
-
.map((value, index, arr) => index === arr.length - 1 ? value.replace(/\(.*?$/i, "()") : value[0]).join(".");
|
|
16
|
-
if (clientTag.length > 32) {
|
|
17
|
-
clientTag = clientTag.substring(0, 32);
|
|
18
|
-
}
|
|
19
|
-
this.log(`Request Tag: ${clientTag}`, 0);
|
|
20
|
-
init.headers = { ...init.headers, ["X-ClientService-ClientTag"]: clientTag };
|
|
21
|
-
return [url, init, result];
|
|
22
|
-
});
|
|
23
|
-
return instance;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
exports.Telemetry = Telemetry;
|
|
27
|
-
//# sourceMappingURL=telemetry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../../../../packages/sp/behaviors/telemetry.ts"],"names":[],"mappings":";;;AAGA,SAAgB,SAAS;IAErB,OAAO,CAAC,QAAmB,EAAE,EAAE;QAE3B,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,KAAK,WAA4B,GAAG,EAAE,IAAI,EAAE,MAAM;YAE9D,IAAI,SAAS,GAAG,wBAAwB,CAAC;YAEzC,wDAAwD;YACxD,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;YAElC,iIAAiI;YACjI,4GAA4G;YAC5G,SAAS,IAAI,QAAQ;iBAChB,SAAS,C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