@types/office-js 1.0.391 → 1.0.393

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: Fri, 24 May 2024 21:35:52 GMT
11
+ * Last updated: Fri, 31 May 2024 21:07:10 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
office-js/index.d.ts CHANGED
@@ -241,6 +241,10 @@ declare namespace Office {
241
241
  * Represents the Auth interface.
242
242
  */
243
243
  const auth: Auth;
244
+ /**
245
+ * Represents the Device Permission interface.
246
+ */
247
+ const devicePermission: DevicePermission;
244
248
  /**
245
249
  * Represents the ribbon associated with the Office application.
246
250
  */
@@ -31848,7 +31852,7 @@ declare namespace Excel {
31848
31852
  */
31849
31853
  readonly protected: boolean;
31850
31854
  /**
31851
- * Protects a workbook. Fails if the workbook has been protected.
31855
+ * Protects the workbook. Fails if the workbook has been protected.
31852
31856
  *
31853
31857
  * @remarks
31854
31858
  * [Api set: ExcelApi 1.7]
@@ -31857,7 +31861,7 @@ declare namespace Excel {
31857
31861
  */
31858
31862
  protect(password?: string): void;
31859
31863
  /**
31860
- * Unprotects a workbook.
31864
+ * Unprotects the workbook.
31861
31865
  *
31862
31866
  * @remarks
31863
31867
  * [Api set: ExcelApi 1.7]
@@ -32053,7 +32057,7 @@ declare namespace Excel {
32053
32057
  */
32054
32058
  readonly id: string;
32055
32059
  /**
32056
- * The display name of the worksheet.
32060
+ * The display name of the worksheet. The name must be fewer than 32 characters.
32057
32061
  *
32058
32062
  * @remarks
32059
32063
  * [Api set: ExcelApi 1.1]
@@ -33605,6 +33609,7 @@ declare namespace Excel {
33605
33609
  getColumnsBefore(count?: number): Excel.Range;
33606
33610
  /**
33607
33611
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the dependent cells of a specified range in the same worksheet or across multiple worksheets.
33612
+ * Note: This API returns an `ItemNotFound` error if no dependents are found.
33608
33613
  *
33609
33614
  * @remarks
33610
33615
  * [Api set: ExcelApi 1.15]
@@ -33612,6 +33617,7 @@ declare namespace Excel {
33612
33617
  getDependents(): Excel.WorkbookRangeAreas;
33613
33618
  /**
33614
33619
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the direct dependent cells of a specified range in the same worksheet or across multiple worksheets.
33620
+ * Note: This API returns an `ItemNotFound` error if no dependents are found.
33615
33621
  *
33616
33622
  * @remarks
33617
33623
  * [Api set: ExcelApi 1.13]
@@ -33619,6 +33625,7 @@ declare namespace Excel {
33619
33625
  getDirectDependents(): Excel.WorkbookRangeAreas;
33620
33626
  /**
33621
33627
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the direct precedent cells of a specified range in the same worksheet or across multiple worksheets.
33628
+ * Note: This API returns an `ItemNotFound` error if no precedents are found.
33622
33629
  *
33623
33630
  * @remarks
33624
33631
  * [Api set: ExcelApi 1.12]
@@ -33736,6 +33743,7 @@ declare namespace Excel {
33736
33743
  getPivotTables(fullyContained?: boolean): Excel.PivotTableScopedCollection;
33737
33744
  /**
33738
33745
  * Returns a `WorkbookRangeAreas` object that represents the range containing all the precedent cells of a specified range in the same worksheet or across multiple worksheets.
33746
+ * Note: This API returns an `ItemNotFound` error if no precedents are found.
33739
33747
  *
33740
33748
  * @remarks
33741
33749
  * [Api set: ExcelApi 1.14]
@@ -62675,7 +62683,7 @@ declare namespace Excel {
62675
62683
  */
62676
62684
  enableCalculation?: boolean;
62677
62685
  /**
62678
- * The display name of the worksheet.
62686
+ * The display name of the worksheet. The name must be fewer than 32 characters.
62679
62687
  *
62680
62688
  * @remarks
62681
62689
  * [Api set: ExcelApi 1.1]
@@ -67893,7 +67901,7 @@ declare namespace Excel {
67893
67901
  */
67894
67902
  id?: string;
67895
67903
  /**
67896
- * The display name of the worksheet.
67904
+ * The display name of the worksheet. The name must be fewer than 32 characters.
67897
67905
  *
67898
67906
  * @remarks
67899
67907
  * [Api set: ExcelApi 1.1]
@@ -74590,7 +74598,7 @@ declare namespace Excel {
74590
74598
  */
74591
74599
  id?: boolean;
74592
74600
  /**
74593
- * The display name of the worksheet.
74601
+ * The display name of the worksheet. The name must be fewer than 32 characters.
74594
74602
  *
74595
74603
  * @remarks
74596
74604
  * [Api set: ExcelApi 1.1]
@@ -74718,7 +74726,7 @@ declare namespace Excel {
74718
74726
  */
74719
74727
  id?: boolean;
74720
74728
  /**
74721
- * For EACH ITEM in the collection: The display name of the worksheet.
74729
+ * For EACH ITEM in the collection: The display name of the worksheet. The name must be fewer than 32 characters.
74722
74730
  *
74723
74731
  * @remarks
74724
74732
  * [Api set: ExcelApi 1.1]
office-js/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js",
3
- "version": "1.0.391",
3
+ "version": "1.0.393",
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": "e22b82bc57b83f2ec3c1c1cae96750c861714f35f1d3ba03936ada2ab135868f",
48
+ "typesPublisherContentHash": "d0c009e0f7eaef88d5bdd0db3b1d1e570811c8b65b0a521f34681d6a1a95197c",
49
49
  "typeScriptVersion": "4.7"
50
50
  }