()
| 184 | } |
| 185 | |
| 186 | private usePhotoSdk(): boolean { |
| 187 | const photoPaths = [ |
| 188 | PathType.Albums, |
| 189 | PathType.Photos, |
| 190 | PathType.PhotosSharedByMe, |
| 191 | PathType.PhotosSharedWithMe, |
| 192 | PathType.PhotosTrash, |
| 193 | ]; |
| 194 | return photoPaths.includes(this.type); |
| 195 | } |
| 196 | |
| 197 | async getNode(): Promise<NodeEntity> { |
| 198 | const node = await this.getNodeInternal(); |