Skip to content

Commit

Permalink
add createdAt and updatedAt to the VulcanDocument type
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-burel committed Apr 6, 2021
1 parent 4b38579 commit 33a9211
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/schema/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ export interface VulcanDocument {
// Special fields
_id?: string;
userId?: string;
createdAt?: Date | string | null; // TODO: is it a date or a string in the context where we rely on VulcanDocument?
updatedAt?: Date | string | null;
slug?: string;
[key: string]: any;
}

0 comments on commit 33a9211

Please sign in to comment.