Merge pull request #2043 from techienickb/master
Fix: Missing '/members' in the private channel membership url from react-teams-membership-updater
This commit is contained in:
commit
0e1cca496c
|
@ -12,7 +12,7 @@
|
||||||
"websiteUrl": "https://nbdev.uk",
|
"websiteUrl": "https://nbdev.uk",
|
||||||
"mpnId": "000000"
|
"mpnId": "000000"
|
||||||
},
|
},
|
||||||
"version": "1.0.2.0",
|
"version": "1.0.2.1",
|
||||||
"includeClientSideAssets": true,
|
"includeClientSideAssets": true,
|
||||||
"isDomainIsolated": false,
|
"isDomainIsolated": false,
|
||||||
"webApiPermissionRequests": [
|
"webApiPermissionRequests": [
|
||||||
|
|
|
@ -639,9 +639,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/runtime": {
|
"@babel/runtime": {
|
||||||
"version": "7.14.6",
|
"version": "7.15.4",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.15.4.tgz",
|
||||||
"integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==",
|
"integrity": "sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"regenerator-runtime": "^0.13.4"
|
"regenerator-runtime": "^0.13.4"
|
||||||
}
|
}
|
||||||
|
@ -789,6 +789,22 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@fluentui/merge-styles": {
|
||||||
|
"version": "8.1.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fluentui/merge-styles/-/merge-styles-8.1.5.tgz",
|
||||||
|
"integrity": "sha512-hmEb5LnOxCTpM/6oJQJI0w5AlYzwrceozPgsMdOF5BuT5MkXPlXLK3L2auzXGNYHkoGiouH61ImsS/TSM0mV/g==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/set-version": "^8.1.4",
|
||||||
|
"tslib": "^2.1.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": {
|
||||||
|
"version": "2.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
|
||||||
|
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"@fluentui/react-bindings": {
|
"@fluentui/react-bindings": {
|
||||||
"version": "0.51.7",
|
"version": "0.51.7",
|
||||||
"resolved": "https://registry.npmjs.org/@fluentui/react-bindings/-/react-bindings-0.51.7.tgz",
|
"resolved": "https://registry.npmjs.org/@fluentui/react-bindings/-/react-bindings-0.51.7.tgz",
|
||||||
|
@ -888,6 +904,33 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@fluentui/react-hooks": {
|
||||||
|
"version": "8.3.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fluentui/react-hooks/-/react-hooks-8.3.2.tgz",
|
||||||
|
"integrity": "sha512-mGmDCaUjavYj4Bv/IPoNix4HMXX2ZPnPMfyH5X0QjiFEeSuOFlIM6By0sV6Vf30dsjoHNdUUsU461axtFTRVsg==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/react-window-provider": "^2.1.4",
|
||||||
|
"@fluentui/set-version": "^8.1.4",
|
||||||
|
"@fluentui/utilities": "^8.3.2",
|
||||||
|
"tslib": "^2.1.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@fluentui/react-window-provider": {
|
||||||
|
"version": "2.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fluentui/react-window-provider/-/react-window-provider-2.1.4.tgz",
|
||||||
|
"integrity": "sha512-RztmJ7ol2eMDr3NCs2OcAA1cQjZdPPUEa4aurgh4Aq+JM/BiY0aK6S4SeFtVD7F8Q7PBOz/xwOG4HlnSMQtlsg==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/set-version": "^8.1.4",
|
||||||
|
"tslib": "^2.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tslib": {
|
||||||
|
"version": "2.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
|
||||||
|
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"@fluentui/react-icons-northstar": {
|
"@fluentui/react-icons-northstar": {
|
||||||
"version": "0.51.7",
|
"version": "0.51.7",
|
||||||
"resolved": "https://registry.npmjs.org/@fluentui/react-icons-northstar/-/react-icons-northstar-0.51.7.tgz",
|
"resolved": "https://registry.npmjs.org/@fluentui/react-icons-northstar/-/react-icons-northstar-0.51.7.tgz",
|
||||||
|
@ -986,6 +1029,21 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@fluentui/set-version": {
|
||||||
|
"version": "8.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fluentui/set-version/-/set-version-8.1.4.tgz",
|
||||||
|
"integrity": "sha512-2otMyJ+s+W+hjBD4BKjwYKKinJUDeIKYKz93qKrrJS0i3fKfftNroy9dHFlIblZ7n747L334plLi3bzQO1bnvA==",
|
||||||
|
"requires": {
|
||||||
|
"tslib": "^2.1.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"tslib": {
|
||||||
|
"version": "2.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
|
||||||
|
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"@fluentui/state": {
|
"@fluentui/state": {
|
||||||
"version": "0.51.7",
|
"version": "0.51.7",
|
||||||
"resolved": "https://registry.npmjs.org/@fluentui/state/-/state-0.51.7.tgz",
|
"resolved": "https://registry.npmjs.org/@fluentui/state/-/state-0.51.7.tgz",
|
||||||
|
@ -1022,6 +1080,33 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@fluentui/utilities": {
|
||||||
|
"version": "8.3.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fluentui/utilities/-/utilities-8.3.2.tgz",
|
||||||
|
"integrity": "sha512-XP/NG3jg8LqLzU139SuNzO01nu7IAizlnC9KWNkYxrV5Hc9pGrW/seKloc7F7RVK36Vr5l4gl3DXX9lhUZUP/Q==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/dom-utilities": "^2.1.4",
|
||||||
|
"@fluentui/merge-styles": "^8.1.5",
|
||||||
|
"@fluentui/set-version": "^8.1.4",
|
||||||
|
"tslib": "^2.1.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@fluentui/dom-utilities": {
|
||||||
|
"version": "2.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fluentui/dom-utilities/-/dom-utilities-2.1.4.tgz",
|
||||||
|
"integrity": "sha512-+gsAnEjgoKB37o+tsMdSLtgqZ9z2PzpvnHx/2IqhRWjQQd7Xc7MbQsbZaQ5qfkioFHLnWGc/+WORpqKPy/sWrg==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/set-version": "^8.1.4",
|
||||||
|
"tslib": "^2.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tslib": {
|
||||||
|
"version": "2.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz",
|
||||||
|
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"@istanbuljs/load-nyc-config": {
|
"@istanbuljs/load-nyc-config": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
|
||||||
|
@ -3826,15 +3911,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@pnp/spfx-controls-react": {
|
"@pnp/spfx-controls-react": {
|
||||||
"version": "3.2.1",
|
"version": "3.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/@pnp/spfx-controls-react/-/spfx-controls-react-3.2.1.tgz",
|
"resolved": "https://registry.npmjs.org/@pnp/spfx-controls-react/-/spfx-controls-react-3.3.0.tgz",
|
||||||
"integrity": "sha512-qm/6aoUwlyAyYnAbfLO/sj2CNj03jkRctPd6KfLc4uUrsJmksbdP2Fn99a6/z1uIGPOx54Q4qzN20AD33LIFOg==",
|
"integrity": "sha512-su5fhn3mtrlm1ME6UoFVgHNdMUWxogehM4ORVooFZMu6UN4pIcFCy9d/iwDsnGW8KW1eSEjrAFCImJD23zulWA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
|
"@fluentui/react-hooks": "^8.2.6",
|
||||||
"@fluentui/react-northstar": "0.51.3",
|
"@fluentui/react-northstar": "0.51.3",
|
||||||
"@microsoft/mgt-react": "2.2.0",
|
"@microsoft/mgt-react": "2.2.0",
|
||||||
"@microsoft/mgt-spfx": "2.2.0",
|
"@microsoft/mgt-spfx": "2.2.0",
|
||||||
"@microsoft/sp-core-library": "1.12.1",
|
"@microsoft/sp-core-library": "1.12.1",
|
||||||
"@microsoft/sp-listview-extensibility": "1.12.1",
|
"@microsoft/sp-listview-extensibility": "1.12.1",
|
||||||
|
"@microsoft/sp-loader": "1.12.1",
|
||||||
"@microsoft/sp-lodash-subset": "1.12.1",
|
"@microsoft/sp-lodash-subset": "1.12.1",
|
||||||
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
|
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
|
||||||
"@microsoft/sp-property-pane": "1.12.1",
|
"@microsoft/sp-property-pane": "1.12.1",
|
||||||
|
@ -3842,16 +3929,21 @@
|
||||||
"@pnp/sp": "2.5.0",
|
"@pnp/sp": "2.5.0",
|
||||||
"@pnp/telemetry-js": "2.0.0",
|
"@pnp/telemetry-js": "2.0.0",
|
||||||
"@popperjs/core": "2.5.4",
|
"@popperjs/core": "2.5.4",
|
||||||
|
"@types/react-mentions": "^4.1.3",
|
||||||
"@uifabric/icons": "7.3.0",
|
"@uifabric/icons": "7.3.0",
|
||||||
"animate.css": "^4.1.1",
|
"animate.css": "^4.1.1",
|
||||||
"chart.js": "2.9.4",
|
"chart.js": "2.9.4",
|
||||||
"color": "3.1.2",
|
"color": "3.1.2",
|
||||||
|
"date-fns": "^2.22.1",
|
||||||
|
"he": "^1.2.0",
|
||||||
"lodash": "4.17.21",
|
"lodash": "4.17.21",
|
||||||
"office-ui-fabric-react": "7.156.0",
|
"office-ui-fabric-react": "7.156.0",
|
||||||
"react": "16.9.0",
|
"react": "16.9.0",
|
||||||
"react-accessible-accordion": "^3.3.3",
|
"react-accessible-accordion": "^3.3.3",
|
||||||
"react-dom": "16.9.0",
|
"react-dom": "16.9.0",
|
||||||
|
"react-mentions": "^4.3.0",
|
||||||
"react-quill": "1.3.5",
|
"react-quill": "1.3.5",
|
||||||
|
"regexify-string": "^1.0.16",
|
||||||
"spfx-uifabric-themes": "^0.8.5"
|
"spfx-uifabric-themes": "^0.8.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -3885,13 +3977,28 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@uifabric/icons": {
|
"@uifabric/icons": {
|
||||||
"version": "7.5.23",
|
"version": "7.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/@uifabric/icons/-/icons-7.5.23.tgz",
|
"resolved": "https://registry.npmjs.org/@uifabric/icons/-/icons-7.6.0.tgz",
|
||||||
"integrity": "sha512-eIvUbH0EWgFgdfgFfINgqS2ZVZTyJ/9n5nR4bmcyAe75wsKxm4ser4WIT9IvaBF6+HFVfjUF/v6+VMD7y2LBng==",
|
"integrity": "sha512-Xx+CVMYOafJDijllYYkgE22lvKpKaodrB9XUgVSI77QveGcOV+x9z5FVa5CzwERb6Zjoafyj7q7SmH/EOi+AZw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@uifabric/set-version": "^7.0.24",
|
"@uifabric/set-version": "^7.0.24",
|
||||||
"@uifabric/styling": "^7.19.0",
|
"@uifabric/styling": "^7.19.1",
|
||||||
"tslib": "^1.10.0"
|
"tslib": "^1.10.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@uifabric/styling": {
|
||||||
|
"version": "7.19.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@uifabric/styling/-/styling-7.19.1.tgz",
|
||||||
|
"integrity": "sha512-1yvfVJ9HSB7TVUKocjs/ij3bsVHtfBRbhnhDtdMS9Fw13abf1IBOpwx8LPMGMt1nbeAmWbzlBI+Deoyij9lstA==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/theme": "^1.7.4",
|
||||||
|
"@microsoft/load-themed-styles": "^1.10.26",
|
||||||
|
"@uifabric/merge-styles": "^7.19.2",
|
||||||
|
"@uifabric/set-version": "^7.0.24",
|
||||||
|
"@uifabric/utilities": "^7.33.5",
|
||||||
|
"tslib": "^1.10.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4785,8 +4892,7 @@
|
||||||
"@types/prop-types": {
|
"@types/prop-types": {
|
||||||
"version": "15.7.4",
|
"version": "15.7.4",
|
||||||
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz",
|
"resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.4.tgz",
|
||||||
"integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ==",
|
"integrity": "sha512-rZ5drC/jWjrArrS8BR6SIr4cWpW09RNTYt9AMZo3Jwwif+iacXAqgVjm0B0Bv/S1jhDXKHqRVNCbACkJ89RAnQ=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"@types/q": {
|
"@types/q": {
|
||||||
"version": "1.5.5",
|
"version": "1.5.5",
|
||||||
|
@ -4803,10 +4909,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@types/react": {
|
"@types/react": {
|
||||||
"version": "17.0.18",
|
"version": "17.0.22",
|
||||||
"resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.18.tgz",
|
"resolved": "https://registry.npmjs.org/@types/react/-/react-17.0.22.tgz",
|
||||||
"integrity": "sha512-YTLgu7oS5zvSqq49X5Iue5oAbVGhgPc5Au29SJC4VeE17V6gASoOxVkUDy9pXFMRFxCWCD9fLeweNFizo3UzOg==",
|
"integrity": "sha512-kq/BMeaAVLJM6Pynh8C2rnr/drCK+/5ksH0ch9asz+8FW3DscYCIEFtCeYTFeIx/ubvOsMXmRfy7qEJ76gM96A==",
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
"requires": {
|
||||||
"@types/prop-types": "*",
|
"@types/prop-types": "*",
|
||||||
"@types/scheduler": "*",
|
"@types/scheduler": "*",
|
||||||
|
@ -4814,10 +4919,9 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"csstype": {
|
"csstype": {
|
||||||
"version": "3.0.8",
|
"version": "3.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz",
|
||||||
"integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==",
|
"integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw=="
|
||||||
"dev": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -4830,6 +4934,14 @@
|
||||||
"@types/react": "*"
|
"@types/react": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@types/react-mentions": {
|
||||||
|
"version": "4.1.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/react-mentions/-/react-mentions-4.1.4.tgz",
|
||||||
|
"integrity": "sha512-YotG4kzzVIlkn89ePlVqY29PV+slJHvywMqNyxPYwthgi7shA1QTPluhIV/jnp8rdkeR2FmbGl3J0dt8/5LMmA==",
|
||||||
|
"requires": {
|
||||||
|
"@types/react": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@types/requirejs": {
|
"@types/requirejs": {
|
||||||
"version": "2.1.29",
|
"version": "2.1.29",
|
||||||
"resolved": "https://registry.npmjs.org/@types/requirejs/-/requirejs-2.1.29.tgz",
|
"resolved": "https://registry.npmjs.org/@types/requirejs/-/requirejs-2.1.29.tgz",
|
||||||
|
@ -4848,8 +4960,7 @@
|
||||||
"@types/scheduler": {
|
"@types/scheduler": {
|
||||||
"version": "0.16.2",
|
"version": "0.16.2",
|
||||||
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz",
|
"resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz",
|
||||||
"integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==",
|
"integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"@types/semver": {
|
"@types/semver": {
|
||||||
"version": "7.3.7",
|
"version": "7.3.7",
|
||||||
|
@ -8436,9 +8547,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"csstype": {
|
"csstype": {
|
||||||
"version": "2.6.17",
|
"version": "2.6.18",
|
||||||
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.17.tgz",
|
"resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.18.tgz",
|
||||||
"integrity": "sha512-u1wmTI1jJGzCJzWndZo8mk4wnPTZd1eOIYTYvuEyOQGfmDl3TrabCCfKnOC86FZwW/9djqTl933UF/cS425i9A=="
|
"integrity": "sha512-RSU6Hyeg14am3Ah4VZEmeX8H7kLwEEirXe6aU2IPfKNvhXwTflK5HQRDNI0ypQXoqmm+QPyG2IaPuQE5zMwSIQ=="
|
||||||
},
|
},
|
||||||
"currently-unhandled": {
|
"currently-unhandled": {
|
||||||
"version": "0.4.1",
|
"version": "0.4.1",
|
||||||
|
@ -8510,6 +8621,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"date-fns": {
|
||||||
|
"version": "2.24.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.24.0.tgz",
|
||||||
|
"integrity": "sha512-6ujwvwgPID6zbI0o7UbURi2vlLDR9uP26+tW6Lg+Ji3w7dd0i3DOcjcClLjLPranT60SSEFBwdSyYwn/ZkPIuw=="
|
||||||
|
},
|
||||||
"dateformat": {
|
"dateformat": {
|
||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz",
|
||||||
|
@ -8874,9 +8990,9 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"csstype": {
|
"csstype": {
|
||||||
"version": "3.0.8",
|
"version": "3.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.9.tgz",
|
||||||
"integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw=="
|
"integrity": "sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -11632,8 +11748,7 @@
|
||||||
"he": {
|
"he": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz",
|
||||||
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==",
|
"integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw=="
|
||||||
"dev": true
|
|
||||||
},
|
},
|
||||||
"hex-color-regex": {
|
"hex-color-regex": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
|
@ -12129,9 +12244,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"inline-style-expand-shorthand": {
|
"inline-style-expand-shorthand": {
|
||||||
"version": "1.2.0",
|
"version": "1.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/inline-style-expand-shorthand/-/inline-style-expand-shorthand-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/inline-style-expand-shorthand/-/inline-style-expand-shorthand-1.3.0.tgz",
|
||||||
"integrity": "sha512-YdteDMlG1StHeEXF7opaVfPMCIVO8B4TPjE6kZLwdhZdgjH3Q7lxwSe+89sMhdPN77F3quOYhBbqBE0+KXuHpA=="
|
"integrity": "sha512-cYW3cf2Tzi43jjHk8yyHAAnwgVXOC0jdmv7QkHMmha2zI2znhWh8LEC+Enb+PHcZi9afsbcP4JHyr5C08jDRHA=="
|
||||||
},
|
},
|
||||||
"inpath": {
|
"inpath": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
|
@ -12193,6 +12308,14 @@
|
||||||
"integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==",
|
"integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
|
"invariant": {
|
||||||
|
"version": "2.2.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
|
||||||
|
"integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
|
||||||
|
"requires": {
|
||||||
|
"loose-envify": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"invert-kv": {
|
"invert-kv": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz",
|
||||||
|
@ -16541,32 +16664,70 @@
|
||||||
"integrity": "sha512-gcBs5HHr7tjkvk/+Ls10ttb3jEllRn7SvJitX/kx/gQq8BiFMSMKr1w+oNqXlh4EgkBHWUlJVPrYUu1KW/jVaQ=="
|
"integrity": "sha512-gcBs5HHr7tjkvk/+Ls10ttb3jEllRn7SvJitX/kx/gQq8BiFMSMKr1w+oNqXlh4EgkBHWUlJVPrYUu1KW/jVaQ=="
|
||||||
},
|
},
|
||||||
"office-ui-fabric-react": {
|
"office-ui-fabric-react": {
|
||||||
"version": "7.174.0",
|
"version": "7.176.1",
|
||||||
"resolved": "https://registry.npmjs.org/office-ui-fabric-react/-/office-ui-fabric-react-7.174.0.tgz",
|
"resolved": "https://registry.npmjs.org/office-ui-fabric-react/-/office-ui-fabric-react-7.176.1.tgz",
|
||||||
"integrity": "sha512-hnuISSifwA7nSihuxpdNlh5plAmaPJqcDZUdhswak964Kb/8/ckMz/7BRQf+u9pGNs6LR14iDfRF/4RjLLzs6g==",
|
"integrity": "sha512-dtONShq8XmhRR5J3oX/vwKTWhA49oBSmIXETkGWMHZ68oSBcykxwh4DsM1w7Bi2fpZD2SFlCkv6QDoJiezhxmA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@fluentui/date-time-utilities": "^7.9.1",
|
"@fluentui/date-time-utilities": "^7.9.1",
|
||||||
"@fluentui/react-focus": "^7.17.6",
|
"@fluentui/react-focus": "^7.18.0",
|
||||||
"@fluentui/react-window-provider": "^1.0.2",
|
"@fluentui/react-window-provider": "^1.0.2",
|
||||||
"@microsoft/load-themed-styles": "^1.10.26",
|
"@microsoft/load-themed-styles": "^1.10.26",
|
||||||
"@uifabric/foundation": "^7.9.26",
|
"@uifabric/foundation": "^7.10.0",
|
||||||
"@uifabric/icons": "^7.5.23",
|
"@uifabric/icons": "^7.6.0",
|
||||||
"@uifabric/merge-styles": "^7.19.2",
|
"@uifabric/merge-styles": "^7.19.2",
|
||||||
"@uifabric/react-hooks": "^7.14.0",
|
"@uifabric/react-hooks": "^7.14.0",
|
||||||
"@uifabric/set-version": "^7.0.24",
|
"@uifabric/set-version": "^7.0.24",
|
||||||
"@uifabric/styling": "^7.19.0",
|
"@uifabric/styling": "^7.19.1",
|
||||||
"@uifabric/utilities": "^7.33.5",
|
"@uifabric/utilities": "^7.33.5",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"tslib": "^1.10.0"
|
"tslib": "^1.10.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@fluentui/react-focus": {
|
||||||
|
"version": "7.18.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@fluentui/react-focus/-/react-focus-7.18.0.tgz",
|
||||||
|
"integrity": "sha512-+ykERyl/Cah9ixBqYtA4DWG5UDg61oNd0T78xKZ/ZeKzAUk2LanEQd2QQ/VX6/UFqWrHsK3IiEUFmZCQhp4wfQ==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/keyboard-key": "^0.2.12",
|
||||||
|
"@uifabric/merge-styles": "^7.19.2",
|
||||||
|
"@uifabric/set-version": "^7.0.24",
|
||||||
|
"@uifabric/styling": "^7.19.1",
|
||||||
|
"@uifabric/utilities": "^7.33.5",
|
||||||
|
"tslib": "^1.10.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@uifabric/foundation": {
|
||||||
|
"version": "7.10.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@uifabric/foundation/-/foundation-7.10.0.tgz",
|
||||||
|
"integrity": "sha512-rUVRSNvzWPUpWPJINpogsk01m4dzIDf9CbIbJNAq+SLsVvxk9yRoLfnPwX0ZYVpFqUQxYxnII8lmWdEQzoExmQ==",
|
||||||
|
"requires": {
|
||||||
|
"@uifabric/merge-styles": "^7.19.2",
|
||||||
|
"@uifabric/set-version": "^7.0.24",
|
||||||
|
"@uifabric/styling": "^7.19.1",
|
||||||
|
"@uifabric/utilities": "^7.33.5",
|
||||||
|
"tslib": "^1.10.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@uifabric/icons": {
|
"@uifabric/icons": {
|
||||||
"version": "7.5.23",
|
"version": "7.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/@uifabric/icons/-/icons-7.5.23.tgz",
|
"resolved": "https://registry.npmjs.org/@uifabric/icons/-/icons-7.6.0.tgz",
|
||||||
"integrity": "sha512-eIvUbH0EWgFgdfgFfINgqS2ZVZTyJ/9n5nR4bmcyAe75wsKxm4ser4WIT9IvaBF6+HFVfjUF/v6+VMD7y2LBng==",
|
"integrity": "sha512-Xx+CVMYOafJDijllYYkgE22lvKpKaodrB9XUgVSI77QveGcOV+x9z5FVa5CzwERb6Zjoafyj7q7SmH/EOi+AZw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@uifabric/set-version": "^7.0.24",
|
"@uifabric/set-version": "^7.0.24",
|
||||||
"@uifabric/styling": "^7.19.0",
|
"@uifabric/styling": "^7.19.1",
|
||||||
|
"tslib": "^1.10.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@uifabric/styling": {
|
||||||
|
"version": "7.19.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/@uifabric/styling/-/styling-7.19.1.tgz",
|
||||||
|
"integrity": "sha512-1yvfVJ9HSB7TVUKocjs/ij3bsVHtfBRbhnhDtdMS9Fw13abf1IBOpwx8LPMGMt1nbeAmWbzlBI+Deoyij9lstA==",
|
||||||
|
"requires": {
|
||||||
|
"@fluentui/theme": "^1.7.4",
|
||||||
|
"@microsoft/load-themed-styles": "^1.10.26",
|
||||||
|
"@uifabric/merge-styles": "^7.19.2",
|
||||||
|
"@uifabric/set-version": "^7.0.24",
|
||||||
|
"@uifabric/utilities": "^7.33.5",
|
||||||
"tslib": "^1.10.0"
|
"tslib": "^1.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -18269,9 +18430,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"react-accessible-accordion": {
|
"react-accessible-accordion": {
|
||||||
"version": "3.3.4",
|
"version": "3.3.5",
|
||||||
"resolved": "https://registry.npmjs.org/react-accessible-accordion/-/react-accessible-accordion-3.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/react-accessible-accordion/-/react-accessible-accordion-3.3.5.tgz",
|
||||||
"integrity": "sha512-EUq+KmVRIIG5u1fR5XIbb2JU7w7NouLjuyfuPvnhuDIfNNWNYap1I8ijn2rdA6OQi1gGSRGbVzHs+3wxH/M0Sw=="
|
"integrity": "sha512-yCh3tx+jNuOPs+m58LOBFTGDEaGvM8UfuCNznr855FDAWzwV8V/ZH/TVBvgqH0npP58KrrVrHpj4jcy0EE5hEw=="
|
||||||
},
|
},
|
||||||
"react-ace": {
|
"react-ace": {
|
||||||
"version": "5.8.0",
|
"version": "5.8.0",
|
||||||
|
@ -18323,13 +18484,34 @@
|
||||||
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz",
|
||||||
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
|
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ=="
|
||||||
},
|
},
|
||||||
"react-papaparse": {
|
"react-mentions": {
|
||||||
"version": "3.17.1",
|
"version": "4.3.0",
|
||||||
"resolved": "https://registry.npmjs.org/react-papaparse/-/react-papaparse-3.17.1.tgz",
|
"resolved": "https://registry.npmjs.org/react-mentions/-/react-mentions-4.3.0.tgz",
|
||||||
"integrity": "sha512-Pe/eheSNMDJzJJWVtryp4A3GjzMzkop1G+a3xNPsBCkPN3YzgX3ed4Vfb4kbMjbYNqS3k2gevXjszHtyFZIWtg==",
|
"integrity": "sha512-qr60FhczwzDX/0ZHWKaV8nriDx0a/+totqa7z1jGiz8YipNMp3ReAJMfA+UUlIVj1lnbCzpFUAo/bTQBW0IVlg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@types/papaparse": "^5.0.4",
|
"@babel/runtime": "7.4.5",
|
||||||
"papaparse": "^5.2.0"
|
"invariant": "^2.2.4",
|
||||||
|
"prop-types": "^15.5.8",
|
||||||
|
"substyle": "^9.1.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/runtime": {
|
||||||
|
"version": "7.4.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.5.tgz",
|
||||||
|
"integrity": "sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ==",
|
||||||
|
"requires": {
|
||||||
|
"regenerator-runtime": "^0.13.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"react-papaparse": {
|
||||||
|
"version": "3.17.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/react-papaparse/-/react-papaparse-3.17.2.tgz",
|
||||||
|
"integrity": "sha512-FiQPpEpywmgSVojRuN0I5kg35IPNOBo1Ls6xqgj7GuXszT2pPPfwj8TxqwlE6M9M0BnqQCpCa6j1QZy6wZKfyA==",
|
||||||
|
"requires": {
|
||||||
|
"@types/papaparse": "^5.2.6",
|
||||||
|
"papaparse": "^5.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"react-quill": {
|
"react-quill": {
|
||||||
|
@ -18635,9 +18817,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"regenerator-runtime": {
|
"regenerator-runtime": {
|
||||||
"version": "0.13.7",
|
"version": "0.13.9",
|
||||||
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz",
|
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz",
|
||||||
"integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew=="
|
"integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA=="
|
||||||
},
|
},
|
||||||
"regex-not": {
|
"regex-not": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
|
@ -18649,6 +18831,11 @@
|
||||||
"safe-regex": "^1.1.0"
|
"safe-regex": "^1.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"regexify-string": {
|
||||||
|
"version": "1.0.16",
|
||||||
|
"resolved": "https://registry.npmjs.org/regexify-string/-/regexify-string-1.0.16.tgz",
|
||||||
|
"integrity": "sha512-bR1smB6mGdHzjDyRTOA4TKXGr4VLGGjmArk1nMt37Ii6TjeOOg+WA0UBKIwk4y9UiHzS3JhlSnzyU2m+vvrM6g=="
|
||||||
|
},
|
||||||
"regexp.prototype.flags": {
|
"regexp.prototype.flags": {
|
||||||
"version": "1.3.1",
|
"version": "1.3.1",
|
||||||
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz",
|
"resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz",
|
||||||
|
@ -18947,9 +19134,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"rtl-css-js": {
|
"rtl-css-js": {
|
||||||
"version": "1.14.1",
|
"version": "1.14.2",
|
||||||
"resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.14.1.tgz",
|
"resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.14.2.tgz",
|
||||||
"integrity": "sha512-G9N1s/6329FpJr8k9e1U/Lg0IDWThv99sb7k0IrXHjSnubxe01h52/ajsPRafJK1/2Vqrhz3VKLe3E1dx6jS9Q==",
|
"integrity": "sha512-t6Wc/wpqm8s3kuXAV6tL/T7VS6n0XszzX58CgCsLj3O2xi9ITSLfzYhtl+GKyxCi/3QEqVctOJQwCiDzb2vteQ==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/runtime": "^7.1.2"
|
"@babel/runtime": "^7.1.2"
|
||||||
}
|
}
|
||||||
|
@ -20415,6 +20602,15 @@
|
||||||
"cssjanus": "^1.3.0"
|
"cssjanus": "^1.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"substyle": {
|
||||||
|
"version": "9.4.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/substyle/-/substyle-9.4.1.tgz",
|
||||||
|
"integrity": "sha512-VOngeq/W1/UkxiGzeqVvDbGDPM8XgUyJVWjrqeh+GgKqspEPiLYndK+XRcsKUHM5Muz/++1ctJ1QCF/OqRiKWA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/runtime": "^7.3.4",
|
||||||
|
"invariant": "^2.2.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
"sudo": {
|
"sudo": {
|
||||||
"version": "1.0.3",
|
"version": "1.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/sudo/-/sudo-1.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/sudo/-/sudo-1.0.3.tgz",
|
||||||
|
|
|
@ -15,12 +15,12 @@
|
||||||
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
|
"@microsoft/sp-office-ui-fabric-core": "1.12.1",
|
||||||
"@microsoft/sp-property-pane": "1.12.1",
|
"@microsoft/sp-property-pane": "1.12.1",
|
||||||
"@microsoft/sp-webpart-base": "1.12.1",
|
"@microsoft/sp-webpart-base": "1.12.1",
|
||||||
"@pnp/spfx-controls-react": "^3.2.1",
|
"@pnp/spfx-controls-react": "^3.3.0",
|
||||||
"@pnp/spfx-property-controls": "^3.2.0",
|
"@pnp/spfx-property-controls": "^3.2.0",
|
||||||
"office-ui-fabric-react": "^7.174.0",
|
"office-ui-fabric-react": "^7.176.1",
|
||||||
"react": "16.9.0",
|
"react": "16.9.0",
|
||||||
"react-dom": "16.9.0",
|
"react-dom": "16.9.0",
|
||||||
"react-papaparse": "^3.17.1"
|
"react-papaparse": "^3.17.2"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@types/react": "16.8.8"
|
"@types/react": "16.8.8"
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
"@microsoft/sp-module-interfaces": "1.12.1",
|
"@microsoft/sp-module-interfaces": "1.12.1",
|
||||||
"@microsoft/sp-tslint-rules": "1.12.1",
|
"@microsoft/sp-tslint-rules": "1.12.1",
|
||||||
"@microsoft/sp-webpart-workbench": "1.12.1",
|
"@microsoft/sp-webpart-workbench": "1.12.1",
|
||||||
"@types/react": "^17.0.18",
|
"@types/react": "^17.0.22",
|
||||||
"@types/react-dom": "^17.0.8",
|
"@types/react-dom": "^17.0.8",
|
||||||
"@types/webpack-env": "^1.16.2",
|
"@types/webpack-env": "^1.16.2",
|
||||||
"ajv": "~5.2.2",
|
"ajv": "~5.2.2",
|
||||||
|
|
|
@ -201,7 +201,6 @@ export default class TeamsMembershipUpdater extends React.Component<ITeamsMember
|
||||||
this.props.context.msGraphClientFactory.getClient().then((client: MSGraphClient): void => {
|
this.props.context.msGraphClientFactory.getClient().then((client: MSGraphClient): void => {
|
||||||
if (this.state.selectionChannel === null) {
|
if (this.state.selectionChannel === null) {
|
||||||
this.loadMembers(`groups/${this.state.selectionDetails.key}/members`, client).then((_members) => {
|
this.loadMembers(`groups/${this.state.selectionDetails.key}/members`, client).then((_members) => {
|
||||||
console.debug(_members);
|
|
||||||
this.setState({ ...this.state, groupMembers: _members, stage: Stage.ComparingMembers });
|
this.setState({ ...this.state, groupMembers: _members, stage: Stage.ComparingMembers });
|
||||||
|
|
||||||
this.addLog(`Found ${_members.length} members existing in the group`);
|
this.addLog(`Found ${_members.length} members existing in the group`);
|
||||||
|
@ -257,7 +256,6 @@ export default class TeamsMembershipUpdater extends React.Component<ITeamsMember
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.loadChannelMembers(client, `teams/${this.state.selectionDetails.key}/channels/${this.state.selectionChannel.key}/members`).then((_members) => {
|
this.loadChannelMembers(client, `teams/${this.state.selectionDetails.key}/channels/${this.state.selectionChannel.key}/members`).then((_members) => {
|
||||||
console.debug(_members);
|
|
||||||
this.setState({ ...this.state, groupMembers: _members, stage: Stage.ComparingMembers });
|
this.setState({ ...this.state, groupMembers: _members, stage: Stage.ComparingMembers });
|
||||||
|
|
||||||
this.addLog(`Found ${_members.length} members existing in the channel`);
|
this.addLog(`Found ${_members.length} members existing in the channel`);
|
||||||
|
@ -355,10 +353,7 @@ export default class TeamsMembershipUpdater extends React.Component<ITeamsMember
|
||||||
//we need to get the AzureAD object id of the user from the email to use the add member ref function, so we call the graph to get those and generate new batches
|
//we need to get the AzureAD object id of the user from the email to use the add member ref function, so we call the graph to get those and generate new batches
|
||||||
this.addLog(`Getting Object IDs for ${newMembers.length} Members to Add from Graph`);
|
this.addLog(`Getting Object IDs for ${newMembers.length} Members to Add from Graph`);
|
||||||
for (let i = 0; i < reqs.length; i++) {
|
for (let i = 0; i < reqs.length; i++) {
|
||||||
console.debug("Starting batch job " + i);
|
|
||||||
console.debug(reqs[i]);
|
|
||||||
client.api("$batch").version("v1.0").post(reqs[i], (er, re) => {
|
client.api("$batch").version("v1.0").post(reqs[i], (er, re) => {
|
||||||
console.debug(re);
|
|
||||||
if (er) { this.addError(er.message, er); return; }
|
if (er) { this.addError(er.message, er); return; }
|
||||||
let newreq: IRequest = { requests: [] };
|
let newreq: IRequest = { requests: [] };
|
||||||
if (re) {
|
if (re) {
|
||||||
|
@ -368,7 +363,7 @@ export default class TeamsMembershipUpdater extends React.Component<ITeamsMember
|
||||||
newreq.requests.push({
|
newreq.requests.push({
|
||||||
id: `${newreq.requests.length + 1}`,
|
id: `${newreq.requests.length + 1}`,
|
||||||
method: "POST",
|
method: "POST",
|
||||||
url: this.state.selectionChannel === null ? `groups/${this.state.selectionDetails.key}/members/$ref` : `teams/${this.state.selectionDetails.key}/channels/${this.state.selectionChannel.key}`,
|
url: this.state.selectionChannel === null ? `groups/${this.state.selectionDetails.key}/members/$ref` : `teams/${this.state.selectionDetails.key}/channels/${this.state.selectionChannel.key}/members`,
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
body: this.state.selectionChannel === null ?
|
body: this.state.selectionChannel === null ?
|
||||||
{ "@odata.id": `https://graph.microsoft.com/v1.0/directoryObjects/${e.body.id}` } :
|
{ "@odata.id": `https://graph.microsoft.com/v1.0/directoryObjects/${e.body.id}` } :
|
||||||
|
@ -376,7 +371,6 @@ export default class TeamsMembershipUpdater extends React.Component<ITeamsMember
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
console.debug("Adding");
|
|
||||||
this.addLog(`Adding ${newreq.requests.length} Members`);
|
this.addLog(`Adding ${newreq.requests.length} Members`);
|
||||||
//post the actual adding batch to graph
|
//post the actual adding batch to graph
|
||||||
client.api("$batch").version("v1.0").post(newreq, (err, res) => {
|
client.api("$batch").version("v1.0").post(newreq, (err, res) => {
|
||||||
|
|
Loading…
Reference in New Issue