@types/office-js 1.0.587 → 1.0.589
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 +36 -5
- 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: Sat, 18 Apr 2026 00:15:41 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -11265,7 +11265,7 @@ declare namespace Office {
|
|
|
11265
11265
|
*
|
|
11266
11266
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
11267
11267
|
*
|
|
11268
|
-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is
|
|
11268
|
+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
|
|
11269
11269
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
11270
11270
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
11271
11271
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
@@ -11312,7 +11312,7 @@ declare namespace Office {
|
|
|
11312
11312
|
*
|
|
11313
11313
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
11314
11314
|
*
|
|
11315
|
-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is
|
|
11315
|
+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
|
|
11316
11316
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
11317
11317
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter
|
|
11318
11318
|
* of type `Office.AsyncResult`.
|
|
@@ -19677,7 +19677,7 @@ declare namespace Office {
|
|
|
19677
19677
|
*
|
|
19678
19678
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
19679
19679
|
*
|
|
19680
|
-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is
|
|
19680
|
+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
|
|
19681
19681
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
19682
19682
|
* @param options - An object literal that contains one or more of the following properties:-
|
|
19683
19683
|
* `asyncContext`: Developers can provide any object they wish to access in the callback function.
|
|
@@ -19733,7 +19733,7 @@ declare namespace Office {
|
|
|
19733
19733
|
*
|
|
19734
19734
|
* - `NumberOfAttachmentsExceeded`: The message or appointment has too many attachments.
|
|
19735
19735
|
*
|
|
19736
|
-
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is
|
|
19736
|
+
* @param base64File - The Base64-encoded content of an image or file to be added to an email or event. The maximum length of the encoded string is 34,865,152 characters. This corresponds to a maximum attachment size of 25 MB before Base64 encoding.
|
|
19737
19737
|
* @param attachmentName - The name of the attachment that is shown while the attachment is uploading. The maximum length is 255 characters.
|
|
19738
19738
|
* @param callback - Optional. When the method completes, the function passed in the `callback` parameter is called with a single parameter of type `Office.AsyncResult`.
|
|
19739
19739
|
* On success, the attachment identifier is provided in the `asyncResult.value` property. The identifier varies depending on the Outlook client.
|
|
@@ -66853,7 +66853,7 @@ declare namespace Excel {
|
|
|
66853
66853
|
*
|
|
66854
66854
|
* @param dateText Is text that represents a date in a Microsoft Excel date format, between 1/1/1900 or 1/1/1904 (depending on the workbook's date system) and 12/31/9999.
|
|
66855
66855
|
*/
|
|
66856
|
-
datevalue(dateText: string |
|
|
66856
|
+
datevalue(dateText: string | Excel.Range | Excel.RangeReference | Excel.FunctionResult<any>): FunctionResult<number>;
|
|
66857
66857
|
/**
|
|
66858
66858
|
* Returns the day of the month, a number from 1 to 31.
|
|
66859
66859
|
*
|
|
@@ -139699,6 +139699,15 @@ declare namespace Word {
|
|
|
139699
139699
|
context: RequestContext;
|
|
139700
139700
|
/** Gets the loaded child items in this collection. */
|
|
139701
139701
|
readonly items: Word.ListTemplate[];
|
|
139702
|
+
/**
|
|
139703
|
+
* Adds a new `ListTemplate` object. Note: This operation isn't allowed if the collection represents list templates from a {@link Word.ListTemplateGallery}.
|
|
139704
|
+
*
|
|
139705
|
+
* @remarks
|
|
139706
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139707
|
+
*
|
|
139708
|
+
* @param options Optional. Options for adding a new list template.
|
|
139709
|
+
*/
|
|
139710
|
+
add(options?: Word.ListTemplateAddOptions): Word.ListTemplate;
|
|
139702
139711
|
/**
|
|
139703
139712
|
* Queues up a command to load the specified properties of the object. You must call `context.sync()` before reading the properties.
|
|
139704
139713
|
*
|
|
@@ -139731,6 +139740,28 @@ declare namespace Word {
|
|
|
139731
139740
|
*/
|
|
139732
139741
|
toJSON(): Word.Interfaces.ListTemplateCollectionData;
|
|
139733
139742
|
}
|
|
139743
|
+
/**
|
|
139744
|
+
* Represents the options for the {@link Word.ListTemplateCollection | ListTemplateCollection.add} method.
|
|
139745
|
+
*
|
|
139746
|
+
* @remarks
|
|
139747
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139748
|
+
*/
|
|
139749
|
+
interface ListTemplateAddOptions {
|
|
139750
|
+
/**
|
|
139751
|
+
* If provided, specifies the name of the list template to be added.
|
|
139752
|
+
*
|
|
139753
|
+
* @remarks
|
|
139754
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139755
|
+
*/
|
|
139756
|
+
name?: string;
|
|
139757
|
+
/**
|
|
139758
|
+
* If provided, specifies whether to apply outline numbering to the new list template. The default value is `false`.
|
|
139759
|
+
*
|
|
139760
|
+
* @remarks
|
|
139761
|
+
* [Api set: WordApiDesktop 1.5]
|
|
139762
|
+
*/
|
|
139763
|
+
outlineNumbered?: boolean;
|
|
139764
|
+
}
|
|
139734
139765
|
/**
|
|
139735
139766
|
* Represents a gallery of list templates of the same {@link Word.ListTemplateGalleryType}.
|
|
139736
139767
|
*
|
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.589",
|
|
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": "0d11046ea37189f643d7ada2a6315aaf8705374a51a3f4a1d004d1a4cf9349c2",
|
|
50
50
|
"typeScriptVersion": "5.3"
|
|
51
51
|
}
|