@types/office-js 1.0.376 → 1.0.377
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 -1
- office-js/package.json +3 -3
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: Thu,
|
|
11
|
+
* Last updated: Thu, 07 Mar 2024 19:06:39 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -442,6 +442,9 @@ declare namespace Office {
|
|
|
442
442
|
PC,
|
|
443
443
|
/**
|
|
444
444
|
* The platform is Office on the web (in a browser).
|
|
445
|
+
*
|
|
446
|
+
* **Important**: In Outlook, `OfficeOnline` is returned if an add-is is running in Outlook on the web or in
|
|
447
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
|
|
445
448
|
*/
|
|
446
449
|
OfficeOnline,
|
|
447
450
|
/**
|
|
@@ -954,11 +957,16 @@ declare namespace Office {
|
|
|
954
957
|
* Provides the platform on which the add-in is running.
|
|
955
958
|
*
|
|
956
959
|
* @remarks
|
|
957
|
-
* **Important**:
|
|
960
|
+
* **Important**:
|
|
961
|
+
*
|
|
962
|
+
* - In Outlook, this property is available from Mailbox requirement set 1.5. You can also use the
|
|
958
963
|
* `Office.context.diagnostics` property to get the platform starting with requirement set 1.5. For all
|
|
959
964
|
* Mailbox requirement sets, you can use the
|
|
960
965
|
* {@link https://learn.microsoft.com/javascript/api/outlook/office.mailbox?view=outlook-js-1.1&preserve-view=true#outlook-office-mailbox-diagnostics-member | Office.context.mailbox.diagnostics}
|
|
961
966
|
* property to get similar information.
|
|
967
|
+
*
|
|
968
|
+
* - In Outlook, `OfficeOnline` is returned if an add-is is running in Outlook on the web or in
|
|
969
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
|
|
962
970
|
*/
|
|
963
971
|
platform: PlatformType;
|
|
964
972
|
/**
|
|
@@ -1668,6 +1676,10 @@ declare namespace Office {
|
|
|
1668
1676
|
host: Office.HostType;
|
|
1669
1677
|
/**
|
|
1670
1678
|
* Gets the platform on which the add-in is running.
|
|
1679
|
+
*
|
|
1680
|
+
* @remarks
|
|
1681
|
+
* **Important**: In Outlook, `OfficeOnline` is returned if an add-is is running in Outlook on the web or in
|
|
1682
|
+
* {@link https://support.microsoft.com/office/656bb8d9-5a60-49b2-a98b-ba7822bc7627 | new Outlook on Windows (preview)}.
|
|
1671
1683
|
*/
|
|
1672
1684
|
platform: Office.PlatformType;
|
|
1673
1685
|
/**
|
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.377",
|
|
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": "
|
|
49
|
-
"typeScriptVersion": "4.
|
|
48
|
+
"typesPublisherContentHash": "d4ca4a143f1f94458fcecd060a53156e8ee158865e94438c0da7680cf5f4ab72",
|
|
49
|
+
"typeScriptVersion": "4.7"
|
|
50
50
|
}
|