@types/office-js 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.
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: 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
office-js/index.d.ts CHANGED
@@ -20568,7 +20568,7 @@ declare namespace Office {
20568
20568
  cancelLabel?: string;
20569
20569
  /**
20570
20570
  * 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`,
20571
- * this property specifies the ID of the task pane that opens when the **Don't Send** button is selected from the Smart Alerts dialog.
20571
+ * 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.
20572
20572
  *
20573
20573
  * For an example, see the
20574
20574
  * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/smart-alerts-onmessagesend-walkthrough#customize-the-dont-send-button-optional | Smart Alerts walkthrough}.
@@ -20583,14 +20583,14 @@ declare namespace Office {
20583
20583
  *
20584
20584
  * **Important**:
20585
20585
  *
20586
- * 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
20586
+ * 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
20587
20587
  * add-in uses.
20588
20588
  *
20589
- * - **Add-in only manifest**: The `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element representing the task pane.
20589
+ * - **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.
20590
20590
  *
20591
- * - **Unified manifest for Microsoft 365**: The "id" property of the task pane command in the "controls" array.
20591
+ * - **Unified manifest for Microsoft 365**: The "id" property of the task pane or function command in the "controls" array.
20592
20592
  *
20593
- * If you specify the `contextData` option in your `event.completed` call, you must also assign a task pane ID to the `commandId` option.
20593
+ * 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.
20594
20594
  * Otherwise, the JSON data assigned to `contextData` is ignored.
20595
20595
  */
20596
20596
  commandId?: string;
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.432",
3
+ "version": "1.0.433",
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",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "a4e9c42a4489b5f50dac50ae21564283afc8fb537c267f60833bbe39a9abebdf",
48
+ "typesPublisherContentHash": "dca5efb601febcad051033c7b184eb81f708269124d4357f37bcee717f0cb171",
49
49
  "typeScriptVersion": "4.8"
50
50
  }