@types/office-js-preview 1.0.553 → 1.0.554
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: Wed, 05 Feb 2025 23:02:38 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js-preview/index.d.ts
CHANGED
|
@@ -22995,7 +22995,7 @@ declare namespace Office {
|
|
|
22995
22995
|
/**
|
|
22996
22996
|
* Provides methods to manage an item's session data.
|
|
22997
22997
|
*
|
|
22998
|
-
*
|
|
22998
|
+
* Session data is specific to a single mail item. It isn't shared among multiple items even if the same add-in is used to set or retrieve data.
|
|
22999
22999
|
*
|
|
23000
23000
|
* @remarks
|
|
23001
23001
|
* [Api set: Mailbox 1.11]
|
|
@@ -23003,6 +23003,8 @@ declare namespace Office {
|
|
|
23003
23003
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
23004
23004
|
*
|
|
23005
23005
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
23006
|
+
*
|
|
23007
|
+
* **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
|
|
23006
23008
|
*/
|
|
23007
23009
|
interface SessionData {
|
|
23008
23010
|
/**
|
|
@@ -23048,7 +23050,7 @@ declare namespace Office {
|
|
|
23048
23050
|
* @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
|
|
23049
23051
|
* `asyncResult`, which is an `Office.AsyncResult` object.
|
|
23050
23052
|
*/
|
|
23051
|
-
getAllAsync(callback: (asyncResult: Office.AsyncResult<
|
|
23053
|
+
getAllAsync(callback: (asyncResult: Office.AsyncResult<object>) => void): void;
|
|
23052
23054
|
/**
|
|
23053
23055
|
* Gets the session data value of the specified key.
|
|
23054
23056
|
*
|
|
@@ -23099,15 +23101,15 @@ declare namespace Office {
|
|
|
23099
23101
|
/**
|
|
23100
23102
|
* Sets a session data key-value pair.
|
|
23101
23103
|
*
|
|
23102
|
-
* **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
|
|
23103
|
-
*
|
|
23104
23104
|
* @remarks
|
|
23105
23105
|
* [Api set: Mailbox 1.11]
|
|
23106
23106
|
*
|
|
23107
23107
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
23108
23108
|
*
|
|
23109
23109
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
23110
|
-
|
|
23110
|
+
*
|
|
23111
|
+
* **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
|
|
23112
|
+
*
|
|
23111
23113
|
* @param name - The session data key.
|
|
23112
23114
|
* @param value - The session data value as a string.
|
|
23113
23115
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
@@ -23119,15 +23121,15 @@ declare namespace Office {
|
|
|
23119
23121
|
/**
|
|
23120
23122
|
* Sets a session data key-value pair.
|
|
23121
23123
|
*
|
|
23122
|
-
* **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
|
|
23123
|
-
*
|
|
23124
23124
|
* @remarks
|
|
23125
23125
|
* [Api set: Mailbox 1.11]
|
|
23126
23126
|
*
|
|
23127
23127
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
|
|
23128
23128
|
*
|
|
23129
23129
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
23130
|
-
|
|
23130
|
+
*
|
|
23131
|
+
* **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
|
|
23132
|
+
*
|
|
23131
23133
|
* @param name - The session data key.
|
|
23132
23134
|
* @param value - The session data value as a string.
|
|
23133
23135
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
|
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.554",
|
|
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": "8e374d2438112f99d6d8f4e84a978d51d22c77093b103c3289efdff1bb1aaf2e",
|
|
50
50
|
"typeScriptVersion": "5.0",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|