Skip to content

basalt / drives-microsoft/src / GraphItem

Interface: GraphItem ​

Defined in: drives-microsoft/src/metadata.ts:10

A driveItem, as far as this adapter reads one.

Properties ​

@microsoft.graph.downloadUrl? ​

> optional @microsoft.graph.downloadUrl?: string

Defined in: drives-microsoft/src/metadata.ts:39

A pre-signed, short-lived URL that is itself a bearer credential.

Read in GraphItem only so download can use it immediately. It is deliberately never copied into DriveItem.raw: raw is handed to app sinks, persisted next to the imported file and serialised into logs, and a credential that lands in any of those places is a credential that leaked.


createdDateTime? ​

> optional createdDateTime?: string

Defined in: drives-microsoft/src/metadata.ts:16


cTag? ​

> optional cTag?: string

Defined in: drives-microsoft/src/metadata.ts:15


deleted? ​

> optional deleted?: object

Defined in: drives-microsoft/src/metadata.ts:29

A deletion, in a /delta feed.

state? ​

> optional state?: string


eTag? ​

> optional eTag?: string

Defined in: drives-microsoft/src/metadata.ts:14


file? ​

> optional file?: object

Defined in: drives-microsoft/src/metadata.ts:20

hashes? ​

> optional hashes?: GraphHashes

mimeType? ​

> optional mimeType?: string


folder? ​

> optional folder?: object

Defined in: drives-microsoft/src/metadata.ts:19

childCount? ​

> optional childCount?: number


id? ​

> optional id?: string

Defined in: drives-microsoft/src/metadata.ts:11


lastModifiedDateTime? ​

> optional lastModifiedDateTime?: string

Defined in: drives-microsoft/src/metadata.ts:17


name? ​

> optional name?: string

Defined in: drives-microsoft/src/metadata.ts:12


package? ​

> optional package?: object

Defined in: drives-microsoft/src/metadata.ts:22

OneNote notebooks and the like: present in the namespace, no bytes to hand over.

type? ​

> optional type?: string


parentReference? ​

> optional parentReference?: object

Defined in: drives-microsoft/src/metadata.ts:30

driveId? ​

> optional driveId?: string

id? ​

> optional id?: string

path? ​

> optional path?: string

siteId? ​

> optional siteId?: string


remoteItem? ​

> optional remoteItem?: object

Defined in: drives-microsoft/src/metadata.ts:27

A "Shared with me" shortcut: the item's bytes live in another drive, and this connection cannot fetch them.

driveId? ​

> optional driveId?: string

id? ​

> optional id?: string


size? ​

> optional size?: number

Defined in: drives-microsoft/src/metadata.ts:13


webUrl? ​

> optional webUrl?: string

Defined in: drives-microsoft/src/metadata.ts:18

Released under the MIT License.