@types/office-js-preview 1.0.338 → 1.0.340
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-preview/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-preview.
|
|
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-preview/index.d.ts
CHANGED
|
@@ -1498,7 +1498,7 @@ declare namespace Office {
|
|
|
1498
1498
|
* Server-side code can use this token to access Microsoft Graph for the add-in's web application by using the
|
|
1499
1499
|
* {@link https://learn.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
|
|
1500
1500
|
*
|
|
1501
|
-
* **Important**: In Outlook, this API
|
|
1501
|
+
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1502
1502
|
*
|
|
1503
1503
|
* **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
|
|
1504
1504
|
*
|
|
@@ -1523,7 +1523,7 @@ declare namespace Office {
|
|
|
1523
1523
|
* Server-side code can use this token to access Microsoft Graph for the add-in's web application by using the
|
|
1524
1524
|
* {@link https://learn.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
|
|
1525
1525
|
*
|
|
1526
|
-
* **Important**: In Outlook, this API
|
|
1526
|
+
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1527
1527
|
*
|
|
1528
1528
|
* **Warning**: `getAccessTokenAsync` has been deprecated. Use `Office.auth.getAccessToken` instead.
|
|
1529
1529
|
*
|
|
@@ -1557,12 +1557,14 @@ declare namespace Office {
|
|
|
1557
1557
|
*
|
|
1558
1558
|
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1559
1559
|
*
|
|
1560
|
-
* **Note**: In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from
|
|
1560
|
+
* **Note**: In an Outlook event-based activation add-in, this API is supported in Outlook on Windows starting from Version 2111 (Build 14701.20000).
|
|
1561
1561
|
* To retrieve an access token in older builds, use
|
|
1562
1562
|
* {@link https://learn.microsoft.com/javascript/api/office-runtime/officeruntime.auth?view=common-js-preview#office-runtime-officeruntime-auth-getaccesstoken-member(1) |
|
|
1563
1563
|
* OfficeRuntime.auth.getAccessToken} instead. For more information, see
|
|
1564
1564
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/use-sso-in-event-based-activation | Enable single sign-on (SSO) in Outlook add-ins that use event-based activation}.
|
|
1565
1565
|
*
|
|
1566
|
+
* **Important**: In Outlook, this API isn't supported if the add-in is loaded in an Outlook.com or Gmail mailbox.
|
|
1567
|
+
*
|
|
1566
1568
|
* @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
|
|
1567
1569
|
* @returns Promise to the access token.
|
|
1568
1570
|
*/
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.340",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "d584fe28b989a384740b4bff91f8c9b1241ec8e9910abcc5446eb44f90029f1a",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|