@types/office-js-preview 1.0.432 → 1.0.433

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.
@@ -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: Mon, 13 Nov 2023 18:35:57 GMT
11
+ * Last updated: Tue, 14 Nov 2023 22:07:50 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -19804,7 +19804,7 @@ declare namespace Office {
19804
19804
  */
19805
19805
  owner: string;
19806
19806
  /**
19807
- * The REST API's base URL (currently https://outlook.office.com/api).
19807
+ * The REST API's base URL (currently `https://outlook.office.com/api`).
19808
19808
  *
19809
19809
  * Use with `targetMailbox` to construct the REST operation's URL.
19810
19810
  *
@@ -19905,12 +19905,17 @@ declare namespace Office {
19905
19905
  *
19906
19906
  * **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
19907
19907
  *
19908
- * **Important**: If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
19908
+ * **Important**:
19909
+ *
19910
+ * - If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
19909
19911
  * Otherwise, the JSON data assigned to `contextData` is ignored.
19910
19912
  *
19913
+ * - To retrieve the value of the `contextData` property, you must call `Office.context.mailbox.item.getInitializationContextAsync` in the JavaScript implementation
19914
+ * of your task pane.
19915
+ *
19911
19916
  * @beta
19912
19917
  */
19913
- contextData?: object;
19918
+ contextData?: any;
19914
19919
  /**
19915
19920
  * When you use the {@link Office.MailboxEvent.completed | completed method} to signal completion of an event handler and set its `allowEvent` property
19916
19921
  * to `false`, this property sets the error message displayed to the user. For an example, see the
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.432",
3
+ "version": "1.0.433",
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",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "ad3479e9f76217d36cec05f4b4cf6bd646c8c00767bc9f3d43723d292a23164f",
48
+ "typesPublisherContentHash": "312f96ef791ff76ef281244e9e1bc8849c10360e71fe73a95747f1b640474110",
49
49
  "typeScriptVersion": "4.5"
50
50
  }