@types/office-js-preview 1.0.423 → 1.0.424
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-preview/README.md +2 -3
- office-js-preview/index.d.ts +37 -120
- office-js-preview/package.json +15 -15
office-js-preview/README.md
CHANGED
|
@@ -2,15 +2,14 @@
|
|
|
2
2
|
> `npm install --save @types/office-js-preview`
|
|
3
3
|
|
|
4
4
|
# Summary
|
|
5
|
-
This package contains type definitions for
|
|
5
|
+
This package contains type definitions for office-js-preview (https://github.com/OfficeDev/office-js).
|
|
6
6
|
|
|
7
7
|
# Details
|
|
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: Wed,
|
|
11
|
+
* Last updated: Wed, 18 Oct 2023 05:47:08 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
|
-
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
13
|
|
|
15
14
|
# Credits
|
|
16
15
|
These definitions were written by [OfficeDev](https://github.com/OfficeDev), [Ricky Kirkham](https://github.com/Rick-Kirkham), [Alex Jerabek](https://github.com/AlexJerabek), [Elizabeth Samuel](https://github.com/ElizabethSamuel-MSFT), [Alison McKay](https://github.com/alison-mk), and [Sam Ramon](https://github.com/samantharamon).
|
office-js-preview/index.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
// Type definitions for Office.js 1.0
|
|
2
|
-
// Project: https://github.com/OfficeDev/office-js
|
|
3
|
-
// Definitions by: OfficeDev <https://github.com/OfficeDev>,
|
|
4
|
-
// Ricky Kirkham <https://github.com/Rick-Kirkham>,
|
|
5
|
-
// Alex Jerabek <https://github.com/AlexJerabek>,
|
|
6
|
-
// Elizabeth Samuel <https://github.com/ElizabethSamuel-MSFT>,
|
|
7
|
-
// Alison McKay <https://github.com/alison-mk>,
|
|
8
|
-
// Sam Ramon <https://github.com/samantharamon>
|
|
9
|
-
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
10
|
-
// TypeScript Version: 2.4
|
|
11
|
-
|
|
12
1
|
/*
|
|
13
2
|
office-js
|
|
14
3
|
Copyright (c) Microsoft Corporation
|
|
@@ -28911,115 +28900,6 @@ declare namespace Excel {
|
|
|
28911
28900
|
*/
|
|
28912
28901
|
undo = "undo"
|
|
28913
28902
|
}
|
|
28914
|
-
/**
|
|
28915
|
-
* Represents a recorded change to the task, to be used as an input parameter.
|
|
28916
|
-
*
|
|
28917
|
-
* @remarks
|
|
28918
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28919
|
-
* @beta
|
|
28920
|
-
*/
|
|
28921
|
-
interface DocumentTaskChangeProperties {
|
|
28922
|
-
/**
|
|
28923
|
-
* Represents the user assigned to the task for an `assign` change action, or the user unassigned from the task for an `unassign` change action.
|
|
28924
|
-
*
|
|
28925
|
-
* @remarks
|
|
28926
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28927
|
-
* @beta
|
|
28928
|
-
*/
|
|
28929
|
-
assignee?: Excel.EmailIdentity;
|
|
28930
|
-
/**
|
|
28931
|
-
* Represents the identity of the user who made the task change.
|
|
28932
|
-
*
|
|
28933
|
-
* @remarks
|
|
28934
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28935
|
-
* @beta
|
|
28936
|
-
*/
|
|
28937
|
-
changedBy: Excel.EmailIdentity;
|
|
28938
|
-
/**
|
|
28939
|
-
* Represents the ID of the `comment` or `commentReply` to which the task change is anchored.
|
|
28940
|
-
*
|
|
28941
|
-
* @remarks
|
|
28942
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28943
|
-
* @beta
|
|
28944
|
-
*/
|
|
28945
|
-
commentId?: string;
|
|
28946
|
-
/**
|
|
28947
|
-
* Represents the creation date and time of the task change record. All dates are in UTC.
|
|
28948
|
-
*
|
|
28949
|
-
* @remarks
|
|
28950
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28951
|
-
* @beta
|
|
28952
|
-
*/
|
|
28953
|
-
createdDateTime?: Date;
|
|
28954
|
-
/**
|
|
28955
|
-
* Represents the task's due date and time. It is used for the `setSchedule` change action.
|
|
28956
|
-
It is in UTC time zone. It can be set to `null` to remove the due date and time. It should be set together with `startDateTime` to avoid conflicts.
|
|
28957
|
-
*
|
|
28958
|
-
* @remarks
|
|
28959
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28960
|
-
* @beta
|
|
28961
|
-
*/
|
|
28962
|
-
dueDateTime?: Date;
|
|
28963
|
-
/**
|
|
28964
|
-
* The unique GUID of the task change.
|
|
28965
|
-
*
|
|
28966
|
-
* @remarks
|
|
28967
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28968
|
-
* @beta
|
|
28969
|
-
*/
|
|
28970
|
-
id: string;
|
|
28971
|
-
/**
|
|
28972
|
-
* Represents the task's completion percentage. It is used for the `setPercentComplete` change action.
|
|
28973
|
-
This is a value betwen 0 and 100, where 100 represents a completed task. Changing this value to 100 also completes the associated comment. Changing the completion from 100 to a lower value reactivates the associated comment.
|
|
28974
|
-
*
|
|
28975
|
-
* @remarks
|
|
28976
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28977
|
-
* @beta
|
|
28978
|
-
*/
|
|
28979
|
-
percentComplete?: number;
|
|
28980
|
-
/**
|
|
28981
|
-
* Represents the task's priority. It is used for the `setPriority` change action.
|
|
28982
|
-
This is a value between 0 and 10, with 5 being the default priority if not set, and where 0 represents the highest priority.
|
|
28983
|
-
*
|
|
28984
|
-
* @remarks
|
|
28985
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28986
|
-
* @beta
|
|
28987
|
-
*/
|
|
28988
|
-
priority?: number;
|
|
28989
|
-
/**
|
|
28990
|
-
* Represents the task's start date and time. It is used for the `setSchedule` change action.
|
|
28991
|
-
It is in UTC time zone. It can be set to `null` to remove the start date and time. It should be set together with `dueDateTime` to avoid conflicts.
|
|
28992
|
-
*
|
|
28993
|
-
* @remarks
|
|
28994
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
28995
|
-
* @beta
|
|
28996
|
-
*/
|
|
28997
|
-
startDateTime?: Date;
|
|
28998
|
-
/**
|
|
28999
|
-
* Represents the task's title. It is used for the `setTitle` change action.
|
|
29000
|
-
*
|
|
29001
|
-
* @remarks
|
|
29002
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
29003
|
-
* @beta
|
|
29004
|
-
*/
|
|
29005
|
-
title?: string;
|
|
29006
|
-
/**
|
|
29007
|
-
* Represents the action type of the task change record. Some examples of action types are assign, undo, and setPriority.
|
|
29008
|
-
*
|
|
29009
|
-
* @remarks
|
|
29010
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
29011
|
-
* @beta
|
|
29012
|
-
*/
|
|
29013
|
-
type: Excel.DocumentTaskChangeAction | "unknown" | "create" | "assign" | "unassign" | "unassignAll" | "setSchedule" | "setPercentComplete" | "setPriority" | "remove" | "restore" | "setTitle" | "undo";
|
|
29014
|
-
/**
|
|
29015
|
-
* Represents the `DocumentTaskChange.id` property that was undone for the `undo` change action.
|
|
29016
|
-
*
|
|
29017
|
-
* @remarks
|
|
29018
|
-
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
29019
|
-
* @beta
|
|
29020
|
-
*/
|
|
29021
|
-
undoChangeId?: string;
|
|
29022
|
-
}
|
|
29023
28903
|
/**
|
|
29024
28904
|
* Represents a recorded change to the task.
|
|
29025
28905
|
*
|
|
@@ -33274,6 +33154,15 @@ declare namespace Excel {
|
|
|
33274
33154
|
* [Api set: ExcelApi 1.9]
|
|
33275
33155
|
*/
|
|
33276
33156
|
chartDataPointTrack: boolean;
|
|
33157
|
+
/**
|
|
33158
|
+
* Specifies the maximum length of time, in seconds, allotted for a formula that depends on an external code service to complete.
|
|
33159
|
+
The valid range is 1 to 86400, inclusive.
|
|
33160
|
+
*
|
|
33161
|
+
* @remarks
|
|
33162
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
33163
|
+
* @beta
|
|
33164
|
+
*/
|
|
33165
|
+
externalCodeServiceTimeout: number;
|
|
33277
33166
|
/**
|
|
33278
33167
|
* Specifies if changes have been made since the workbook was last saved.
|
|
33279
33168
|
You can set this property to `true` if you want to close a modified workbook without either saving it or being prompted to save it.
|
|
@@ -64862,6 +64751,7 @@ declare namespace Excel {
|
|
|
64862
64751
|
openWorkbookLinksBlocked = "OpenWorkbookLinksBlocked",
|
|
64863
64752
|
operationCellsExceedLimit = "OperationCellsExceedLimit",
|
|
64864
64753
|
pivotTableRangeConflict = "PivotTableRangeConflict",
|
|
64754
|
+
powerQueryRefreshResourceChallenge = "PowerQueryRefreshResourceChallenge",
|
|
64865
64755
|
rangeExceedsLimit = "RangeExceedsLimit",
|
|
64866
64756
|
refreshWorkbookLinksBlocked = "RefreshWorkbookLinksBlocked",
|
|
64867
64757
|
requestAborted = "RequestAborted",
|
|
@@ -65049,6 +64939,15 @@ declare namespace Excel {
|
|
|
65049
64939
|
* [Api set: ExcelApi 1.9]
|
|
65050
64940
|
*/
|
|
65051
64941
|
chartDataPointTrack?: boolean;
|
|
64942
|
+
/**
|
|
64943
|
+
* Specifies the maximum length of time, in seconds, allotted for a formula that depends on an external code service to complete.
|
|
64944
|
+
The valid range is 1 to 86400, inclusive.
|
|
64945
|
+
*
|
|
64946
|
+
* @remarks
|
|
64947
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
64948
|
+
* @beta
|
|
64949
|
+
*/
|
|
64950
|
+
externalCodeServiceTimeout?: number;
|
|
65052
64951
|
/**
|
|
65053
64952
|
* Specifies if changes have been made since the workbook was last saved.
|
|
65054
64953
|
You can set this property to `true` if you want to close a modified workbook without either saving it or being prompted to save it.
|
|
@@ -70395,6 +70294,15 @@ declare namespace Excel {
|
|
|
70395
70294
|
* [Api set: ExcelApi 1.9]
|
|
70396
70295
|
*/
|
|
70397
70296
|
chartDataPointTrack?: boolean;
|
|
70297
|
+
/**
|
|
70298
|
+
* Specifies the maximum length of time, in seconds, allotted for a formula that depends on an external code service to complete.
|
|
70299
|
+
The valid range is 1 to 86400, inclusive.
|
|
70300
|
+
*
|
|
70301
|
+
* @remarks
|
|
70302
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
70303
|
+
* @beta
|
|
70304
|
+
*/
|
|
70305
|
+
externalCodeServiceTimeout?: number;
|
|
70398
70306
|
/**
|
|
70399
70307
|
* Specifies if changes have been made since the workbook was last saved.
|
|
70400
70308
|
You can set this property to `true` if you want to close a modified workbook without either saving it or being prompted to save it.
|
|
@@ -77679,6 +77587,15 @@ declare namespace Excel {
|
|
|
77679
77587
|
* [Api set: ExcelApi 1.9]
|
|
77680
77588
|
*/
|
|
77681
77589
|
chartDataPointTrack?: boolean;
|
|
77590
|
+
/**
|
|
77591
|
+
* Specifies the maximum length of time, in seconds, allotted for a formula that depends on an external code service to complete.
|
|
77592
|
+
The valid range is 1 to 86400, inclusive.
|
|
77593
|
+
*
|
|
77594
|
+
* @remarks
|
|
77595
|
+
* [Api set: ExcelApi BETA (PREVIEW ONLY)]
|
|
77596
|
+
* @beta
|
|
77597
|
+
*/
|
|
77598
|
+
externalCodeServiceTimeout?: boolean;
|
|
77682
77599
|
/**
|
|
77683
77600
|
* Specifies if changes have been made since the workbook was last saved.
|
|
77684
77601
|
You can set this property to `true` if you want to close a modified workbook without either saving it or being prompted to save it.
|
office-js-preview/package.json
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "TypeScript definitions for
|
|
3
|
+
"version": "1.0.424",
|
|
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",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
|
9
9
|
"name": "OfficeDev",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"githubUsername": "OfficeDev",
|
|
11
|
+
"url": "https://github.com/OfficeDev"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"name": "Ricky Kirkham",
|
|
15
|
-
"
|
|
16
|
-
"
|
|
15
|
+
"githubUsername": "Rick-Kirkham",
|
|
16
|
+
"url": "https://github.com/Rick-Kirkham"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"name": "Alex Jerabek",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
20
|
+
"githubUsername": "AlexJerabek",
|
|
21
|
+
"url": "https://github.com/AlexJerabek"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"name": "Elizabeth Samuel",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
25
|
+
"githubUsername": "ElizabethSamuel-MSFT",
|
|
26
|
+
"url": "https://github.com/ElizabethSamuel-MSFT"
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"name": "Alison McKay",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
30
|
+
"githubUsername": "alison-mk",
|
|
31
|
+
"url": "https://github.com/alison-mk"
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"name": "Sam Ramon",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"githubUsername": "samantharamon",
|
|
36
|
+
"url": "https://github.com/samantharamon"
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
39
|
"main": "",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "d2650a941d06bca35871bec50809bb29cb742aec4189fb84df4a3ebb9b2c9e03",
|
|
49
49
|
"typeScriptVersion": "4.5"
|
|
50
50
|
}
|