@types/office-js-preview 1.0.345 → 1.0.347

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.
@@ -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-preview.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 11 Oct 2022 19:03:07 GMT
11
+ * Last updated: Thu, 27 Oct 2022 15:02:53 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
14
14
 
@@ -8933,16 +8933,23 @@ declare namespace Office {
8933
8933
  */
8934
8934
  enum OWAView {
8935
8935
  /**
8936
- * 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.
8936
+ * Narrow one-column view. Displayed when the screen width is less than 436 pixels.
8937
+ * For example, Outlook on the web uses this view on the entire screen of older smartphones.
8938
+ */
8939
+ OneColumnNarrow = "OneColumnNarrow",
8940
+ /**
8941
+ * One-column view. Displayed when the screen width is greater than or equal to 436 pixels,
8942
+ * but less than 536 pixels. For example, Outlook on the web uses this view on the entire screen of newer smartphones.
8937
8943
  */
8938
8944
  OneColumn = "OneColumn",
8939
8945
  /**
8940
- * Two-column view. Displayed when the screen is wider. Outlook on the web uses this view on most tablets.
8946
+ * Two-column view. Displayed when the screen width is greater than or equal to 536 pixels,
8947
+ * but less than 780 pixels. For example, Outlook on the web uses this view on most tablets.
8941
8948
  */
8942
8949
  TwoColumns = "TwoColumns",
8943
8950
  /**
8944
- 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
8945
- computer.
8951
+ * Three-column view. Displayed when the screen width is greater than or equal to 780 pixels.
8952
+ * For example, Outlook on the web uses this view in a full screen window on a desktop computer.
8946
8953
  */
8947
8954
  ThreeColumns = "ThreeColumns"
8948
8955
  }
@@ -19250,6 +19257,12 @@ declare namespace OfficeExtension {
19250
19257
  innerError: Error;
19251
19258
  }
19252
19259
 
19260
+ /**
19261
+ * Represents the error code that can be returned by {@link OfficeExtension.Error | OfficeExtension.Error.code}.
19262
+ *
19263
+ * To learn more about the error codes, see
19264
+ * {@link https://learn.microsoft.com/office/dev/add-ins/reference/javascript-api-for-office-error-codes | Office Common API error codes}.
19265
+ */
19253
19266
  class ErrorCodes {
19254
19267
  public static accessDenied: string;
19255
19268
  public static generalException: string;
@@ -86950,7 +86963,7 @@ declare namespace Word {
86950
86963
  */
86951
86964
  readonly text: string;
86952
86965
  /**
86953
- * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'.
86966
+ * 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.
86954
86967
  *
86955
86968
  * @remarks
86956
86969
  * [Api set: WordApi 1.3]
@@ -96773,7 +96786,7 @@ declare namespace Word {
96773
96786
  */
96774
96787
  text?: string;
96775
96788
  /**
96776
- * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'.
96789
+ * 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.
96777
96790
  *
96778
96791
  * @remarks
96779
96792
  * [Api set: WordApi 1.3]
@@ -98361,7 +98374,7 @@ declare namespace Word {
98361
98374
  */
98362
98375
  text?: boolean;
98363
98376
  /**
98364
- * Gets the type of the body. The type can be 'MainDoc', 'Section', 'Header', 'Footer', or 'TableCell'.
98377
+ * 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.
98365
98378
  *
98366
98379
  * @remarks
98367
98380
  * [Api set: WordApi 1.3]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.345",
3
+ "version": "1.0.347",
4
4
  "description": "TypeScript definitions for Office.js",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -45,6 +45,6 @@
45
45
  },
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
- "typesPublisherContentHash": "ae68728106dd1e0a87a2dc905c398e2b4decbef4a2501e3be74068756abe99d7",
48
+ "typesPublisherContentHash": "9a013320a8546e40cf9a8f090a50267ee53d6d06a47577aba295fb45d65ee2a2",
49
49
  "typeScriptVersion": "4.1"
50
50
  }