@types/office-js-preview 1.0.264 → 1.0.265
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 +1 -1
- office-js-preview/index.d.ts +11 -33
- office-js-preview/package.json +2 -2
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: Mon, 01 Nov 2021 17:01:31 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
|
@@ -9713,13 +9713,11 @@ declare namespace Office {
|
|
|
9713
9713
|
* Manages the {@link Office.SessionData | SessionData} of an item in Compose mode.
|
|
9714
9714
|
*
|
|
9715
9715
|
* @remarks
|
|
9716
|
-
* [Api set: Mailbox
|
|
9716
|
+
* [Api set: Mailbox 1.11]
|
|
9717
9717
|
*
|
|
9718
9718
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
9719
9719
|
*
|
|
9720
9720
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Appointment Organizer
|
|
9721
|
-
*
|
|
9722
|
-
* @beta
|
|
9723
9721
|
*/
|
|
9724
9722
|
sessionData: SessionData;
|
|
9725
9723
|
/**
|
|
@@ -14787,13 +14785,11 @@ declare namespace Office {
|
|
|
14787
14785
|
* Manages the {@link Office.SessionData | SessionData} of an item in Compose mode.
|
|
14788
14786
|
*
|
|
14789
14787
|
* @remarks
|
|
14790
|
-
* [Api set: Mailbox
|
|
14788
|
+
* [Api set: Mailbox 1.11]
|
|
14791
14789
|
*
|
|
14792
14790
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
14793
14791
|
*
|
|
14794
14792
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Message Compose
|
|
14795
|
-
*
|
|
14796
|
-
* @beta
|
|
14797
14793
|
*/
|
|
14798
14794
|
sessionData: SessionData;
|
|
14799
14795
|
/**
|
|
@@ -18200,20 +18196,18 @@ declare namespace Office {
|
|
|
18200
18196
|
* Provides methods to manage an item's session data.
|
|
18201
18197
|
*
|
|
18202
18198
|
* @remarks
|
|
18203
|
-
* [Api set: Mailbox
|
|
18199
|
+
* [Api set: Mailbox 1.11]
|
|
18204
18200
|
*
|
|
18205
18201
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
18206
18202
|
*
|
|
18207
18203
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
18208
|
-
*
|
|
18209
|
-
* @beta
|
|
18210
18204
|
*/
|
|
18211
18205
|
interface SessionData {
|
|
18212
18206
|
/**
|
|
18213
18207
|
* Clears all session data key-value pairs.
|
|
18214
18208
|
*
|
|
18215
18209
|
* @remarks
|
|
18216
|
-
* [Api set: Mailbox
|
|
18210
|
+
* [Api set: Mailbox 1.11]
|
|
18217
18211
|
*
|
|
18218
18212
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadWriteItem`
|
|
18219
18213
|
*
|
|
@@ -18223,15 +18217,13 @@ declare namespace Office {
|
|
|
18223
18217
|
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
|
|
18224
18218
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
18225
18219
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
18226
|
-
*
|
|
18227
|
-
* @beta
|
|
18228
18220
|
*/
|
|
18229
18221
|
clearAsync(options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
18230
18222
|
/**
|
|
18231
18223
|
* Clears all session data key-value pairs.
|
|
18232
18224
|
*
|
|
18233
18225
|
* @remarks
|
|
18234
|
-
* [Api set: Mailbox
|
|
18226
|
+
* [Api set: Mailbox 1.11]
|
|
18235
18227
|
*
|
|
18236
18228
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadWriteItem`
|
|
18237
18229
|
*
|
|
@@ -18239,15 +18231,13 @@ declare namespace Office {
|
|
|
18239
18231
|
*
|
|
18240
18232
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
18241
18233
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
18242
|
-
*
|
|
18243
|
-
* @beta
|
|
18244
18234
|
*/
|
|
18245
18235
|
clearAsync(callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
18246
18236
|
/**
|
|
18247
18237
|
* Gets all session data key-value pairs.
|
|
18248
18238
|
*
|
|
18249
18239
|
* @remarks
|
|
18250
|
-
* [Api set: Mailbox
|
|
18240
|
+
* [Api set: Mailbox 1.11]
|
|
18251
18241
|
*
|
|
18252
18242
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadWriteItem`
|
|
18253
18243
|
*
|
|
@@ -18255,15 +18245,13 @@ declare namespace Office {
|
|
|
18255
18245
|
*
|
|
18256
18246
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
18257
18247
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
18258
|
-
*
|
|
18259
|
-
* @beta
|
|
18260
18248
|
*/
|
|
18261
18249
|
getAllAsync(callback: (asyncResult: Office.AsyncResult<string>) => void): void;
|
|
18262
18250
|
/**
|
|
18263
18251
|
* Gets the session data value of the specified key.
|
|
18264
18252
|
*
|
|
18265
18253
|
* @remarks
|
|
18266
|
-
* [Api set: Mailbox
|
|
18254
|
+
* [Api set: Mailbox 1.11]
|
|
18267
18255
|
*
|
|
18268
18256
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
18269
18257
|
*
|
|
@@ -18272,15 +18260,13 @@ declare namespace Office {
|
|
|
18272
18260
|
* @param name - The session data key.
|
|
18273
18261
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter of
|
|
18274
18262
|
* type `Office.AsyncResult`.
|
|
18275
|
-
*
|
|
18276
|
-
* @beta
|
|
18277
18263
|
*/
|
|
18278
18264
|
getAsync(name: string, callback: (asyncResult: Office.AsyncResult<string>) => void): void;
|
|
18279
18265
|
/**
|
|
18280
18266
|
* Removes a session data key-value pair.
|
|
18281
18267
|
*
|
|
18282
18268
|
* @remarks
|
|
18283
|
-
* [Api set: Mailbox
|
|
18269
|
+
* [Api set: Mailbox 1.11]
|
|
18284
18270
|
*
|
|
18285
18271
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadWriteItem`
|
|
18286
18272
|
*
|
|
@@ -18291,15 +18277,13 @@ declare namespace Office {
|
|
|
18291
18277
|
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
|
|
18292
18278
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
18293
18279
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
18294
|
-
*
|
|
18295
|
-
* @beta
|
|
18296
18280
|
*/
|
|
18297
18281
|
removeAsync(name: string, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
18298
18282
|
/**
|
|
18299
18283
|
* Removes a session data key-value pair.
|
|
18300
18284
|
*
|
|
18301
18285
|
* @remarks
|
|
18302
|
-
* [Api set: Mailbox
|
|
18286
|
+
* [Api set: Mailbox 1.11]
|
|
18303
18287
|
*
|
|
18304
18288
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadWriteItem`
|
|
18305
18289
|
*
|
|
@@ -18308,15 +18292,13 @@ declare namespace Office {
|
|
|
18308
18292
|
* @param name - The session data key.
|
|
18309
18293
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
18310
18294
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
18311
|
-
*
|
|
18312
|
-
* @beta
|
|
18313
18295
|
*/
|
|
18314
18296
|
removeAsync(name: string, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
18315
18297
|
/**
|
|
18316
18298
|
* Sets a session data key-value pair.
|
|
18317
18299
|
*
|
|
18318
18300
|
* @remarks
|
|
18319
|
-
* [Api set: Mailbox
|
|
18301
|
+
* [Api set: Mailbox 1.11]
|
|
18320
18302
|
*
|
|
18321
18303
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
18322
18304
|
*
|
|
@@ -18328,15 +18310,13 @@ declare namespace Office {
|
|
|
18328
18310
|
* `asyncContext`: Developers can provide any object they wish to access in the callback method.
|
|
18329
18311
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
|
|
18330
18312
|
* type `Office.AsyncResult`.
|
|
18331
|
-
*
|
|
18332
|
-
* @beta
|
|
18333
18313
|
*/
|
|
18334
18314
|
setAsync(name: string, value: string, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
18335
18315
|
/**
|
|
18336
18316
|
* Sets a session data key-value pair.
|
|
18337
18317
|
*
|
|
18338
18318
|
* @remarks
|
|
18339
|
-
* [Api set: Mailbox
|
|
18319
|
+
* [Api set: Mailbox 1.11]
|
|
18340
18320
|
*
|
|
18341
18321
|
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: `ReadItem`
|
|
18342
18322
|
*
|
|
@@ -18346,8 +18326,6 @@ declare namespace Office {
|
|
|
18346
18326
|
* @param value - The session data value as a string.
|
|
18347
18327
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
|
|
18348
18328
|
* type `Office.AsyncResult`.
|
|
18349
|
-
*
|
|
18350
|
-
* @beta
|
|
18351
18329
|
*/
|
|
18352
18330
|
setAsync(name: string, value: string, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
|
|
18353
18331
|
}
|
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.265",
|
|
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",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
43
|
+
"typesPublisherContentHash": "64b09c553a0d023fe6fbc0993415c5c69e51d96628bbd85ba5137a54eea71a74",
|
|
44
44
|
"typeScriptVersion": "3.7"
|
|
45
45
|
}
|