feat: integrate Microsoft Power Apps SDK and enhance email handling
- Added dependency for @microsoft/power-apps to package.json. - Updated power.config.json to include appId, environmentId, and connection references. - Implemented sanitisation function for HTML content in App.tsx to prevent XSS. - Enhanced error handling in email loading and marking as read functionalities. - Updated email display logic to handle HTML content and previews. - Refactored OutlookService to use auto-generated service from @microsoft/power-apps. - Added new methods for sending, marking as read, and deleting emails in OutlookService. - Updated types for Email to include bodyPreview, isHtml, hasAttachments, and importance. - Configured Vite to exclude @microsoft/power-apps/data from the build. - Created .gitignore to exclude build artifacts and environment files. - Added local development shim for @microsoft/power-apps/data to support local testing. - Defined type stubs for @microsoft/power-apps/data to facilitate local development.
This commit is contained in:
49
node_modules/.vite/deps/_metadata.json
generated
vendored
49
node_modules/.vite/deps/_metadata.json
generated
vendored
@@ -1,67 +1,76 @@
|
||||
{
|
||||
"hash": "2822248f",
|
||||
"hash": "a2cf0ee3",
|
||||
"configHash": "199e9b49",
|
||||
"lockfileHash": "47a5815c",
|
||||
"browserHash": "eeb8a9d2",
|
||||
"lockfileHash": "7d0db4c4",
|
||||
"browserHash": "5f7ecc69",
|
||||
"optimized": {
|
||||
"react": {
|
||||
"src": "../../react/index.js",
|
||||
"file": "react.js",
|
||||
"fileHash": "18ec2fb8",
|
||||
"fileHash": "d02ecc7a",
|
||||
"needsInterop": true
|
||||
},
|
||||
"react-dom": {
|
||||
"src": "../../react-dom/index.js",
|
||||
"file": "react-dom.js",
|
||||
"fileHash": "3182c799",
|
||||
"fileHash": "7dc29179",
|
||||
"needsInterop": true
|
||||
},
|
||||
"react/jsx-dev-runtime": {
|
||||
"src": "../../react/jsx-dev-runtime.js",
|
||||
"file": "react_jsx-dev-runtime.js",
|
||||
"fileHash": "3aa6d3f3",
|
||||
"fileHash": "5dbee3e4",
|
||||
"needsInterop": true
|
||||
},
|
||||
"react/jsx-runtime": {
|
||||
"src": "../../react/jsx-runtime.js",
|
||||
"file": "react_jsx-runtime.js",
|
||||
"fileHash": "387edc6c",
|
||||
"fileHash": "68c460e2",
|
||||
"needsInterop": true
|
||||
},
|
||||
"@fluentui/react-components": {
|
||||
"src": "../../@fluentui/react-components/lib/index.js",
|
||||
"file": "@fluentui_react-components.js",
|
||||
"fileHash": "6b473cbd",
|
||||
"fileHash": "4c21893b",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@fluentui/react-icons": {
|
||||
"src": "../../@fluentui/react-icons/lib/index.js",
|
||||
"file": "@fluentui_react-icons.js",
|
||||
"fileHash": "1b0d1c61",
|
||||
"fileHash": "d07e302b",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@microsoft/power-apps/data": {
|
||||
"src": "../../@microsoft/power-apps/dist/data/index.js",
|
||||
"file": "@microsoft_power-apps_data.js",
|
||||
"fileHash": "93d66341",
|
||||
"needsInterop": false
|
||||
},
|
||||
"react-dom/client": {
|
||||
"src": "../../react-dom/client.js",
|
||||
"file": "react-dom_client.js",
|
||||
"fileHash": "484d4a24",
|
||||
"fileHash": "1ccb8538",
|
||||
"needsInterop": true
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"chunk-GOUXSCEN": {
|
||||
"file": "chunk-GOUXSCEN.js"
|
||||
"chunk-G5LRF5Q3": {
|
||||
"file": "chunk-G5LRF5Q3.js"
|
||||
},
|
||||
"chunk-SVR3SNXV": {
|
||||
"file": "chunk-SVR3SNXV.js"
|
||||
"chunk-WF23Q3BR": {
|
||||
"file": "chunk-WF23Q3BR.js"
|
||||
},
|
||||
"chunk-TF4LBITK": {
|
||||
"file": "chunk-TF4LBITK.js"
|
||||
"chunk-RYT6YT3P": {
|
||||
"file": "chunk-RYT6YT3P.js"
|
||||
},
|
||||
"chunk-L54BDX3M": {
|
||||
"file": "chunk-L54BDX3M.js"
|
||||
"chunk-HJTH342H": {
|
||||
"file": "chunk-HJTH342H.js"
|
||||
},
|
||||
"chunk-WBF6APZF": {
|
||||
"file": "chunk-WBF6APZF.js"
|
||||
"chunk-KNNXW3SV": {
|
||||
"file": "chunk-KNNXW3SV.js"
|
||||
},
|
||||
"chunk-DC5AMYBS": {
|
||||
"file": "chunk-DC5AMYBS.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user