@types/office-runtime 1.0.27 → 1.0.29

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-runtime/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for office-runtime (https://github.com/Of
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-runtime.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Wed, 14 Sep 2022 20:32:52 GMT
11
+ * Last updated: Wed, 05 Oct 2022 21:03:02 GMT
12
12
  * Dependencies: none
13
13
  * Global values: `OfficeRuntime`
14
14
 
office-runtime/index.d.ts CHANGED
@@ -38,7 +38,7 @@ declare namespace OfficeRuntime {
38
38
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
39
39
  *
40
40
  * **Important**: In Outlook, support is only available with
41
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
41
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
42
42
  *
43
43
  * Storage limit is 10 MB per domain, which may be shared by multiple add-ins.
44
44
  */
@@ -51,7 +51,7 @@ declare namespace OfficeRuntime {
51
51
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
52
52
  *
53
53
  * **Important**: In Outlook, support is only available with
54
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
54
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
55
55
  *
56
56
  * @param key Key of item to be retrieved. Must be a string.
57
57
  */
@@ -64,7 +64,7 @@ declare namespace OfficeRuntime {
64
64
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
65
65
  *
66
66
  * **Important**: In Outlook, support is only available with
67
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
67
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
68
68
  *
69
69
  * @param key Key of item to be set. Must be a string.
70
70
  * @param value Must be a string.
@@ -78,7 +78,7 @@ declare namespace OfficeRuntime {
78
78
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
79
79
  *
80
80
  * **Important**: In Outlook, support is only available with
81
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
81
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
82
82
  *
83
83
  * @param key Key of item to be removed. Must be a string.
84
84
  */
@@ -91,7 +91,7 @@ declare namespace OfficeRuntime {
91
91
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
92
92
  *
93
93
  * **Important**: In Outlook, support is only available with
94
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
94
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
95
95
  *
96
96
  * @param keys Keys of items to be removed. Must be an array of strings.
97
97
  */
@@ -104,7 +104,7 @@ declare namespace OfficeRuntime {
104
104
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
105
105
  *
106
106
  * **Important**: In Outlook, support is only available with
107
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
107
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
108
108
  *
109
109
  * @param keyValues Key-value pairs to be set. Must be strings.
110
110
  */
@@ -117,7 +117,7 @@ declare namespace OfficeRuntime {
117
117
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
118
118
  *
119
119
  * **Important**: In Outlook, support is only available with
120
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
120
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
121
121
  *
122
122
  * @param keys Keys of items to be removed. Must be an array of strings.
123
123
  */
@@ -130,7 +130,7 @@ declare namespace OfficeRuntime {
130
130
  * [Api set: SharedRuntime 1.1, Mailbox 1.10]
131
131
  *
132
132
  * **Important**: In Outlook, support is only available with
133
- * {@link https://docs.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
133
+ * {@link https://learn.microsoft.com/office/dev/add-ins/outlook/autolaunch | event-based activation}.
134
134
  */
135
135
  getKeys(): Promise<string[]>;
136
136
  }
@@ -271,8 +271,8 @@ declare namespace OfficeRuntime {
271
271
  * @remarks
272
272
  *
273
273
  * **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.
274
- * 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
275
- * {@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}.
274
+ * Otherwise, you'll receive {@link https://learn.microsoft.com/office/dev/add-ins/develop/troubleshoot-sso-in-office-add-ins#13012 | error 13012}. For additional guidance, see
275
+ * {@link https://learn.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}.
276
276
  */
277
277
  forMSGraphAccess?: boolean;
278
278
  }
@@ -281,7 +281,7 @@ declare namespace OfficeRuntime {
281
281
  *
282
282
  * @remarks
283
283
  *
284
- * The methods in this interface are equivalent to those in the {@link https://docs.microsoft.com/javascript/api/office/office.auth | Office.auth interface}.
284
+ * The methods in this interface are equivalent to those in the {@link https://learn.microsoft.com/javascript/api/office/office.auth | Office.auth interface}.
285
285
  * If new authentication types are added in the future, they will only be added to the `Office.auth` interface.
286
286
  * For simplicity, the code examples throughout the documentation use `Office.auth`.
287
287
  */
@@ -289,7 +289,7 @@ declare namespace OfficeRuntime {
289
289
  /**
290
290
  * Calls the Azure Active Directory V 2.0 endpoint to get an access token to your add-in's web application. Enables add-ins to identify users.
291
291
  * Server-side code can use this token to access Microsoft Graph for the add-in's web application by using the
292
- * {@link https://docs.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
292
+ * {@link https://learn.microsoft.com/azure/active-directory/develop/active-directory-v2-protocols-oauth-on-behalf-of | "on behalf of" OAuth flow}.
293
293
  * This API requires a single sign-on configuration that bridges the add-in to an Azure application. Office users sign-in with Organizational
294
294
  * Accounts and Microsoft Accounts. Microsoft Azure returns tokens intended for both user account types to access resources in the Microsoft Graph.
295
295
  *
@@ -297,7 +297,7 @@ declare namespace OfficeRuntime {
297
297
  *
298
298
  * @remarks
299
299
  *
300
- * **Hosts**: Excel, Outlook, PowerPoint, Word
300
+ * **Applications**: Excel, Outlook, PowerPoint, Word
301
301
  *
302
302
  * @param options - Optional. Accepts an `AuthOptions` object to define sign-on behaviors.
303
303
  * @returns Promise to the access token.
@@ -313,7 +313,7 @@ declare namespace OfficeRuntime {
313
313
  */
314
314
  interface ApiInformation {
315
315
  /**
316
- * Check if the specified requirement set is supported by the host Office application.
316
+ * Check if the specified requirement set is supported by the Office application.
317
317
  * @param name - Set name; e.g., "MatrixBindings".
318
318
  * @param minVersion - The minimum required version; e.g., "1.4".
319
319
  */
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-runtime",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "TypeScript definitions for office-runtime",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/office-runtime",
6
6
  "license": "MIT",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "3d0a6f9b513fbff89a30b7f0a9a806e809ecce301dd03b199b4c12d6548ba7e2",
43
+ "typesPublisherContentHash": "602934e1b76eba7eee5575664719b7776705ce801f8e2c79dc7f2f122f1f48de",
44
44
  "typeScriptVersion": "4.1"
45
45
  }