@types/office-js 1.0.390 → 1.0.392
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 +16 -2
- 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, 24 May 2024 23:36:04 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
office-js/index.d.ts
CHANGED
|
@@ -241,6 +241,10 @@ declare namespace Office {
|
|
|
241
241
|
* Represents the Auth interface.
|
|
242
242
|
*/
|
|
243
243
|
const auth: Auth;
|
|
244
|
+
/**
|
|
245
|
+
* Represents the Device Permission interface.
|
|
246
|
+
*/
|
|
247
|
+
const devicePermission: DevicePermission;
|
|
244
248
|
/**
|
|
245
249
|
* Represents the ribbon associated with the Office application.
|
|
246
250
|
*/
|
|
@@ -4679,13 +4683,20 @@ declare namespace Office {
|
|
|
4679
4683
|
*
|
|
4680
4684
|
* @remarks
|
|
4681
4685
|
*
|
|
4682
|
-
* **Applications**: Outlook
|
|
4686
|
+
* **Applications**: Outlook on the web and on Windows (classic and new clients)
|
|
4683
4687
|
*
|
|
4684
4688
|
* [Api set: Mailbox 1.14]
|
|
4685
4689
|
*
|
|
4686
4690
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/understanding-outlook-add-in-permissions | Minimum permission level}**: **restricted**
|
|
4687
4691
|
*
|
|
4688
4692
|
* **{@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-add-ins-overview#extension-points | Applicable Outlook mode}**: Compose or Read
|
|
4693
|
+
*
|
|
4694
|
+
* **Important**:
|
|
4695
|
+
*
|
|
4696
|
+
* - In Outlook on the web and new Outlook on Windows, this API isn't supported in add-ins that implement a task pane. On these clients,
|
|
4697
|
+
* the API is only supported in add-ins that implement event-based activation or integrated spam reporting.
|
|
4698
|
+
*
|
|
4699
|
+
* - In classic Outlook on Windows, this API is supported in add-ins that implement a task pane, event-based activation, or integrated spam reporting.
|
|
4689
4700
|
*/
|
|
4690
4701
|
urls: Urls;
|
|
4691
4702
|
}
|
|
@@ -8645,11 +8656,14 @@ declare namespace Office {
|
|
|
8645
8656
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | Configure your Outlook add-in for event-based activation} and
|
|
8646
8657
|
* {@link https://learn.microsoft.com/office/dev/add-ins/outlook/spam-reporting | Implement an integrated spam-reporting add-in}.
|
|
8647
8658
|
*
|
|
8659
|
+
* - In Outlook on the web and new Outlook on Windows, this API isn't supported in add-ins that implement a task pane. On these clients,
|
|
8660
|
+
* the API is only supported in add-ins that implement event-based activation or integrated spam reporting.
|
|
8661
|
+
*
|
|
8648
8662
|
* - If your add-in uses the XML manifest, the URL returned matches the `resid` value of the **RuntimeOverride** element of type `javascript`.
|
|
8649
8663
|
* To learn more, see {@link https://learn.microsoft.com/javascript/api/manifest/override#override-element-for-runtime | Override element for Runtime}.
|
|
8650
8664
|
*
|
|
8651
8665
|
* - If your add-in uses the unified manifest for Microsoft 365, the URL returned matches the value of the `script` property in the
|
|
8652
|
-
* "code" object.
|
|
8666
|
+
* "extensions.runtimes.code" object.
|
|
8653
8667
|
*/
|
|
8654
8668
|
javascriptRuntimeUrl: string;
|
|
8655
8669
|
}
|
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.392",
|
|
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": "a52abd2e40a99ed7666e1c2eb34d34035757d86d01890f42e989b7049f523ad2",
|
|
49
49
|
"typeScriptVersion": "4.7"
|
|
50
50
|
}
|