@types/office-js 1.0.544 → 1.0.545
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 +16 -0
- 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: Tue, 07 Oct 2025 21:32:25 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -12933,6 +12933,22 @@ declare namespace Office {
|
|
|
12933
12933
|
* `Office.MailboxEnums.AttachmentType.File`. The file name extension is returned in the `name` property.
|
|
12934
12934
|
*/
|
|
12935
12935
|
attachmentType: MailboxEnums.AttachmentType | string;
|
|
12936
|
+
/**
|
|
12937
|
+
* Gets the content identifier of an inline attachment.
|
|
12938
|
+
*
|
|
12939
|
+
* **Important**:
|
|
12940
|
+
*
|
|
12941
|
+
* - The `contentId` property is only supported in Outlook on the web and the new Outlook on Windows.
|
|
12942
|
+
*
|
|
12943
|
+
* - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
|
|
12944
|
+
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
|
|
12945
|
+
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
12946
|
+
* After the change, the image will be represented by a content ID (`cid`) in the `src` attribute instead.
|
|
12947
|
+
* 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
|
|
12948
|
+
* get the Base64 value of the image from the URL in the `src` attribute. For more information, see
|
|
12949
|
+
* {@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}.
|
|
12950
|
+
*/
|
|
12951
|
+
contentId: string;
|
|
12936
12952
|
/**
|
|
12937
12953
|
* Gets the index of the attachment.
|
|
12938
12954
|
*/
|
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.545",
|
|
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": "00bd4dd838947ee41e003e4f86318e30c4470db8d92a00e41aa9d7d8e5a9e23c",
|
|
50
50
|
"typeScriptVersion": "5.2"
|
|
51
51
|
}
|