-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider drive root to be a folder when syncing onedrive/sharepoint #703
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,6 +55,8 @@ export interface SharepointFolderInput { | |
readonly createdBy?: IdentitySet; | ||
/** Identity of the user, device, and application that last modified the item. Read-only. */ | ||
readonly lastModifiedBy?: IdentitySet; | ||
/** If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. */ | ||
readonly root?: any; | ||
Comment on lines
+58
to
+59
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Approve the addition of the The new However, the |
||
} | ||
|
||
/** | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Consider using a more specific type if possible.
The addition of the
root
property enhances theOnedriveFolderInput
interface by providing additional context about the state of thedriveItem
. The read-only nature of the property aligns with its purpose of indicating the top-most item in the drive hierarchy. The comment provides a clear explanation of the property's purpose, which is helpful for developers using this interface.However, consider using a more specific type than
any
for theroot
property if possible, as it may provide better type safety and improve code maintainability.