@types/office-js-preview 1.0.306 → 1.0.307
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-preview/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-preview.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated: Fri, 20 May 2022
|
|
11
|
+
* Last updated: Fri, 20 May 2022 21:01:43 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: `Excel`, `Office`, `OfficeCore`, `OfficeExtension`, `OneNote`, `PowerPoint`, `Visio`, `Word`
|
|
14
14
|
|
office-js-preview/index.d.ts
CHANGED
|
@@ -537,9 +537,6 @@ declare namespace Office {
|
|
|
537
537
|
}
|
|
538
538
|
/**
|
|
539
539
|
* Manages actions and keyboard shortcuts.
|
|
540
|
-
*
|
|
541
|
-
* @remarks
|
|
542
|
-
* **Requirement set**: {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
|
|
543
540
|
*/
|
|
544
541
|
interface Actions {
|
|
545
542
|
/**
|
|
@@ -547,9 +544,6 @@ declare namespace Office {
|
|
|
547
544
|
*
|
|
548
545
|
* @param actionId The ID of an action that is defined in an extended manifest or the name of the function as specified in a **FunctionName** element in the manifest.
|
|
549
546
|
* @param actionFunction The function that is run when the action is invoked.
|
|
550
|
-
*
|
|
551
|
-
* @remarks
|
|
552
|
-
* **Requirement set**: {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
|
|
553
547
|
*/
|
|
554
548
|
associate: (actionId: string, actionFunction: (arg?: any) => void) => void;
|
|
555
549
|
/**
|
|
@@ -557,7 +551,12 @@ declare namespace Office {
|
|
|
557
551
|
*
|
|
558
552
|
* @remarks
|
|
559
553
|
*
|
|
560
|
-
* **Requirement
|
|
554
|
+
* **Requirement sets**:
|
|
555
|
+
*
|
|
556
|
+
* - {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/keyboard-shortcuts-requirement-sets | KeyboardShortcuts 1.1}
|
|
557
|
+
*
|
|
558
|
+
* - {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
|
|
559
|
+
*
|
|
561
560
|
* @beta
|
|
562
561
|
*
|
|
563
562
|
* @param shortcuts An object of custom shortcuts with keys being the IDs of the actions (as defined in an extended manifest) and values being the shortcut combinations. For example, `{"SetItalic": "Ctrl+1", "SetBold": "Ctrl+2"}`.
|
|
@@ -572,7 +571,12 @@ declare namespace Office {
|
|
|
572
571
|
*
|
|
573
572
|
* @remarks
|
|
574
573
|
*
|
|
575
|
-
* **Requirement
|
|
574
|
+
* **Requirement sets**:
|
|
575
|
+
*
|
|
576
|
+
* - {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/keyboard-shortcuts-requirement-sets | KeyboardShortcuts 1.1}
|
|
577
|
+
*
|
|
578
|
+
* - {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
|
|
579
|
+
*
|
|
576
580
|
* @beta
|
|
577
581
|
*
|
|
578
582
|
* @returns A promise that resolves to an object of shortcuts, with keys being the IDs of the actions (as defined in an extended manifest) and values being the shortcut combinations. For example, `{"SetItalic": "Ctrl+1", "SetBold": "Ctrl+2", "SetUnderline": null}`.
|
|
@@ -583,7 +587,12 @@ declare namespace Office {
|
|
|
583
587
|
*
|
|
584
588
|
* @remarks
|
|
585
589
|
*
|
|
586
|
-
* **Requirement
|
|
590
|
+
* **Requirement sets**:
|
|
591
|
+
*
|
|
592
|
+
* - {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/keyboard-shortcuts-requirement-sets | KeyboardShortcuts 1.1}
|
|
593
|
+
*
|
|
594
|
+
* - {@link https://docs.microsoft.com/javascript/api/requirement-sets/common/shared-runtime-requirement-sets | SharedRuntime 1.1}
|
|
595
|
+
*
|
|
587
596
|
* @beta
|
|
588
597
|
*
|
|
589
598
|
* @param shortcuts An array of shortcut combinations. For example, `["Ctrl+1", "Ctrl+2"]`.
|
office-js-preview/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/office-js-preview",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.307",
|
|
4
4
|
"description": "TypeScript definitions for Office.js",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-js-preview",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "3dfe71146eb14c6712adaf58f27396d99e467e72996cb0a7490d4e146ee201fa",
|
|
49
49
|
"typeScriptVersion": "3.9"
|
|
50
50
|
}
|