I would expect that it includes all fields of Document
: https://docs.fauna.com/fauna/current/reference/reference/schema_entities/document/document_fields
Current implementation: fauna-js/src/values/doc.ts at main · fauna/fauna-js · GitHub
export declare class Document extends DocumentReference {
readonly ts: TimeStub;
constructor(obj: {
coll: Module | string;
id: string;
ts: TimeStub;
[key: string]: any;
});
toObject(): {
coll: Module;
id: string;
ts: TimeStub;
};
}
export declare class DocumentReference {
readonly coll: Module;
readonly id: string;
constructor({ coll, id }: {
coll: Module | string;
id: string;
});
}