@types/office-js 1.0.232 → 1.0.236
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 +2 -2
- office-js/index.d.ts +19 -6
- office-js/package.json +7 -2
office-js/README.md
CHANGED
|
@@ -8,9 +8,9 @@ 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, 28 Jan 2022 01:01:26 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
|
15
15
|
# Credits
|
|
16
|
-
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),
|
|
16
|
+
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/index.d.ts
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
// Ricky Kirkham <https://github.com/Rick-Kirkham>,
|
|
5
5
|
// Alex Jerabek <https://github.com/AlexJerabek>,
|
|
6
6
|
// Elizabeth Samuel <https://github.com/ElizabethSamuel-MSFT>,
|
|
7
|
-
// Alison McKay <https://github.com/alison-mk
|
|
7
|
+
// Alison McKay <https://github.com/alison-mk>,
|
|
8
|
+
// Sam Ramon <https://github.com/samantharamon>
|
|
8
9
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
9
10
|
// TypeScript Version: 2.4
|
|
10
11
|
|
|
@@ -11608,8 +11609,11 @@ declare namespace Office {
|
|
|
11608
11609
|
/**
|
|
11609
11610
|
* Gets the MIME content type of the attachment.
|
|
11610
11611
|
*
|
|
11611
|
-
* **
|
|
11612
|
-
* If you require specific types, grab the attachment's extension and process accordingly.
|
|
11612
|
+
* **Warning**: While the `contentType` value is a direct lookup of the attachment's extension, the internal mapping isn't actively maintained
|
|
11613
|
+
* so this property has been deprecated. If you require specific types, grab the attachment's extension and process accordingly. For details,
|
|
11614
|
+
* refer to the {@link https://devblogs.microsoft.com/microsoft365dev/outlook-javascript-api-deprecation-for-attachmentdetails-contenttype-property/ | related blog post }.
|
|
11615
|
+
*
|
|
11616
|
+
* @deprecated If you require specific content types, grab the attachment's extension and process accordingly.
|
|
11613
11617
|
*/
|
|
11614
11618
|
contentType: string;
|
|
11615
11619
|
/**
|
|
@@ -13743,7 +13747,9 @@ declare namespace Office {
|
|
|
13743
13747
|
*
|
|
13744
13748
|
* `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
|
|
13745
13749
|
*
|
|
13746
|
-
* `attachments.url`: Only used if type is set to file. The URI of the location for the file.
|
|
13750
|
+
* `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
|
|
13751
|
+
* publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
|
|
13752
|
+
* be accessible on a private network as long as it doesn't need further authentication.
|
|
13747
13753
|
*
|
|
13748
13754
|
* `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
|
|
13749
13755
|
* message body, and should not be displayed in the attachment list.
|
|
@@ -13788,7 +13794,9 @@ declare namespace Office {
|
|
|
13788
13794
|
*
|
|
13789
13795
|
* `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
|
|
13790
13796
|
*
|
|
13791
|
-
* `attachments.url`: Only used if type is set to file. The URI of the location for the file.
|
|
13797
|
+
* `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
|
|
13798
|
+
* publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
|
|
13799
|
+
* be accessible on a private network as long as it doesn't need further authentication.
|
|
13792
13800
|
*
|
|
13793
13801
|
* `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
|
|
13794
13802
|
* message body, and should not be displayed in the attachment list.
|
|
@@ -13837,7 +13845,9 @@ declare namespace Office {
|
|
|
13837
13845
|
*
|
|
13838
13846
|
* `attachments.name`: A string that contains the name of the attachment, up to 255 characters in length.
|
|
13839
13847
|
*
|
|
13840
|
-
* `attachments.url`: Only used if type is set to file. The URI of the location for the file.
|
|
13848
|
+
* `attachments.url`: Only used if type is set to file. The URI of the location for the file. **Important**: This link must be
|
|
13849
|
+
* publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can
|
|
13850
|
+
* be accessible on a private network as long as it doesn't need further authentication.
|
|
13841
13851
|
*
|
|
13842
13852
|
* `attachments.isInline`: Only used if type is set to file. If true, indicates that the attachment will be shown inline in the
|
|
13843
13853
|
* message body, and should not be displayed in the attachment list.
|
|
@@ -17202,6 +17212,9 @@ declare namespace Office {
|
|
|
17202
17212
|
name: string;
|
|
17203
17213
|
/**
|
|
17204
17214
|
* Only used if type is set to file. The URI of the location for the file.
|
|
17215
|
+
*
|
|
17216
|
+
* **Important**: This link must be publicly accessible, without need for authentication by Exchange Online servers. However, with
|
|
17217
|
+
* on-premises Exchange, the link can be accessible on a private network as long as it doesn't need further authentication.
|
|
17205
17218
|
*/
|
|
17206
17219
|
url?: string;
|
|
17207
17220
|
/**
|
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.236",
|
|
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",
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
"name": "Alison McKay",
|
|
30
30
|
"url": "https://github.com/alison-mk",
|
|
31
31
|
"githubUsername": "alison-mk"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Sam Ramon",
|
|
35
|
+
"url": "https://github.com/samantharamon",
|
|
36
|
+
"githubUsername": "samantharamon"
|
|
32
37
|
}
|
|
33
38
|
],
|
|
34
39
|
"main": "",
|
|
@@ -40,6 +45,6 @@
|
|
|
40
45
|
},
|
|
41
46
|
"scripts": {},
|
|
42
47
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "e7511b3a9cf3d184d7dfbce4f9a9e1fcde4d92ff2e72e46de9392b77e34c400d",
|
|
44
49
|
"typeScriptVersion": "3.8"
|
|
45
50
|
}
|