@types/office-js 1.0.508 → 1.0.510
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 +1 -1
- office-js/index.d.ts +17 -16
- office-js/package.json +2 -2
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:
|
|
11
|
+
* Last updated: Wed, 11 Jun 2025 22:36:18 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -23446,9 +23446,9 @@ declare namespace Office {
|
|
|
23446
23446
|
* - To learn how to implement this in your spam-reporting add-in, see
|
|
23447
23447
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting#open-a-task-pane-after-reporting-a-message | Open a task pane after reporting a message}.
|
|
23448
23448
|
*
|
|
23449
|
-
* - The `commandId` value must match the task pane ID specified in the manifest of your add-in. In
|
|
23450
|
-
*
|
|
23451
|
-
*
|
|
23449
|
+
* - The `commandId` value must match the task pane ID specified in the manifest of your add-in. In the unified manifest for Microsoft 365, the ID is specified in the "id" property of the
|
|
23450
|
+
* {@link https://learn.microsoft.com/microsoft-365/extensibility/schema/extension-common-custom-group-controls-item#id | "extensions.ribbons.tabs.groups.controls"} object that represents the task pane.
|
|
23451
|
+
* In an add-in only manifest, the ID is specified in the `id` attribute of the {@link https://learn.microsoft.com/javascript/api/manifest/control | Control} element that represents the task pane.
|
|
23452
23452
|
*
|
|
23453
23453
|
* - If you configure the `commandId` option in the `event.completed` call, a post-processing dialog isn't shown to the user
|
|
23454
23454
|
* even if the `showPostProcessingDialog` option is specified in the call.
|
|
@@ -24823,6 +24823,8 @@ declare namespace Excel {
|
|
|
24823
24823
|
/**
|
|
24824
24824
|
* An error caused by a cell's formula evaluating to a lambda value. Displays as error type #CALC! in Excel.
|
|
24825
24825
|
*
|
|
24826
|
+
* @deprecated Deprecated since [Api set: ExcelApi 1.19].
|
|
24827
|
+
*
|
|
24826
24828
|
* @remarks
|
|
24827
24829
|
* [Api set: ExcelApi 1.16]
|
|
24828
24830
|
*/
|
|
@@ -25081,7 +25083,7 @@ declare namespace Excel {
|
|
|
25081
25083
|
*/
|
|
25082
25084
|
enum FunctionCellValueType {
|
|
25083
25085
|
/**
|
|
25084
|
-
* Reference to a JavaScript custom function. For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-overview
|
|
25086
|
+
* Reference to a JavaScript custom function. For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-overview | Create custom functions in Excel}.
|
|
25085
25087
|
*
|
|
25086
25088
|
* @remarks
|
|
25087
25089
|
* [Api set: ExcelApi 1.19]
|
|
@@ -25126,14 +25128,14 @@ declare namespace Excel {
|
|
|
25126
25128
|
*/
|
|
25127
25129
|
functionType: FunctionCellValueType.javaScriptReference | "JavaScriptReference";
|
|
25128
25130
|
/**
|
|
25129
|
-
* Represents the namespace used by the custom function. For more information, see {@link https://learn.microsoft.com/javascript/api/manifest/namespace
|
|
25131
|
+
* Represents the namespace used by the custom function. For more information, see {@link https://learn.microsoft.com/javascript/api/manifest/namespace | Manifest reference: Namespace}.
|
|
25130
25132
|
*
|
|
25131
25133
|
* @remarks
|
|
25132
25134
|
* [Api set: ExcelApi 1.19]
|
|
25133
25135
|
*/
|
|
25134
25136
|
namespace: string;
|
|
25135
25137
|
/**
|
|
25136
|
-
* Represents the ID of the custom function. For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id
|
|
25138
|
+
* Represents the ID of the custom function. For more information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID}.
|
|
25137
25139
|
*
|
|
25138
25140
|
* @remarks
|
|
25139
25141
|
* [Api set: ExcelApi 1.19]
|
|
@@ -37171,7 +37173,7 @@ declare namespace Excel {
|
|
|
37171
37173
|
getColumnsBefore(count?: number): Excel.Range;
|
|
37172
37174
|
/**
|
|
37173
37175
|
* 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.
|
|
37174
|
-
|
|
37176
|
+
Note: This API returns an `ItemNotFound` error if no dependents are found.
|
|
37175
37177
|
*
|
|
37176
37178
|
* @remarks
|
|
37177
37179
|
* [Api set: ExcelApi 1.15]
|
|
@@ -37179,7 +37181,7 @@ declare namespace Excel {
|
|
|
37179
37181
|
getDependents(): Excel.WorkbookRangeAreas;
|
|
37180
37182
|
/**
|
|
37181
37183
|
* 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.
|
|
37182
|
-
|
|
37184
|
+
Note: This API returns an `ItemNotFound` error if no dependents are found.
|
|
37183
37185
|
*
|
|
37184
37186
|
* @remarks
|
|
37185
37187
|
* [Api set: ExcelApi 1.13]
|
|
@@ -37187,7 +37189,7 @@ declare namespace Excel {
|
|
|
37187
37189
|
getDirectDependents(): Excel.WorkbookRangeAreas;
|
|
37188
37190
|
/**
|
|
37189
37191
|
* 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.
|
|
37190
|
-
|
|
37192
|
+
Note: This API returns an `ItemNotFound` error if no precedents are found.
|
|
37191
37193
|
*
|
|
37192
37194
|
* @remarks
|
|
37193
37195
|
* [Api set: ExcelApi 1.12]
|
|
@@ -37240,7 +37242,6 @@ declare namespace Excel {
|
|
|
37240
37242
|
getExtendedRange(direction: "Left" | "Right" | "Up" | "Down", activeCell?: Range | string): Excel.Range;
|
|
37241
37243
|
/**
|
|
37242
37244
|
* Renders the range as a Base64-encoded PNG image.
|
|
37243
|
-
**Important**: This API is currently unsupported in Excel for Mac. Visit {@link https://github.com/OfficeDev/office-js/issues/235 | OfficeDev/office-js Issue #235} for the current status.
|
|
37244
37245
|
*
|
|
37245
37246
|
* @remarks
|
|
37246
37247
|
* [Api set: ExcelApi 1.7]
|
|
@@ -37316,7 +37317,7 @@ declare namespace Excel {
|
|
|
37316
37317
|
getPivotTables(fullyContained?: boolean): Excel.PivotTableScopedCollection;
|
|
37317
37318
|
/**
|
|
37318
37319
|
* 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.
|
|
37319
|
-
|
|
37320
|
+
Note: This API returns an `ItemNotFound` error if no precedents are found.
|
|
37320
37321
|
*
|
|
37321
37322
|
* @remarks
|
|
37322
37323
|
* [Api set: ExcelApi 1.14]
|
|
@@ -55465,7 +55466,7 @@ declare namespace Excel {
|
|
|
55465
55466
|
readonly lastRefreshed: Date;
|
|
55466
55467
|
/**
|
|
55467
55468
|
* Gets the ID of the custom function that is called on demand to resolve or refresh the `LinkedEntityCellValue` objects of the linked entity data domain defined by Office Add-ins.
|
|
55468
|
-
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID
|
|
55469
|
+
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID}.
|
|
55469
55470
|
This ID is not applicable to linked entity data domains defined by service data providers, such as Bing or Power BI.
|
|
55470
55471
|
*
|
|
55471
55472
|
* @remarks
|
|
@@ -55761,7 +55762,7 @@ declare namespace Excel {
|
|
|
55761
55762
|
id: string;
|
|
55762
55763
|
/**
|
|
55763
55764
|
* Specifies the ID of the custom function that will be called on demand to resolve or refresh the `LinkedEntityCellValue` objects of this linked entity data domain.
|
|
55764
|
-
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID
|
|
55765
|
+
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID}.
|
|
55765
55766
|
*
|
|
55766
55767
|
* @remarks
|
|
55767
55768
|
* [Api set: ExcelApi 1.19]
|
|
@@ -78829,7 +78830,7 @@ declare namespace Excel {
|
|
|
78829
78830
|
lastRefreshed?: Date;
|
|
78830
78831
|
/**
|
|
78831
78832
|
* Gets the ID of the custom function that is called on demand to resolve or refresh the `LinkedEntityCellValue` objects of the linked entity data domain defined by Office Add-ins.
|
|
78832
|
-
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID
|
|
78833
|
+
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID}.
|
|
78833
78834
|
This ID is not applicable to linked entity data domains defined by service data providers, such as Bing or Power BI.
|
|
78834
78835
|
*
|
|
78835
78836
|
* @remarks
|
|
@@ -90213,7 +90214,7 @@ declare namespace Excel {
|
|
|
90213
90214
|
lastRefreshed?: boolean;
|
|
90214
90215
|
/**
|
|
90215
90216
|
* Gets the ID of the custom function that is called on demand to resolve or refresh the `LinkedEntityCellValue` objects of the linked entity data domain defined by Office Add-ins.
|
|
90216
|
-
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID
|
|
90217
|
+
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID}.
|
|
90217
90218
|
This ID is not applicable to linked entity data domains defined by service data providers, such as Bing or Power BI.
|
|
90218
90219
|
*
|
|
90219
90220
|
* @remarks
|
|
@@ -90301,7 +90302,7 @@ declare namespace Excel {
|
|
|
90301
90302
|
lastRefreshed?: boolean;
|
|
90302
90303
|
/**
|
|
90303
90304
|
* For EACH ITEM in the collection: Gets the ID of the custom function that is called on demand to resolve or refresh the `LinkedEntityCellValue` objects of the linked entity data domain defined by Office Add-ins.
|
|
90304
|
-
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID
|
|
90305
|
+
For further information, see {@link https://learn.microsoft.com/office/dev/add-ins/excel/custom-functions-json-autogeneration#id | Autogenerate JSON metadata for custom functions: ID}.
|
|
90305
90306
|
This ID is not applicable to linked entity data domains defined by service data providers, such as Bing or Power BI.
|
|
90306
90307
|
*
|
|
90307
90308
|
* @remarks
|
office-js/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.510",
|
|
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",
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
48
|
"peerDependencies": {},
|
|
49
|
-
"typesPublisherContentHash": "
|
|
49
|
+
"typesPublisherContentHash": "f63caa5f383e29dbd9e47eea08941e5fab9881355b5ce09c86384a633ffc5f1d",
|
|
50
50
|
"typeScriptVersion": "5.1"
|
|
51
51
|
}
|