@types/office-js 1.0.290 → 1.0.291

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: Mon, 10 Oct 2022 23:33:17 GMT
11
+ * Last updated: Thu, 13 Oct 2022 18:03:30 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
@@ -8806,16 +8806,23 @@ declare namespace Office {
8806
8806
  */
8807
8807
  enum OWAView {
8808
8808
  /**
8809
- * One-column view. Displayed when the screen is narrow. Outlook on the web uses this single-column layout on the entire screen of a smartphone.
8809
+ * Narrow one-column view. Displayed when the screen width is less than 436 pixels.
8810
+ * For example, Outlook on the web uses this view on the entire screen of older smartphones.
8811
+ */
8812
+ OneColumnNarrow = "OneColumnNarrow",
8813
+ /**
8814
+ * One-column view. Displayed when the screen width is greater than or equal to 436 pixels,
8815
+ * but less than 536 pixels. For example, Outlook on the web uses this view on the entire screen of newer smartphones.
8810
8816
  */
8811
8817
  OneColumn = "OneColumn",
8812
8818
  /**
8813
- * Two-column view. Displayed when the screen is wider. Outlook on the web uses this view on most tablets.
8819
+ * Two-column view. Displayed when the screen width is greater than or equal to 536 pixels,
8820
+ * but less than 780 pixels. For example, Outlook on the web uses this view on most tablets.
8814
8821
  */
8815
8822
  TwoColumns = "TwoColumns",
8816
8823
  /**
8817
- Three-column view. Displayed when the screen is wide. For example, Outlook on the web uses this view in a full screen window on a desktop
8818
- computer.
8824
+ * Three-column view. Displayed when the screen width is greater than or equal to 780 pixels.
8825
+ * For example, Outlook on the web uses this view in a full screen window on a desktop computer.
8819
8826
  */
8820
8827
  ThreeColumns = "ThreeColumns"
8821
8828
  }
@@ -82763,7 +82770,7 @@ declare namespace Word {
82763
82770
  */
82764
82771
  readonly text: string;
82765
82772
  /**
82766
- * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'.
82773
+ * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'. Additional types ‘Footnote’, ‘Endnote’, and ‘NoteItem’ are supported in WordApiOnline 1.1 and later.
82767
82774
  *
82768
82775
  * @remarks
82769
82776
  * [Api set: WordApi 1.3]
@@ -92114,7 +92121,7 @@ declare namespace Word {
92114
92121
  */
92115
92122
  text?: string;
92116
92123
  /**
92117
- * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'.
92124
+ * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'. Additional types ‘Footnote’, ‘Endnote’, and ‘NoteItem’ are supported in WordApiOnline 1.1 and later.
92118
92125
  *
92119
92126
  * @remarks
92120
92127
  * [Api set: WordApi 1.3]
@@ -93694,7 +93701,7 @@ declare namespace Word {
93694
93701
  */
93695
93702
  text?: boolean;
93696
93703
  /**
93697
- * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'.
93704
+ * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'. Additional types ‘Footnote’, ‘Endnote’, and ‘NoteItem’ are supported in WordApiOnline 1.1 and later.
93698
93705
  *
93699
93706
  * @remarks
93700
93707
  * [Api set: WordApi 1.3]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.290",
3
+ "version": "1.0.291",
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": "ea1c7c5d20f3022b5e4517b5ad2415b962768fb3139076fb5d139981af3b5e03",
48
+ "typesPublisherContentHash": "7900aba913193c1b33e92878683fca29d87f2544f9103cfccad7fe0098aa5828",
49
49
  "typeScriptVersion": "4.1"
50
50
  }