Skip to content

Commit 526c36a

Browse files
[office-js] [office-js-preview] (Outlook) Keep AttachmentDetails (DefinitelyTyped#44926)
* [office-js] [office-js-preview] (Outlook) Update AttachmentType.cloud description * [office-js] [office-js-preview] (Outlook) Keep AttachmentDetails
1 parent 5d89225 commit 526c36a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7993,7 +7993,7 @@ declare namespace Office {
79937993
/**
79947994
* The attachment is stored in a cloud location, such as OneDrive.
79957995
*
7996-
* **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetailsRead | details} object
7996+
* **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetails | details} object
79977997
* contains a URL to the file.
79987998
* From requirement set 1.8, the `url` property included in the attachment's {@link Office.AttachmentDetailsCompose | details} object
79997999
* contains a URL to the file in Compose mode.
@@ -10519,7 +10519,7 @@ declare namespace Office {
1051910519
* {@link https://support.office.com/article/Blocked-attachments-in-Outlook-434752E1-02D3-4E90-9124-8B81E49A8519 | Blocked attachments in Outlook}.
1052010520
*
1052110521
*/
10522-
attachments: AttachmentDetailsRead[];
10522+
attachments: AttachmentDetails[];
1052310523
/**
1052410524
* Gets an object that provides methods for manipulating the body of an item.
1052510525
*
@@ -11433,7 +11433,7 @@ declare namespace Office {
1143311433
/**
1143411434
* Represents an attachment on an item from the server. Read mode only.
1143511435
*
11436-
* An array of `AttachmentDetailsRead` objects is returned as the attachments property of an appointment or message item.
11436+
* An array of `AttachmentDetails` objects is returned as the attachments property of an appointment or message item.
1143711437
*
1143811438
* [Api set: Mailbox 1.1]
1143911439
*
@@ -11443,7 +11443,7 @@ declare namespace Office {
1144311443
*
1144411444
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Read
1144511445
*/
11446-
interface AttachmentDetailsRead {
11446+
interface AttachmentDetails {
1144711447
/**
1144811448
* Gets a value that indicates the type of an attachment.
1144911449
*/
@@ -14919,7 +14919,7 @@ declare namespace Office {
1491914919
* {@link https://support.office.com/article/Blocked-attachments-in-Outlook-434752E1-02D3-4E90-9124-8B81E49A8519 | Blocked attachments in Outlook}.
1492014920
*
1492114921
*/
14922-
attachments: AttachmentDetailsRead[];
14922+
attachments: AttachmentDetails[];
1492314923
/**
1492414924
* Gets an object that provides methods for manipulating the body of an item.
1492514925
*

types/office-js/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7668,7 +7668,7 @@ declare namespace Office {
76687668
/**
76697669
* The attachment is stored in a cloud location, such as OneDrive.
76707670
*
7671-
* **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetailsRead | details} object
7671+
* **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetails | details} object
76727672
* contains a URL to the file.
76737673
* From requirement set 1.8, the `url` property included in the attachment's
76747674
* {@link https://docs.microsoft.com/javascript/api/outlook/office.attachmentdetailscompose?view=outlook-js-1.8 | details} object
@@ -9992,7 +9992,7 @@ declare namespace Office {
99929992
* {@link https://support.office.com/article/Blocked-attachments-in-Outlook-434752E1-02D3-4E90-9124-8B81E49A8519 | Blocked attachments in Outlook}.
99939993
*
99949994
*/
9995-
attachments: AttachmentDetailsRead[];
9995+
attachments: AttachmentDetails[];
99969996
/**
99979997
* Gets an object that provides methods for manipulating the body of an item.
99989998
*
@@ -10830,7 +10830,7 @@ declare namespace Office {
1083010830
/**
1083110831
* Represents an attachment on an item from the server. Read mode only.
1083210832
*
10833-
* An array of `AttachmentDetailsRead` objects is returned as the attachments property of an appointment or message item.
10833+
* An array of `AttachmentDetails` objects is returned as the attachments property of an appointment or message item.
1083410834
*
1083510835
* [Api set: Mailbox 1.1]
1083610836
*
@@ -10840,7 +10840,7 @@ declare namespace Office {
1084010840
*
1084110841
* **{@link https://docs.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Read
1084210842
*/
10843-
interface AttachmentDetailsRead {
10843+
interface AttachmentDetails {
1084410844
/**
1084510845
* Gets a value that indicates the type of an attachment.
1084610846
*/
@@ -13985,7 +13985,7 @@ declare namespace Office {
1398513985
* {@link https://support.office.com/article/Blocked-attachments-in-Outlook-434752E1-02D3-4E90-9124-8B81E49A8519 | Blocked attachments in Outlook}.
1398613986
*
1398713987
*/
13988-
attachments: AttachmentDetailsRead[];
13988+
attachments: AttachmentDetails[];
1398913989
/**
1399013990
* Gets an object that provides methods for manipulating the body of an item.
1399113991
*

0 commit comments

Comments
 (0)