@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,241 @@
|
|
|
1
|
+
export declare const emptyGuid = "00000000-0000-0000-0000-000000000000";
|
|
2
|
+
/**
|
|
3
|
+
* Represents the unique sequential location of a change within the change log.
|
|
4
|
+
*/
|
|
5
|
+
export interface IChangeToken {
|
|
6
|
+
/**
|
|
7
|
+
* Gets or sets a string value that contains the serialized representation of the change token generated by the protocol server.
|
|
8
|
+
*/
|
|
9
|
+
StringValue: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Contains options used to modify the behaviour of a move or copy operation
|
|
13
|
+
*/
|
|
14
|
+
export interface IMoveCopyOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Boolean specifying whether to rename and copy the source file when the destination file exists
|
|
17
|
+
*/
|
|
18
|
+
KeepBoth: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Boolean specifying whether to reset the destination of the copy author to the current user and the created by datetime to the current time.
|
|
21
|
+
*/
|
|
22
|
+
ResetAuthorAndCreatedOnCopy: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Boolean specifying whether to allow File and Folder Move operations when file contain co-authoring shared locks
|
|
25
|
+
*/
|
|
26
|
+
ShouldBypassSharedLocks: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Boolean specifying whether to retain the source of the move's editor and modified by datetime.
|
|
29
|
+
*/
|
|
30
|
+
RetainEditorAndModifiedOnMove: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Defines a query that is performed against the change log.
|
|
34
|
+
*/
|
|
35
|
+
export interface IChangeQuery {
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets a value that specifies whether add changes are included in the query.
|
|
38
|
+
*/
|
|
39
|
+
Add?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Gets or sets a value that specifies whether changes to alerts are included in the query.
|
|
42
|
+
*/
|
|
43
|
+
Alert?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Gets or sets a value that specifies the end date and end time for changes that are returned through the query.
|
|
46
|
+
*/
|
|
47
|
+
ChangeTokenEnd?: IChangeToken;
|
|
48
|
+
/**
|
|
49
|
+
* Gets or sets a value that specifies the start date and start time for changes that are returned through the query.
|
|
50
|
+
*/
|
|
51
|
+
ChangeTokenStart?: IChangeToken;
|
|
52
|
+
/**
|
|
53
|
+
* Gets or sets a value that specifies whether changes to content types are included in the query.
|
|
54
|
+
*/
|
|
55
|
+
ContentType?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Gets or sets a value that specifies whether deleted objects are included in the query.
|
|
58
|
+
*/
|
|
59
|
+
DeleteObject?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Gets or sets a value that specifies whether changes to fields are included in the query.
|
|
62
|
+
*/
|
|
63
|
+
Field?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Gets or sets a value that specifies whether changes to files are included in the query.
|
|
66
|
+
*/
|
|
67
|
+
File?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Gets or sets value that specifies whether changes to folders are included in the query.
|
|
70
|
+
*/
|
|
71
|
+
Folder?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Gets or sets a value that specifies whether changes to groups are included in the query.
|
|
74
|
+
*/
|
|
75
|
+
Group?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Gets or sets a value that specifies whether adding users to groups is included in the query.
|
|
78
|
+
*/
|
|
79
|
+
GroupMembershipAdd?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Gets or sets a value that specifies whether deleting users from the groups is included in the query.
|
|
82
|
+
*/
|
|
83
|
+
GroupMembershipDelete?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Gets or sets a value that specifies whether general changes to list items are included in the query.
|
|
86
|
+
*/
|
|
87
|
+
Item?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Gets or sets a value that specifies whether changes to lists are included in the query.
|
|
90
|
+
*/
|
|
91
|
+
List?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Gets or sets a value that specifies whether move changes are included in the query.
|
|
94
|
+
*/
|
|
95
|
+
Move?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Gets or sets a value that specifies whether changes to the navigation structure of a site collection are included in the query.
|
|
98
|
+
*/
|
|
99
|
+
Navigation?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Gets or sets a value that specifies whether renaming changes are included in the query.
|
|
102
|
+
*/
|
|
103
|
+
Rename?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Gets or sets a value that specifies whether restoring items from the recycle bin or from backups is included in the query.
|
|
106
|
+
*/
|
|
107
|
+
Restore?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Gets or sets a value that specifies whether adding role assignments is included in the query.
|
|
110
|
+
*/
|
|
111
|
+
RoleAssignmentAdd?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Gets or sets a value that specifies whether adding role assignments is included in the query.
|
|
114
|
+
*/
|
|
115
|
+
RoleAssignmentDelete?: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* Gets or sets a value that specifies whether adding role assignments is included in the query.
|
|
118
|
+
*/
|
|
119
|
+
RoleDefinitionAdd?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Gets or sets a value that specifies whether adding role assignments is included in the query.
|
|
122
|
+
*/
|
|
123
|
+
RoleDefinitionDelete?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Gets or sets a value that specifies whether adding role assignments is included in the query.
|
|
126
|
+
*/
|
|
127
|
+
RoleDefinitionUpdate?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Gets or sets a value that specifies whether modifications to security policies are included in the query.
|
|
130
|
+
*/
|
|
131
|
+
SecurityPolicy?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Gets or sets a value that specifies whether changes to site collections are included in the query.
|
|
134
|
+
*/
|
|
135
|
+
Site?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Gets or sets a value that specifies whether updates made using the item SystemUpdate method are included in the query.
|
|
138
|
+
*/
|
|
139
|
+
SystemUpdate?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Gets or sets a value that specifies whether update changes are included in the query.
|
|
142
|
+
*/
|
|
143
|
+
Update?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Gets or sets a value that specifies whether changes to users are included in the query.
|
|
146
|
+
*/
|
|
147
|
+
User?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Gets or sets a value that specifies whether changes to views are included in the query.
|
|
150
|
+
*/
|
|
151
|
+
View?: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Gets or sets a value that specifies whether changes to Web sites are included in the query.
|
|
154
|
+
*/
|
|
155
|
+
Web?: boolean;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Specifies the type of a principal.
|
|
159
|
+
*/
|
|
160
|
+
export declare const enum PrincipalType {
|
|
161
|
+
/**
|
|
162
|
+
* Enumeration whose value specifies no principal type.
|
|
163
|
+
*/
|
|
164
|
+
None = 0,
|
|
165
|
+
/**
|
|
166
|
+
* Enumeration whose value specifies a user as the principal type.
|
|
167
|
+
*/
|
|
168
|
+
User = 1,
|
|
169
|
+
/**
|
|
170
|
+
* Enumeration whose value specifies a distribution list as the principal type.
|
|
171
|
+
*/
|
|
172
|
+
DistributionList = 2,
|
|
173
|
+
/**
|
|
174
|
+
* Enumeration whose value specifies a security group as the principal type.
|
|
175
|
+
*/
|
|
176
|
+
SecurityGroup = 4,
|
|
177
|
+
/**
|
|
178
|
+
* Enumeration whose value specifies a group as the principal type.
|
|
179
|
+
*/
|
|
180
|
+
SharePointGroup = 8,
|
|
181
|
+
/**
|
|
182
|
+
* Enumeration whose value specifies all principal types.
|
|
183
|
+
*/
|
|
184
|
+
All = 15
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Specifies the source of a principal.
|
|
188
|
+
*/
|
|
189
|
+
export declare const enum PrincipalSource {
|
|
190
|
+
/**
|
|
191
|
+
* Enumeration whose value specifies no principal source.
|
|
192
|
+
*/
|
|
193
|
+
None = 0,
|
|
194
|
+
/**
|
|
195
|
+
* Enumeration whose value specifies user information list as the principal source.
|
|
196
|
+
*/
|
|
197
|
+
UserInfoList = 1,
|
|
198
|
+
/**
|
|
199
|
+
* Enumeration whose value specifies Active Directory as the principal source.
|
|
200
|
+
*/
|
|
201
|
+
Windows = 2,
|
|
202
|
+
/**
|
|
203
|
+
* Enumeration whose value specifies the current membership provider as the principal source.
|
|
204
|
+
*/
|
|
205
|
+
MembershipProvider = 4,
|
|
206
|
+
/**
|
|
207
|
+
* Enumeration whose value specifies the current role provider as the principal source.
|
|
208
|
+
*/
|
|
209
|
+
RoleProvider = 8,
|
|
210
|
+
/**
|
|
211
|
+
* Enumeration whose value specifies all principal sources.
|
|
212
|
+
*/
|
|
213
|
+
All = 15
|
|
214
|
+
}
|
|
215
|
+
export interface IPrincipalInfo {
|
|
216
|
+
Department: string;
|
|
217
|
+
DisplayName: string;
|
|
218
|
+
Email: string;
|
|
219
|
+
JobTitle: string;
|
|
220
|
+
LoginName: string;
|
|
221
|
+
Mobile: string;
|
|
222
|
+
PrincipalId: number;
|
|
223
|
+
PrincipalType: PrincipalType;
|
|
224
|
+
SIPAddress: string;
|
|
225
|
+
}
|
|
226
|
+
export declare enum PageType {
|
|
227
|
+
Invalid = -1,
|
|
228
|
+
DefaultView = 0,
|
|
229
|
+
NormalView = 1,
|
|
230
|
+
DialogView = 2,
|
|
231
|
+
View = 3,
|
|
232
|
+
DisplayForm = 4,
|
|
233
|
+
DisplayFormDialog = 5,
|
|
234
|
+
EditForm = 6,
|
|
235
|
+
EditFormDialog = 7,
|
|
236
|
+
NewForm = 8,
|
|
237
|
+
NewFormDialog = 9,
|
|
238
|
+
SolutionForm = 10,
|
|
239
|
+
PAGE_MAXITEMS = 11
|
|
240
|
+
}
|
|
241
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../packages/sp/types.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,yCAAyC,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,2BAA2B,EAAE,OAAO,CAAC;IAErC;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IAEjC;;OAEG;IACH,6BAA6B,EAAE,OAAO,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAE9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,YAAY,CAAC;IAEhC;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,0BAAkB,aAAa;IAC3B;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,gBAAgB,IAAI;IACpB;;OAEG;IACH,aAAa,IAAI;IACjB;;OAEG;IACH,eAAe,IAAI;IACnB;;OAEG;IAEH,GAAG,KAA4D;CAClE;AAED;;GAEG;AACH,0BAAkB,eAAe;IAC7B;;OAEG;IACH,IAAI,IAAI;IACR;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IACH,OAAO,IAAI;IACX;;OAEG;IACH,kBAAkB,IAAI;IACtB;;OAEG;IACH,YAAY,IAAI;IAChB;;OAEG;IAEH,GAAG,KAA6D;CACnE;AAED,MAAM,WAAW,cAAc;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,QAAQ;IAChB,OAAO,KAAK;IACZ,WAAW,IAAA;IACX,UAAU,IAAA;IACV,UAAU,IAAA;IACV,IAAI,IAAA;IACJ,WAAW,IAAA;IACX,iBAAiB,IAAA;IACjB,QAAQ,IAAA;IACR,cAAc,IAAA;IACd,OAAO,IAAA;IACP,aAAa,IAAA;IACb,YAAY,KAAA;IACZ,aAAa,KAAA;CAChB"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// reference: https://msdn.microsoft.com/en-us/library/office/dn600183.aspx
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PageType = exports.PrincipalSource = exports.PrincipalType = exports.emptyGuid = void 0;
|
|
5
|
+
exports.emptyGuid = "00000000-0000-0000-0000-000000000000";
|
|
6
|
+
/**
|
|
7
|
+
* Specifies the type of a principal.
|
|
8
|
+
*/
|
|
9
|
+
var PrincipalType;
|
|
10
|
+
(function (PrincipalType) {
|
|
11
|
+
/**
|
|
12
|
+
* Enumeration whose value specifies no principal type.
|
|
13
|
+
*/
|
|
14
|
+
PrincipalType[PrincipalType["None"] = 0] = "None";
|
|
15
|
+
/**
|
|
16
|
+
* Enumeration whose value specifies a user as the principal type.
|
|
17
|
+
*/
|
|
18
|
+
PrincipalType[PrincipalType["User"] = 1] = "User";
|
|
19
|
+
/**
|
|
20
|
+
* Enumeration whose value specifies a distribution list as the principal type.
|
|
21
|
+
*/
|
|
22
|
+
PrincipalType[PrincipalType["DistributionList"] = 2] = "DistributionList";
|
|
23
|
+
/**
|
|
24
|
+
* Enumeration whose value specifies a security group as the principal type.
|
|
25
|
+
*/
|
|
26
|
+
PrincipalType[PrincipalType["SecurityGroup"] = 4] = "SecurityGroup";
|
|
27
|
+
/**
|
|
28
|
+
* Enumeration whose value specifies a group as the principal type.
|
|
29
|
+
*/
|
|
30
|
+
PrincipalType[PrincipalType["SharePointGroup"] = 8] = "SharePointGroup";
|
|
31
|
+
/**
|
|
32
|
+
* Enumeration whose value specifies all principal types.
|
|
33
|
+
*/
|
|
34
|
+
// eslint-disable-next-line no-bitwise
|
|
35
|
+
PrincipalType[PrincipalType["All"] = 15] = "All";
|
|
36
|
+
})(PrincipalType = exports.PrincipalType || (exports.PrincipalType = {}));
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the source of a principal.
|
|
39
|
+
*/
|
|
40
|
+
var PrincipalSource;
|
|
41
|
+
(function (PrincipalSource) {
|
|
42
|
+
/**
|
|
43
|
+
* Enumeration whose value specifies no principal source.
|
|
44
|
+
*/
|
|
45
|
+
PrincipalSource[PrincipalSource["None"] = 0] = "None";
|
|
46
|
+
/**
|
|
47
|
+
* Enumeration whose value specifies user information list as the principal source.
|
|
48
|
+
*/
|
|
49
|
+
PrincipalSource[PrincipalSource["UserInfoList"] = 1] = "UserInfoList";
|
|
50
|
+
/**
|
|
51
|
+
* Enumeration whose value specifies Active Directory as the principal source.
|
|
52
|
+
*/
|
|
53
|
+
PrincipalSource[PrincipalSource["Windows"] = 2] = "Windows";
|
|
54
|
+
/**
|
|
55
|
+
* Enumeration whose value specifies the current membership provider as the principal source.
|
|
56
|
+
*/
|
|
57
|
+
PrincipalSource[PrincipalSource["MembershipProvider"] = 4] = "MembershipProvider";
|
|
58
|
+
/**
|
|
59
|
+
* Enumeration whose value specifies the current role provider as the principal source.
|
|
60
|
+
*/
|
|
61
|
+
PrincipalSource[PrincipalSource["RoleProvider"] = 8] = "RoleProvider";
|
|
62
|
+
/**
|
|
63
|
+
* Enumeration whose value specifies all principal sources.
|
|
64
|
+
*/
|
|
65
|
+
// eslint-disable-next-line no-bitwise
|
|
66
|
+
PrincipalSource[PrincipalSource["All"] = 15] = "All";
|
|
67
|
+
})(PrincipalSource = exports.PrincipalSource || (exports.PrincipalSource = {}));
|
|
68
|
+
var PageType;
|
|
69
|
+
(function (PageType) {
|
|
70
|
+
PageType[PageType["Invalid"] = -1] = "Invalid";
|
|
71
|
+
PageType[PageType["DefaultView"] = 0] = "DefaultView";
|
|
72
|
+
PageType[PageType["NormalView"] = 1] = "NormalView";
|
|
73
|
+
PageType[PageType["DialogView"] = 2] = "DialogView";
|
|
74
|
+
PageType[PageType["View"] = 3] = "View";
|
|
75
|
+
PageType[PageType["DisplayForm"] = 4] = "DisplayForm";
|
|
76
|
+
PageType[PageType["DisplayFormDialog"] = 5] = "DisplayFormDialog";
|
|
77
|
+
PageType[PageType["EditForm"] = 6] = "EditForm";
|
|
78
|
+
PageType[PageType["EditFormDialog"] = 7] = "EditFormDialog";
|
|
79
|
+
PageType[PageType["NewForm"] = 8] = "NewForm";
|
|
80
|
+
PageType[PageType["NewFormDialog"] = 9] = "NewFormDialog";
|
|
81
|
+
PageType[PageType["SolutionForm"] = 10] = "SolutionForm";
|
|
82
|
+
PageType[PageType["PAGE_MAXITEMS"] = 11] = "PAGE_MAXITEMS";
|
|
83
|
+
})(PageType = exports.PageType || (exports.PageType = {}));
|
|
84
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../packages/sp/types.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;AAE9D,QAAA,SAAS,GAAG,sCAAsC,CAAC;AAgMhE;;GAEG;AACH,IAAkB,aA0BjB;AA1BD,WAAkB,aAAa;IAC3B;;OAEG;IACH,iDAAQ,CAAA;IACR;;OAEG;IACH,iDAAQ,CAAA;IACR;;OAEG;IACH,yEAAoB,CAAA;IACpB;;OAEG;IACH,mEAAiB,CAAA;IACjB;;OAEG;IACH,uEAAmB,CAAA;IACnB;;OAEG;IACH,sCAAsC;IACtC,gDAA+D,CAAA;AACnE,CAAC,EA1BiB,aAAa,GAAb,qBAAa,KAAb,qBAAa,QA0B9B;AAED;;GAEG;AACH,IAAkB,eA0BjB;AA1BD,WAAkB,eAAe;IAC7B;;OAEG;IACH,qDAAQ,CAAA;IACR;;OAEG;IACH,qEAAgB,CAAA;IAChB;;OAEG;IACH,2DAAW,CAAA;IACX;;OAEG;IACH,iFAAsB,CAAA;IACtB;;OAEG;IACH,qEAAgB,CAAA;IAChB;;OAEG;IACH,sCAAsC;IACtC,oDAAgE,CAAA;AACpE,CAAC,EA1BiB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0BhC;AAcD,IAAY,QAcX;AAdD,WAAY,QAAQ;IAChB,8CAAY,CAAA;IACZ,qDAAW,CAAA;IACX,mDAAU,CAAA;IACV,mDAAU,CAAA;IACV,uCAAI,CAAA;IACJ,qDAAW,CAAA;IACX,iEAAiB,CAAA;IACjB,+CAAQ,CAAA;IACR,2DAAc,CAAA;IACd,6CAAO,CAAA;IACP,yDAAa,CAAA;IACb,wDAAY,CAAA;IACZ,0DAAa,CAAA;AACjB,CAAC,EAdW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAcnB"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "./list.js";
|
|
2
|
+
import "./web.js";
|
|
3
|
+
import "./site.js";
|
|
4
|
+
export { IUserCustomAction, IUserCustomActions, IUserCustomActionAddResult, IUserCustomActionUpdateResult, UserCustomAction, UserCustomActions, IUserCustomActionInfo, UserCustomActionRegistrationType, UserCustomActionScope, } from "./types.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AACnB,OAAO,UAAU,CAAC;AAClB,OAAO,WAAW,CAAC;AAEnB,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,6BAA6B,EAC7B,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,gCAAgC,EAChC,qBAAqB,GACxB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserCustomActionScope = exports.UserCustomActionRegistrationType = exports.UserCustomActions = exports.UserCustomAction = void 0;
|
|
4
|
+
require("./list.js");
|
|
5
|
+
require("./web.js");
|
|
6
|
+
require("./site.js");
|
|
7
|
+
var types_js_1 = require("./types.js");
|
|
8
|
+
Object.defineProperty(exports, "UserCustomAction", { enumerable: true, get: function () { return types_js_1.UserCustomAction; } });
|
|
9
|
+
Object.defineProperty(exports, "UserCustomActions", { enumerable: true, get: function () { return types_js_1.UserCustomActions; } });
|
|
10
|
+
Object.defineProperty(exports, "UserCustomActionRegistrationType", { enumerable: true, get: function () { return types_js_1.UserCustomActionRegistrationType; } });
|
|
11
|
+
Object.defineProperty(exports, "UserCustomActionScope", { enumerable: true, get: function () { return types_js_1.UserCustomActionScope; } });
|
|
12
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/index.ts"],"names":[],"mappings":";;;AAAA,qBAAmB;AACnB,oBAAkB;AAClB,qBAAmB;AAEnB,uCAUoB;AALhB,4GAAA,gBAAgB,OAAA;AAChB,6GAAA,iBAAiB,OAAA;AAEjB,4HAAA,gCAAgC,OAAA;AAChC,iHAAA,qBAAqB,OAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IUserCustomActions } from "./types.js";
|
|
2
|
+
declare module "../lists/types" {
|
|
3
|
+
interface _List {
|
|
4
|
+
readonly userCustomActions: IUserCustomActions;
|
|
5
|
+
}
|
|
6
|
+
interface IList {
|
|
7
|
+
/**
|
|
8
|
+
* Get all custom actions on a list
|
|
9
|
+
*/
|
|
10
|
+
readonly userCustomActions: IUserCustomActions;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/list.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEnE,OAAO,QAAQ,gBAAgB,CAAC;IAC5B,UAAU,KAAK;QACX,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;IAED,UAAU,KAAK;QACX;;WAEG;QACH,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;CACJ"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const queryable_1 = require("@pnp/queryable");
|
|
4
|
+
const types_js_1 = require("../lists/types.js");
|
|
5
|
+
const types_js_2 = require("./types.js");
|
|
6
|
+
(0, queryable_1.addProp)(types_js_1._List, "userCustomActions", types_js_2.UserCustomActions);
|
|
7
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/list.ts"],"names":[],"mappings":";;AAAA,8CAAyC;AACzC,gDAA0C;AAC1C,yCAAmE;AAenE,IAAA,mBAAO,EAAC,gBAAK,EAAE,mBAAmB,EAAE,4BAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IUserCustomActions } from "./types.js";
|
|
2
|
+
declare module "../sites/types" {
|
|
3
|
+
interface _Site {
|
|
4
|
+
readonly userCustomActions: IUserCustomActions;
|
|
5
|
+
}
|
|
6
|
+
interface ISite {
|
|
7
|
+
/**
|
|
8
|
+
* Get all custom actions on a site collection
|
|
9
|
+
*/
|
|
10
|
+
readonly userCustomActions: IUserCustomActions;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=site.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/site.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEnE,OAAO,QAAQ,gBAAgB,CAAC;IAC5B,UAAU,KAAK;QACX,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;IAED,UAAU,KAAK;QACX;;WAEG;QACH,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;CACJ"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const queryable_1 = require("@pnp/queryable");
|
|
4
|
+
const types_js_1 = require("../sites/types.js");
|
|
5
|
+
const types_js_2 = require("./types.js");
|
|
6
|
+
(0, queryable_1.addProp)(types_js_1._Site, "userCustomActions", types_js_2.UserCustomActions);
|
|
7
|
+
//# sourceMappingURL=site.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"site.js","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/site.ts"],"names":[],"mappings":";;AAAA,8CAAyC;AACzC,gDAA0C;AAC1C,yCAAmE;AAenE,IAAA,mBAAO,EAAC,gBAAK,EAAE,mBAAmB,EAAE,4BAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { _SPCollection, _SPInstance, IDeleteable } from "../spqueryable.js";
|
|
2
|
+
import { IBasePermissions } from "../security/index.js";
|
|
3
|
+
export declare class _UserCustomActions extends _SPCollection<IUserCustomActionInfo[]> {
|
|
4
|
+
/**
|
|
5
|
+
* Returns the user custom action with the specified id
|
|
6
|
+
*
|
|
7
|
+
* @param id The GUID id of the user custom action to retrieve
|
|
8
|
+
*/
|
|
9
|
+
getById(id: string): IUserCustomAction;
|
|
10
|
+
/**
|
|
11
|
+
* Creates a user custom action
|
|
12
|
+
*
|
|
13
|
+
* @param properties The information object of property names and values which define the new user custom action
|
|
14
|
+
*/
|
|
15
|
+
add(properties: Partial<IUserCustomActionInfo>): Promise<IUserCustomActionAddResult>;
|
|
16
|
+
/**
|
|
17
|
+
* Deletes all user custom actions in the collection
|
|
18
|
+
*/
|
|
19
|
+
clear(): Promise<void>;
|
|
20
|
+
}
|
|
21
|
+
export interface IUserCustomActions extends _UserCustomActions {
|
|
22
|
+
}
|
|
23
|
+
export declare const UserCustomActions: import("../spqueryable.js").ISPInvokableFactory<IUserCustomActions>;
|
|
24
|
+
export declare class _UserCustomAction extends _SPInstance<IUserCustomActionInfo> {
|
|
25
|
+
delete: (this: import("../spqueryable.js").ISPQueryable<any>) => Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Updates this user custom action with the supplied properties
|
|
28
|
+
*
|
|
29
|
+
* @param properties An information object of property names and values to update for this user custom action
|
|
30
|
+
*/
|
|
31
|
+
update(props: Partial<IUserCustomActionInfo>): Promise<IUserCustomActionUpdateResult>;
|
|
32
|
+
}
|
|
33
|
+
export interface IUserCustomAction extends _UserCustomAction, IDeleteable {
|
|
34
|
+
}
|
|
35
|
+
export declare const UserCustomAction: import("../spqueryable.js").ISPInvokableFactory<IUserCustomAction>;
|
|
36
|
+
/**
|
|
37
|
+
* Result from adding a user custom action
|
|
38
|
+
*/
|
|
39
|
+
export interface IUserCustomActionAddResult {
|
|
40
|
+
data: any;
|
|
41
|
+
action: IUserCustomAction;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Result from udating a user custom action
|
|
45
|
+
*/
|
|
46
|
+
export interface IUserCustomActionUpdateResult {
|
|
47
|
+
data: any;
|
|
48
|
+
action: IUserCustomAction;
|
|
49
|
+
}
|
|
50
|
+
export declare enum UserCustomActionRegistrationType {
|
|
51
|
+
None = 0,
|
|
52
|
+
List = 1,
|
|
53
|
+
ContentType = 2,
|
|
54
|
+
ProgId = 3,
|
|
55
|
+
FileType = 4
|
|
56
|
+
}
|
|
57
|
+
export declare enum UserCustomActionScope {
|
|
58
|
+
Unknown = 0,
|
|
59
|
+
Site = 2,
|
|
60
|
+
Web = 3,
|
|
61
|
+
List = 4
|
|
62
|
+
}
|
|
63
|
+
export interface IUserCustomActionInfo {
|
|
64
|
+
CommandUIExtension: string;
|
|
65
|
+
Description: string;
|
|
66
|
+
Group: string;
|
|
67
|
+
Id: string;
|
|
68
|
+
ImageUrl: string;
|
|
69
|
+
Location: string;
|
|
70
|
+
Name: string;
|
|
71
|
+
RegistrationId: string;
|
|
72
|
+
RegistrationType: UserCustomActionRegistrationType;
|
|
73
|
+
Rights: IBasePermissions;
|
|
74
|
+
Scope: UserCustomActionScope;
|
|
75
|
+
ScriptBlock: string;
|
|
76
|
+
ScriptSrc: string;
|
|
77
|
+
Sequence: number;
|
|
78
|
+
Title: string;
|
|
79
|
+
Url: string;
|
|
80
|
+
VersionOfUserCustomAction: string;
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/types.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,aAAa,EAGb,WAAW,EACX,WAAW,EAGd,MAAM,mBAAmB,CAAC;AAG3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,qBACa,kBAAmB,SAAQ,aAAa,CAAC,qBAAqB,EAAE,CAAC;IAE1E;;;;OAIG;IACI,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,iBAAiB;IAI7C;;;;OAIG;IACU,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,0BAA0B,CAAC;IAQjG;;OAEG;IACI,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGhC;AACD,MAAM,WAAW,kBAAmB,SAAQ,kBAAkB;CAAI;AAClE,eAAO,MAAM,iBAAiB,qEAA6D,CAAC;AAE5F,qBAAa,iBAAkB,SAAQ,WAAW,CAAC,qBAAqB,CAAC;IAE9D,MAAM,yEAAgB;IAE7B;;;;MAIE;IACW,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC;CASrG;AACD,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB,EAAE,WAAW;CAAI;AAC7E,eAAO,MAAM,gBAAgB,oEAA2D,CAAC;AAEzF;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAIvC,IAAI,EAAE,GAAG,CAAC;IAKV,MAAM,EAAE,iBAAiB,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAI1C,IAAI,EAAE,GAAG,CAAC;IAKV,MAAM,EAAE,iBAAiB,CAAC;CAC7B;AAED,oBAAY,gCAAgC;IACxC,IAAI,IAAA;IACJ,IAAI,IAAA;IACJ,WAAW,IAAA;IACX,MAAM,IAAA;IACN,QAAQ,IAAA;CACX;AAED,oBAAY,qBAAqB;IAC7B,OAAO,IAAA;IACP,IAAI,IAAI;IACR,GAAG,IAAA;IACH,IAAI,IAAA;CACP;AAED,MAAM,WAAW,qBAAqB;IAClC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,gCAAgC,CAAC;IACnD,MAAM,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,yBAAyB,EAAE,MAAM,CAAC;CACrC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserCustomActionScope = exports.UserCustomActionRegistrationType = exports.UserCustomAction = exports._UserCustomAction = exports.UserCustomActions = exports._UserCustomActions = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const spqueryable_js_1 = require("../spqueryable.js");
|
|
6
|
+
const queryable_1 = require("@pnp/queryable");
|
|
7
|
+
const decorators_js_1 = require("../decorators.js");
|
|
8
|
+
let _UserCustomActions = class _UserCustomActions extends spqueryable_js_1._SPCollection {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the user custom action with the specified id
|
|
11
|
+
*
|
|
12
|
+
* @param id The GUID id of the user custom action to retrieve
|
|
13
|
+
*/
|
|
14
|
+
getById(id) {
|
|
15
|
+
return (0, exports.UserCustomAction)(this).concat(`('${id}')`);
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Creates a user custom action
|
|
19
|
+
*
|
|
20
|
+
* @param properties The information object of property names and values which define the new user custom action
|
|
21
|
+
*/
|
|
22
|
+
async add(properties) {
|
|
23
|
+
const data = await (0, spqueryable_js_1.spPost)(this, (0, queryable_1.body)(properties));
|
|
24
|
+
return {
|
|
25
|
+
action: this.getById(data.Id),
|
|
26
|
+
data,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Deletes all user custom actions in the collection
|
|
31
|
+
*/
|
|
32
|
+
clear() {
|
|
33
|
+
return (0, spqueryable_js_1.spPost)((0, exports.UserCustomActions)(this, "clear"));
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
_UserCustomActions = (0, tslib_1.__decorate)([
|
|
37
|
+
(0, decorators_js_1.defaultPath)("usercustomactions")
|
|
38
|
+
], _UserCustomActions);
|
|
39
|
+
exports._UserCustomActions = _UserCustomActions;
|
|
40
|
+
exports.UserCustomActions = (0, spqueryable_js_1.spInvokableFactory)(_UserCustomActions);
|
|
41
|
+
class _UserCustomAction extends spqueryable_js_1._SPInstance {
|
|
42
|
+
constructor() {
|
|
43
|
+
super(...arguments);
|
|
44
|
+
this.delete = (0, spqueryable_js_1.deleteable)();
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Updates this user custom action with the supplied properties
|
|
48
|
+
*
|
|
49
|
+
* @param properties An information object of property names and values to update for this user custom action
|
|
50
|
+
*/
|
|
51
|
+
async update(props) {
|
|
52
|
+
const data = await (0, spqueryable_js_1.spPostMerge)(this, (0, queryable_1.body)(props));
|
|
53
|
+
return {
|
|
54
|
+
data,
|
|
55
|
+
action: this,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports._UserCustomAction = _UserCustomAction;
|
|
60
|
+
exports.UserCustomAction = (0, spqueryable_js_1.spInvokableFactory)(_UserCustomAction);
|
|
61
|
+
var UserCustomActionRegistrationType;
|
|
62
|
+
(function (UserCustomActionRegistrationType) {
|
|
63
|
+
UserCustomActionRegistrationType[UserCustomActionRegistrationType["None"] = 0] = "None";
|
|
64
|
+
UserCustomActionRegistrationType[UserCustomActionRegistrationType["List"] = 1] = "List";
|
|
65
|
+
UserCustomActionRegistrationType[UserCustomActionRegistrationType["ContentType"] = 2] = "ContentType";
|
|
66
|
+
UserCustomActionRegistrationType[UserCustomActionRegistrationType["ProgId"] = 3] = "ProgId";
|
|
67
|
+
UserCustomActionRegistrationType[UserCustomActionRegistrationType["FileType"] = 4] = "FileType";
|
|
68
|
+
})(UserCustomActionRegistrationType = exports.UserCustomActionRegistrationType || (exports.UserCustomActionRegistrationType = {}));
|
|
69
|
+
var UserCustomActionScope;
|
|
70
|
+
(function (UserCustomActionScope) {
|
|
71
|
+
UserCustomActionScope[UserCustomActionScope["Unknown"] = 0] = "Unknown";
|
|
72
|
+
UserCustomActionScope[UserCustomActionScope["Site"] = 2] = "Site";
|
|
73
|
+
UserCustomActionScope[UserCustomActionScope["Web"] = 3] = "Web";
|
|
74
|
+
UserCustomActionScope[UserCustomActionScope["List"] = 4] = "List";
|
|
75
|
+
})(UserCustomActionScope = exports.UserCustomActionScope || (exports.UserCustomActionScope = {}));
|
|
76
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/types.ts"],"names":[],"mappings":";;;;AAAA,sDAQ2B;AAC3B,8CAAsC;AACtC,oDAA+C;AAI/C,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,8BAAsC;IAE1E;;;;OAIG;IACI,OAAO,CAAC,EAAU;QACrB,OAAO,IAAA,wBAAgB,EAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;IAED;;;;OAIG;IACI,KAAK,CAAC,GAAG,CAAC,UAA0C;QACvD,MAAM,IAAI,GAAG,MAAM,IAAA,uBAAM,EAAC,IAAI,EAAE,IAAA,gBAAI,EAAC,UAAU,CAAC,CAAC,CAAC;QAClD,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;YAC7B,IAAI;SACP,CAAC;IACN,CAAC;IAED;;OAEG;IACI,KAAK;QACR,OAAO,IAAA,uBAAM,EAAC,IAAA,yBAAiB,EAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC;IACpD,CAAC;CACJ,CAAA;AA9BY,kBAAkB;IAD9B,IAAA,2BAAW,EAAC,mBAAmB,CAAC;GACpB,kBAAkB,CA8B9B;AA9BY,gDAAkB;AAgClB,QAAA,iBAAiB,GAAG,IAAA,mCAAkB,EAAqB,kBAAkB,CAAC,CAAC;AAE5F,MAAa,iBAAkB,SAAQ,4BAAkC;IAAzE;;QAEW,WAAM,GAAG,IAAA,2BAAU,GAAE,CAAC;IAgBjC,CAAC;IAdG;;;;MAIE;IACK,KAAK,CAAC,MAAM,CAAC,KAAqC;QAErD,MAAM,IAAI,GAAG,MAAM,IAAA,4BAAW,EAAC,IAAI,EAAE,IAAA,gBAAI,EAAC,KAAK,CAAC,CAAC,CAAC;QAElD,OAAO;YACH,IAAI;YACJ,MAAM,EAAE,IAAI;SACf,CAAC;IACN,CAAC;CACJ;AAlBD,8CAkBC;AAEY,QAAA,gBAAgB,GAAG,IAAA,mCAAkB,EAAoB,iBAAiB,CAAC,CAAC;AAgCzF,IAAY,gCAMX;AAND,WAAY,gCAAgC;IACxC,uFAAI,CAAA;IACJ,uFAAI,CAAA;IACJ,qGAAW,CAAA;IACX,2FAAM,CAAA;IACN,+FAAQ,CAAA;AACZ,CAAC,EANW,gCAAgC,GAAhC,wCAAgC,KAAhC,wCAAgC,QAM3C;AAED,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC7B,uEAAO,CAAA;IACP,iEAAQ,CAAA;IACR,+DAAG,CAAA;IACH,iEAAI,CAAA;AACR,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IUserCustomActions } from "./types.js";
|
|
2
|
+
declare module "../webs/types" {
|
|
3
|
+
interface _Web {
|
|
4
|
+
/**
|
|
5
|
+
* Gets a newly refreshed collection of the SPWeb's SPUserCustomActionCollection
|
|
6
|
+
*/
|
|
7
|
+
readonly userCustomActions: IUserCustomActions;
|
|
8
|
+
}
|
|
9
|
+
interface IWeb {
|
|
10
|
+
/**
|
|
11
|
+
* Gets a newly refreshed collection of the SPWeb's SPUserCustomActionCollection
|
|
12
|
+
*/
|
|
13
|
+
readonly userCustomActions: IUserCustomActions;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/web.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEnE,OAAO,QAAQ,eAAe,CAAC;IAC3B,UAAU,IAAI;QACV;;WAEG;QACH,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;IAED,UAAU,IAAI;QACV;;WAEG;QACH,QAAQ,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;KAClD;CACJ"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const queryable_1 = require("@pnp/queryable");
|
|
4
|
+
const types_js_1 = require("../webs/types.js");
|
|
5
|
+
const types_js_2 = require("./types.js");
|
|
6
|
+
(0, queryable_1.addProp)(types_js_1._Web, "userCustomActions", types_js_2.UserCustomActions);
|
|
7
|
+
//# sourceMappingURL=web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../../../../packages/sp/user-custom-actions/web.ts"],"names":[],"mappings":";;AAAA,8CAAyC;AACzC,+CAAwC;AACxC,yCAAmE;AAkBnE,IAAA,mBAAO,EAAC,eAAI,EAAE,mBAAmB,EAAE,4BAAiB,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Encodes path portions of SharePoint urls such as decodedUrl=`encodePath(pathStr)`
|
|
3
|
+
*
|
|
4
|
+
* @param value The string path to encode
|
|
5
|
+
* @returns A path encoded for use in SP urls
|
|
6
|
+
*/
|
|
7
|
+
export declare function encodePath(value: string): string;
|
|
8
|
+
//# sourceMappingURL=encode-path-str.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encode-path-str.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/utils/encode-path-str.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAoBhD"}
|