@types/office-js 1.0.284 → 1.0.286
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.
- office-js/README.md +1 -1
- office-js/index.d.ts +5 -3
- office-js/package.json +2 -2
office-js/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for Office.js (https://github.com/OfficeD
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 28 Sep 2022 22:33:09 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -1432,7 +1432,7 @@ declare namespace Office {
|
|
|
1432
1432
|
* Server-side code can use this token to access Microsoft Graph for the add-in's web application by using the
|
|
1433
1433
|
* {@link https://learn.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
|
|
1434
1434
|
*
|
|
1435
|
-
* **Important**: In Outlook, this API is
|
|
1435
|
+
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1436
1436
|
*
|
|
1437
1437
|
* **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
|
|
1438
1438
|
*
|
|
@@ -1457,7 +1457,7 @@ declare namespace Office {
|
|
|
1457
1457
|
* Server-side code can use this token to access Microsoft Graph for the add-in's web application by using the
|
|
1458
1458
|
* {@link https://learn.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
|
|
1459
1459
|
*
|
|
1460
|
-
* **Important**: In Outlook, this API is
|
|
1460
|
+
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1461
1461
|
*
|
|
1462
1462
|
* **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
|
|
1463
1463
|
*
|
|
@@ -1483,6 +1483,8 @@ declare namespace Office {
|
|
|
1483
1483
|
* This API requires a single sign-on configuration that bridges the add-in to an Azure application. Office users sign in with Organizational
|
|
1484
1484
|
* Accounts and Microsoft Accounts. Microsoft Azure returns tokens intended for both user account types to access resources in the Microsoft Graph.
|
|
1485
1485
|
*
|
|
1486
|
+
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1487
|
+
*
|
|
1486
1488
|
* @remarks
|
|
1487
1489
|
*
|
|
1488
1490
|
* **Hosts**: Excel, OneNote, Outlook, PowerPoint, Word
|
|
@@ -1491,7 +1493,7 @@ declare namespace Office {
|
|
|
1491
1493
|
*
|
|
1492
1494
|
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1493
1495
|
*
|
|
1494
|
-
* **Note**: In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from
|
|
1496
|
+
* **Note**: In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from Version 2111 (Build 14701.20000).
|
|
1495
1497
|
* To retrieve an access token in older builds, use
|
|
1496
1498
|
* {@link https://learn.microsoft.com/javascript/api/office-runtime/officeruntime.auth?view=common-js#office-runtime-officeruntime-auth-getaccesstoken-member(1) |
|
|
1497
1499
|
* OfficeRuntime.auth.getAccessToken} instead. For more information, see
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.286",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "604830b83b310e8b76ac70fa964d0c917569722ea4957cbdd7b38f2ddbffbf7d",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|