@types/office-js-preview 1.0.613 → 1.0.614
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: Mon, 14 Jul 2025 19:33:55 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -7247,7 +7247,11 @@ declare namespace Office {
|
|
|
7247
7247
|
*
|
|
7248
7248
|
* @remarks
|
|
7249
7249
|
*
|
|
7250
|
-
* **Important**: The `isDarkTheme` property isn't
|
|
7250
|
+
* **Important**: The `isDarkTheme` property isn't supported in Outlook. To determine the current theme in Outlook,
|
|
7251
|
+
* use the `body*Color` and `control*Color` properties instead. To automatically detect theme changes, use the
|
|
7252
|
+
* {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox#outlook-office-mailbox-addhandlerasync-member(1) | addHandlerAsync}
|
|
7253
|
+
* method to create an event handler for the {@link https://learn.microsoft.com/javascript/api/office/office.eventtype#fields | OfficeThemeChanged}
|
|
7254
|
+
* event.
|
|
7251
7255
|
*/
|
|
7252
7256
|
isDarkTheme: boolean;
|
|
7253
7257
|
/**
|
|
@@ -7255,7 +7259,11 @@ declare namespace Office {
|
|
|
7255
7259
|
*
|
|
7256
7260
|
* @remarks
|
|
7257
7261
|
*
|
|
7258
|
-
* **Important**: The `themeId` property isn't
|
|
7262
|
+
* **Important**: The `themeId` property isn't supported in Outlook. To determine the current theme in Outlook,
|
|
7263
|
+
* use the `body*Color` and `control*Color` properties instead. To automatically detect theme changes, use the
|
|
7264
|
+
* {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox#outlook-office-mailbox-addhandlerasync-member(1) | addHandlerAsync}
|
|
7265
|
+
* method to create an event handler for the {@link https://learn.microsoft.com/javascript/api/office/office.eventtype#fields | OfficeThemeChanged}
|
|
7266
|
+
* event.
|
|
7259
7267
|
*/
|
|
7260
7268
|
themeId: ThemeId;
|
|
7261
7269
|
}
|
|
@@ -13047,6 +13055,9 @@ declare namespace Office {
|
|
|
13047
13055
|
* @remarks
|
|
13048
13056
|
* [Api set: Mailbox 1.1]
|
|
13049
13057
|
*
|
|
13058
|
+
* To learn how to get or set the body of a mail item, see
|
|
13059
|
+
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/insert-data-in-the-body | Get or set the body of a message or appointment in Outlook}.
|
|
13060
|
+
*
|
|
13050
13061
|
* **Known issue with HTML table border colors**
|
|
13051
13062
|
*
|
|
13052
13063
|
* Outlook on Windows: If you're setting various cell borders to different colors in an HTML table in Compose mode, a cell's borders may not reflect
|
|
@@ -13173,7 +13184,7 @@ declare namespace Office {
|
|
|
13173
13184
|
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
|
|
13174
13185
|
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
|
|
13175
13186
|
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
|
|
13176
|
-
* In Message Compose mode,
|
|
13187
|
+
* In Message Compose mode, particularly for replies to a conversation thread with more than one message, if you want the returned body to reflect the user's setting,
|
|
13177
13188
|
* specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `getAsync` call. If messages are grouped by conversation,
|
|
13178
13189
|
* only the body of the current reply is returned. Conversely, if messages are displayed individually, the entire conversation thread is returned.
|
|
13179
13190
|
*
|
|
@@ -13213,7 +13224,7 @@ declare namespace Office {
|
|
|
13213
13224
|
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
|
|
13214
13225
|
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
|
|
13215
13226
|
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
|
|
13216
|
-
* In Message Compose mode,
|
|
13227
|
+
* In Message Compose mode, particularly for replies to a conversation thread with more than one message, if you want the returned body to reflect the user's setting,
|
|
13217
13228
|
* specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `getAsync` call. If messages are grouped by conversation,
|
|
13218
13229
|
* only the body of the current reply is returned. Conversely, if messages are displayed individually, the entire conversation thread is returned.
|
|
13219
13230
|
*
|
|
@@ -13495,7 +13506,7 @@ declare namespace Office {
|
|
|
13495
13506
|
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
|
|
13496
13507
|
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
|
|
13497
13508
|
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
|
|
13498
|
-
* In Message Compose mode,
|
|
13509
|
+
* In Message Compose mode, particularly for replies to a conversation thread with more than one message, if you want to honor the user's settings when
|
|
13499
13510
|
* setting the body of a message, specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `setAsync` call. If messages are grouped by conversation,
|
|
13500
13511
|
* only the body of the current reply is set. Conversely, if messages are displayed individually, the entire body, including previous messages
|
|
13501
13512
|
* in the conversation thread, is replaced.
|
|
@@ -13565,7 +13576,7 @@ declare namespace Office {
|
|
|
13565
13576
|
* - In Outlook on the web and new Outlook on Windows, users can organize their messages as conversations or individual messages in **Settings** > **Mail** > **Layout** > **Message organization**
|
|
13566
13577
|
* (see {@link https://support.microsoft.com/office/57fe0cd8-e90b-4b1b-91e4-a0ba658c0042 | Change how the message list is displayed in Outlook}).
|
|
13567
13578
|
* This setting affects how much of a message's body is displayed to the user (that is, the entire conversation thread of a message or just the current message).
|
|
13568
|
-
* In Message Compose mode,
|
|
13579
|
+
* In Message Compose mode, particularly for replies in a conversation thread with more than one message, if you want to honor the user's settings when
|
|
13569
13580
|
* setting the body of a message, specify the `bodyMode: Office.MailboxEnums.BodyMode.HostConfig` parameter in your `setAsync` call. If messages are grouped by conversation,
|
|
13570
13581
|
* only the body of the current reply is set. Conversely, if messages are displayed individually, the entire body, including previous messages
|
|
13571
13582
|
* in the conversation thread, is replaced.
|
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.614",
|
|
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",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "621442741d63d6651910ad8b6cfc522562cd7706e53d5b49fdac984f28b16936",
|
|
50
50
|
"typeScriptVersion": "5.1",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|