@types/office-js-preview 1.0.445 → 1.0.447

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.
@@ -8,7 +8,7 @@ This package contains type definitions for office-js-preview (https://github.com
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, 26 Jan 2024 01:28:35 GMT
11
+ * Last updated: Tue, 30 Jan 2024 00:22:17 GMT
12
12
  * Dependencies: none
13
13
 
14
14
  # Credits
@@ -947,6 +947,14 @@ declare namespace Office {
947
947
  * Provides access to the properties for Office theme colors.
948
948
  */
949
949
  officeTheme: OfficeTheme;
950
+ /**
951
+ * Gets a partition key for local storage. Add-ins should use this key as the location to securely store data.
952
+ *
953
+ * @remarks
954
+ *
955
+ * The hashed value of the UserPrincipalName (UPN) for the add-in's current partition.
956
+ */
957
+ partitionKey: string;
950
958
  /**
951
959
  * Provides the platform on which the add-in is running.
952
960
  *
@@ -13656,7 +13664,7 @@ declare namespace Office {
13656
13664
  */
13657
13665
  interface DisplayedBody {
13658
13666
  /**
13659
- * Temporarily sets the content displayed in the body of a message in read mode. The set content remains visible until the user switches to a different messsage or
13667
+ * Temporarily sets the content displayed in the body of a message in read mode. The set content remains visible until the user switches to a different message or
13660
13668
  * closes the window of the current message.
13661
13669
  *
13662
13670
  * @remarks
@@ -13692,7 +13700,7 @@ declare namespace Office {
13692
13700
  */
13693
13701
  setAsync(data: string, options: Office.AsyncContextOptions & CoercionTypeOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13694
13702
  /**
13695
- * Temporarily sets the content displayed in the body of a message in read mode. The set content will remain visible until the user switches to a different messsage or
13703
+ * Temporarily sets the content displayed in the body of a message in read mode. The set content will remain visible until the user switches to a different message or
13696
13704
  * closes the window of the current message.
13697
13705
  *
13698
13706
  * @remarks
@@ -13735,7 +13743,7 @@ declare namespace Office {
13735
13743
  */
13736
13744
  interface DisplayedSubject {
13737
13745
  /**
13738
- * Temporarily sets the content displayed in the subject of a message in read mode. The set content will remain visible until the user switches to a different messsage or
13746
+ * Temporarily sets the content displayed in the subject of a message in read mode. The set content will remain visible until the user switches to a different message or
13739
13747
  * closes the window of the current message.
13740
13748
  *
13741
13749
  * @remarks
@@ -13767,7 +13775,7 @@ declare namespace Office {
13767
13775
  */
13768
13776
  setAsync(data: string, options: Office.AsyncContextOptions, callback?: (asyncResult: Office.AsyncResult<void>) => void): void;
13769
13777
  /**
13770
- * Temporarily sets the content displayed in the subject of a message in read mode. The set content will remain visible until the user switches to a different messsage or
13778
+ * Temporarily sets the content displayed in the subject of a message in read mode. The set content will remain visible until the user switches to a different message or
13771
13779
  * closes the window of the current message.
13772
13780
  *
13773
13781
  * @remarks
@@ -16105,7 +16113,7 @@ declare namespace Office {
16105
16113
  *
16106
16114
  * **Important**:
16107
16115
  *
16108
- * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
16116
+ * - Adding an inline Base64 file to a message in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
16109
16117
  * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16110
16118
  *
16111
16119
  * - If you're using a data URL API (for example, `readAsDataURL`), you need to strip out the data URL prefix, then send the rest of the string to this API.
@@ -16151,7 +16159,7 @@ declare namespace Office {
16151
16159
  *
16152
16160
  * **Important**:
16153
16161
  *
16154
- * - Adding an inline Base64 file to a messsage in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
16162
+ * - Adding an inline Base64 file to a message in compose mode is supported in Outlook on Android and on iOS. For more information on supported APIs in
16155
16163
  * Outlook mobile, see {@link https://learn.microsoft.com/office/dev/add-ins/outlook/outlook-mobile-apis | Outlook JavaScript APIs supported in Outlook on mobile devices}.
16156
16164
  *
16157
16165
  * - If you're using a data URL API (for example, `readAsDataURL`), you need to strip out the data URL prefix, then send the rest of the string to this API.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/office-js-preview",
3
- "version": "1.0.445",
3
+ "version": "1.0.447",
4
4
  "description": "TypeScript definitions for office-js-preview",
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": "1f28f67fcb6bd9c50774a8a34750873a67cf651981cf64a8042402c1b014b270",
48
+ "typesPublisherContentHash": "93a99194fb957e25a88f9e8c08f7a23a5906e57cfb5531b6e5fbdfa44fa1abac",
49
49
  "typeScriptVersion": "4.6"
50
50
  }