file 1: const response = await database.listDocuments(dbId, colId, queries);
file 2: const response = await databaseService.vnmDocument(dbId, colId, [Query.equal('id', docId)]);
TL;DR
To refer to the Document ID in a list documents query, developers can use the attribute `$id`. In file 2, developers can update the query to reference the Document ID using `[Query.equal('$id', docId)]`.