@types/office-js 1.0.230 → 1.0.234

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: Wed, 05 Jan 2022 00:01:27 GMT
11
+ * Last updated: Wed, 26 Jan 2022 18:31:26 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
office-js/index.d.ts CHANGED
@@ -329,6 +329,10 @@ declare namespace Office {
329
329
  * @param useShortNamespace True to use the shortcut alias; otherwise false to disable it. The default is true.
330
330
  */
331
331
  function useShortNamespace(useShortNamespace: boolean): void;
332
+ /**
333
+ * Provides a method for associating action names with functions that carry out an action.
334
+ */
335
+ const actions: Actions;
332
336
  /**
333
337
  * Represents the add-in.
334
338
  */
@@ -11604,8 +11608,11 @@ declare namespace Office {
11604
11608
  /**
11605
11609
  * Gets the MIME content type of the attachment.
11606
11610
  *
11607
- * **Important**: While the `contentType` value is a direct lookup of the attachment's extension, the internal mapping isn't actively maintained.
11608
- * If you require specific types, grab the attachment's extension and process accordingly.
11611
+ * **Warning**: While the `contentType` value is a direct lookup of the attachment's extension, the internal mapping isn't actively maintained
11612
+ * so this property has been deprecated. If you require specific types, grab the attachment's extension and process accordingly. For details,
11613
+ * refer to the {@link https://devblogs.microsoft.com/microsoft365dev/outlook-javascript-api-deprecation-for-attachmentdetails-contenttype-property/ | related blog post }.
11614
+ *
11615
+ * @deprecated If you require specific content types, grab the attachment's extension and process accordingly.
11609
11616
  */
11610
11617
  contentType: string;
11611
11618
  /**
@@ -22591,7 +22598,7 @@ declare namespace Excel {
22591
22598
  *
22592
22599
  * @param text The string to find.
22593
22600
  * @param criteria Additional search criteria, including whether the search needs to match the entire cell or be case-sensitive.
22594
- * @returns A `RangeAreas` object, comprising one or more rectangular ranges, that matches the search criteria. If there are no matches, then this function will return an object with its `isNullObject` property set to `true`.
22601
+ * @returns A `RangeAreas` object, comprising one or more rectangular ranges, that matches the search criteria. If there are no matches, then this method returns an object with its `isNullObject` property set to `true`.
22595
22602
  For further information, see {@link https://docs.microsoft.com/office/dev/add-ins/develop/application-specific-api-model#ornullobject-methods-and-properties | *OrNullObject methods and properties}.
22596
22603
  */
22597
22604
  findAllOrNullObject(text: string, criteria: Excel.WorksheetSearchCriteria): Excel.RangeAreas;
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.230",
3
+ "version": "1.0.234",
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",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "fbd25fc1dbc6cffe443aa13cdfee87cb5ec80c1ea39f251c348082259fad245e",
43
+ "typesPublisherContentHash": "d762eab95a082f7cfb2a22d92ec97193dd68984db81f145fcb52d228ec86169d",
44
44
  "typeScriptVersion": "3.8"
45
45
  }