Skip to content

Commit

Permalink
fix(checks): include deletedAt as a common metadata key
Browse files Browse the repository at this point in the history
  • Loading branch information
uladkasach committed Oct 26, 2023
1 parent 4d2b6f2 commit 7791c38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/checks/hasMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const typicalMetadataKeys = [
'uuid',
'createdAt',
'updatedAt',
'deletedAt',
'effectiveAt',
] as const;
/**
Expand All @@ -21,6 +22,7 @@ type TypicalMetadataKeys = typeof typicalMetadataKeys[number];
* - `uuid`
* - `createdAt`
* - `updatedAt`
* - `deletedAt`
* - `effectiveAt`
*
* note:
Expand Down Expand Up @@ -50,6 +52,7 @@ export type HasMetadata<
* - `uuid`
* - `createdAt`
* - `updatedAt`
* - `deletedAt`
* - `effectiveAt`
*
* see more information about the `HasMetadata` type in its jsdoc on-hover documentation
Expand Down

0 comments on commit 7791c38

Please sign in to comment.