Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12978,6 +12978,24 @@ declare namespace Office {
* `Office.MailboxEnums.AttachmentType.File`. The file name extension is returned in the `name` property.
*/
attachmentType: MailboxEnums.AttachmentType | string;
/**
* Gets the content identifier of an inline attachment.
*
* @remarks
*
* **Important**:
*
* - The `contentId` property is only supported in Outlook on the web and the new Outlook on Windows.
*
* - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
* After the change, the image will be represented by a content ID (`cid`) in the `src` attribute instead.
* As a result, you'll need to update your add-in's parsing logic if you parse the attachment ID from the HTML editor or
* get the Base64 value of the image from the URL in the `src` attribute. For more information, see
* {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
*/
contentId: string;
/**
* Gets the index of the attachment.
*/
Expand Down
16 changes: 16 additions & 0 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12933,6 +12933,22 @@ declare namespace Office {
* `Office.MailboxEnums.AttachmentType.File`. The file name extension is returned in the `name` property.
*/
attachmentType: MailboxEnums.AttachmentType | string;
/**
* Gets the content identifier of an inline attachment.
*
* **Important**:
*
* - The `contentId` property is only supported in Outlook on the web and the new Outlook on Windows.
*
* - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
* After the change, the image will be represented by a content ID (`cid`) in the `src` attribute instead.
* As a result, you'll need to update your add-in's parsing logic if you parse the attachment ID from the HTML editor or
* get the Base64 value of the image from the URL in the `src` attribute. For more information, see
* {@link https://devblogs.microsoft.com/microsoft365dev/changes-to-inline-images-in-outlook | Changes to inline image representation in Outlook on the web and new Outlook for Windows}.
*/
contentId: string;
/**
* Gets the index of the attachment.
*/
Expand Down
7 changes: 7 additions & 0 deletions types/reveal.js/plugin/notes/notes.esm.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ import Reveal = require("../../.");
declare const RevealNotes: Reveal.PluginFunction;

export = RevealNotes;

declare module "reveal.js" {
interface Options {
totalTime?: number | undefined;
minTimePerSlide?: number | undefined;
}
}
7 changes: 7 additions & 0 deletions types/reveal.js/plugin/notes/notes/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,10 @@ import Reveal = require("../../../.");
declare const RevealNotes: Reveal.PluginFunction;

export = RevealNotes;

declare module "reveal.js" {
interface Options {
totalTime?: number | undefined;
minTimePerSlide?: number | undefined;
}
}
2 changes: 2 additions & 0 deletions types/reveal.js/reveal.esm.js-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,8 @@ deck.configure({});
// $ExpectType void
deck.configure({ slideNumber: true, width: 20, height: 20 });

deck.configure({ totalTime: 0, minTimePerSlide: 0 });

// -------------- //
// destroy method //
// -------------- //
Expand Down
2 changes: 2 additions & 0 deletions types/reveal.js/reveal.js-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ deck.configure({ controls: "speaker-only" });
// @ts-expect-error
deck.configure({ controls: "foo" });

deck.configure({ totalTime: 0, minTimePerSlide: 0 });

// -------------- //
// destroy method //
// -------------- //
Expand Down