@types/office-js-preview 1.0.448 → 1.0.449
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-preview (https://github.com
|
|
|
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: Thu, 01 Feb 2024 19:07:01 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -1493,7 +1493,8 @@ declare namespace Office {
|
|
|
1493
1493
|
* **Important**:
|
|
1494
1494
|
*
|
|
1495
1495
|
* - This property is currently in preview in Outlook on Windows. To test it in your add-in, you must install Version 2401 (Build 17228.20000) or later.
|
|
1496
|
-
* Then, join the {@link | Microsoft 365 Insider program} and select the **Beta Channel** option to access
|
|
1496
|
+
* Then, join the {@link https://insider.microsoft365.com/join/windows | Microsoft 365 Insider program} and select the **Beta Channel** option to access
|
|
1497
|
+
* Office beta builds.
|
|
1497
1498
|
*
|
|
1498
1499
|
* - The URL returned points to the location of the JavaScript file that Outlook on Windows uses to handle event-based activation
|
|
1499
1500
|
* and integrated spam reporting. To learn more about these features, see
|
|
@@ -1508,7 +1509,7 @@ declare namespace Office {
|
|
|
1508
1509
|
*
|
|
1509
1510
|
* @beta
|
|
1510
1511
|
*/
|
|
1511
|
-
|
|
1512
|
+
javascriptRuntimeUrl: string;
|
|
1512
1513
|
}
|
|
1513
1514
|
/**
|
|
1514
1515
|
* Provides information about which Requirement Sets are supported in the current environment.
|
|
@@ -18362,14 +18363,14 @@ declare namespace Office {
|
|
|
18362
18363
|
/**
|
|
18363
18364
|
* The definition of the action for a notification message.
|
|
18364
18365
|
*
|
|
18365
|
-
* **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
|
|
18366
|
-
*
|
|
18367
18366
|
* @remarks
|
|
18368
18367
|
* [Api set: Mailbox 1.10]
|
|
18369
18368
|
*
|
|
18370
18369
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
18371
18370
|
*
|
|
18372
18371
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
18372
|
+
*
|
|
18373
|
+
* **Important**: In modern Outlook on the web, the `NotificationMessageAction` object is available in Compose mode only.
|
|
18373
18374
|
*/
|
|
18374
18375
|
interface NotificationMessageAction {
|
|
18375
18376
|
/**
|
|
@@ -18386,8 +18387,17 @@ declare namespace Office {
|
|
|
18386
18387
|
*/
|
|
18387
18388
|
commandId: string;
|
|
18388
18389
|
/**
|
|
18389
|
-
* Any JSON data the action button needs to pass on.
|
|
18390
|
-
*
|
|
18390
|
+
* Any JSON data the action button needs to pass on to the add-in.
|
|
18391
|
+
*
|
|
18392
|
+
* @remarks
|
|
18393
|
+
*
|
|
18394
|
+
* **Important**:
|
|
18395
|
+
*
|
|
18396
|
+
* - 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`
|
|
18397
|
+
* type is supported.
|
|
18398
|
+
*
|
|
18399
|
+
* - To retrieve the JSON data, call `Office.context.mailboxitem.getInitializationContextAsync`. If you create a JSON string using
|
|
18400
|
+
* `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using `JSON.parse()` once you retrieve it.
|
|
18391
18401
|
*/
|
|
18392
18402
|
contextData: any;
|
|
18393
18403
|
}
|
|
@@ -20354,11 +20364,15 @@ declare namespace Office {
|
|
|
20354
20364
|
*
|
|
20355
20365
|
* **Important**:
|
|
20356
20366
|
*
|
|
20367
|
+
* - 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`
|
|
20368
|
+
* type is supported.
|
|
20369
|
+
*
|
|
20357
20370
|
* - If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
|
|
20358
20371
|
* Otherwise, the JSON data assigned to `contextData` is ignored.
|
|
20359
20372
|
*
|
|
20360
20373
|
* - To retrieve the value of the `contextData` property, you must call `Office.context.mailbox.item.getInitializationContextAsync` in the JavaScript implementation
|
|
20361
|
-
* of your task pane.
|
|
20374
|
+
* of your task pane. If you create a JSON string using `JSON.stringify()` and assign it to the `contextData` property, you must parse the string using
|
|
20375
|
+
* `JSON.parse()` once you retrieve it.
|
|
20362
20376
|
*
|
|
20363
20377
|
* @beta
|
|
20364
20378
|
*/
|
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.449",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "1f5f2cf8476e463a5529401d1d6f213169164748d3ace5e5de0c1250e58bf327",
|
|
49
49
|
"typeScriptVersion": "4.6",
|
|
50
50
|
"nonNpm": true
|
|
51
51
|
}
|