@types/office-js-preview 1.0.584 → 1.0.585

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-preview (https://github.com
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: Sat, 19 Apr 2025 18:36:48 GMT
11
+ * Last updated: Mon, 21 Apr 2025 20:34:41 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -24996,7 +24996,7 @@ declare namespace Excel {
24996
24996
  icon?: string | EntityCompactLayoutIcons;
24997
24997
  }
24998
24998
  /**
24999
- * Represents a card layout used for the boolean, double, and string basic types.
24999
+ * Represents a card layout used for the Boolean, double, and string basic types.
25000
25000
  *
25001
25001
  * @remarks
25002
25002
  * [Api set: ExcelApi BETA (PREVIEW ONLY)]
@@ -31046,36 +31046,36 @@ declare namespace Excel {
31046
31046
  */
31047
31047
  preview?: CellValue;
31048
31048
  /**
31049
- * Represents the runtime language of this external code service.
31050
- *
31051
- * @remarks
31052
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31053
- * @beta
31054
- */
31049
+ * Represents the runtime language of this external code service.
31050
+ *
31051
+ * @remarks
31052
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31053
+ * @beta
31054
+ */
31055
31055
  language: "Python";
31056
31056
  /**
31057
- * Represents the full type name of this object.
31058
- *
31059
- * @remarks
31060
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31061
- * @beta
31062
- */
31057
+ * Represents the full type name of this object.
31058
+ *
31059
+ * @remarks
31060
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31061
+ * @beta
31062
+ */
31063
31063
  Python_type: string;
31064
31064
  /**
31065
- * Represents the short type name of this object.
31066
- *
31067
- * @remarks
31068
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31069
- * @beta
31070
- */
31065
+ * Represents the short type name of this object.
31066
+ *
31067
+ * @remarks
31068
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31069
+ * @beta
31070
+ */
31071
31071
  Python_typeName: string;
31072
31072
  /**
31073
- * Represents the output of str() function when used on this object.
31074
- *
31075
- * @remarks
31076
- * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31077
- * @beta
31078
- */
31073
+ * Represents the output of the `str()` function when used on this object.
31074
+ *
31075
+ * @remarks
31076
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
31077
+ * @beta
31078
+ */
31079
31079
  Python_str: string;
31080
31080
  /**
31081
31081
  * Represents information about the service that provided the data in this `ExternalCodeServiceObjectCellValue`.
@@ -41718,6 +41718,26 @@ declare namespace Excel {
41718
41718
  * @param groupOption Specifies whether to show the details of grouped rows or grouped columns.
41719
41719
  */
41720
41720
  showGroupDetails(groupOption: "ByRows" | "ByColumns"): void;
41721
+ /**
41722
+ * Sets the marshaling mode of the Python in Excel formula =PY.
41723
+ *
41724
+ * @remarks
41725
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
41726
+ * @beta
41727
+ *
41728
+ * @param marshalMode The mode to set. If not specified, switches from `ExcelValue` to `PythonObject` or vice versa.
41729
+ */
41730
+ togglePythonMarshalMode(marshalMode?: Excel.PythonMarshalMode): void;
41731
+ /**
41732
+ * Sets the marshaling mode of the Python in Excel formula =PY.
41733
+ *
41734
+ * @remarks
41735
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
41736
+ * @beta
41737
+ *
41738
+ * @param marshalMode The mode to set. If not specified, switches from `ExcelValue` to `PythonObject` or vice versa.
41739
+ */
41740
+ togglePythonMarshalMode(marshalMode?: "PythonObject" | "ExcelValue"): void;
41721
41741
  /**
41722
41742
  * Ungroups columns and rows for an outline.
41723
41743
  *
@@ -51712,6 +51732,14 @@ declare namespace Excel {
51712
51732
  * [Api set: ExcelApi 1.12]
51713
51733
  */
51714
51734
  allowMultipleFiltersPerField: boolean;
51735
+ /**
51736
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
51737
+ *
51738
+ * @remarks
51739
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
51740
+ * @beta
51741
+ */
51742
+ autoRefresh: boolean;
51715
51743
  /**
51716
51744
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
51717
51745
  *
@@ -62275,6 +62303,29 @@ declare namespace Excel {
62275
62303
  */
62276
62304
  power = "Power"
62277
62305
  }
