@types/office-js 1.0.279 → 1.0.281
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 +13 -6
- 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, 14 Sep 2022 20:32:52 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js/index.d.ts
CHANGED
|
@@ -1550,8 +1550,14 @@ declare namespace Office {
|
|
|
1550
1550
|
asyncContext?: any;
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Causes Office to return a descriptive error when the add-in wants to access Microsoft Graph and the user/admin has not granted consent to Graph scopes. Default value is `false`.
|
|
1553
|
-
* Office only supports consent to Graph scopes when the add-in has been deployed by a tenant admin.
|
|
1553
|
+
* Office only supports consent to Graph scopes when the add-in has been deployed by a tenant admin.
|
|
1554
1554
|
* Setting this option to `true` will cause Office to inform your add-in beforehand (by returning a descriptive error) if Graph access will fail.
|
|
1555
|
+
*
|
|
1556
|
+
* @remarks
|
|
1557
|
+
*
|
|
1558
|
+
* **Note**: If you're developing an Outlook add-in that uses single sign-on (SSO), comment out the `forMSGraphAccess` option before sideloading the add-in for testing.
|
|
1559
|
+
* Otherwise, you'll receive {@link https://docs.microsoft.com/office/dev/add-ins/develop/troubleshoot-sso-in-office-add-ins#13012 | error 13012}. For additional guidance, see
|
|
1560
|
+
* {@link https://docs.microsoft.com/office/dev/add-ins/develop/authorize-to-microsoft-graph#details-on-sso-with-an-outlook-add-in | Details on SSO with an Outlook add-in}.
|
|
1555
1561
|
*/
|
|
1556
1562
|
forMSGraphAccess?: boolean;
|
|
1557
1563
|
}
|
|
@@ -8768,7 +8774,7 @@ declare namespace Office {
|
|
|
8768
8774
|
ThreeColumns = "ThreeColumns"
|
|
8769
8775
|
}
|
|
8770
8776
|
/**
|
|
8771
|
-
* Specifies the type of recipient
|
|
8777
|
+
* Specifies the type of recipient of a message or appointment.
|
|
8772
8778
|
*
|
|
8773
8779
|
* @remarks
|
|
8774
8780
|
* [Api set: Mailbox 1.1]
|
|
@@ -8782,19 +8788,20 @@ declare namespace Office {
|
|
|
8782
8788
|
*/
|
|
8783
8789
|
enum RecipientType {
|
|
8784
8790
|
/**
|
|
8785
|
-
* Specifies
|
|
8791
|
+
* Specifies the recipient is a distribution list containing a list of email addresses.
|
|
8786
8792
|
*/
|
|
8787
8793
|
DistributionList = "distributionList",
|
|
8788
8794
|
/**
|
|
8789
|
-
* Specifies
|
|
8795
|
+
* Specifies the recipient is an SMTP email address on the Exchange server.
|
|
8790
8796
|
*/
|
|
8791
8797
|
User = "user",
|
|
8792
8798
|
/**
|
|
8793
|
-
* Specifies
|
|
8799
|
+
* Specifies the recipient is an SMTP email address that isn't on the Exchange server.
|
|
8794
8800
|
*/
|
|
8795
8801
|
ExternalUser = "externalUser",
|
|
8796
8802
|
/**
|
|
8797
|
-
* Specifies
|
|
8803
|
+
* Specifies the recipient isn't one of the other recipient types. It also refers to a recipient that isn't resolved against the Exchange address book,
|
|
8804
|
+
* and is therefore treated as an external SMTP address.
|
|
8798
8805
|
*/
|
|
8799
8806
|
Other = "other"
|
|
8800
8807
|
}
|
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.281",
|
|
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",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "0ca35ba1ff598f6fe3322c0879268d476ece5acb05c46dfe2c92ebc2e7d0f6bd",
|
|
49
49
|
"typeScriptVersion": "4.1"
|
|
50
50
|
}
|