@types/office-js 1.0.369 → 1.0.370
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 +13 -4
- 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: Thu, 01 Feb 2024 19:07:01 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -17694,14 +17694,14 @@ declare namespace Office {
|
|
|
17694
17694
|
/**
|
|
17695
17695
|
* The definition of the action for a notification message.
|
|
17696
17696
|
*
|
|
17697
|
-
* **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
|
|
17698
|
-
*
|
|
17699
17697
|
* @remarks
|
|
17700
17698
|
* [Api set: Mailbox 1.10]
|
|
17701
17699
|
*
|
|
17702
17700
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
17703
17701
|
*
|
|
17704
17702
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
17703
|
+
*
|
|
17704
|
+
* **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
|
|
17705
17705
|
*/
|
|
17706
17706
|
interface NotificationMessageAction {
|
|
17707
17707
|
/**
|
|
@@ -17718,8 +17718,17 @@ declare namespace Office {
|
|
|
17718
17718
|
*/
|
|
17719
17719
|
commandId: string;
|
|
17720
17720
|
/**
|
|
17721
|
-
* Any JSON data the action button needs to pass on.
|
|
17722
|
-
*
|
|
17721
|
+
* Any JSON data the action button needs to pass on to the add-in.
|
|
17722
|
+
*
|
|
17723
|
+
* @remarks
|
|
17724
|
+
*
|
|
17725
|
+
* **Important**:
|
|
17726
|
+
*
|
|
17727
|
+
* - In Outlook on Windows, the `any` type is supported starting in Version 2402 (Build 17308.20000). In earlier versions of Outlook on Windows, only the `string`
|
|
17728
|
+
* type is supported.
|
|
17729
|
+
*
|
|
17730
|
+
* - To retrieve the JSON data, call `Office.context.mailboxitem.getInitializationContextAsync`. If you create a JSON string using
|
|
17731
|
+
* `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using `JSON.parse()` once you retrieve it.
|
|
17723
17732
|
*/
|
|
17724
17733
|
contextData: any;
|
|
17725
17734
|
}
|
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.370",
|
|
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": "0f445f5fb66c271a816a72586a8c7a472d31f556bc46dc40baa750a4947c15df",
|
|
49
49
|
"typeScriptVersion": "4.6"
|
|
50
50
|
}
|