@trops/dash-core 0.1.347 → 0.1.348
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -213,7 +213,7 @@ function driveUploadRequest(
|
|
|
213
213
|
|
|
214
214
|
async function listFolder(token, folderId) {
|
|
215
215
|
const q = encodeURIComponent(`'${folderId}' in parents and trashed=false`);
|
|
216
|
-
const fields = encodeURIComponent("files(id,name,mimeType)");
|
|
216
|
+
const fields = encodeURIComponent("files(id,name,mimeType,modifiedTime)");
|
|
217
217
|
const result = await driveRequest(
|
|
218
218
|
`/drive/v3/files?q=${q}&fields=${fields}&pageSize=200`,
|
|
219
219
|
token,
|
|
@@ -584,7 +584,8 @@ if (process.argv[2] === "auth") {
|
|
|
584
584
|
};
|
|
585
585
|
}
|
|
586
586
|
const childLines = children.map(
|
|
587
|
-
(f) =>
|
|
587
|
+
(f) =>
|
|
588
|
+
`${f.name} (${f.mimeType}) [${f.id}]${f.modifiedTime ? ` @${f.modifiedTime}` : ""}`,
|
|
588
589
|
);
|
|
589
590
|
return {
|
|
590
591
|
content: [
|