Skip to content

basalt / drives-google/src / FILE_FIELDS

Variable: FILE_FIELDS ​

> const FILE_FIELDS: "id,name,mimeType,parents,size,md5Checksum,headRevisionId,createdTime,modifiedTime,webViewLink,trashed,explicitlyTrashed,driveId,shortcutDetails(targetId,targetMimeType)" = 'id,name,mimeType,parents,size,md5Checksum,headRevisionId,createdTime,modifiedTime,webViewLink,trashed,explicitlyTrashed,driveId,shortcutDetails(targetId,targetMimeType)'

Defined in: drives-google/src/metadata.ts:54

The fields mask every metadata read uses.

size and md5Checksum are requested even though a Google-native Doc never has them: their absence is the signal, and asking for them is how the adapter learns it rather than guessing from the mime type alone.

Released under the MIT License.