diff --git a/types/index.d.ts b/types/index.d.ts index 619f118..0d4867e 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -50,17 +50,11 @@ export declare type OdSearchResult = Array<{ path: string parentReference: { id: string; name: string; path: string } }> - -// driveItem type which is returned by /api/item?id={id} +// API response object for /api/item?id={id}. This is primarily used for determining the path of the driveItem by ID. export type OdDriveItem = { '@odata.context': string '@odata.etag': string id: string name: string - parentReference: { - driveId: string - driveType: string - id: string - path: string - } + parentReference: { driveId: string; driveType: string; id: string; path: string } }