Skip to content

Commit 321d555

Browse files
[office-js][office-js-preview] (Outlook) Update support for spam reporting in the unified manifest (DefinitelyTyped#72965)
1 parent b543355 commit 321d555

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

types/office-js-preview/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23919,9 +23919,9 @@ declare namespace Office {
2391923919
* - To learn how to implement the `commandId` property in your spam-reporting add-in, see
2392023920
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting#open-a-task-pane-after-reporting-a-message | Open a task pane after reporting a message}.
2392123921
*
23922-
* - The `commandId` value must match the task pane ID specified in the manifest of your add-in. In an add-in only manifest,
23923-
* the ID is specified in the `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element that represents the task pane.
23924-
* The `commandId` property isn't currently supported in a spam-reporting add-in that uses a unified manifest for Microsoft 365.
23922+
* - The `commandId` value must match the task pane ID specified in the manifest of your add-in. In the unified manifest for Microsoft 365, the ID is specified in the "id" property of the
23923+
* {@link https://learn.microsoft.com/microsoft-365/extensibility/schema/extension-common-custom-group-controls-item#id | "extensions.ribbons.tabs.groups.controls"} object that represents the task pane.
23924+
* In an add-in only manifest, the ID is specified in the `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element that represents the task pane.
2392523925
*
2392623926
* - If you configure the `commandId` option in the `event.completed` call, a post-processing dialog isn't shown to the user
2392723927
* even if the `showPostProcessingDialog` option is specified in the call.

types/office-js/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23446,9 +23446,9 @@ declare namespace Office {
2344623446
* - To learn how to implement this in your spam-reporting add-in, see
2344723447
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting#open-a-task-pane-after-reporting-a-message | Open a task pane after reporting a message}.
2344823448
*
23449-
* - The `commandId` value must match the task pane ID specified in the manifest of your add-in. In an add-in only manifest,
23450-
* the ID is specified in the `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element that represents the task pane.
23451-
* The `commandId` property isn't currently supported in a spam-reporting add-in that uses a unified manifest for Microsoft 365.
23449+
* - The `commandId` value must match the task pane ID specified in the manifest of your add-in. In the unified manifest for Microsoft 365, the ID is specified in the "id" property of the
23450+
* {@link https://learn.microsoft.com/microsoft-365/extensibility/schema/extension-common-custom-group-controls-item#id | "extensions.ribbons.tabs.groups.controls"} object that represents the task pane.
23451+
* In an add-in only manifest, the ID is specified in the `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element that represents the task pane.
2345223452
*
2345323453
* - If you configure the `commandId` option in the `event.completed` call, a post-processing dialog isn't shown to the user
2345423454
* even if the `showPostProcessingDialog` option is specified in the call.

0 commit comments

Comments
 (0)