@pnp/sp 4.0.0-alpha0-v4nightly.20240108 → 4.0.0-alpha0-v4nightly.20240109
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/commonjs/appcatalog/index.d.ts +11 -0
- package/commonjs/appcatalog/index.d.ts.map +1 -0
- package/commonjs/appcatalog/index.js +22 -0
- package/commonjs/appcatalog/index.js.map +1 -0
- package/commonjs/appcatalog/types.d.ts +79 -0
- package/commonjs/appcatalog/types.d.ts.map +1 -0
- package/commonjs/appcatalog/types.js +134 -0
- package/commonjs/appcatalog/types.js.map +1 -0
- package/commonjs/appcatalog/web.d.ts +13 -0
- package/commonjs/appcatalog/web.d.ts.map +1 -0
- package/commonjs/appcatalog/web.js +9 -0
- package/commonjs/appcatalog/web.js.map +1 -0
- package/commonjs/attachments/index.d.ts +3 -0
- package/commonjs/attachments/index.d.ts.map +1 -0
- package/commonjs/attachments/index.js +8 -0
- package/commonjs/attachments/index.js.map +1 -0
- package/commonjs/attachments/item.d.ts +13 -0
- package/commonjs/attachments/item.d.ts.map +1 -0
- package/commonjs/attachments/item.js +7 -0
- package/commonjs/attachments/item.js.map +1 -0
- package/commonjs/attachments/types.d.ts +57 -0
- package/commonjs/attachments/types.d.ts.map +1 -0
- package/commonjs/attachments/types.js +68 -0
- package/commonjs/attachments/types.js.map +1 -0
- package/commonjs/batching.d.ts +45 -0
- package/commonjs/batching.d.ts.map +1 -0
- package/commonjs/batching.js +355 -0
- package/commonjs/batching.js.map +1 -0
- package/commonjs/behaviors/defaults.d.ts +5 -0
- package/commonjs/behaviors/defaults.d.ts.map +1 -0
- package/commonjs/behaviors/defaults.js +29 -0
- package/commonjs/behaviors/defaults.js.map +1 -0
- package/commonjs/behaviors/request-digest.d.ts +9 -0
- package/commonjs/behaviors/request-digest.d.ts.map +1 -0
- package/commonjs/behaviors/request-digest.js +59 -0
- package/commonjs/behaviors/request-digest.js.map +1 -0
- package/commonjs/behaviors/spbrowser.d.ts +7 -0
- package/commonjs/behaviors/spbrowser.d.ts.map +1 -0
- package/commonjs/behaviors/spbrowser.js +27 -0
- package/commonjs/behaviors/spbrowser.js.map +1 -0
- package/commonjs/behaviors/spfx.d.ts +21 -0
- package/commonjs/behaviors/spfx.d.ts.map +1 -0
- package/commonjs/behaviors/spfx.js +62 -0
- package/commonjs/behaviors/spfx.js.map +1 -0
- package/commonjs/behaviors/telemetry.d.ts +4 -0
- package/commonjs/behaviors/telemetry.d.ts.map +1 -0
- package/commonjs/behaviors/telemetry.js +27 -0
- package/commonjs/behaviors/telemetry.js.map +1 -0
- package/commonjs/clientside-pages/funcs.d.ts +23 -0
- package/commonjs/clientside-pages/funcs.d.ts.map +1 -0
- package/commonjs/clientside-pages/funcs.js +31 -0
- package/commonjs/clientside-pages/funcs.js.map +1 -0
- package/commonjs/clientside-pages/index.d.ts +3 -0
- package/commonjs/clientside-pages/index.d.ts.map +1 -0
- package/commonjs/clientside-pages/index.js +14 -0
- package/commonjs/clientside-pages/index.js.map +1 -0
- package/commonjs/clientside-pages/types.d.ts +495 -0
- package/commonjs/clientside-pages/types.d.ts.map +1 -0
- package/commonjs/clientside-pages/types.js +1155 -0
- package/commonjs/clientside-pages/types.js.map +1 -0
- package/commonjs/clientside-pages/web.d.ts +42 -0
- package/commonjs/clientside-pages/web.d.ts.map +1 -0
- package/commonjs/clientside-pages/web.js +33 -0
- package/commonjs/clientside-pages/web.js.map +1 -0
- package/commonjs/column-defaults/folder.d.ts +28 -0
- package/commonjs/column-defaults/folder.d.ts.map +1 -0
- package/commonjs/column-defaults/folder.js +50 -0
- package/commonjs/column-defaults/folder.js.map +1 -0
- package/commonjs/column-defaults/index.d.ts +4 -0
- package/commonjs/column-defaults/index.d.ts.map +1 -0
- package/commonjs/column-defaults/index.js +5 -0
- package/commonjs/column-defaults/index.js.map +1 -0
- package/commonjs/column-defaults/list.d.ts +20 -0
- package/commonjs/column-defaults/list.d.ts.map +1 -0
- package/commonjs/column-defaults/list.js +171 -0
- package/commonjs/column-defaults/list.js.map +1 -0
- package/commonjs/column-defaults/types.d.ts +22 -0
- package/commonjs/column-defaults/types.d.ts.map +1 -0
- package/commonjs/column-defaults/types.js +3 -0
- package/commonjs/column-defaults/types.js.map +1 -0
- package/commonjs/comments/clientside-page.d.ts +58 -0
- package/commonjs/comments/clientside-page.d.ts.map +1 -0
- package/commonjs/comments/clientside-page.js +51 -0
- package/commonjs/comments/clientside-page.js.map +1 -0
- package/commonjs/comments/index.d.ts +3 -0
- package/commonjs/comments/index.d.ts.map +1 -0
- package/commonjs/comments/index.js +9 -0
- package/commonjs/comments/index.js.map +1 -0
- package/commonjs/comments/item.d.ts +37 -0
- package/commonjs/comments/item.d.ts.map +1 -0
- package/commonjs/comments/item.js +37 -0
- package/commonjs/comments/item.js.map +1 -0
- package/commonjs/comments/types.d.ts +111 -0
- package/commonjs/comments/types.d.ts.map +1 -0
- package/commonjs/comments/types.js +89 -0
- package/commonjs/comments/types.js.map +1 -0
- package/commonjs/content-types/index.d.ts +5 -0
- package/commonjs/content-types/index.d.ts.map +1 -0
- package/commonjs/content-types/index.js +12 -0
- package/commonjs/content-types/index.js.map +1 -0
- package/commonjs/content-types/item.d.ts +13 -0
- package/commonjs/content-types/item.d.ts.map +1 -0
- package/commonjs/content-types/item.js +7 -0
- package/commonjs/content-types/item.js.map +1 -0
- package/commonjs/content-types/list.d.ts +13 -0
- package/commonjs/content-types/list.d.ts.map +1 -0
- package/commonjs/content-types/list.js +7 -0
- package/commonjs/content-types/list.js.map +1 -0
- package/commonjs/content-types/types.d.ts +120 -0
- package/commonjs/content-types/types.d.ts.map +1 -0
- package/commonjs/content-types/types.js +115 -0
- package/commonjs/content-types/types.js.map +1 -0
- package/commonjs/content-types/web.d.ts +13 -0
- package/commonjs/content-types/web.d.ts.map +1 -0
- package/commonjs/content-types/web.js +7 -0
- package/commonjs/content-types/web.js.map +1 -0
- package/commonjs/context-info/index.d.ts +22 -0
- package/commonjs/context-info/index.d.ts.map +1 -0
- package/commonjs/context-info/index.js +17 -0
- package/commonjs/context-info/index.js.map +1 -0
- package/commonjs/decorators.d.ts +9 -0
- package/commonjs/decorators.d.ts.map +1 -0
- package/commonjs/decorators.js +20 -0
- package/commonjs/decorators.js.map +1 -0
- package/commonjs/favorites/index.d.ts +11 -0
- package/commonjs/favorites/index.d.ts.map +1 -0
- package/commonjs/favorites/index.js +15 -0
- package/commonjs/favorites/index.js.map +1 -0
- package/commonjs/favorites/types.d.ts +113 -0
- package/commonjs/favorites/types.d.ts.map +1 -0
- package/commonjs/favorites/types.js +115 -0
- package/commonjs/favorites/types.js.map +1 -0
- package/commonjs/features/index.d.ts +4 -0
- package/commonjs/features/index.d.ts.map +1 -0
- package/commonjs/features/index.js +9 -0
- package/commonjs/features/index.js.map +1 -0
- package/commonjs/features/site.d.ts +13 -0
- package/commonjs/features/site.d.ts.map +1 -0
- package/commonjs/features/site.js +7 -0
- package/commonjs/features/site.js.map +1 -0
- package/commonjs/features/types.d.ts +42 -0
- package/commonjs/features/types.d.ts.map +1 -0
- package/commonjs/features/types.js +56 -0
- package/commonjs/features/types.js.map +1 -0
- package/commonjs/features/web.d.ts +13 -0
- package/commonjs/features/web.d.ts.map +1 -0
- package/commonjs/features/web.js +7 -0
- package/commonjs/features/web.js.map +1 -0
- package/commonjs/fi.d.ts +25 -0
- package/commonjs/fi.d.ts.map +1 -0
- package/commonjs/fi.js +40 -0
- package/commonjs/fi.js.map +1 -0
- package/commonjs/fields/index.d.ts +4 -0
- package/commonjs/fields/index.d.ts.map +1 -0
- package/commonjs/fields/index.js +17 -0
- package/commonjs/fields/index.js.map +1 -0
- package/commonjs/fields/list.d.ts +13 -0
- package/commonjs/fields/list.d.ts.map +1 -0
- package/commonjs/fields/list.js +7 -0
- package/commonjs/fields/list.js.map +1 -0
- package/commonjs/fields/types.d.ts +402 -0
- package/commonjs/fields/types.d.ts.map +1 -0
- package/commonjs/fields/types.js +459 -0
- package/commonjs/fields/types.js.map +1 -0
- package/commonjs/fields/web.d.ts +18 -0
- package/commonjs/fields/web.d.ts.map +1 -0
- package/commonjs/fields/web.js +8 -0
- package/commonjs/fields/web.js.map +1 -0
- package/commonjs/files/folder.d.ts +13 -0
- package/commonjs/files/folder.d.ts.map +1 -0
- package/commonjs/files/folder.js +7 -0
- package/commonjs/files/folder.js.map +1 -0
- package/commonjs/files/index.d.ts +5 -0
- package/commonjs/files/index.d.ts.map +1 -0
- package/commonjs/files/index.js +18 -0
- package/commonjs/files/index.js.map +1 -0
- package/commonjs/files/item.d.ts +13 -0
- package/commonjs/files/item.d.ts.map +1 -0
- package/commonjs/files/item.js +7 -0
- package/commonjs/files/item.js.map +1 -0
- package/commonjs/files/readable-file.d.ts +23 -0
- package/commonjs/files/readable-file.d.ts.map +1 -0
- package/commonjs/files/readable-file.js +38 -0
- package/commonjs/files/readable-file.js.map +1 -0
- package/commonjs/files/types.d.ts +451 -0
- package/commonjs/files/types.d.ts.map +1 -0
- package/commonjs/files/types.js +589 -0
- package/commonjs/files/types.js.map +1 -0
- package/commonjs/files/web.d.ts +29 -0
- package/commonjs/files/web.d.ts.map +1 -0
- package/commonjs/files/web.js +15 -0
- package/commonjs/files/web.js.map +1 -0
- package/commonjs/folders/index.d.ts +5 -0
- package/commonjs/folders/index.d.ts.map +1 -0
- package/commonjs/folders/index.js +13 -0
- package/commonjs/folders/index.js.map +1 -0
- package/commonjs/folders/item.d.ts +10 -0
- package/commonjs/folders/item.d.ts.map +1 -0
- package/commonjs/folders/item.js +7 -0
- package/commonjs/folders/item.js.map +1 -0
- package/commonjs/folders/list.d.ts +13 -0
- package/commonjs/folders/list.d.ts.map +1 -0
- package/commonjs/folders/list.js +7 -0
- package/commonjs/folders/list.js.map +1 -0
- package/commonjs/folders/types.d.ts +237 -0
- package/commonjs/folders/types.d.ts.map +1 -0
- package/commonjs/folders/types.js +253 -0
- package/commonjs/folders/types.js.map +1 -0
- package/commonjs/folders/web.d.ts +33 -0
- package/commonjs/folders/web.d.ts.map +1 -0
- package/commonjs/folders/web.js +14 -0
- package/commonjs/folders/web.js.map +1 -0
- package/commonjs/forms/index.d.ts +3 -0
- package/commonjs/forms/index.d.ts.map +1 -0
- package/commonjs/forms/index.js +8 -0
- package/commonjs/forms/index.js.map +1 -0
- package/commonjs/forms/list.d.ts +10 -0
- package/commonjs/forms/list.d.ts.map +1 -0
- package/commonjs/forms/list.js +7 -0
- package/commonjs/forms/list.js.map +1 -0
- package/commonjs/forms/types.d.ts +36 -0
- package/commonjs/forms/types.d.ts.map +1 -0
- package/commonjs/forms/types.js +34 -0
- package/commonjs/forms/types.js.map +1 -0
- package/commonjs/groupsitemanager/index.d.ts +8 -0
- package/commonjs/groupsitemanager/index.d.ts.map +1 -0
- package/commonjs/groupsitemanager/index.js +14 -0
- package/commonjs/groupsitemanager/index.js.map +1 -0
- package/commonjs/groupsitemanager/types.d.ts +312 -0
- package/commonjs/groupsitemanager/types.d.ts.map +1 -0
- package/commonjs/groupsitemanager/types.js +325 -0
- package/commonjs/groupsitemanager/types.js.map +1 -0
- package/commonjs/hubsites/index.d.ts +13 -0
- package/commonjs/hubsites/index.d.ts.map +1 -0
- package/commonjs/hubsites/index.js +18 -0
- package/commonjs/hubsites/index.js.map +1 -0
- package/commonjs/hubsites/site.d.ts +27 -0
- package/commonjs/hubsites/site.d.ts.map +1 -0
- package/commonjs/hubsites/site.js +14 -0
- package/commonjs/hubsites/site.js.map +1 -0
- package/commonjs/hubsites/types.d.ts +56 -0
- package/commonjs/hubsites/types.d.ts.map +1 -0
- package/commonjs/hubsites/types.js +34 -0
- package/commonjs/hubsites/types.js.map +1 -0
- package/commonjs/hubsites/web.d.ts +22 -0
- package/commonjs/hubsites/web.d.ts.map +1 -0
- package/commonjs/hubsites/web.js +15 -0
- package/commonjs/hubsites/web.js.map +1 -0
- package/commonjs/index.d.ts +15 -0
- package/commonjs/index.d.ts.map +1 -0
- package/commonjs/index.js +21 -0
- package/commonjs/index.js.map +1 -0
- package/commonjs/items/index.d.ts +3 -0
- package/commonjs/items/index.d.ts.map +1 -0
- package/commonjs/items/index.js +10 -0
- package/commonjs/items/index.js.map +1 -0
- package/commonjs/items/list.d.ts +10 -0
- package/commonjs/items/list.d.ts.map +1 -0
- package/commonjs/items/list.js +7 -0
- package/commonjs/items/list.js.map +1 -0
- package/commonjs/items/types.d.ts +193 -0
- package/commonjs/items/types.d.ts.map +1 -0
- package/commonjs/items/types.js +295 -0
- package/commonjs/items/types.js.map +1 -0
- package/commonjs/lists/index.d.ts +3 -0
- package/commonjs/lists/index.d.ts.map +1 -0
- package/commonjs/lists/index.js +10 -0
- package/commonjs/lists/index.js.map +1 -0
- package/commonjs/lists/types.d.ts +626 -0
- package/commonjs/lists/types.d.ts.map +1 -0
- package/commonjs/lists/types.js +357 -0
- package/commonjs/lists/types.js.map +1 -0
- package/commonjs/lists/web.d.ts +44 -0
- package/commonjs/lists/web.d.ts.map +1 -0
- package/commonjs/lists/web.js +20 -0
- package/commonjs/lists/web.js.map +1 -0
- package/commonjs/navigation/index.d.ts +9 -0
- package/commonjs/navigation/index.d.ts.map +1 -0
- package/commonjs/navigation/index.js +19 -0
- package/commonjs/navigation/index.js.map +1 -0
- package/commonjs/navigation/types.d.ts +155 -0
- package/commonjs/navigation/types.d.ts.map +1 -0
- package/commonjs/navigation/types.js +153 -0
- package/commonjs/navigation/types.js.map +1 -0
- package/commonjs/navigation/web.d.ts +14 -0
- package/commonjs/navigation/web.d.ts.map +1 -0
- package/commonjs/navigation/web.js +7 -0
- package/commonjs/navigation/web.js.map +1 -0
- package/commonjs/package.json +1 -0
- package/commonjs/presets/all.d.ts +75 -0
- package/commonjs/presets/all.d.ts.map +1 -0
- package/commonjs/presets/all.js +78 -0
- package/commonjs/presets/all.js.map +1 -0
- package/commonjs/profiles/index.d.ts +8 -0
- package/commonjs/profiles/index.d.ts.map +1 -0
- package/commonjs/profiles/index.js +16 -0
- package/commonjs/profiles/index.js.map +1 -0
- package/commonjs/profiles/types.d.ts +358 -0
- package/commonjs/profiles/types.d.ts.map +1 -0
- package/commonjs/profiles/types.js +362 -0
- package/commonjs/profiles/types.js.map +1 -0
- package/commonjs/publishing-sitepageservice/index.d.ts +11 -0
- package/commonjs/publishing-sitepageservice/index.d.ts.map +1 -0
- package/commonjs/publishing-sitepageservice/index.js +13 -0
- package/commonjs/publishing-sitepageservice/index.js.map +1 -0
- package/commonjs/publishing-sitepageservice/types.d.ts +12 -0
- package/commonjs/publishing-sitepageservice/types.d.ts.map +1 -0
- package/commonjs/publishing-sitepageservice/types.js +20 -0
- package/commonjs/publishing-sitepageservice/types.js.map +1 -0
- package/commonjs/recycle-bin/index.d.ts +25 -0
- package/commonjs/recycle-bin/index.d.ts.map +1 -0
- package/commonjs/recycle-bin/index.js +12 -0
- package/commonjs/recycle-bin/index.js.map +1 -0
- package/commonjs/recycle-bin/types.d.ts +82 -0
- package/commonjs/recycle-bin/types.d.ts.map +1 -0
- package/commonjs/recycle-bin/types.js +83 -0
- package/commonjs/recycle-bin/types.js.map +1 -0
- package/commonjs/regional-settings/content-type.d.ts +8 -0
- package/commonjs/regional-settings/content-type.d.ts.map +1 -0
- package/commonjs/regional-settings/content-type.js +7 -0
- package/commonjs/regional-settings/content-type.js.map +1 -0
- package/commonjs/regional-settings/field.d.ts +8 -0
- package/commonjs/regional-settings/field.d.ts.map +1 -0
- package/commonjs/regional-settings/field.js +7 -0
- package/commonjs/regional-settings/field.js.map +1 -0
- package/commonjs/regional-settings/funcs.d.ts +3 -0
- package/commonjs/regional-settings/funcs.d.ts.map +1 -0
- package/commonjs/regional-settings/funcs.js +12 -0
- package/commonjs/regional-settings/funcs.js.map +1 -0
- package/commonjs/regional-settings/index.d.ts +7 -0
- package/commonjs/regional-settings/index.d.ts.map +1 -0
- package/commonjs/regional-settings/index.js +13 -0
- package/commonjs/regional-settings/index.js.map +1 -0
- package/commonjs/regional-settings/list.d.ts +8 -0
- package/commonjs/regional-settings/list.d.ts.map +1 -0
- package/commonjs/regional-settings/list.js +7 -0
- package/commonjs/regional-settings/list.js.map +1 -0
- package/commonjs/regional-settings/types.d.ts +105 -0
- package/commonjs/regional-settings/types.d.ts.map +1 -0
- package/commonjs/regional-settings/types.js +88 -0
- package/commonjs/regional-settings/types.js.map +1 -0
- package/commonjs/regional-settings/user-custom-actions.d.ts +8 -0
- package/commonjs/regional-settings/user-custom-actions.d.ts.map +1 -0
- package/commonjs/regional-settings/user-custom-actions.js +7 -0
- package/commonjs/regional-settings/user-custom-actions.js.map +1 -0
- package/commonjs/regional-settings/web.d.ts +13 -0
- package/commonjs/regional-settings/web.d.ts.map +1 -0
- package/commonjs/regional-settings/web.js +10 -0
- package/commonjs/regional-settings/web.js.map +1 -0
- package/commonjs/related-items/index.d.ts +3 -0
- package/commonjs/related-items/index.d.ts.map +1 -0
- package/commonjs/related-items/index.js +7 -0
- package/commonjs/related-items/index.js.map +1 -0
- package/commonjs/related-items/types.d.ts +77 -0
- package/commonjs/related-items/types.d.ts.map +1 -0
- package/commonjs/related-items/types.js +84 -0
- package/commonjs/related-items/types.js.map +1 -0
- package/commonjs/related-items/web.d.ts +13 -0
- package/commonjs/related-items/web.d.ts.map +1 -0
- package/commonjs/related-items/web.js +12 -0
- package/commonjs/related-items/web.js.map +1 -0
- package/commonjs/search/index.d.ts +23 -0
- package/commonjs/search/index.d.ts.map +1 -0
- package/commonjs/search/index.js +21 -0
- package/commonjs/search/index.js.map +1 -0
- package/commonjs/search/query.d.ts +62 -0
- package/commonjs/search/query.d.ts.map +1 -0
- package/commonjs/search/query.js +220 -0
- package/commonjs/search/query.js.map +1 -0
- package/commonjs/search/suggest.d.ts +76 -0
- package/commonjs/search/suggest.d.ts.map +1 -0
- package/commonjs/search/suggest.js +44 -0
- package/commonjs/search/suggest.js.map +1 -0
- package/commonjs/search/types.d.ts +436 -0
- package/commonjs/search/types.d.ts.map +1 -0
- package/commonjs/search/types.js +58 -0
- package/commonjs/search/types.js.map +1 -0
- package/commonjs/security/funcs.d.ts +44 -0
- package/commonjs/security/funcs.d.ts.map +1 -0
- package/commonjs/security/funcs.js +91 -0
- package/commonjs/security/funcs.js.map +1 -0
- package/commonjs/security/index.d.ts +5 -0
- package/commonjs/security/index.d.ts.map +1 -0
- package/commonjs/security/index.js +13 -0
- package/commonjs/security/index.js.map +1 -0
- package/commonjs/security/item.d.ts +8 -0
- package/commonjs/security/item.d.ts.map +1 -0
- package/commonjs/security/item.js +17 -0
- package/commonjs/security/item.js.map +1 -0
- package/commonjs/security/list.d.ts +8 -0
- package/commonjs/security/list.d.ts.map +1 -0
- package/commonjs/security/list.js +17 -0
- package/commonjs/security/list.js.map +1 -0
- package/commonjs/security/types.d.ts +319 -0
- package/commonjs/security/types.d.ts.map +1 -0
- package/commonjs/security/types.js +336 -0
- package/commonjs/security/types.js.map +1 -0
- package/commonjs/security/web.d.ts +10 -0
- package/commonjs/security/web.d.ts.map +1 -0
- package/commonjs/security/web.js +18 -0
- package/commonjs/security/web.js.map +1 -0
- package/commonjs/sharing/file.d.ts +19 -0
- package/commonjs/sharing/file.d.ts.map +1 -0
- package/commonjs/sharing/file.js +40 -0
- package/commonjs/sharing/file.js.map +1 -0
- package/commonjs/sharing/folder.d.ts +10 -0
- package/commonjs/sharing/folder.d.ts.map +1 -0
- package/commonjs/sharing/folder.js +38 -0
- package/commonjs/sharing/folder.js.map +1 -0
- package/commonjs/sharing/funcs.d.ts +63 -0
- package/commonjs/sharing/funcs.d.ts.map +1 -0
- package/commonjs/sharing/funcs.js +211 -0
- package/commonjs/sharing/funcs.js.map +1 -0
- package/commonjs/sharing/index.d.ts +6 -0
- package/commonjs/sharing/index.d.ts.map +1 -0
- package/commonjs/sharing/index.js +15 -0
- package/commonjs/sharing/index.js.map +1 -0
- package/commonjs/sharing/item.d.ts +17 -0
- package/commonjs/sharing/item.d.ts.map +1 -0
- package/commonjs/sharing/item.js +16 -0
- package/commonjs/sharing/item.js.map +1 -0
- package/commonjs/sharing/types.d.ts +589 -0
- package/commonjs/sharing/types.d.ts.map +1 -0
- package/commonjs/sharing/types.js +117 -0
- package/commonjs/sharing/types.js.map +1 -0
- package/commonjs/sharing/web.d.ts +20 -0
- package/commonjs/sharing/web.d.ts.map +1 -0
- package/commonjs/sharing/web.js +59 -0
- package/commonjs/sharing/web.js.map +1 -0
- package/commonjs/site-designs/index.d.ts +9 -0
- package/commonjs/site-designs/index.d.ts.map +1 -0
- package/commonjs/site-designs/index.js +16 -0
- package/commonjs/site-designs/index.js.map +1 -0
- package/commonjs/site-designs/types.d.ts +376 -0
- package/commonjs/site-designs/types.d.ts.map +1 -0
- package/commonjs/site-designs/types.js +179 -0
- package/commonjs/site-designs/types.js.map +1 -0
- package/commonjs/site-designs/web.d.ts +26 -0
- package/commonjs/site-designs/web.d.ts.map +1 -0
- package/commonjs/site-designs/web.js +14 -0
- package/commonjs/site-designs/web.js.map +1 -0
- package/commonjs/site-groups/index.d.ts +3 -0
- package/commonjs/site-groups/index.d.ts.map +1 -0
- package/commonjs/site-groups/index.js +8 -0
- package/commonjs/site-groups/index.js.map +1 -0
- package/commonjs/site-groups/types.d.ts +87 -0
- package/commonjs/site-groups/types.d.ts.map +1 -0
- package/commonjs/site-groups/types.js +88 -0
- package/commonjs/site-groups/types.js.map +1 -0
- package/commonjs/site-groups/web.d.ts +41 -0
- package/commonjs/site-groups/web.d.ts.map +1 -0
- package/commonjs/site-groups/web.js +20 -0
- package/commonjs/site-groups/web.js.map +1 -0
- package/commonjs/site-scripts/index.d.ts +10 -0
- package/commonjs/site-scripts/index.d.ts.map +1 -0
- package/commonjs/site-scripts/index.js +17 -0
- package/commonjs/site-scripts/index.js.map +1 -0
- package/commonjs/site-scripts/list.d.ts +13 -0
- package/commonjs/site-scripts/list.d.ts.map +1 -0
- package/commonjs/site-scripts/list.js +15 -0
- package/commonjs/site-scripts/list.js.map +1 -0
- package/commonjs/site-scripts/types.d.ts +184 -0
- package/commonjs/site-scripts/types.d.ts.map +1 -0
- package/commonjs/site-scripts/types.js +112 -0
- package/commonjs/site-scripts/types.js.map +1 -0
- package/commonjs/site-scripts/web.d.ts +14 -0
- package/commonjs/site-scripts/web.d.ts.map +1 -0
- package/commonjs/site-scripts/web.js +10 -0
- package/commonjs/site-scripts/web.js.map +1 -0
- package/commonjs/site-users/index.d.ts +3 -0
- package/commonjs/site-users/index.d.ts.map +1 -0
- package/commonjs/site-users/index.js +8 -0
- package/commonjs/site-users/index.js.map +1 -0
- package/commonjs/site-users/types.d.ts +138 -0
- package/commonjs/site-users/types.d.ts.map +1 -0
- package/commonjs/site-users/types.js +99 -0
- package/commonjs/site-users/types.js.map +1 -0
- package/commonjs/site-users/web.d.ts +32 -0
- package/commonjs/site-users/web.d.ts.map +1 -0
- package/commonjs/site-users/web.js +20 -0
- package/commonjs/site-users/web.js.map +1 -0
- package/commonjs/sites/index.d.ts +8 -0
- package/commonjs/sites/index.d.ts.map +1 -0
- package/commonjs/sites/index.js +17 -0
- package/commonjs/sites/index.js.map +1 -0
- package/commonjs/sites/types.d.ts +221 -0
- package/commonjs/sites/types.d.ts.map +1 -0
- package/commonjs/sites/types.js +261 -0
- package/commonjs/sites/types.js.map +1 -0
- package/commonjs/social/index.d.ts +11 -0
- package/commonjs/social/index.d.ts.map +1 -0
- package/commonjs/social/index.js +20 -0
- package/commonjs/social/index.js.map +1 -0
- package/commonjs/social/types.d.ts +305 -0
- package/commonjs/social/types.d.ts.map +1 -0
- package/commonjs/social/types.js +210 -0
- package/commonjs/social/types.js.map +1 -0
- package/commonjs/spqueryable.d.ts +117 -0
- package/commonjs/spqueryable.d.ts.map +1 -0
- package/commonjs/spqueryable.js +219 -0
- package/commonjs/spqueryable.js.map +1 -0
- package/commonjs/sputilities/index.d.ts +8 -0
- package/commonjs/sputilities/index.d.ts.map +1 -0
- package/commonjs/sputilities/index.js +15 -0
- package/commonjs/sputilities/index.js.map +1 -0
- package/commonjs/sputilities/types.d.ts +101 -0
- package/commonjs/sputilities/types.d.ts.map +1 -0
- package/commonjs/sputilities/types.js +69 -0
- package/commonjs/sputilities/types.js.map +1 -0
- package/commonjs/subscriptions/index.d.ts +3 -0
- package/commonjs/subscriptions/index.d.ts.map +1 -0
- package/commonjs/subscriptions/index.js +8 -0
- package/commonjs/subscriptions/index.js.map +1 -0
- package/commonjs/subscriptions/list.d.ts +14 -0
- package/commonjs/subscriptions/list.d.ts.map +1 -0
- package/commonjs/subscriptions/list.js +7 -0
- package/commonjs/subscriptions/list.js.map +1 -0
- package/commonjs/subscriptions/types.d.ts +55 -0
- package/commonjs/subscriptions/types.d.ts.map +1 -0
- package/commonjs/subscriptions/types.js +74 -0
- package/commonjs/subscriptions/types.js.map +1 -0
- package/commonjs/taxonomy/index.d.ts +8 -0
- package/commonjs/taxonomy/index.d.ts.map +1 -0
- package/commonjs/taxonomy/index.js +24 -0
- package/commonjs/taxonomy/index.js.map +1 -0
- package/commonjs/taxonomy/types.d.ts +314 -0
- package/commonjs/taxonomy/types.d.ts.map +1 -0
- package/commonjs/taxonomy/types.js +305 -0
- package/commonjs/taxonomy/types.js.map +1 -0
- package/commonjs/types.d.ts +241 -0
- package/commonjs/types.d.ts.map +1 -0
- package/commonjs/types.js +84 -0
- package/commonjs/types.js.map +1 -0
- package/commonjs/user-custom-actions/index.d.ts +5 -0
- package/commonjs/user-custom-actions/index.d.ts.map +1 -0
- package/commonjs/user-custom-actions/index.js +12 -0
- package/commonjs/user-custom-actions/index.js.map +1 -0
- package/commonjs/user-custom-actions/list.d.ts +13 -0
- package/commonjs/user-custom-actions/list.d.ts.map +1 -0
- package/commonjs/user-custom-actions/list.js +7 -0
- package/commonjs/user-custom-actions/list.js.map +1 -0
- package/commonjs/user-custom-actions/site.d.ts +13 -0
- package/commonjs/user-custom-actions/site.d.ts.map +1 -0
- package/commonjs/user-custom-actions/site.js +7 -0
- package/commonjs/user-custom-actions/site.js.map +1 -0
- package/commonjs/user-custom-actions/types.d.ts +82 -0
- package/commonjs/user-custom-actions/types.d.ts.map +1 -0
- package/commonjs/user-custom-actions/types.js +76 -0
- package/commonjs/user-custom-actions/types.js.map +1 -0
- package/commonjs/user-custom-actions/web.d.ts +16 -0
- package/commonjs/user-custom-actions/web.d.ts.map +1 -0
- package/commonjs/user-custom-actions/web.js +7 -0
- package/commonjs/user-custom-actions/web.js.map +1 -0
- package/commonjs/utils/encode-path-str.d.ts +8 -0
- package/commonjs/utils/encode-path-str.d.ts.map +1 -0
- package/commonjs/utils/encode-path-str.js +29 -0
- package/commonjs/utils/encode-path-str.js.map +1 -0
- package/commonjs/utils/extract-web-url.d.ts +2 -0
- package/commonjs/utils/extract-web-url.d.ts.map +1 -0
- package/commonjs/utils/extract-web-url.js +20 -0
- package/commonjs/utils/extract-web-url.js.map +1 -0
- package/commonjs/utils/file-names.d.ts +18 -0
- package/commonjs/utils/file-names.d.ts.map +1 -0
- package/commonjs/utils/file-names.js +41 -0
- package/commonjs/utils/file-names.js.map +1 -0
- package/commonjs/utils/metadata.d.ts +6 -0
- package/commonjs/utils/metadata.d.ts.map +1 -0
- package/commonjs/utils/metadata.js +10 -0
- package/commonjs/utils/metadata.js.map +1 -0
- package/commonjs/utils/odata-url-from.d.ts +2 -0
- package/commonjs/utils/odata-url-from.d.ts.map +1 -0
- package/commonjs/utils/odata-url-from.js +41 -0
- package/commonjs/utils/odata-url-from.js.map +1 -0
- package/commonjs/utils/to-resource-path.d.ts +5 -0
- package/commonjs/utils/to-resource-path.d.ts.map +1 -0
- package/commonjs/utils/to-resource-path.js +10 -0
- package/commonjs/utils/to-resource-path.js.map +1 -0
- package/commonjs/views/index.d.ts +3 -0
- package/commonjs/views/index.d.ts.map +1 -0
- package/commonjs/views/index.js +10 -0
- package/commonjs/views/index.js.map +1 -0
- package/commonjs/views/list.d.ts +24 -0
- package/commonjs/views/list.d.ts.map +1 -0
- package/commonjs/views/list.js +11 -0
- package/commonjs/views/list.js.map +1 -0
- package/commonjs/views/types.d.ts +147 -0
- package/commonjs/views/types.d.ts.map +1 -0
- package/commonjs/views/types.js +140 -0
- package/commonjs/views/types.js.map +1 -0
- package/commonjs/webparts/file.d.ts +16 -0
- package/commonjs/webparts/file.d.ts.map +1 -0
- package/commonjs/webparts/file.js +8 -0
- package/commonjs/webparts/file.js.map +1 -0
- package/commonjs/webparts/index.d.ts +3 -0
- package/commonjs/webparts/index.d.ts.map +1 -0
- package/commonjs/webparts/index.js +10 -0
- package/commonjs/webparts/index.js.map +1 -0
- package/commonjs/webparts/types.d.ts +84 -0
- package/commonjs/webparts/types.d.ts.map +1 -0
- package/commonjs/webparts/types.js +92 -0
- package/commonjs/webparts/types.js.map +1 -0
- package/commonjs/webs/index.d.ts +11 -0
- package/commonjs/webs/index.d.ts.map +1 -0
- package/commonjs/webs/index.js +16 -0
- package/commonjs/webs/index.js.map +1 -0
- package/commonjs/webs/types.d.ts +204 -0
- package/commonjs/webs/types.d.ts.map +1 -0
- package/commonjs/webs/types.js +227 -0
- package/commonjs/webs/types.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
export declare type SearchQueryInit = string | ISearchQuery | ISearchBuilder;
|
|
2
|
+
export interface ISearchBuilder {
|
|
3
|
+
query: any;
|
|
4
|
+
readonly bypassResultTypes: this;
|
|
5
|
+
readonly enableStemming: this;
|
|
6
|
+
readonly enableInterleaving: this;
|
|
7
|
+
readonly enableFql: this;
|
|
8
|
+
readonly enableNicknames: this;
|
|
9
|
+
readonly enablePhonetic: this;
|
|
10
|
+
readonly trimDuplicates: this;
|
|
11
|
+
readonly processBestBets: this;
|
|
12
|
+
readonly enableQueryRules: this;
|
|
13
|
+
readonly enableSorting: this;
|
|
14
|
+
readonly generateBlockRankLog: this;
|
|
15
|
+
readonly processPersonalFavorites: this;
|
|
16
|
+
readonly enableOrderingHitHighlightedProperty: this;
|
|
17
|
+
culture(culture: number): this;
|
|
18
|
+
rowLimit(n: number): this;
|
|
19
|
+
startRow(n: number): this;
|
|
20
|
+
sourceId(id: string): this;
|
|
21
|
+
text(queryText: string): this;
|
|
22
|
+
template(template: string): this;
|
|
23
|
+
trimDuplicatesIncludeId(n: number): this;
|
|
24
|
+
rankingModelId(id: string): this;
|
|
25
|
+
rowsPerPage(n: number): this;
|
|
26
|
+
selectProperties(...properties: string[]): this;
|
|
27
|
+
timeZoneId(id: number): this;
|
|
28
|
+
refinementFilters(...filters: string[]): this;
|
|
29
|
+
refiners(refiners: string): this;
|
|
30
|
+
hiddenConstraints(constraints: string): this;
|
|
31
|
+
sortList(...sorts: ISort[]): this;
|
|
32
|
+
timeout(milliseconds: number): this;
|
|
33
|
+
hithighlightedProperties(...properties: string[]): this;
|
|
34
|
+
clientType(clientType: string): this;
|
|
35
|
+
personalizationData(data: string): this;
|
|
36
|
+
resultsURL(url: string): this;
|
|
37
|
+
queryTag(tags: string): this;
|
|
38
|
+
properties(...properties: ISearchProperty[]): this;
|
|
39
|
+
queryTemplatePropertiesUrl(url: string): this;
|
|
40
|
+
reorderingRules(...rules: IReorderingRule[]): this;
|
|
41
|
+
hitHighlightedMultivaluePropertyLimit(limit: number): this;
|
|
42
|
+
collapseSpecification(spec: string): this;
|
|
43
|
+
uiLanguage(lang: number): this;
|
|
44
|
+
desiredSnippetLength(len: number): this;
|
|
45
|
+
maxSnippetLength(len: number): this;
|
|
46
|
+
summaryLength(len: number): this;
|
|
47
|
+
toSearchQuery(): ISearchQuery;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Describes the SearchQuery interface
|
|
51
|
+
*/
|
|
52
|
+
export interface ISearchQuery {
|
|
53
|
+
/**
|
|
54
|
+
* A string that contains the text for the search query.
|
|
55
|
+
*/
|
|
56
|
+
Querytext?: string;
|
|
57
|
+
/**
|
|
58
|
+
* A string that contains the text that replaces the query text, as part of a query transform.
|
|
59
|
+
*/
|
|
60
|
+
QueryTemplate?: string;
|
|
61
|
+
/**
|
|
62
|
+
* A Boolean value that specifies whether the result tables that are returned for
|
|
63
|
+
* the result block are mixed with the result tables that are returned for the original query.
|
|
64
|
+
*/
|
|
65
|
+
EnableInterleaving?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* A Boolean value that specifies whether stemming is enabled.
|
|
68
|
+
*/
|
|
69
|
+
EnableStemming?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* A Boolean value that specifies whether duplicate items are removed from the results.
|
|
72
|
+
*/
|
|
73
|
+
TrimDuplicates?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* A Boolean value that specifies whether the exact terms in the search query are used to find matches, or if nicknames are used also.
|
|
76
|
+
*/
|
|
77
|
+
EnableNicknames?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* A Boolean value that specifies whether the query uses the FAST Query Language (FQL).
|
|
80
|
+
*/
|
|
81
|
+
EnableFQL?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* A Boolean value that specifies whether the phonetic forms of the query terms are used to find matches.
|
|
84
|
+
*/
|
|
85
|
+
EnablePhonetic?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* A Boolean value that specifies whether to perform result type processing for the query.
|
|
88
|
+
*/
|
|
89
|
+
BypassResultTypes?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* A Boolean value that specifies whether to return best bet results for the query.
|
|
92
|
+
* This parameter is used only when EnableQueryRules is set to true, otherwise it is ignored.
|
|
93
|
+
*/
|
|
94
|
+
ProcessBestBets?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* A Boolean value that specifies whether to enable query rules for the query.
|
|
97
|
+
*/
|
|
98
|
+
EnableQueryRules?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* A Boolean value that specifies whether to sort search results.
|
|
101
|
+
*/
|
|
102
|
+
EnableSorting?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies whether to return block rank log information in the BlockRankLog property of the interleaved result table.
|
|
105
|
+
* A block rank log contains the textual information on the block score and the documents that were de-duplicated.
|
|
106
|
+
*/
|
|
107
|
+
GenerateBlockRankLog?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* The result source ID to use for executing the search query.
|
|
110
|
+
*/
|
|
111
|
+
SourceId?: string;
|
|
112
|
+
/**
|
|
113
|
+
* The ID of the ranking model to use for the query.
|
|
114
|
+
*/
|
|
115
|
+
RankingModelId?: string;
|
|
116
|
+
/**
|
|
117
|
+
* The first row that is included in the search results that are returned.
|
|
118
|
+
* You use this parameter when you want to implement paging for search results.
|
|
119
|
+
*/
|
|
120
|
+
StartRow?: number;
|
|
121
|
+
/**
|
|
122
|
+
* The maximum number of rows overall that are returned in the search results.
|
|
123
|
+
* Compared to RowsPerPage, RowLimit is the maximum number of rows returned overall.
|
|
124
|
+
*/
|
|
125
|
+
RowLimit?: number;
|
|
126
|
+
/**
|
|
127
|
+
* The maximum number of rows to return per page.
|
|
128
|
+
* Compared to RowLimit, RowsPerPage refers to the maximum number of rows to return per page,
|
|
129
|
+
* and is used primarily when you want to implement paging for search results.
|
|
130
|
+
*/
|
|
131
|
+
RowsPerPage?: number;
|
|
132
|
+
/**
|
|
133
|
+
* The managed properties to return in the search results.
|
|
134
|
+
*/
|
|
135
|
+
SelectProperties?: string[];
|
|
136
|
+
/**
|
|
137
|
+
* The locale ID (LCID) for the query.
|
|
138
|
+
*/
|
|
139
|
+
Culture?: number;
|
|
140
|
+
/**
|
|
141
|
+
* The set of refinement filters used when issuing a refinement query (FQL)
|
|
142
|
+
*/
|
|
143
|
+
RefinementFilters?: string[];
|
|
144
|
+
/**
|
|
145
|
+
* The set of refiners to return in a search result.
|
|
146
|
+
*/
|
|
147
|
+
Refiners?: string;
|
|
148
|
+
/**
|
|
149
|
+
* The additional query terms to append to the query.
|
|
150
|
+
*/
|
|
151
|
+
HiddenConstraints?: string;
|
|
152
|
+
/**
|
|
153
|
+
* The list of properties by which the search results are ordered.
|
|
154
|
+
*/
|
|
155
|
+
SortList?: ISort[];
|
|
156
|
+
/**
|
|
157
|
+
* The amount of time in milliseconds before the query request times out.
|
|
158
|
+
*/
|
|
159
|
+
Timeout?: number;
|
|
160
|
+
/**
|
|
161
|
+
* The properties to highlight in the search result summary when the property value matches the search terms entered by the user.
|
|
162
|
+
*/
|
|
163
|
+
HitHighlightedProperties?: string[];
|
|
164
|
+
/**
|
|
165
|
+
* The type of the client that issued the query.
|
|
166
|
+
*/
|
|
167
|
+
ClientType?: string;
|
|
168
|
+
/**
|
|
169
|
+
* The GUID for the user who submitted the search query.
|
|
170
|
+
*/
|
|
171
|
+
PersonalizationData?: string;
|
|
172
|
+
/**
|
|
173
|
+
* The URL for the search results page.
|
|
174
|
+
*/
|
|
175
|
+
ResultsUrl?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Custom tags that identify the query. You can specify multiple query tags
|
|
178
|
+
*/
|
|
179
|
+
QueryTag?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Properties to be used to configure the search query
|
|
182
|
+
*/
|
|
183
|
+
Properties?: ISearchProperty[];
|
|
184
|
+
/**
|
|
185
|
+
* A Boolean value that specifies whether to return personal favorites with the search results.
|
|
186
|
+
*/
|
|
187
|
+
ProcessPersonalFavorites?: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* The location of the queryparametertemplate.xml file. This file is used to enable anonymous users to make Search REST queries.
|
|
190
|
+
*/
|
|
191
|
+
QueryTemplatePropertiesUrl?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Special rules for reordering search results.
|
|
194
|
+
* These rules can specify that documents matching certain conditions are ranked higher or lower in the results.
|
|
195
|
+
* This property applies only when search results are sorted based on rank.
|
|
196
|
+
*/
|
|
197
|
+
ReorderingRules?: IReorderingRule[];
|
|
198
|
+
/**
|
|
199
|
+
* The number of properties to show hit highlighting for in the search results.
|
|
200
|
+
*/
|
|
201
|
+
HitHighlightedMultivaluePropertyLimit?: number;
|
|
202
|
+
/**
|
|
203
|
+
* A Boolean value that specifies whether the hit highlighted properties can be ordered.
|
|
204
|
+
*/
|
|
205
|
+
EnableOrderingHitHighlightedProperty?: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* The managed properties that are used to determine how to collapse individual search results.
|
|
208
|
+
* Results are collapsed into one or a specified number of results if they match any of the individual collapse specifications.
|
|
209
|
+
* In a collapse specification, results are collapsed if their properties match all individual properties in the collapse specification.
|
|
210
|
+
*/
|
|
211
|
+
CollapseSpecification?: string;
|
|
212
|
+
/**
|
|
213
|
+
* The locale identifier (LCID) of the user interface
|
|
214
|
+
*/
|
|
215
|
+
UIlanguage?: number;
|
|
216
|
+
/**
|
|
217
|
+
* The preferred number of characters to display in the hit-highlighted summary generated for a search result.
|
|
218
|
+
*/
|
|
219
|
+
DesiredSnippetLength?: number;
|
|
220
|
+
/**
|
|
221
|
+
* The maximum number of characters to display in the hit-highlighted summary generated for a search result.
|
|
222
|
+
*/
|
|
223
|
+
MaxSnippetLength?: number;
|
|
224
|
+
/**
|
|
225
|
+
* The number of characters to display in the result summary for a search result.
|
|
226
|
+
*/
|
|
227
|
+
SummaryLength?: number;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Provides hints at the properties which may be available on the result object
|
|
231
|
+
*/
|
|
232
|
+
export interface ISearchResult {
|
|
233
|
+
Rank?: number;
|
|
234
|
+
DocId?: number;
|
|
235
|
+
WorkId?: number;
|
|
236
|
+
Title?: string;
|
|
237
|
+
Author?: string;
|
|
238
|
+
Size?: number;
|
|
239
|
+
Path?: string;
|
|
240
|
+
Description?: string;
|
|
241
|
+
Write?: Date;
|
|
242
|
+
LastModifiedTime?: Date;
|
|
243
|
+
CollapsingStatus?: number;
|
|
244
|
+
HitHighlightedSummary?: string;
|
|
245
|
+
HitHighlightedProperties?: string;
|
|
246
|
+
contentclass?: string;
|
|
247
|
+
PictureThumbnailURL?: string;
|
|
248
|
+
ServerRedirectedURL?: string;
|
|
249
|
+
ServerRedirectedEmbedURL?: string;
|
|
250
|
+
ServerRedirectedPreviewURL?: string;
|
|
251
|
+
FileExtension?: string;
|
|
252
|
+
ContentTypeId?: string;
|
|
253
|
+
ParentLink?: string;
|
|
254
|
+
ViewsLifeTime?: string;
|
|
255
|
+
ViewsRecent?: number;
|
|
256
|
+
SectionNames?: string;
|
|
257
|
+
SectionIndexes?: string;
|
|
258
|
+
SiteLogo?: string;
|
|
259
|
+
SiteDescription?: string;
|
|
260
|
+
importance?: number;
|
|
261
|
+
SiteName?: string;
|
|
262
|
+
IsDocument?: boolean;
|
|
263
|
+
FileType?: string;
|
|
264
|
+
IsContainer?: boolean;
|
|
265
|
+
WebTemplate?: string;
|
|
266
|
+
SPWebUrl?: string;
|
|
267
|
+
UniqueId?: string;
|
|
268
|
+
ProgId?: string;
|
|
269
|
+
OriginalPath?: string;
|
|
270
|
+
RenderTemplateId?: string;
|
|
271
|
+
PartitionId?: string;
|
|
272
|
+
UrlZone?: number;
|
|
273
|
+
Culture?: string;
|
|
274
|
+
GeoLocationSource?: string;
|
|
275
|
+
SiteId?: string;
|
|
276
|
+
WebId?: string;
|
|
277
|
+
ListId?: string;
|
|
278
|
+
IsExternalContent?: boolean;
|
|
279
|
+
DocumentSignature?: string;
|
|
280
|
+
LinkingUrl?: string;
|
|
281
|
+
ResultTypeId?: string;
|
|
282
|
+
ResultTypeIdList?: string;
|
|
283
|
+
}
|
|
284
|
+
export interface ISearchResponse {
|
|
285
|
+
ElapsedTime: number;
|
|
286
|
+
Properties?: {
|
|
287
|
+
Key: string;
|
|
288
|
+
Value: any;
|
|
289
|
+
ValueType: string;
|
|
290
|
+
}[];
|
|
291
|
+
PrimaryQueryResult?: IResultTableCollection;
|
|
292
|
+
SecondaryQueryResults?: IResultTableCollection;
|
|
293
|
+
SpellingSuggestion?: string;
|
|
294
|
+
TriggeredRules?: any[];
|
|
295
|
+
}
|
|
296
|
+
export interface IResultTableCollection {
|
|
297
|
+
QueryErrors?: Map<string, any>;
|
|
298
|
+
QueryId?: string;
|
|
299
|
+
QueryRuleId?: string;
|
|
300
|
+
CustomResults?: IResultTable;
|
|
301
|
+
RefinementResults?: IResultTable;
|
|
302
|
+
RelevantResults?: IResultTable;
|
|
303
|
+
SpecialTermResults?: IResultTable;
|
|
304
|
+
}
|
|
305
|
+
export interface IRefiner {
|
|
306
|
+
Name: string;
|
|
307
|
+
Entries: {
|
|
308
|
+
RefinementCount: string;
|
|
309
|
+
RefinementName: string;
|
|
310
|
+
RefinementToken: string;
|
|
311
|
+
RefinementValue: string;
|
|
312
|
+
}[];
|
|
313
|
+
}
|
|
314
|
+
export interface IResultTable {
|
|
315
|
+
GroupTemplateId?: string;
|
|
316
|
+
ItemTemplateId?: string;
|
|
317
|
+
Properties?: {
|
|
318
|
+
Key: string;
|
|
319
|
+
Value: any;
|
|
320
|
+
ValueType: string;
|
|
321
|
+
}[];
|
|
322
|
+
Table?: {
|
|
323
|
+
Rows: {
|
|
324
|
+
Cells: {
|
|
325
|
+
Key: string;
|
|
326
|
+
Value: any;
|
|
327
|
+
ValueType: string;
|
|
328
|
+
}[];
|
|
329
|
+
}[];
|
|
330
|
+
};
|
|
331
|
+
Refiners?: IRefiner[];
|
|
332
|
+
ResultTitle?: string;
|
|
333
|
+
ResultTitleUrl?: string;
|
|
334
|
+
RowCount?: number;
|
|
335
|
+
TableType?: string;
|
|
336
|
+
TotalRows?: number;
|
|
337
|
+
TotalRowsIncludingDuplicates?: number;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Defines how search results are sorted.
|
|
341
|
+
*/
|
|
342
|
+
export interface ISort {
|
|
343
|
+
/**
|
|
344
|
+
* The name for a property by which the search results are ordered.
|
|
345
|
+
*/
|
|
346
|
+
Property: string;
|
|
347
|
+
/**
|
|
348
|
+
* The direction in which search results are ordered.
|
|
349
|
+
*/
|
|
350
|
+
Direction: SortDirection;
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Defines one search property
|
|
354
|
+
*/
|
|
355
|
+
export interface ISearchProperty {
|
|
356
|
+
Name: string;
|
|
357
|
+
Value: ISearchPropertyValue;
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Defines one search property value. Set only one of StrlVal/BoolVal/IntVal/StrArray.
|
|
361
|
+
*/
|
|
362
|
+
export interface ISearchPropertyValue {
|
|
363
|
+
StrVal?: string;
|
|
364
|
+
BoolVal?: boolean;
|
|
365
|
+
IntVal?: number;
|
|
366
|
+
StrArray?: string[];
|
|
367
|
+
QueryPropertyValueTypeIndex: QueryPropertyValueType;
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* defines the SortDirection enum
|
|
371
|
+
*/
|
|
372
|
+
export declare enum SortDirection {
|
|
373
|
+
Ascending = 0,
|
|
374
|
+
Descending = 1,
|
|
375
|
+
FQLFormula = 2
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* Defines how ReorderingRule interface, used for reordering results
|
|
379
|
+
*/
|
|
380
|
+
export interface IReorderingRule {
|
|
381
|
+
/**
|
|
382
|
+
* The value to match on
|
|
383
|
+
*/
|
|
384
|
+
MatchValue: string;
|
|
385
|
+
/**
|
|
386
|
+
* The rank boosting
|
|
387
|
+
*/
|
|
388
|
+
Boost: number;
|
|
389
|
+
/**
|
|
390
|
+
* The rank boosting
|
|
391
|
+
*/
|
|
392
|
+
MatchType: ReorderingRuleMatchType;
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* defines the ReorderingRuleMatchType enum
|
|
396
|
+
*/
|
|
397
|
+
export declare enum ReorderingRuleMatchType {
|
|
398
|
+
ResultContainsKeyword = 0,
|
|
399
|
+
TitleContainsKeyword = 1,
|
|
400
|
+
TitleMatchesKeyword = 2,
|
|
401
|
+
UrlStartsWith = 3,
|
|
402
|
+
UrlExactlyMatches = 4,
|
|
403
|
+
ContentTypeIs = 5,
|
|
404
|
+
FileExtensionMatches = 6,
|
|
405
|
+
ResultHasTag = 7,
|
|
406
|
+
ManualCondition = 8
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Specifies the type value for the property
|
|
410
|
+
*/
|
|
411
|
+
export declare enum QueryPropertyValueType {
|
|
412
|
+
None = 0,
|
|
413
|
+
StringType = 1,
|
|
414
|
+
Int32Type = 2,
|
|
415
|
+
BooleanType = 3,
|
|
416
|
+
StringArrayType = 4,
|
|
417
|
+
UnSupportedType = 5
|
|
418
|
+
}
|
|
419
|
+
export declare class SearchBuiltInSourceId {
|
|
420
|
+
static readonly Documents = "e7ec8cee-ded8-43c9-beb5-436b54b31e84";
|
|
421
|
+
static readonly ItemsMatchingContentType = "5dc9f503-801e-4ced-8a2c-5d1237132419";
|
|
422
|
+
static readonly ItemsMatchingTag = "e1327b9c-2b8c-4b23-99c9-3730cb29c3f7";
|
|
423
|
+
static readonly ItemsRelatedToCurrentUser = "48fec42e-4a92-48ce-8363-c2703a40e67d";
|
|
424
|
+
static readonly ItemsWithSameKeywordAsThisItem = "5c069288-1d17-454a-8ac6-9c642a065f48";
|
|
425
|
+
static readonly LocalPeopleResults = "b09a7990-05ea-4af9-81ef-edfab16c4e31";
|
|
426
|
+
static readonly LocalReportsAndDataResults = "203fba36-2763-4060-9931-911ac8c0583b";
|
|
427
|
+
static readonly LocalSharePointResults = "8413cd39-2156-4e00-b54d-11efd9abdb89";
|
|
428
|
+
static readonly LocalVideoResults = "78b793ce-7956-4669-aa3b-451fc5defebf";
|
|
429
|
+
static readonly Pages = "5e34578e-4d08-4edc-8bf3-002acf3cdbcc";
|
|
430
|
+
static readonly Pictures = "38403c8c-3975-41a8-826e-717f2d41568a";
|
|
431
|
+
static readonly Popular = "97c71db1-58ce-4891-8b64-585bc2326c12";
|
|
432
|
+
static readonly RecentlyChangedItems = "ba63bbae-fa9c-42c0-b027-9a878f16557c";
|
|
433
|
+
static readonly RecommendedItems = "ec675252-14fa-4fbe-84dd-8d098ed74181";
|
|
434
|
+
static readonly Wiki = "9479bf85-e257-4318-b5a8-81a180f5faa1";
|
|
435
|
+
}
|
|
436
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/search/types.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe,GAAG,MAAM,GAAG,YAAY,GAAG,cAAc,CAAC;AAErE,MAAM,WAAW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WAAW,eAAe;IAE5B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;MAEE;IACF,SAAS,EAAE,uBAAuB,CAAC;CACtC;AAED;;GAEG;AACH,oBAAY,uBAAuB;IAC/B,qBAAqB,IAAI;IACzB,oBAAoB,IAAI;IACxB,mBAAmB,IAAI;IACvB,aAAa,IAAI;IACjB,iBAAiB,IAAI;IACrB,aAAa,IAAI;IACjB,oBAAoB,IAAI;IACxB,YAAY,IAAI;IAChB,eAAe,IAAI;CACtB;AAED;;GAEG;AACH,oBAAY,sBAAsB;IAC9B,IAAI,IAAI;IACR,UAAU,IAAI;IACd,SAAS,IAAI;IACb,WAAW,IAAI;IACf,eAAe,IAAI;IACnB,eAAe,IAAI;CACtB;AAED,qBAAa,qBAAqB;IAC9B,gBAAuB,SAAS,0CAA0C;IAC1E,gBAAuB,wBAAwB,0CAA0C;IACzF,gBAAuB,gBAAgB,0CAA0C;IACjF,gBAAuB,yBAAyB,0CAA0C;IAC1F,gBAAuB,8BAA8B,0CAA0C;IAC/F,gBAAuB,kBAAkB,0CAA0C;IACnF,gBAAuB,0BAA0B,0CAA0C;IAC3F,gBAAuB,sBAAsB,0CAA0C;IACvF,gBAAuB,iBAAiB,0CAA0C;IAClF,gBAAuB,KAAK,0CAA0C;IACtE,gBAAuB,QAAQ,0CAA0C;IACzE,gBAAuB,OAAO,0CAA0C;IACxE,gBAAuB,oBAAoB,0CAA0C;IACrF,gBAAuB,gBAAgB,0CAA0C;IACjF,gBAAuB,IAAI,0CAA0C;CACxE"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchBuiltInSourceId = exports.QueryPropertyValueType = exports.ReorderingRuleMatchType = exports.SortDirection = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* defines the SortDirection enum
|
|
6
|
+
*/
|
|
7
|
+
var SortDirection;
|
|
8
|
+
(function (SortDirection) {
|
|
9
|
+
SortDirection[SortDirection["Ascending"] = 0] = "Ascending";
|
|
10
|
+
SortDirection[SortDirection["Descending"] = 1] = "Descending";
|
|
11
|
+
SortDirection[SortDirection["FQLFormula"] = 2] = "FQLFormula";
|
|
12
|
+
})(SortDirection = exports.SortDirection || (exports.SortDirection = {}));
|
|
13
|
+
/**
|
|
14
|
+
* defines the ReorderingRuleMatchType enum
|
|
15
|
+
*/
|
|
16
|
+
var ReorderingRuleMatchType;
|
|
17
|
+
(function (ReorderingRuleMatchType) {
|
|
18
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["ResultContainsKeyword"] = 0] = "ResultContainsKeyword";
|
|
19
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["TitleContainsKeyword"] = 1] = "TitleContainsKeyword";
|
|
20
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["TitleMatchesKeyword"] = 2] = "TitleMatchesKeyword";
|
|
21
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["UrlStartsWith"] = 3] = "UrlStartsWith";
|
|
22
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["UrlExactlyMatches"] = 4] = "UrlExactlyMatches";
|
|
23
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["ContentTypeIs"] = 5] = "ContentTypeIs";
|
|
24
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["FileExtensionMatches"] = 6] = "FileExtensionMatches";
|
|
25
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["ResultHasTag"] = 7] = "ResultHasTag";
|
|
26
|
+
ReorderingRuleMatchType[ReorderingRuleMatchType["ManualCondition"] = 8] = "ManualCondition";
|
|
27
|
+
})(ReorderingRuleMatchType = exports.ReorderingRuleMatchType || (exports.ReorderingRuleMatchType = {}));
|
|
28
|
+
/**
|
|
29
|
+
* Specifies the type value for the property
|
|
30
|
+
*/
|
|
31
|
+
var QueryPropertyValueType;
|
|
32
|
+
(function (QueryPropertyValueType) {
|
|
33
|
+
QueryPropertyValueType[QueryPropertyValueType["None"] = 0] = "None";
|
|
34
|
+
QueryPropertyValueType[QueryPropertyValueType["StringType"] = 1] = "StringType";
|
|
35
|
+
QueryPropertyValueType[QueryPropertyValueType["Int32Type"] = 2] = "Int32Type";
|
|
36
|
+
QueryPropertyValueType[QueryPropertyValueType["BooleanType"] = 3] = "BooleanType";
|
|
37
|
+
QueryPropertyValueType[QueryPropertyValueType["StringArrayType"] = 4] = "StringArrayType";
|
|
38
|
+
QueryPropertyValueType[QueryPropertyValueType["UnSupportedType"] = 5] = "UnSupportedType";
|
|
39
|
+
})(QueryPropertyValueType = exports.QueryPropertyValueType || (exports.QueryPropertyValueType = {}));
|
|
40
|
+
class SearchBuiltInSourceId {
|
|
41
|
+
}
|
|
42
|
+
exports.SearchBuiltInSourceId = SearchBuiltInSourceId;
|
|
43
|
+
SearchBuiltInSourceId.Documents = "e7ec8cee-ded8-43c9-beb5-436b54b31e84";
|
|
44
|
+
SearchBuiltInSourceId.ItemsMatchingContentType = "5dc9f503-801e-4ced-8a2c-5d1237132419";
|
|
45
|
+
SearchBuiltInSourceId.ItemsMatchingTag = "e1327b9c-2b8c-4b23-99c9-3730cb29c3f7";
|
|
46
|
+
SearchBuiltInSourceId.ItemsRelatedToCurrentUser = "48fec42e-4a92-48ce-8363-c2703a40e67d";
|
|
47
|
+
SearchBuiltInSourceId.ItemsWithSameKeywordAsThisItem = "5c069288-1d17-454a-8ac6-9c642a065f48";
|
|
48
|
+
SearchBuiltInSourceId.LocalPeopleResults = "b09a7990-05ea-4af9-81ef-edfab16c4e31";
|
|
49
|
+
SearchBuiltInSourceId.LocalReportsAndDataResults = "203fba36-2763-4060-9931-911ac8c0583b";
|
|
50
|
+
SearchBuiltInSourceId.LocalSharePointResults = "8413cd39-2156-4e00-b54d-11efd9abdb89";
|
|
51
|
+
SearchBuiltInSourceId.LocalVideoResults = "78b793ce-7956-4669-aa3b-451fc5defebf";
|
|
52
|
+
SearchBuiltInSourceId.Pages = "5e34578e-4d08-4edc-8bf3-002acf3cdbcc";
|
|
53
|
+
SearchBuiltInSourceId.Pictures = "38403c8c-3975-41a8-826e-717f2d41568a";
|
|
54
|
+
SearchBuiltInSourceId.Popular = "97c71db1-58ce-4891-8b64-585bc2326c12";
|
|
55
|
+
SearchBuiltInSourceId.RecentlyChangedItems = "ba63bbae-fa9c-42c0-b027-9a878f16557c";
|
|
56
|
+
SearchBuiltInSourceId.RecommendedItems = "ec675252-14fa-4fbe-84dd-8d098ed74181";
|
|
57
|
+
SearchBuiltInSourceId.Wiki = "9479bf85-e257-4318-b5a8-81a180f5faa1";
|
|
58
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../packages/sp/search/types.ts"],"names":[],"mappings":";;;AAsZA;;GAEG;AACH,IAAY,aAIX;AAJD,WAAY,aAAa;IACrB,2DAAa,CAAA;IACb,6DAAc,CAAA;IACd,6DAAc,CAAA;AAClB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB;AAuBD;;GAEG;AACH,IAAY,uBAUX;AAVD,WAAY,uBAAuB;IAC/B,uGAAyB,CAAA;IACzB,qGAAwB,CAAA;IACxB,mGAAuB,CAAA;IACvB,uFAAiB,CAAA;IACjB,+FAAqB,CAAA;IACrB,uFAAiB,CAAA;IACjB,qGAAwB,CAAA;IACxB,qFAAgB,CAAA;IAChB,2FAAmB,CAAA;AACvB,CAAC,EAVW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAUlC;AAED;;GAEG;AACH,IAAY,sBAOX;AAPD,WAAY,sBAAsB;IAC9B,mEAAQ,CAAA;IACR,+EAAc,CAAA;IACd,6EAAa,CAAA;IACb,iFAAe,CAAA;IACf,yFAAmB,CAAA;IACnB,yFAAmB,CAAA;AACvB,CAAC,EAPW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAOjC;AAED,MAAa,qBAAqB;;AAAlC,sDAgBC;AAf0B,+BAAS,GAAG,sCAAsC,CAAC;AACnD,8CAAwB,GAAG,sCAAsC,CAAC;AAClE,sCAAgB,GAAG,sCAAsC,CAAC;AAC1D,+CAAyB,GAAG,sCAAsC,CAAC;AACnE,oDAA8B,GAAG,sCAAsC,CAAC;AACxE,wCAAkB,GAAG,sCAAsC,CAAC;AAC5D,gDAA0B,GAAG,sCAAsC,CAAC;AACpE,4CAAsB,GAAG,sCAAsC,CAAC;AAChE,uCAAiB,GAAG,sCAAsC,CAAC;AAC3D,2BAAK,GAAG,sCAAsC,CAAC;AAC/C,8BAAQ,GAAG,sCAAsC,CAAC;AAClD,6BAAO,GAAG,sCAAsC,CAAC;AACjD,0CAAoB,GAAG,sCAAsC,CAAC;AAC9D,sCAAgB,GAAG,sCAAsC,CAAC;AAC1D,0BAAI,GAAG,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { SecurableQueryable, IBasePermissions, PermissionKind } from "./types.js";
|
|
2
|
+
/**
|
|
3
|
+
* Gets the effective permissions for the user supplied
|
|
4
|
+
*
|
|
5
|
+
* @param loginName The claims username for the user (ex: i:0#.f|membership|user@domain.com)
|
|
6
|
+
*/
|
|
7
|
+
export declare function getUserEffectivePermissions(this: SecurableQueryable, loginName: string): Promise<IBasePermissions>;
|
|
8
|
+
/**
|
|
9
|
+
* Gets the effective permissions for the current user
|
|
10
|
+
*/
|
|
11
|
+
export declare function getCurrentUserEffectivePermissions(this: SecurableQueryable): Promise<IBasePermissions>;
|
|
12
|
+
/**
|
|
13
|
+
* Breaks the security inheritance at this level optinally copying permissions and clearing subscopes
|
|
14
|
+
*
|
|
15
|
+
* @param copyRoleAssignments If true the permissions are copied from the current parent scope
|
|
16
|
+
* @param clearSubscopes Optional. true to make all child securable objects inherit role assignments from the current object
|
|
17
|
+
*/
|
|
18
|
+
export declare function breakRoleInheritance(this: SecurableQueryable, copyRoleAssignments?: boolean, clearSubscopes?: boolean): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Removes the local role assignments so that it re-inherit role assignments from the parent object.
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare function resetRoleInheritance(this: SecurableQueryable): Promise<void>;
|
|
24
|
+
/**
|
|
25
|
+
* Determines if a given user has the appropriate permissions
|
|
26
|
+
*
|
|
27
|
+
* @param loginName The user to check
|
|
28
|
+
* @param permission The permission being checked
|
|
29
|
+
*/
|
|
30
|
+
export declare function userHasPermissions(this: SecurableQueryable, loginName: string, permission: PermissionKind): Promise<boolean>;
|
|
31
|
+
/**
|
|
32
|
+
* Determines if the current user has the requested permissions
|
|
33
|
+
*
|
|
34
|
+
* @param permission The permission we wish to check
|
|
35
|
+
*/
|
|
36
|
+
export declare function currentUserHasPermissions(this: SecurableQueryable, permission: PermissionKind): Promise<boolean>;
|
|
37
|
+
/**
|
|
38
|
+
* Taken from sp.js, checks the supplied permissions against the mask
|
|
39
|
+
*
|
|
40
|
+
* @param value The security principal's permissions on the given object
|
|
41
|
+
* @param perm The permission checked against the value
|
|
42
|
+
*/
|
|
43
|
+
export declare function hasPermissions(value: IBasePermissions, perm: PermissionKind): boolean;
|
|
44
|
+
//# sourceMappingURL=funcs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funcs.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/security/funcs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAGlF;;;;EAIE;AACF,wBAAsB,2BAA2B,CAAC,IAAI,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAKxH;AAED;;GAEG;AACH,wBAAsB,kCAAkC,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAG5G;AAED;;;;;GAKG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,EAAE,mBAAmB,UAAQ,EAAE,cAAc,UAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAEvI;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAElF;AAED;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAIlI;AAED;;;;GAIG;AACH,wBAAsB,yBAAyB,CAAC,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAItH;AAED;;;;;GAKG;AAEH,wBAAgB,cAAc,CAAC,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,cAAc,GAAG,OAAO,CAoBrF"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.hasPermissions = exports.currentUserHasPermissions = exports.userHasPermissions = exports.resetRoleInheritance = exports.breakRoleInheritance = exports.getCurrentUserEffectivePermissions = exports.getUserEffectivePermissions = void 0;
|
|
4
|
+
const types_js_1 = require("./types.js");
|
|
5
|
+
const spqueryable_js_1 = require("../spqueryable.js");
|
|
6
|
+
/**
|
|
7
|
+
* Gets the effective permissions for the user supplied
|
|
8
|
+
*
|
|
9
|
+
* @param loginName The claims username for the user (ex: i:0#.f|membership|user@domain.com)
|
|
10
|
+
*/
|
|
11
|
+
async function getUserEffectivePermissions(loginName) {
|
|
12
|
+
const q = (0, spqueryable_js_1.SPInstance)(this, "getUserEffectivePermissions(@user)");
|
|
13
|
+
q.query.set("@user", `'${loginName}'`);
|
|
14
|
+
return q();
|
|
15
|
+
}
|
|
16
|
+
exports.getUserEffectivePermissions = getUserEffectivePermissions;
|
|
17
|
+
/**
|
|
18
|
+
* Gets the effective permissions for the current user
|
|
19
|
+
*/
|
|
20
|
+
async function getCurrentUserEffectivePermissions() {
|
|
21
|
+
return (0, spqueryable_js_1.SPQueryable)(this, "EffectiveBasePermissions")();
|
|
22
|
+
}
|
|
23
|
+
exports.getCurrentUserEffectivePermissions = getCurrentUserEffectivePermissions;
|
|
24
|
+
/**
|
|
25
|
+
* Breaks the security inheritance at this level optinally copying permissions and clearing subscopes
|
|
26
|
+
*
|
|
27
|
+
* @param copyRoleAssignments If true the permissions are copied from the current parent scope
|
|
28
|
+
* @param clearSubscopes Optional. true to make all child securable objects inherit role assignments from the current object
|
|
29
|
+
*/
|
|
30
|
+
async function breakRoleInheritance(copyRoleAssignments = false, clearSubscopes = false) {
|
|
31
|
+
await (0, spqueryable_js_1.spPost)((0, spqueryable_js_1.SPQueryable)(this, `breakroleinheritance(copyroleassignments=${copyRoleAssignments}, clearsubscopes=${clearSubscopes})`));
|
|
32
|
+
}
|
|
33
|
+
exports.breakRoleInheritance = breakRoleInheritance;
|
|
34
|
+
/**
|
|
35
|
+
* Removes the local role assignments so that it re-inherit role assignments from the parent object.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
async function resetRoleInheritance() {
|
|
39
|
+
await (0, spqueryable_js_1.spPost)((0, spqueryable_js_1.SPQueryable)(this, "resetroleinheritance"));
|
|
40
|
+
}
|
|
41
|
+
exports.resetRoleInheritance = resetRoleInheritance;
|
|
42
|
+
/**
|
|
43
|
+
* Determines if a given user has the appropriate permissions
|
|
44
|
+
*
|
|
45
|
+
* @param loginName The user to check
|
|
46
|
+
* @param permission The permission being checked
|
|
47
|
+
*/
|
|
48
|
+
async function userHasPermissions(loginName, permission) {
|
|
49
|
+
const perms = await getUserEffectivePermissions.call(this, loginName);
|
|
50
|
+
return this.hasPermissions(perms, permission);
|
|
51
|
+
}
|
|
52
|
+
exports.userHasPermissions = userHasPermissions;
|
|
53
|
+
/**
|
|
54
|
+
* Determines if the current user has the requested permissions
|
|
55
|
+
*
|
|
56
|
+
* @param permission The permission we wish to check
|
|
57
|
+
*/
|
|
58
|
+
async function currentUserHasPermissions(permission) {
|
|
59
|
+
const perms = await getCurrentUserEffectivePermissions.call(this);
|
|
60
|
+
return this.hasPermissions(perms, permission);
|
|
61
|
+
}
|
|
62
|
+
exports.currentUserHasPermissions = currentUserHasPermissions;
|
|
63
|
+
/**
|
|
64
|
+
* Taken from sp.js, checks the supplied permissions against the mask
|
|
65
|
+
*
|
|
66
|
+
* @param value The security principal's permissions on the given object
|
|
67
|
+
* @param perm The permission checked against the value
|
|
68
|
+
*/
|
|
69
|
+
/* eslint-disable no-bitwise */
|
|
70
|
+
function hasPermissions(value, perm) {
|
|
71
|
+
if (!perm) {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
if (perm === types_js_1.PermissionKind.FullMask) {
|
|
75
|
+
return (value.High & 32767) === 32767 && value.Low === 65535;
|
|
76
|
+
}
|
|
77
|
+
perm = perm - 1;
|
|
78
|
+
let num = 1;
|
|
79
|
+
if (perm >= 0 && perm < 32) {
|
|
80
|
+
num = num << perm;
|
|
81
|
+
return 0 !== (value.Low & num);
|
|
82
|
+
}
|
|
83
|
+
else if (perm >= 32 && perm < 64) {
|
|
84
|
+
num = num << perm - 32;
|
|
85
|
+
return 0 !== (value.High & num);
|
|
86
|
+
}
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
exports.hasPermissions = hasPermissions;
|
|
90
|
+
/* eslint-enable no-bitwise */
|
|
91
|
+
//# sourceMappingURL=funcs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"funcs.js","sourceRoot":"","sources":["../../../../../packages/sp/security/funcs.ts"],"names":[],"mappings":";;;AAAA,yCAAkF;AAClF,sDAAoE;AAEpE;;;;EAIE;AACK,KAAK,UAAU,2BAA2B,CAA2B,SAAiB;IAEzF,MAAM,CAAC,GAAG,IAAA,2BAAU,EAAC,I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IAAoB;IAExE,IAAI,CAAC,IAAI,EAAE;QACP,OAAO,IAAI,CAAC;KACf;IACD,IAAI,IAAI,KAAK,yBAAc,CAAC,QAAQ,EAAE;QAClC,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,KAAK,IAAI,KAAK,CAAC,GAAG,KAAK,KAAK,CAAC;KAChE;IAED,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC;IAChB,IAAI,GAAG,GAAG,CAAC,CAAC;IAEZ,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,GAAG,EAAE,EAAE;QACxB,GAAG,GAAG,GAAG,IAAI,IAAI,CAAC;QAClB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;KAClC;SAAM,IAAI,IAAI,IAAI,EAAE,IAAI,IAAI,GAAG,EAAE,EAAE;QAChC,GAAG,GAAG,GAAG,IAAI,IAAI,GAAG,EAAE,CAAC;QACvB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,GAAG,GAAG,CAAC,CAAC;KACnC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AApBD,wCAoBC;AACD,8BAA8B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "./item.js";
|
|
2
|
+
import "./list.js";
|
|
3
|
+
import "./web.js";
|
|
4
|
+
export { IRoleDefinitions, IRoleDefinition, IRoleAssignment, IRoleAssignments, IRoleDefinitionAddResult, IRoleDefinitionUpdateResult, RoleAssignment, RoleAssignments, RoleDefinition, RoleDefinitions, IBasePermissions, PermissionKind, SecurableQueryable, IRoleAssignmentInfo, IRoleDefinitionInfo, } from "./types.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/security/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,WAAW,CAAC;AACnB,OAAO,UAAU,CAAC;AAElB,OAAO,EACH,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,EAChB,wBAAwB,EACxB,2BAA2B,EAC3B,cAAc,EACd,eAAe,EACf,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,GACtB,MAAM,YAAY,CAAC"}
|