Skip to content

Commit

Permalink
update shareLink type to removethe string type
Browse files Browse the repository at this point in the history
  • Loading branch information
pragya91 committed Dec 28, 2023
1 parent e10c4a8 commit f7b33e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,14 +259,14 @@ export interface OdspResourceTokenFetchOptions extends TokenFetchOptions {
// @alpha
export interface ShareLinkInfoType {
createLink?: {
link?: string | ISharingLink;
link?: ISharingLink;
error?: any;
shareId?: string;
};
sharingLinkToRedeem?: string;
}

// @internal
// @alpha
export enum SharingLinkRole {
// (undocumented)
edit = "edit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface ShareLinkInfoType {
/**
* Share link created when the file is created for the first time with /snapshot api call.
*/
link?: string | ISharingLink;
link?: ISharingLink;

/**
* Error message if creation of sharing link fails with /snapshot api call
Expand Down

0 comments on commit f7b33e9

Please sign in to comment.