62306
+ /**
62307
+ * Specifies what an =PY formula returns, such as an Excel value or a Python object.
62308
+ *
62309
+ * @remarks
62310
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
62311
+ * @beta
62312
+ */
62313
+ enum PythonMarshalMode {
62314
+ /**
62315
+ * Specifies that the result of an =PY formula should be a reference to an object in the Python service.
62316
+ * @remarks
62317
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
62318
+ * @beta
62319
+ */
62320
+ pythonObject = "PythonObject",
62321
+ /**
62322
+ * Specifies that the result of an =PY formula should be an Excel value.
62323
+ * @remarks
62324
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
62325
+ * @beta
62326
+ */
62327
+ excelValue = "ExcelValue"
62328
+ }
62278
62329
  /**
62279
62330
  * Specifies where in the z-order a shape should be moved relative to other shapes.
62280
62331
  *
@@ -75013,6 +75064,14 @@ declare namespace Excel {
75013
75064
  * [Api set: ExcelApi 1.12]
75014
75065
  */
75015
75066
  allowMultipleFiltersPerField?: boolean;
75067
+ /**
75068
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
75069
+ *
75070
+ * @remarks
75071
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
75072
+ * @beta
75073
+ */
75074
+ autoRefresh?: boolean;
75016
75075
  /**
75017
75076
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
75018
75077
  *
@@ -81610,6 +81669,14 @@ declare namespace Excel {
81610
81669
  * [Api set: ExcelApi 1.12]
81611
81670
  */
81612
81671
  allowMultipleFiltersPerField?: boolean;
81672
+ /**
81673
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
81674
+ *
81675
+ * @remarks
81676
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
81677
+ * @beta
81678
+ */
81679
+ autoRefresh?: boolean;
81613
81680
  /**
81614
81681
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
81615
81682
  *
@@ -91237,6 +91304,14 @@ declare namespace Excel {
91237
91304
  * [Api set: ExcelApi 1.12]
91238
91305
  */
91239
91306
  allowMultipleFiltersPerField?: boolean;
91307
+ /**
91308
+ * For EACH ITEM in the collection: Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91309
+ *
91310
+ * @remarks
91311
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
91312
+ * @beta
91313
+ */
91314
+ autoRefresh?: boolean;
91240
91315
  /**
91241
91316
  * For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user.
91242
91317
  *
@@ -91305,6 +91380,14 @@ declare namespace Excel {
91305
91380
  * [Api set: ExcelApi 1.12]
91306
91381
  */
91307
91382
  allowMultipleFiltersPerField?: boolean;
91383
+ /**
91384
+ * For EACH ITEM in the collection: Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91385
+ *
91386
+ * @remarks
91387
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
91388
+ * @beta
91389
+ */
91390
+ autoRefresh?: boolean;
91308
91391
  /**
91309
91392
  * For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user.
91310
91393
  *
@@ -91374,6 +91457,14 @@ declare namespace Excel {
91374
91457
  * [Api set: ExcelApi 1.12]
91375
91458
  */
91376
91459
  allowMultipleFiltersPerField?: boolean;
91460
+ /**
91461
+ * Specifies whether the PivotTable auto refreshes when the source data changes. Corresponds to "Auto Refresh" setting in the UI.
91462
+ *
91463
+ * @remarks
91464
+ * [Api set: ExcelApi BETA (PREVIEW ONLY)]
91465
+ * @beta
91466
+ */
91467
+ autoRefresh?: boolean;
91377
91468
  /**
91378
91469
  * Specifies if the PivotTable allows values in the data body to be edited by the user.
91379
91470
  *
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.584",
3
+ "version": "1.0.585",
4
4
  "description": "TypeScript definitions for office-js-preview",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "scripts": {},
47
47
  "dependencies": {},
48
48
  "peerDependencies": {},
49
- "typesPublisherContentHash": "d22d8ecbe25f0ee7198a62e2f14ebf08f26308b05bce03e04b7006d5e6c3288b",
49
+ "typesPublisherContentHash": "2c2f580f22aa4552dfabde5162e7b6da41586feebe9720304453dae8549666c6",
50
50
  "typeScriptVersion": "5.1",
51
51
  "nonNpm": true
52
52
  }