@types/office-js-preview 1.0.518 → 1.0.519

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: Tue, 01 Oct 2024 00:33:23 GMT
11
+ * Last updated: Tue, 01 Oct 2024 17:37:08 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -20928,7 +20928,7 @@ declare namespace Office {
20928
20928
  cancelLabel?: string;
20929
20929
  /**
20930
20930
  * When you use the {@link https://learn.microsoft.com/javascript/api/outlook/office.mailboxevent#outlook-office-mailboxevent-completed-member(1) | completed method} to signal completion of an event handler and set its `allowEvent` property to `false`,
20931
- * this property specifies the ID of the task pane that opens when the **Don't Send** button is selected from the Smart Alerts dialog.
20931
+ * this property specifies the ID of the task pane or function that runs when the **Don't Send** button is selected from the Smart Alerts dialog.
20932
20932
  *
20933
20933
  * For an example, see the
20934
20934
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough#customize-the-dont-send-button-optional | Smart Alerts walkthrough}.
@@ -20943,14 +20943,14 @@ declare namespace Office {
20943
20943
  *
20944
20944
  * **Important**:
20945
20945
  *
20946
- * The `commandId` value must match the task pane ID specified in the manifest of your add-in. The markup depends on the type of manifest your
20946
+ * The `commandId` value must match the task pane or function ID specified in the manifest of your add-in. The markup depends on the type of manifest your
20947
20947
  * add-in uses.
20948
20948
  *
20949
- * - **Add-in only manifest**: The `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element representing the task pane.
20949
+ * - **Add-in only manifest**: The `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element representing the task pane or function.
20950
20950
  *
20951
- * - **Unified manifest for Microsoft 365**: The "id" property of the task pane command in the "extensions.ribbons.tabs.groups.controls" array.
20951
+ * - **Unified manifest for Microsoft 365**: The "id" property of the task pane or function command in the "controls" array.
20952
20952
  *
20953
- * If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
20953
+ * If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane or function ID to the `commandId` option.
20954
20954
  * Otherwise, the JSON data assigned to `contextData` is ignored.
20955
20955
  */
20956
20956
  commandId?: string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.518",
3
+ "version": "1.0.519",
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,7 +45,7 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "addda6c813855e9325b3bc4c50c1228ca4541b237838b859cc30e114a92ccf77",
48
+ "typesPublisherContentHash": "ad192c2ec69c26b800bcfdde457ae913964d655fa224a40d0520c73b15681660",
49
49
  "typeScriptVersion": "4.8",
50
50
  "nonNpm": true
51
51
  }