@types/office-js 1.0.586 → 1.0.588
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 +9 -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: Fri, 10 Apr 2026 22:09:56 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.
|
|
@@ -24575,7 +24575,11 @@ declare namespace Office {
|
|
|
24575
24575
|
*
|
|
24576
24576
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose
|
|
24577
24577
|
*
|
|
24578
|
-
* **Important**:
|
|
24578
|
+
* **Important**:
|
|
24579
|
+
*
|
|
24580
|
+
* - The error message must be 500 characters or less.
|
|
24581
|
+
*
|
|
24582
|
+
* - If you don't specify a message in the `errorMessage` property, the following default message is shown instead: "\<Add-in name\> is preventing this email from being sent."
|
|
24579
24583
|
*/
|
|
24580
24584
|
errorMessage?: string;
|
|
24581
24585
|
/**
|
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.588",
|
|
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": "c26be7405f469201aec8afa638c3a88656dc8cf36602aad429acafe4960d4cbd",
|
|
50
50
|
"typeScriptVersion": "5.3"
|
|
51
51
|
}
|