@useparagon/connect 2.4.4-experimental.22191.1 → 2.4.4-experimental.22191.2
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.
- package/dist/src/ConnectSDK.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/types/sdk.d.ts +8 -1
- package/package.json +1 -1
package/dist/src/types/sdk.d.ts
CHANGED
|
@@ -524,10 +524,17 @@ export type FilePickerInitOptions = {
|
|
|
524
524
|
selectedCredentialId?: string;
|
|
525
525
|
/**
|
|
526
526
|
* Optional SharePoint site URL override (e.g. https://contoso.sharepoint.com/sites/MySite).
|
|
527
|
-
* When provided, takes precedence over
|
|
527
|
+
* When provided, takes precedence over siteId and providerData.webUrl.
|
|
528
528
|
* Useful when a single connected account has access to multiple SharePoint sites.
|
|
529
529
|
*/
|
|
530
530
|
siteUrl?: string;
|
|
531
|
+
/**
|
|
532
|
+
* Optional SharePoint site ID (e.g. contoso.sharepoint.com,191d8a17-...).
|
|
533
|
+
* Resolved to a webUrl via the Microsoft Graph API before opening the picker.
|
|
534
|
+
* Use siteUrl instead when you already have the full URL.
|
|
535
|
+
* Ignored when siteUrl is also provided.
|
|
536
|
+
*/
|
|
537
|
+
siteId?: string;
|
|
531
538
|
};
|
|
532
539
|
export declare enum FilePickerStatus {
|
|
533
540
|
LOADING = "loading",
|
package/package.json
CHANGED