@types/office-js 1.0.372 → 1.0.373

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 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: Thu, 08 Feb 2024 22:06:43 GMT
11
+ * Last updated: Fri, 09 Feb 2024 17:35:52 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -12216,29 +12216,33 @@ declare namespace Office {
12216
12216
  size: number;
12217
12217
  }
12218
12218
  /**
12219
- * Provides information about the attachments that raised the `Office.EventType.AttachmentsChanged` event.
12219
+ * Provides information about an attachment on a mail item that raised the
12220
+ * `Office.EventType.AttachmentsChanged` event.
12220
12221
  *
12221
12222
  * @remarks
12222
12223
  * [Api set: Mailbox 1.8]
12223
12224
  */
12224
12225
  export interface AttachmentsChangedEventArgs {
12225
12226
  /**
12226
- * Represents the set of attachments that were added or removed.
12227
- * For each such attachment, gets `id`, `name`, `size`, and `attachmentType` properties.
12227
+ * Gets the object that represents the attachment that was added or removed from
12228
+ * a mail item. The object contains the `id`, `name`, `size`, and `attachmentType` properties
12229
+ * of the attachment.
12228
12230
  *
12229
12231
  * @remarks
12230
12232
  * [Api set: Mailbox 1.8]
12231
12233
  */
12232
- attachmentDetails: object[];
12234
+ attachmentDetails: object;
12233
12235
  /**
12234
- * Gets whether the attachments were added or removed. For details, refer to {@link Office.MailboxEnums.AttachmentStatus | MailboxEnums.AttachmentStatus}.
12236
+ * Specifies whether the attachment was added or removed from a mail item. For details, see
12237
+ * {@link Office.MailboxEnums.AttachmentStatus | MailboxEnums.AttachmentStatus}.
12235
12238
  *
12236
12239
  * @remarks
12237
12240
  * [Api set: Mailbox 1.8]
12238
12241
  */
12239
12242
  attachmentStatus: MailboxEnums.AttachmentStatus | string;
12240
12243
  /**
12241
- * Gets the type of the event. For details, refer to {@link https://learn.microsoft.com/javascript/api/office/office.eventtype | Office.EventType}.
12244
+ * Gets the type of event that was raised. For details, see
12245
+ * {@link https://learn.microsoft.com/javascript/api/office/office.eventtype | Office.EventType}.
12242
12246
  *
12243
12247
  * @remarks
12244
12248
  * [Api set: Mailbox 1.8]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.372",
3
+ "version": "1.0.373",
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",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "dfc0a2df4c4681cade20f09cd71893ee95b881e244296ecd68d2796b75cd7f76",
48
+ "typesPublisherContentHash": "d6336df89fecd7193c0d8bd7e63877e88222824f386e10888a1006731afd510c",
49
49
  "typeScriptVersion": "4.6"
50
50
  }