@types/office-js 1.0.564 → 1.0.565
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 +1 -1
- office-js/index.d.ts +60 -7
- office-js/package.json +2 -2
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:
|
|
11
|
+
* Last updated: Thu, 18 Dec 2025 00:04:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -12992,17 +12992,15 @@ declare namespace Office {
|
|
|
12992
12992
|
*
|
|
12993
12993
|
* **Important**:
|
|
12994
12994
|
*
|
|
12995
|
-
* - The `contentId` property is only supported in Outlook on the web
|
|
12995
|
+
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
|
|
12996
12996
|
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
|
|
12997
12997
|
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
|
|
12998
12998
|
*
|
|
12999
|
-
* -
|
|
13000
|
-
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
|
|
12999
|
+
* - 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 released on November 15, 2025.
|
|
13001
13000
|
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
13002
|
-
*
|
|
13003
|
-
*
|
|
13004
|
-
*
|
|
13005
|
-
* {@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}.
|
|
13001
|
+
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
|
|
13002
|
+
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
|
|
13003
|
+
* 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}.
|
|
13006
13004
|
*/
|
|
13007
13005
|
contentId: string;
|
|
13008
13006
|
/**
|
|
@@ -13061,6 +13059,24 @@ declare namespace Office {
|
|
|
13061
13059
|
* Gets a value that indicates the attachment's type.
|
|
13062
13060
|
*/
|
|
13063
13061
|
attachmentType: MailboxEnums.AttachmentType | string;
|
|
13062
|
+
/**
|
|
13063
|
+
* Gets the content identifier of an inline attachment.
|
|
13064
|
+
*
|
|
13065
|
+
* @remarks
|
|
13066
|
+
*
|
|
13067
|
+
* **Important**:
|
|
13068
|
+
*
|
|
13069
|
+
* - The `contentId` property is only supported in Outlook on the web, the new Outlook on Windows, and classic Outlook on Windows (preview).
|
|
13070
|
+
* To preview the `contentId` property in classic Outlook on Windows, your Outlook client must run Version 2510 (Build 19312.20000)
|
|
13071
|
+
* or later and must be on the Beta Channel. For more information, see {@link https://aka.ms/Msft365InsiderProgram | Microsoft 365 Insider Program}.
|
|
13072
|
+
*
|
|
13073
|
+
* - 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 released on November 15, 2025.
|
|
13074
|
+
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
13075
|
+
* Now, the image is represented by a content ID (`cid`) in the `src` attribute instead.
|
|
13076
|
+
* If you parse the attachment ID from the HTML editor or get the Base64-encoded value of the image from the URL in the `src` attribute, you must update your add-in's parsing logic.
|
|
13077
|
+
* 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}.
|
|
13078
|
+
*/
|
|
13079
|
+
contentId: string;
|
|
13064
13080
|
/**
|
|
13065
13081
|
* Gets the MIME content type of the attachment.
|
|
13066
13082
|
*
|
|
@@ -14535,6 +14551,24 @@ declare namespace Office {
|
|
|
14535
14551
|
* [Api set: Mailbox 1.5]
|
|
14536
14552
|
*/
|
|
14537
14553
|
pageY: number;
|
|
14554
|
+
/**
|
|
14555
|
+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
|
|
14556
|
+
* The position is relative to the left edge of the add-in's task pane.
|
|
14557
|
+
*
|
|
14558
|
+
* @remarks
|
|
14559
|
+
*
|
|
14560
|
+
* [Api set: Mailbox 1.5]
|
|
14561
|
+
*/
|
|
14562
|
+
taskPaneX: number;
|
|
14563
|
+
/**
|
|
14564
|
+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
|
|
14565
|
+
* The position is relative to the top edge of the add-in's task pane.
|
|
14566
|
+
*
|
|
14567
|
+
* @remarks
|
|
14568
|
+
*
|
|
14569
|
+
* [Api set: Mailbox 1.5]
|
|
14570
|
+
*/
|
|
14571
|
+
taskPaneY: number;
|
|
14538
14572
|
/**
|
|
14539
14573
|
* Gets the type of drag-and-drop event. The `dragover` event occurs when messages or file attachments are dragged over an add-in's task pane.
|
|
14540
14574
|
*
|
|
@@ -14575,11 +14609,30 @@ declare namespace Office {
|
|
|
14575
14609
|
/**
|
|
14576
14610
|
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
|
|
14577
14611
|
* The position is relative to the top edge of the Outlook on the web or the new Outlook on Windows client window.
|
|
14612
|
+
*
|
|
14578
14613
|
* @remarks
|
|
14579
14614
|
*
|
|
14580
14615
|
* [Api set: Mailbox 1.5]
|
|
14581
14616
|
*/
|
|
14582
14617
|
pageY: number;
|
|
14618
|
+
/**
|
|
14619
|
+
* Gets the x-coordinate of the mouse pointer that represents the horizontal position in pixels.
|
|
14620
|
+
* The position is relative to the left edge of the add-in's task pane.
|
|
14621
|
+
*
|
|
14622
|
+
* @remarks
|
|
14623
|
+
*
|
|
14624
|
+
* [Api set: Mailbox 1.5]
|
|
14625
|
+
*/
|
|
14626
|
+
taskPaneX: number;
|
|
14627
|
+
/**
|
|
14628
|
+
* Gets the y-coordinate of the mouse pointer that represents the vertical position in pixels.
|
|
14629
|
+
* The position is relative to the top edge of the add-in's task pane.
|
|
14630
|
+
*
|
|
14631
|
+
* @remarks
|
|
14632
|
+
*
|
|
14633
|
+
* [Api set: Mailbox 1.5]
|
|
14634
|
+
*/
|
|
14635
|
+
taskPaneY: number;
|
|
14583
14636
|
/**
|
|
14584
14637
|
* Gets the type of drag-and-drop event. The `drop` event occurs when messages or file attachments are dropped into an add-in's task pane.
|
|
14585
14638
|
*
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.565",
|
|
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",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "cadb113d9e881af832b061aa0677d3b161ab6b2882f3144704e7d5280b709d47",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|