@types/office-js 1.0.462 → 1.0.463

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 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: Fri, 31 Jan 2025 18:02:56 GMT
11
+ * Last updated: Wed, 05 Feb 2025 23:02:38 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -20626,7 +20626,7 @@ declare namespace Office {
20626
20626
  /**
20627
20627
  * Provides methods to manage an item's session data.
20628
20628
  *
20629
- * **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
20629
+ * 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.
20630
20630
  *
20631
20631
  * @remarks
20632
20632
  * [Api set: Mailbox 1.11]
@@ -20634,6 +20634,8 @@ declare namespace Office {
20634
20634
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
20635
20635
  *
20636
20636
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
20637
+ *
20638
+ * **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
20637
20639
  */
20638
20640
  interface SessionData {
20639
20641
  /**
@@ -20679,7 +20681,7 @@ declare namespace Office {
20679
20681
  * @param callback - When the method completes, the function passed in the `callback` parameter is called with a single parameter,
20680
20682
  * `asyncResult`, which is an `Office.AsyncResult` object.
20681
20683
  */
20682
- getAllAsync(callback: (asyncResult: Office.AsyncResult<string>) => void): void;
20684
+ getAllAsync(callback: (asyncResult: Office.AsyncResult<object>) => void): void;
20683
20685
  /**
20684
20686
  * Gets the session data value of the specified key.
20685
20687
  *
@@ -20730,15 +20732,15 @@ declare namespace Office {
20730
20732
  /**
20731
20733
  * Sets a session data key-value pair.
20732
20734
  *
20733
- * **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
20734
- *
20735
20735
  * @remarks
20736
20736
  * [Api set: Mailbox 1.11]
20737
20737
  *
20738
20738
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
20739
20739
  *
20740
20740
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
20741
-
20741
+ *
20742
+ * **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
20743
+ *
20742
20744
  * @param name - The session data key.
20743
20745
  * @param value - The session data value as a string.
20744
20746
  * @param options - An object literal that contains one or more of the following properties:-
@@ -20750,15 +20752,15 @@ declare namespace Office {
20750
20752
  /**
20751
20753
  * Sets a session data key-value pair.
20752
20754
  *
20753
- * **Important**: The entire SessionData object is limited to 50,000 characters per add-in.
20754
- *
20755
20755
  * @remarks
20756
20756
  * [Api set: Mailbox 1.11]
20757
20757
  *
20758
20758
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **read item**
20759
20759
  *
20760
20760
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
20761
-
20761
+ *
20762
+ * **Important**: For each mail item, the entire SessionData object is limited to 50,000 characters per add-in.
20763
+ *
20762
20764
  * @param name - The session data key.
20763
20765
  * @param value - The session data value as a string.
20764
20766
  * @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.462",
3
+ "version": "1.0.463",
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",
@@ -46,6 +46,6 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "3d95d952efcdeb0d44bb5ae14a5ddbe960a780ed3142d3df9021bedb36b1b58c",
49
+ "typesPublisherContentHash": "8356151dea0f375209c20b0ac2443dcf0639ad79434d4057eccbd961db1c9dc4",
50
50
  "typeScriptVersion": "5.0"
51
51
  }