@types/office-js-preview 1.0.647 → 1.0.648
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-preview/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview.
|
|
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-preview/index.d.ts
CHANGED
|
@@ -12978,6 +12978,24 @@ declare namespace Office {
|
|
|
12978
12978
|
* `Office.MailboxEnums.AttachmentType.File`. The file name extension is returned in the `name` property.
|
|
12979
12979
|
*/
|
|
12980
12980
|
attachmentType: MailboxEnums.AttachmentType | string;
|
|
12981
|
+
/**
|
|
12982
|
+
* Gets the content identifier of an inline attachment.
|
|
12983
|
+
*
|
|
12984
|
+
* @remarks
|
|
12985
|
+
*
|
|
12986
|
+
* **Important**:
|
|
12987
|
+
*
|
|
12988
|
+
* - The `contentId` property is only supported in Outlook on the web and the new Outlook on Windows.
|
|
12989
|
+
*
|
|
12990
|
+
* - Starting November 15, 2025, changes to how inline images are represented in the HTML body of Outlook emails in
|
|
12991
|
+
* Outlook on the web and the new Outlook on Windows will begin rolling out to production users.
|
|
12992
|
+
* Previously, the attachment ID of the image appeared in the `src` attribute of the applicable `<img>` element.
|
|
12993
|
+
* After the change, the image will be represented by a content ID (`cid`) in the `src` attribute instead.
|
|
12994
|
+
* 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
|
|
12995
|
+
* get the Base64 value of the image from the URL in the `src` attribute. For more information, see
|
|
12996
|
+
* {@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}.
|
|
12997
|
+
*/
|
|
12998
|
+
contentId: string;
|
|
12981
12999
|
/**
|
|
12982
13000
|
* Gets the index of the attachment.
|
|
12983
13001
|
*/
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.648",
|
|
4
4
|
"description": "TypeScript definitions for office-js-preview",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "4897ee84b327c33cfd81a116cbacdf04d1010cadd3f540ae237af15f59f6cff4",
|
|
50
50
|
"typeScriptVersion": "5.2",
|
|
51
51
|
"nonNpm": true
|
|
52
52
|
}
|