Skip to content

Commit

Permalink
[office-js, office-js-preview] Add partitionKey API for storage parti…
Browse files Browse the repository at this point in the history
…tioning (#68375)

* Add partitionKey API for storage partitioning

* Remove extra empty link
  • Loading branch information
AlexJerabek committed Jan 30, 2024
1 parent 9da37b2 commit dfd0ded
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,14 @@ declare namespace Office {
* Provides access to the properties for Office theme colors.
*/
officeTheme: OfficeTheme;
/**
* Gets a partition key for local storage. Add-ins should use this key as the location to securely store data.
*
* @remarks
*
* The hashed value of the UserPrincipalName (UPN) for the add-in's current partition.
*/
partitionKey: string;
/**
* Provides the platform on which the add-in is running.
*
Expand Down
8 changes: 8 additions & 0 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,14 @@ declare namespace Office {
* Provides access to the properties for Office theme colors.
*/
officeTheme: OfficeTheme;
/**
* Gets a partition key for local storage. Add-ins should use this key as the location to securely store data.
*
* @remarks
*
* The hashed value of the UserPrincipalName (UPN) for the add-in's current partition.
*/
partitionKey: string;
/**
* Provides the platform on which the add-in is running.
*
Expand Down

0 comments on commit dfd0ded

Please sign in to comment.