@pnp/sp 4.0.0-alpha0-v4nightly.20240108 → 4.0.0-alpha0-v4nightly.20240110
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,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RoleType = exports.SharingLinkKind = exports.SharingOperationStatusCode = exports.SharingDomainRestrictionMode = exports.SPSharedObjectType = exports.SharingRole = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Indicates the role of the sharing link
|
|
6
|
+
*/
|
|
7
|
+
var SharingRole;
|
|
8
|
+
(function (SharingRole) {
|
|
9
|
+
SharingRole[SharingRole["None"] = 0] = "None";
|
|
10
|
+
SharingRole[SharingRole["View"] = 1] = "View";
|
|
11
|
+
SharingRole[SharingRole["Edit"] = 2] = "Edit";
|
|
12
|
+
SharingRole[SharingRole["Owner"] = 3] = "Owner";
|
|
13
|
+
})(SharingRole = exports.SharingRole || (exports.SharingRole = {}));
|
|
14
|
+
var SPSharedObjectType;
|
|
15
|
+
(function (SPSharedObjectType) {
|
|
16
|
+
SPSharedObjectType[SPSharedObjectType["Unknown"] = 0] = "Unknown";
|
|
17
|
+
SPSharedObjectType[SPSharedObjectType["File"] = 1] = "File";
|
|
18
|
+
SPSharedObjectType[SPSharedObjectType["Folder"] = 2] = "Folder";
|
|
19
|
+
SPSharedObjectType[SPSharedObjectType["Item"] = 3] = "Item";
|
|
20
|
+
SPSharedObjectType[SPSharedObjectType["List"] = 4] = "List";
|
|
21
|
+
SPSharedObjectType[SPSharedObjectType["Web"] = 5] = "Web";
|
|
22
|
+
SPSharedObjectType[SPSharedObjectType["Max"] = 6] = "Max";
|
|
23
|
+
})(SPSharedObjectType = exports.SPSharedObjectType || (exports.SPSharedObjectType = {}));
|
|
24
|
+
var SharingDomainRestrictionMode;
|
|
25
|
+
(function (SharingDomainRestrictionMode) {
|
|
26
|
+
SharingDomainRestrictionMode[SharingDomainRestrictionMode["None"] = 0] = "None";
|
|
27
|
+
SharingDomainRestrictionMode[SharingDomainRestrictionMode["AllowList"] = 1] = "AllowList";
|
|
28
|
+
SharingDomainRestrictionMode[SharingDomainRestrictionMode["BlockList"] = 2] = "BlockList";
|
|
29
|
+
})(SharingDomainRestrictionMode = exports.SharingDomainRestrictionMode || (exports.SharingDomainRestrictionMode = {}));
|
|
30
|
+
var SharingOperationStatusCode;
|
|
31
|
+
(function (SharingOperationStatusCode) {
|
|
32
|
+
/**
|
|
33
|
+
* The share operation completed without errors.
|
|
34
|
+
*/
|
|
35
|
+
SharingOperationStatusCode[SharingOperationStatusCode["CompletedSuccessfully"] = 0] = "CompletedSuccessfully";
|
|
36
|
+
/**
|
|
37
|
+
* The share operation completed and generated requests for access.
|
|
38
|
+
*/
|
|
39
|
+
SharingOperationStatusCode[SharingOperationStatusCode["AccessRequestsQueued"] = 1] = "AccessRequestsQueued";
|
|
40
|
+
/**
|
|
41
|
+
* The share operation failed as there were no resolved users.
|
|
42
|
+
*/
|
|
43
|
+
SharingOperationStatusCode[SharingOperationStatusCode["NoResolvedUsers"] = -1] = "NoResolvedUsers";
|
|
44
|
+
/**
|
|
45
|
+
* The share operation failed due to insufficient permissions.
|
|
46
|
+
*/
|
|
47
|
+
SharingOperationStatusCode[SharingOperationStatusCode["AccessDenied"] = -2] = "AccessDenied";
|
|
48
|
+
/**
|
|
49
|
+
* The share operation failed when attempting a cross site share, which is not supported.
|
|
50
|
+
*/
|
|
51
|
+
SharingOperationStatusCode[SharingOperationStatusCode["CrossSiteRequestNotSupported"] = -3] = "CrossSiteRequestNotSupported";
|
|
52
|
+
/**
|
|
53
|
+
* The sharing operation failed due to an unknown error.
|
|
54
|
+
*/
|
|
55
|
+
SharingOperationStatusCode[SharingOperationStatusCode["UnknowError"] = -4] = "UnknowError";
|
|
56
|
+
/**
|
|
57
|
+
* The text you typed is too long. Please shorten it.
|
|
58
|
+
*/
|
|
59
|
+
SharingOperationStatusCode[SharingOperationStatusCode["EmailBodyTooLong"] = -5] = "EmailBodyTooLong";
|
|
60
|
+
/**
|
|
61
|
+
* The maximum number of unique scopes in the list has been exceeded.
|
|
62
|
+
*/
|
|
63
|
+
SharingOperationStatusCode[SharingOperationStatusCode["ListUniqueScopesExceeded"] = -6] = "ListUniqueScopesExceeded";
|
|
64
|
+
/**
|
|
65
|
+
* The share operation failed because a sharing capability is disabled in the site.
|
|
66
|
+
*/
|
|
67
|
+
SharingOperationStatusCode[SharingOperationStatusCode["CapabilityDisabled"] = -7] = "CapabilityDisabled";
|
|
68
|
+
/**
|
|
69
|
+
* The specified object for the share operation is not supported.
|
|
70
|
+
*/
|
|
71
|
+
SharingOperationStatusCode[SharingOperationStatusCode["ObjectNotSupported"] = -8] = "ObjectNotSupported";
|
|
72
|
+
/**
|
|
73
|
+
* A SharePoint group cannot contain another SharePoint group.
|
|
74
|
+
*/
|
|
75
|
+
SharingOperationStatusCode[SharingOperationStatusCode["NestedGroupsNotSupported"] = -9] = "NestedGroupsNotSupported";
|
|
76
|
+
})(SharingOperationStatusCode = exports.SharingOperationStatusCode || (exports.SharingOperationStatusCode = {}));
|
|
77
|
+
var SharingLinkKind;
|
|
78
|
+
(function (SharingLinkKind) {
|
|
79
|
+
/**
|
|
80
|
+
* Uninitialized link
|
|
81
|
+
*/
|
|
82
|
+
SharingLinkKind[SharingLinkKind["Uninitialized"] = 0] = "Uninitialized";
|
|
83
|
+
/**
|
|
84
|
+
* Direct link to the object being shared
|
|
85
|
+
*/
|
|
86
|
+
SharingLinkKind[SharingLinkKind["Direct"] = 1] = "Direct";
|
|
87
|
+
/**
|
|
88
|
+
* Organization-shareable link to the object being shared with view permissions
|
|
89
|
+
*/
|
|
90
|
+
SharingLinkKind[SharingLinkKind["OrganizationView"] = 2] = "OrganizationView";
|
|
91
|
+
/**
|
|
92
|
+
* Organization-shareable link to the object being shared with edit permissions
|
|
93
|
+
*/
|
|
94
|
+
SharingLinkKind[SharingLinkKind["OrganizationEdit"] = 3] = "OrganizationEdit";
|
|
95
|
+
/**
|
|
96
|
+
* View only anonymous link
|
|
97
|
+
*/
|
|
98
|
+
SharingLinkKind[SharingLinkKind["AnonymousView"] = 4] = "AnonymousView";
|
|
99
|
+
/**
|
|
100
|
+
* Read/Write anonymous link
|
|
101
|
+
*/
|
|
102
|
+
SharingLinkKind[SharingLinkKind["AnonymousEdit"] = 5] = "AnonymousEdit";
|
|
103
|
+
/**
|
|
104
|
+
* Flexible sharing Link where properties can change without affecting link URL
|
|
105
|
+
*/
|
|
106
|
+
SharingLinkKind[SharingLinkKind["Flexible"] = 6] = "Flexible";
|
|
107
|
+
})(SharingLinkKind = exports.SharingLinkKind || (exports.SharingLinkKind = {}));
|
|
108
|
+
var RoleType;
|
|
109
|
+
(function (RoleType) {
|
|
110
|
+
RoleType[RoleType["None"] = 0] = "None";
|
|
111
|
+
RoleType[RoleType["Guest"] = 1] = "Guest";
|
|
112
|
+
RoleType[RoleType["Reader"] = 2] = "Reader";
|
|
113
|
+
RoleType[RoleType["Contributor"] = 3] = "Contributor";
|
|
114
|
+
RoleType[RoleType["WebDesigner"] = 4] = "WebDesigner";
|
|
115
|
+
RoleType[RoleType["Administrator"] = 5] = "Administrator";
|
|
116
|
+
})(RoleType = exports.RoleType || (exports.RoleType = {}));
|
|
117
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../packages/sp/sharing/types.ts"],"names":[],"mappings":";;;AAQA;;GAEG;AACH,IAAY,WAKX;AALD,WAAY,WAAW;IACnB,6CAAQ,CAAA;IACR,6CAAQ,CAAA;IACR,6CAAQ,CAAA;IACR,+CAAS,CAAA;AACb,CAAC,EALW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAKtB;AAED,IAAY,kBAQX;AARD,WAAY,kBAAkB;IAC1B,iEAAW,CAAA;IACX,2DAAQ,CAAA;IACR,+DAAU,CAAA;IACV,2DAAQ,CAAA;IACR,2DAAQ,CAAA;IACR,yDAAO,CAAA;IACP,yDAAO,CAAA;AACX,CAAC,EARW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAQ7B;AAED,IAAY,4BAIX;AAJD,WAAY,4BAA4B;IACpC,+EAAQ,CAAA;IACR,yFAAa,CAAA;IACb,yFAAa,CAAA;AACjB,CAAC,EAJW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAIvC;AAED,IAAY,0BA6CX;AA7CD,WAAY,0BAA0B;IAClC;;OAEG;IACH,6GAAyB,CAAA;IACzB;;OAEG;IACH,2GAAwB,CAAA;IACxB;;OAEG;IACH,kGAAoB,CAAA;IACpB;;OAEG;IACH,4FAAiB,CAAA;IACjB;;OAEG;IACH,4HAAiC,CAAA;IACjC;;OAEG;IACH,0FAAgB,CAAA;IAChB;;OAEG;IACH,oGAAqB,CAAA;IACrB;;OAEG;IACH,oHAA6B,CAAA;IAC7B;;OAEG;IACH,wGAAuB,CAAA;IACvB;;OAEG;IACH,wGAAuB,CAAA;IACvB;;OAEG;IACH,oHAA6B,CAAA;AACjC,CAAC,EA7CW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QA6CrC;AAED,IAAY,eA6BX;AA7BD,WAAY,eAAe;IACvB;;OAEG;IACH,uEAAiB,CAAA;IACjB;;OAEG;IACH,yDAAU,CAAA;IACV;;OAEG;IACH,6EAAoB,CAAA;IACpB;;OAEG;IACH,6EAAoB,CAAA;IACpB;;OAEG;IACH,uEAAiB,CAAA;IACjB;;OAEG;IACH,uEAAiB,CAAA;IACjB;;OAEG;IACH,6DAAY,CAAA;AAChB,CAAC,EA7BW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA6B1B;AA4fD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAChB,uCAAQ,CAAA;IACR,yCAAS,CAAA;IACT,2CAAU,CAAA;IACV,qDAAe,CAAA;IACf,qDAAe,CAAA;IACf,yDAAiB,CAAA;AACrB,CAAC,EAPW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAOnB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ISharingEmailData, ISharingResult, SharingRole } from "./types.js";
|
|
2
|
+
import { RoleType } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Extend _Web
|
|
5
|
+
*/
|
|
6
|
+
declare module "../webs/types" {
|
|
7
|
+
interface _Web {
|
|
8
|
+
shareWith: (loginNames: string | string[], role?: SharingRole, emailData?: ISharingEmailData) => Promise<ISharingResult>;
|
|
9
|
+
shareObject: (url: string, loginNames: string | string[], role: SharingRole, emailData?: ISharingEmailData, group?: RoleType, propagateAcl?: boolean, includeAnonymousLinkInEmail?: boolean, useSimplifiedRoles?: boolean) => Promise<ISharingResult>;
|
|
10
|
+
shareObjectRaw(options: any): Promise<ISharingResult>;
|
|
11
|
+
unshareObject(url: string): Promise<ISharingResult>;
|
|
12
|
+
}
|
|
13
|
+
interface IWeb {
|
|
14
|
+
shareWith: (loginNames: string | string[], role?: SharingRole, emailData?: ISharingEmailData) => Promise<ISharingResult>;
|
|
15
|
+
shareObject: (url: string, loginNames: string | string[], role: SharingRole, emailData?: ISharingEmailData, group?: RoleType, propagateAcl?: boolean, includeAnonymousLinkInEmail?: boolean, useSimplifiedRoles?: boolean) => Promise<ISharingResult>;
|
|
16
|
+
shareObjectRaw(options: any): Promise<ISharingResult>;
|
|
17
|
+
unshareObject(url: string): Promise<ISharingResult>;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=web.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/sharing/web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAMtC;;GAEG;AACH,OAAO,QAAQ,eAAe,CAAC;IAC3B,UAAU,IAAI;QACV,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,iBAAiB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;QACzH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,EAC7B,IAAI,EAAE,WAAW,EACjB,SAAS,CAAC,EAAE,iBAAiB,EAC7B,KAAK,CAAC,EAAE,QAAQ,EAChB,YAAY,CAAC,EAAE,OAAO,EACtB,2BAA2B,CAAC,EAAE,OAAO,EACrC,kBAAkB,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;QAC7D,cAAc,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;QACtD,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;KACvD;IACD,UAAU,IAAI;QACV,SAAS,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,WAAW,EAAE,SAAS,CAAC,EAAE,iBAAiB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;QACzH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,GAAG,MAAM,EAAE,EAC7B,IAAI,EAAE,WAAW,EACjB,SAAS,CAAC,EAAE,iBAAiB,EAC7B,KAAK,CAAC,EAAE,QAAQ,EAChB,YAAY,CAAC,EAAE,OAAO,EACtB,2BAA2B,CAAC,EAAE,OAAO,EACrC,kBAAkB,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;QAC7D,cAAc,CAAC,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;QACtD,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;KACvD;CACJ"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const types_js_1 = require("../webs/types.js");
|
|
4
|
+
const types_js_2 = require("./types.js");
|
|
5
|
+
const funcs_js_1 = require("./funcs.js");
|
|
6
|
+
const core_1 = require("@pnp/core");
|
|
7
|
+
const queryable_1 = require("@pnp/queryable");
|
|
8
|
+
const spqueryable_js_1 = require("../spqueryable.js");
|
|
9
|
+
/**
|
|
10
|
+
* Shares this web with the supplied users (not supported for batching)
|
|
11
|
+
* @param loginNames The resolved login names to share
|
|
12
|
+
* @param role The role to share this web
|
|
13
|
+
* @param emailData Optional email data
|
|
14
|
+
*/
|
|
15
|
+
types_js_1._Web.prototype.shareWith = async function (loginNames, role = types_js_2.SharingRole.View, emailData) {
|
|
16
|
+
const url = await this.select("Url")();
|
|
17
|
+
return this.shareObject((0, core_1.combine)(url.Url, "/_layouts/15/aclinv.aspx?forSharing=1&mbypass=1"), loginNames, role, emailData);
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Provides direct access to the static web.ShareObject method
|
|
21
|
+
*
|
|
22
|
+
* @param url The url to share
|
|
23
|
+
* @param loginNames Resolved loginnames string[] of a single login name string
|
|
24
|
+
* @param roleValue Role value
|
|
25
|
+
* @param emailData Optional email data
|
|
26
|
+
* @param groupId Optional group id
|
|
27
|
+
* @param propagateAcl
|
|
28
|
+
* @param includeAnonymousLinkInEmail
|
|
29
|
+
* @param useSimplifiedRoles
|
|
30
|
+
*/
|
|
31
|
+
types_js_1._Web.prototype.shareObject = function (url, loginNames, role, emailData, group, propagateAcl = false, includeAnonymousLinkInEmail = false, useSimplifiedRoles = true) {
|
|
32
|
+
return (0, funcs_js_1.shareObject)(this, {
|
|
33
|
+
emailData: emailData,
|
|
34
|
+
group: group,
|
|
35
|
+
includeAnonymousLinkInEmail: includeAnonymousLinkInEmail,
|
|
36
|
+
loginNames: loginNames,
|
|
37
|
+
propagateAcl: propagateAcl,
|
|
38
|
+
role: role,
|
|
39
|
+
url: url,
|
|
40
|
+
useSimplifiedRoles: useSimplifiedRoles,
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Supplies a method to pass any set of arguments to ShareObject
|
|
45
|
+
*
|
|
46
|
+
* @param options The set of options to send to ShareObject
|
|
47
|
+
*/
|
|
48
|
+
types_js_1._Web.prototype.shareObjectRaw = function (options) {
|
|
49
|
+
return (0, funcs_js_1.shareObject)(this, options, true);
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Supplies a method to pass any set of arguments to ShareObject
|
|
53
|
+
*
|
|
54
|
+
* @param options The set of options to send to ShareObject
|
|
55
|
+
*/
|
|
56
|
+
types_js_1._Web.prototype.unshareObject = function (url) {
|
|
57
|
+
return (0, spqueryable_js_1.spPost)((0, types_js_1.Web)(this, "unshareObject"), (0, queryable_1.body)({ url }));
|
|
58
|
+
};
|
|
59
|
+
//# sourceMappingURL=web.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.js","sourceRoot":"","sources":["../../../../../packages/sp/sharing/web.ts"],"names":[],"mappings":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,IAAI,EAAE,eAAe,CAAC,EAAE,IAAA,gBAAI,EAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;AAC7D,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./web.js";
|
|
2
|
+
import { ISiteDesigns } from "./types.js";
|
|
3
|
+
export { ISiteDesignCreationInfo, ISiteDesignInfo, ISiteDesignPrincipals, ISiteDesignUpdateInfo, ISiteDesigns, SiteDesigns, ISiteDesignRun, ISiteDesignTask, ISiteScriptActionStatus, } from "./types.js";
|
|
4
|
+
declare module "../fi" {
|
|
5
|
+
interface SPFI {
|
|
6
|
+
readonly siteDesigns: ISiteDesigns;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/site-designs/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAElB,OAAO,EAAE,YAAY,EAAe,MAAM,YAAY,CAAC;AAEvD,OAAO,EACH,uBAAuB,EACvB,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACZ,WAAW,EACX,cAAc,EACd,eAAe,EACf,uBAAuB,GAC1B,MAAM,YAAY,CAAC;AAEpB,OAAO,QAAQ,OAAO,CAAC;IACnB,UAAU,IAAI;QACV,QAAQ,CAAC,WAAW,EAAE,YAAY,CAAC;KACtC;CACJ"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SiteDesigns = void 0;
|
|
4
|
+
require("./web.js");
|
|
5
|
+
const fi_js_1 = require("../fi.js");
|
|
6
|
+
const types_js_1 = require("./types.js");
|
|
7
|
+
var types_js_2 = require("./types.js");
|
|
8
|
+
Object.defineProperty(exports, "SiteDesigns", { enumerable: true, get: function () { return types_js_2.SiteDesigns; } });
|
|
9
|
+
Reflect.defineProperty(fi_js_1.SPFI.prototype, "siteDesigns", {
|
|
10
|
+
configurable: true,
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return this.create(types_js_1.SiteDesigns);
|
|
14
|
+
},
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/sp/site-designs/index.ts"],"names":[],"mappings":";;;AAAA,oBAAkB;AAClB,oCAAgC;AAChC,yCAAuD;AAEvD,uCAUoB;AAJhB,uGAAA,WAAW,OAAA;AAYf,OAAO,CAAC,cAAc,CAAC,YAAI,CAAC,SAAS,EAAE,aAAa,EAAE;IAClD,YAAY,EAAE,IAAI;IAClB,UAAU,EAAE,IAAI;IAChB,GAAG,EAAE;QACD,OAAO,IAAI,CAAC,MAAM,CAAC,sBAAW,CAAC,CAAC;IACpC,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { ISPQueryable, _SPQueryable } from "../spqueryable.js";
|
|
2
|
+
export declare class _SiteDesigns extends _SPQueryable {
|
|
3
|
+
constructor(base: string | ISPQueryable, methodName?: string);
|
|
4
|
+
run<T>(props: any): Promise<T>;
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new site design available to users when they create a new site from the SharePoint home page.
|
|
7
|
+
*
|
|
8
|
+
* @param creationInfo A sitedesign creation information object
|
|
9
|
+
*/
|
|
10
|
+
createSiteDesign(creationInfo: ISiteDesignCreationInfo): Promise<ISiteDesignInfo>;
|
|
11
|
+
/**
|
|
12
|
+
* Applies a site design to an existing site collection.
|
|
13
|
+
*
|
|
14
|
+
* @param siteDesignId The ID of the site design to apply.
|
|
15
|
+
* @param webUrl The URL of the site collection where you want to apply the site design.
|
|
16
|
+
*/
|
|
17
|
+
applySiteDesign(siteDesignId: string, webUrl: string): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Gets the list of available site designs
|
|
20
|
+
*/
|
|
21
|
+
getSiteDesigns(): Promise<ISiteDesignInfo[]>;
|
|
22
|
+
/**
|
|
23
|
+
* Gets information about a specific site design.
|
|
24
|
+
* @param id The ID of the site design to get information about.
|
|
25
|
+
*/
|
|
26
|
+
getSiteDesignMetadata(id: string): Promise<ISiteDesignInfo>;
|
|
27
|
+
/**
|
|
28
|
+
* Updates a site design with new values. In the REST call, all parameters are optional except the site script Id.
|
|
29
|
+
* If you had previously set the IsDefault parameter to TRUE and wish it to remain true, you must pass in this parameter again (otherwise it will be reset to FALSE).
|
|
30
|
+
* @param updateInfo A sitedesign update information object
|
|
31
|
+
*/
|
|
32
|
+
updateSiteDesign(updateInfo: ISiteDesignUpdateInfo): Promise<ISiteDesignInfo>;
|
|
33
|
+
/**
|
|
34
|
+
* Deletes a site design.
|
|
35
|
+
* @param id The ID of the site design to delete.
|
|
36
|
+
*/
|
|
37
|
+
deleteSiteDesign(id: string): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Gets a list of principals that have access to a site design.
|
|
40
|
+
* @param id The ID of the site design to get rights information from.
|
|
41
|
+
*/
|
|
42
|
+
getSiteDesignRights(id: string): Promise<ISiteDesignPrincipals[]>;
|
|
43
|
+
/**
|
|
44
|
+
* Grants access to a site design for one or more principals.
|
|
45
|
+
* @param id The ID of the site design to grant rights on.
|
|
46
|
+
* @param principalNames An array of one or more principals to grant view rights.
|
|
47
|
+
* Principals can be users or mail-enabled security groups in the form of "alias" or "alias@<domain name>.com"
|
|
48
|
+
* @param grantedRights Always set to 1. This represents the View right.
|
|
49
|
+
*/
|
|
50
|
+
grantSiteDesignRights(id: string, principalNames: string[], grantedRights?: number): Promise<void>;
|
|
51
|
+
/**
|
|
52
|
+
* Revokes access from a site design for one or more principals.
|
|
53
|
+
* @param id The ID of the site design to revoke rights from.
|
|
54
|
+
* @param principalNames An array of one or more principals to revoke view rights from.
|
|
55
|
+
* If all principals have rights revoked on the site design, the site design becomes viewable to everyone.
|
|
56
|
+
*/
|
|
57
|
+
revokeSiteDesignRights(id: string, principalNames: string[]): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Adds a site design task on the specified web url to be invoked asynchronously.
|
|
60
|
+
* @param webUrl The absolute url of the web on where to create the task
|
|
61
|
+
* @param siteDesignId The ID of the site design to create a task for
|
|
62
|
+
*/
|
|
63
|
+
addSiteDesignTask(webUrl: string, siteDesignId: string): Promise<ISiteDesignTask>;
|
|
64
|
+
/**
|
|
65
|
+
* Adds a site design task on the current web to be invoked asynchronously.
|
|
66
|
+
* @param siteDesignId The ID of the site design to create a task for
|
|
67
|
+
*/
|
|
68
|
+
addSiteDesignTaskToCurrentWeb(siteDesignId: string): Promise<ISiteDesignTask>;
|
|
69
|
+
/**
|
|
70
|
+
* Retrieves the site design task, if the task has finished running null will be returned
|
|
71
|
+
* @param id The ID of the site design task
|
|
72
|
+
*/
|
|
73
|
+
getSiteDesignTask(id: string): Promise<ISiteDesignTask>;
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves a list of site design that have run on a specific web
|
|
76
|
+
* @param webUrl The url of the web where the site design was applied
|
|
77
|
+
* @param siteDesignId (Optional) the site design ID, if not provided will return all site design runs
|
|
78
|
+
*/
|
|
79
|
+
getSiteDesignRun(webUrl: string, siteDesignId?: string): Promise<ISiteDesignRun[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Retrieves the status of a site design that has been run or is still running
|
|
82
|
+
* @param webUrl The url of the web where the site design was applied
|
|
83
|
+
* @param runId the run ID
|
|
84
|
+
*/
|
|
85
|
+
getSiteDesignRunStatus(webUrl: string, runId: string): Promise<ISiteScriptActionStatus[]>;
|
|
86
|
+
}
|
|
87
|
+
export interface ISiteDesigns extends _SiteDesigns {
|
|
88
|
+
}
|
|
89
|
+
export declare const SiteDesigns: (baseUrl: string | ISPQueryable, methodName?: string) => ISiteDesigns;
|
|
90
|
+
/**
|
|
91
|
+
* Result from creating or retrieving a site design
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
export interface ISiteDesignInfo {
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the site design to apply.
|
|
97
|
+
*/
|
|
98
|
+
Id: string;
|
|
99
|
+
/**
|
|
100
|
+
* The display name of the site design.
|
|
101
|
+
*/
|
|
102
|
+
Title: string;
|
|
103
|
+
/**
|
|
104
|
+
* Identifies which base template to add the design to. Use the value 64 for the Team site template, and the value 68 for the Communication site template.
|
|
105
|
+
*/
|
|
106
|
+
WebTemplate: string;
|
|
107
|
+
/**
|
|
108
|
+
* An array of one or more site scripts. Each is identified by an ID. The scripts will run in the order listed.
|
|
109
|
+
*/
|
|
110
|
+
SiteScriptIds: string[];
|
|
111
|
+
/**
|
|
112
|
+
* The display description of site design.
|
|
113
|
+
*/
|
|
114
|
+
Description: string;
|
|
115
|
+
/**
|
|
116
|
+
* The URL of a preview image. If none is specified, SharePoint uses a generic image.
|
|
117
|
+
*/
|
|
118
|
+
PreviewImageUrl: string;
|
|
119
|
+
/**
|
|
120
|
+
* The alt text description of the image for accessibility.
|
|
121
|
+
*/
|
|
122
|
+
PreviewImageAltText: string;
|
|
123
|
+
/**
|
|
124
|
+
* True if the site design is applied as the default site design; otherwise, false.
|
|
125
|
+
* For more information see Customize a default site design https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/customize-default-site-design.
|
|
126
|
+
*/
|
|
127
|
+
IsDefault: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* The version number of the site design
|
|
130
|
+
*/
|
|
131
|
+
Version: string;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Data for creating a site design
|
|
135
|
+
*
|
|
136
|
+
*/
|
|
137
|
+
export interface ISiteDesignCreationInfo {
|
|
138
|
+
/**
|
|
139
|
+
* The display name of the site design.
|
|
140
|
+
*/
|
|
141
|
+
Title: string;
|
|
142
|
+
/**
|
|
143
|
+
* Identifies which base template to add the design to. Use the value 64 for the Team site template, and the value 68 for the Communication site template.
|
|
144
|
+
*/
|
|
145
|
+
WebTemplate: string;
|
|
146
|
+
/**
|
|
147
|
+
* An array of one or more site scripts. Each is identified by an ID. The scripts will run in the order listed.
|
|
148
|
+
*/
|
|
149
|
+
SiteScriptIds?: string[];
|
|
150
|
+
/**
|
|
151
|
+
* (Optional) The display description of site design.
|
|
152
|
+
*/
|
|
153
|
+
Description?: string;
|
|
154
|
+
/**
|
|
155
|
+
* (Optional) The URL of a preview image. If none is specified, SharePoint uses a generic image.
|
|
156
|
+
*/
|
|
157
|
+
PreviewImageUrl?: string;
|
|
158
|
+
/**
|
|
159
|
+
* (Optional) The alt text description of the image for accessibility.
|
|
160
|
+
*/
|
|
161
|
+
PreviewImageAltText?: string;
|
|
162
|
+
/**
|
|
163
|
+
* (Optional) True if the site design is applied as the default site design; otherwise, false.
|
|
164
|
+
* For more information see Customize a default site design https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/customize-default-site-design.
|
|
165
|
+
*/
|
|
166
|
+
IsDefault?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* Optional thumbnailed preview image data for the SiteDesign.
|
|
169
|
+
*/
|
|
170
|
+
ThumbnailUrl?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Design package associated with this SiteDesign.
|
|
173
|
+
*/
|
|
174
|
+
DesignPackageId?: string;
|
|
175
|
+
/**
|
|
176
|
+
* Optional Template Features of the SiteDesign. It will be an user-readable list of what the site design does.
|
|
177
|
+
*
|
|
178
|
+
*/
|
|
179
|
+
TemplateFeatures?: string[];
|
|
180
|
+
/**
|
|
181
|
+
* The supported web templates for this SiteDesign.
|
|
182
|
+
*/
|
|
183
|
+
SupportedWebTemplates?: string[];
|
|
184
|
+
/**
|
|
185
|
+
* If true, indicates that the site design only works on a group-connected site.
|
|
186
|
+
*/
|
|
187
|
+
RequiresGroupConnected?: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* If true, indicates that the site design only works on a teams-connected site.
|
|
190
|
+
*/
|
|
191
|
+
RequiresTeamsConnected?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* If true, indicates that the site design only works on a yammer-connected site.
|
|
194
|
+
*/
|
|
195
|
+
RequiresYammerConnected?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* If true, indicates that the site design only works on an EDU class-connected site.
|
|
198
|
+
*/
|
|
199
|
+
RequiresClassConnected?: boolean;
|
|
200
|
+
/**
|
|
201
|
+
* If true, indicates that the site design only works if the customer has a Syntex license
|
|
202
|
+
*/
|
|
203
|
+
RequiresSyntexLicense?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* The site design is only for the tenant admin scenario.
|
|
206
|
+
*/
|
|
207
|
+
IsTenantAdminOnly?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* The design type indicating whether it is a site or list design.
|
|
210
|
+
*/
|
|
211
|
+
DesignType?: TemplateDesignType;
|
|
212
|
+
/**
|
|
213
|
+
* Indicates the default color associated with list design.
|
|
214
|
+
*/
|
|
215
|
+
ListColor?: ListDesignColor;
|
|
216
|
+
/**
|
|
217
|
+
* Indicates the default icon associated with list design.
|
|
218
|
+
*/
|
|
219
|
+
ListIcon?: ListDesignIcon;
|
|
220
|
+
/**
|
|
221
|
+
* Indicates the set of platforms the list design should be available on. (A List design can target multiple platforms.)
|
|
222
|
+
*/
|
|
223
|
+
TargetPlatforms?: string[];
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Data for updating a site design
|
|
227
|
+
*
|
|
228
|
+
*/
|
|
229
|
+
export interface ISiteDesignUpdateInfo extends Partial<ISiteDesignCreationInfo> {
|
|
230
|
+
Id: string;
|
|
231
|
+
}
|
|
232
|
+
export declare const enum TemplateDesignType {
|
|
233
|
+
Site = 0,
|
|
234
|
+
List = 1
|
|
235
|
+
}
|
|
236
|
+
export declare const enum ListDesignColor {
|
|
237
|
+
DarkRed = 0,
|
|
238
|
+
Red = 1,
|
|
239
|
+
Orange = 2,
|
|
240
|
+
Green = 3,
|
|
241
|
+
DarkGreen = 4,
|
|
242
|
+
Teal = 5,
|
|
243
|
+
Blue = 6,
|
|
244
|
+
NavyBlue = 7,
|
|
245
|
+
BluePurple = 8,
|
|
246
|
+
DarkBlue = 9,
|
|
247
|
+
Lavendar = 10,
|
|
248
|
+
Pink = 11
|
|
249
|
+
}
|
|
250
|
+
export declare const enum ListDesignIcon {
|
|
251
|
+
Bug = 0,
|
|
252
|
+
Calendar = 1,
|
|
253
|
+
BullseyeTarget = 2,
|
|
254
|
+
ClipboardList = 3,
|
|
255
|
+
Airplane = 4,
|
|
256
|
+
Rocket = 5,
|
|
257
|
+
Color = 6,
|
|
258
|
+
Insights = 7,
|
|
259
|
+
CubeShape = 8,
|
|
260
|
+
TestBeakerSolid = 9,
|
|
261
|
+
Robot = 10,
|
|
262
|
+
Savings = 11
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Result from retrieving the rights for a site design
|
|
266
|
+
*
|
|
267
|
+
*/
|
|
268
|
+
export interface ISiteDesignPrincipals {
|
|
269
|
+
/**
|
|
270
|
+
* Display name
|
|
271
|
+
*/
|
|
272
|
+
DisplayName: string;
|
|
273
|
+
/**
|
|
274
|
+
* The principal name
|
|
275
|
+
*/
|
|
276
|
+
PrincipalName: string;
|
|
277
|
+
/**
|
|
278
|
+
* The principal name
|
|
279
|
+
*/
|
|
280
|
+
Rights: number;
|
|
281
|
+
}
|
|
282
|
+
export interface ISiteDesignTask {
|
|
283
|
+
/**
|
|
284
|
+
* The ID of the site design task
|
|
285
|
+
*/
|
|
286
|
+
ID: string;
|
|
287
|
+
/**
|
|
288
|
+
* Logonname of the user who created the task
|
|
289
|
+
*/
|
|
290
|
+
LogonName: string;
|
|
291
|
+
/**
|
|
292
|
+
* The ID of the site design the task is running on
|
|
293
|
+
*/
|
|
294
|
+
SiteDesignID: string;
|
|
295
|
+
/**
|
|
296
|
+
* The ID of the site collection
|
|
297
|
+
*/
|
|
298
|
+
SiteID: string;
|
|
299
|
+
/**
|
|
300
|
+
* The ID of the web
|
|
301
|
+
*/
|
|
302
|
+
WebID: string;
|
|
303
|
+
}
|
|
304
|
+
export interface ISiteScriptActionStatus {
|
|
305
|
+
/**
|
|
306
|
+
* Action index
|
|
307
|
+
*/
|
|
308
|
+
ActionIndex: number;
|
|
309
|
+
/**
|
|
310
|
+
* Action key
|
|
311
|
+
*/
|
|
312
|
+
ActionKey: string;
|
|
313
|
+
/**
|
|
314
|
+
* Action title
|
|
315
|
+
*/
|
|
316
|
+
ActionTitle: string;
|
|
317
|
+
/**
|
|
318
|
+
* Last modified
|
|
319
|
+
*/
|
|
320
|
+
LastModified: number;
|
|
321
|
+
/**
|
|
322
|
+
* Ordinal index
|
|
323
|
+
*/
|
|
324
|
+
OrdinalIndex: string;
|
|
325
|
+
/**
|
|
326
|
+
* Outcome code
|
|
327
|
+
*/
|
|
328
|
+
OutcomeCode: number;
|
|
329
|
+
/**
|
|
330
|
+
* Outcome text
|
|
331
|
+
*/
|
|
332
|
+
OutcomeText: string;
|
|
333
|
+
/**
|
|
334
|
+
* Site script id
|
|
335
|
+
*/
|
|
336
|
+
SiteScriptID: string;
|
|
337
|
+
/**
|
|
338
|
+
* Site script index
|
|
339
|
+
*/
|
|
340
|
+
SiteScriptIndex: number;
|
|
341
|
+
/**
|
|
342
|
+
* Site script title
|
|
343
|
+
*/
|
|
344
|
+
SiteScriptTitle: string;
|
|
345
|
+
}
|
|
346
|
+
export interface ISiteDesignRun {
|
|
347
|
+
/**
|
|
348
|
+
* The ID of the site design run
|
|
349
|
+
*/
|
|
350
|
+
ID: string;
|
|
351
|
+
/**
|
|
352
|
+
* The ID of the site design that was applied
|
|
353
|
+
*/
|
|
354
|
+
SiteDesignID: string;
|
|
355
|
+
/**
|
|
356
|
+
* The title of the site design that was applied
|
|
357
|
+
*/
|
|
358
|
+
SiteDesignTitle: string;
|
|
359
|
+
/**
|
|
360
|
+
* The version of the site design that was applied
|
|
361
|
+
*/
|
|
362
|
+
SiteDesignVersion: number;
|
|
363
|
+
/**
|
|
364
|
+
* The site id where the site design was applied
|
|
365
|
+
*/
|
|
366
|
+
SiteID: string;
|
|
367
|
+
/**
|
|
368
|
+
* The start time when the site design was applied
|
|
369
|
+
*/
|
|
370
|
+
StartTime: number;
|
|
371
|
+
/**
|
|
372
|
+
* The web id where the site design was applied
|
|
373
|
+
*/
|
|
374
|
+
WebID: string;
|
|
375
|
+
}
|
|
376
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../packages/sp/site-designs/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAU,MAAM,mBAAmB,CAAC;AAKvE,qBAAa,YAAa,SAAQ,YAAY;gBAE9B,IAAI,EAAE,MAAM,GAAG,YAAY,EAAE,UAAU,SAAK;IAKjD,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;IAIrC;;;;OAIG;IACI,gBAAgB,CAAC,YAAY,EAAE,uBAAuB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIxF;;;;;OAKG;IACI,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E;;OAEG;IACI,cAAc,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;IAInD;;;OAGG;IACI,qBAAqB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAIlE;;;;OAIG;IACI,gBAAgB,CAAC,UAAU,EAAE,qBAAqB,GAAG,OAAO,CAAC,eAAe,CAAC;IAIpF;;;OAGG;IACI,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD;;;OAGG;IACI,mBAAmB,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAIxE;;;;;;OAMG;IACI,qBAAq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