@types/office-js 1.0.320 → 1.0.321
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 +12 -12
- 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, 20 Apr 2023 20:32:48 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
|
@@ -10113,15 +10113,12 @@ declare namespace Office {
|
|
|
10113
10113
|
*/
|
|
10114
10114
|
addItemAttachmentAsync(itemId: any, attachmentName: string, callback?: (asyncResult: Office.AsyncResult<string>) => void): void;
|
|
10115
10115
|
/**
|
|
10116
|
-
* Closes the current item that is being composed
|
|
10116
|
+
* Closes the current item that is being composed.
|
|
10117
10117
|
*
|
|
10118
|
-
* The
|
|
10118
|
+
* The behavior of the `close` method depends on the current state of the item being composed.
|
|
10119
10119
|
* If the item has unsaved changes, the client prompts the user to save, discard, or close the action.
|
|
10120
10120
|
*
|
|
10121
|
-
* In the Outlook desktop client,
|
|
10122
|
-
*
|
|
10123
|
-
* **Note**: In Outlook on the web, if the item is an appointment and it has previously been saved using `saveAsync`, the user is prompted to save,
|
|
10124
|
-
* discard, or cancel even if no changes have occurred since the item was last saved.
|
|
10121
|
+
* In the Outlook desktop client, the `close` method has no effect on a reply in the Reading Pane.
|
|
10125
10122
|
*
|
|
10126
10123
|
* @remarks
|
|
10127
10124
|
* [Api set: Mailbox 1.3]
|
|
@@ -10129,6 +10126,9 @@ declare namespace Office {
|
|
|
10129
10126
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
10130
10127
|
*
|
|
10131
10128
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
10129
|
+
*
|
|
10130
|
+
* **Important**: In Outlook on the web, if the item is an appointment and it has previously been saved using `saveAsync`, the user is prompted to save,
|
|
10131
|
+
* discard, or cancel even if no changes have occurred since the item was last saved.
|
|
10132
10132
|
*/
|
|
10133
10133
|
close(): void;
|
|
10134
10134
|
/**
|
|
@@ -15158,15 +15158,12 @@ declare namespace Office {
|
|
|
15158
15158
|
*/
|
|
15159
15159
|
addItemAttachmentAsync(itemId: any, attachmentName: string, callback?: (asyncResult: Office.AsyncResult<string>) => void): void;
|
|
15160
15160
|
/**
|
|
15161
|
-
* Closes the current item that is being composed
|
|
15161
|
+
* Closes the current item that is being composed.
|
|
15162
15162
|
*
|
|
15163
|
-
* The
|
|
15163
|
+
* The behavior of the `close` method depends on the current state of the item being composed.
|
|
15164
15164
|
* If the item has unsaved changes, the client prompts the user to save, discard, or close the action.
|
|
15165
15165
|
*
|
|
15166
|
-
* In the Outlook desktop client,
|
|
15167
|
-
*
|
|
15168
|
-
* **Note**: In Outlook on the web, if the item is an appointment and it has previously been saved using `saveAsync`, the user is prompted to save,
|
|
15169
|
-
* discard, or cancel even if no changes have occurred since the item was last saved.
|
|
15166
|
+
* In the Outlook desktop client, the `close` method has no effect on a reply in the Reading Pane.
|
|
15170
15167
|
*
|
|
15171
15168
|
* @remarks
|
|
15172
15169
|
* [Api set: Mailbox 1.3]
|
|
@@ -15174,6 +15171,9 @@ declare namespace Office {
|
|
|
15174
15171
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
15175
15172
|
*
|
|
15176
15173
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
15174
|
+
*
|
|
15175
|
+
* **Important**: In Outlook on the web, if the item is an appointment and it has previously been saved using `saveAsync`, the user is prompted to save,
|
|
15176
|
+
* discard, or cancel even if no changes have occurred since the item was last saved.
|
|
15177
15177
|
*/
|
|
15178
15178
|
close(): void;
|
|
15179
15179
|
/**
|
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.321",
|
|
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": "987977fd9bbb9fc7bc190dbc3e6cf663be73b41d1e2b6f7a94127729ab900282",
|
|
49
49
|
"typeScriptVersion": "4.3"
|
|
50
50
|
}
|