Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion types/google.picker/google.picker-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// https://issuetracker.google.com/issues/new?component=191628

// Skipping tests by updating with checksum
// d94cd28364ab9b3272acb33c7302966c
// b03a54c16f601e791ab7dee3dfd08fe7

// tslint:disable:no-unused-expression
google.picker.PickerBuilder;
36 changes: 29 additions & 7 deletions types/google.picker/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,7 @@ declare namespace google {
constructor(viewId?: ViewId);

/**
* Show folders in the view items. Do not combine with
* `setOwnedByMe`. When `setIncludeFolders(true)` is
* set, `setOwnedByMe` is ignored.
* Show folders in the view items.
*
* If you don't set this option, folders aren't displayed in the
* view.
Expand All @@ -514,10 +512,12 @@ declare namespace google {
setMode(mode: DocsViewMode): DocsView;

/**
* Filters the documents based on whether they are owned by the user, or
* shared with the user. Do not combine this setting with
* `setIncludeFolders`. When `setIncludeFolders(true)`
* is set, `setOwnedByMe` is ignored.
* Filters the documents based on whether they are owned by the user, or
* shared with the user.
*
* Don't combine this setting with `setEnableDrives`.
* When `setEnableDrives(true)` and `setOwnedByMe(true)` are set,
* there are no results.
*
* If you don't set this option, all documents, including shared
* documents, are displayed in the view.
Expand All @@ -529,6 +529,9 @@ declare namespace google {
*
* If `true`, only starred documents are displayed in the view. If
* `false`, all documents are displayed in the view.
*
* Don't combine this setting with `setEnableDrives`.
* When `setEnableDrives(true)` is set, `setStarred` is ignored.
*/
setStarred(starred: boolean): DocsView;

Expand All @@ -539,17 +542,36 @@ declare namespace google {
* GoogleDrive API documentation for enabling shared drives}.
*
* If `true`, only shared drives are included in the view.
*
* Don't combine this setting with `setParent` or `setFileIds`.
* Calls to this function override previous calls to `setParent` or
* `setFileIds`.
*
* Don't combine this setting with `setOwnedByMe`.
* When `setEnableDrives(true)` and `setOwnedByMe(true)` are set,
* there are no results.
*
* Don't combine this setting with `setStarred`.
* When `setEnableDrives(true)` is set, `setStarred` is ignored.
*/
setEnableDrives(enabled: boolean): DocsView;

/**
* Sets the initial parent folder to display.
*
* Don't combine this setting with `setEnableDrives` or `setFileIds`.
* Calls to this function override previous calls to `setEnableDrives`
* or `setFileIds`.
*/
setParent(parentId: string): View;

/**
* Sets the file IDs included in the view.
*
* Don't combine this setting with `setEnableDrives` or `setParent`.
* Calls to this function override previous calls to `setEnableDrives`
* or `setParent`.
*
* @param fileIds A string of file IDs. Use commas to separate file IDs if
* setting more than one. If you include the file ID of a file that the
* user doesn't have access to, the file is excluded from the view.
Expand Down
14 changes: 12 additions & 2 deletions types/office-js-preview/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8907,9 +8907,11 @@ declare namespace Office {
/**
* The attachment is stored in a cloud location, such as OneDrive.
*
* **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetails | details} object
* **Important**: In Read mode, the `id` property of the attachment's
* {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetails | AttachmentDetails} object
* contains a URL to the file.
* From requirement set 1.8, the `url` property included in the attachment's {@link Office.AttachmentDetailsCompose | details} object
* From requirement set 1.8, the `url` property included in the attachment's
* {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetailscompose | AttachmentDetailsCompose} object
* contains a URL to the file in Compose mode.
*
* The `cloud` attachment type isn't supported by the `displayNewMessageForm`, `displayNewMessageFormAsync`, `displayReplyAllForm`, `displayReplyAllFormAsync`,
Expand Down Expand Up @@ -10595,6 +10597,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down Expand Up @@ -10642,6 +10646,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down Expand Up @@ -18878,6 +18884,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down Expand Up @@ -18924,6 +18932,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down
14 changes: 12 additions & 2 deletions types/office-js/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8855,9 +8855,11 @@ declare namespace Office {
/**
* The attachment is stored in a cloud location, such as OneDrive.
*
* **Important**: In Read mode, the `id` property of the attachment's {@link Office.AttachmentDetails | details} object
* **Important**: In Read mode, the `id` property of the attachment's
* {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetails | AttachmentDetails} object
* contains a URL to the file.
* From requirement set 1.8, the `url` property included in the attachment's {@link Office.AttachmentDetailsCompose | details} object
* From requirement set 1.8, the `url` property included in the attachment's
* {@link https://learn.microsoft.com/javascript/api/outlook/office.attachmentdetailscompose | AttachmentDetailsCompose} object
* contains a URL to the file in Compose mode.
*
* The `cloud` attachment type isn't supported by the `displayNewMessageForm`, `displayNewMessageFormAsync`, `displayReplyAllForm`, `displayReplyAllFormAsync`,
Expand Down Expand Up @@ -10530,6 +10532,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down Expand Up @@ -10577,6 +10581,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down Expand Up @@ -18515,6 +18521,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down Expand Up @@ -18561,6 +18569,8 @@ declare namespace Office {
* - This method isn't supported in Outlook on iOS or Android. For more information on supported APIs in 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}.
*
* - Bitmap (BMP) images aren't supported if they're added as inline attachments.
*
* - In recent builds of classic Outlook on Windows, a bug was introduced that incorrectly appends an `Authorization: Bearer` header to
* this action (whether using this API or the Outlook UI). To work around this issue, use the `addFileAttachmentFromBase64` API
* introduced with requirement set 1.8.
Expand Down