Browse Source

feat: New type

develop
Dale 3 months ago
parent
commit
e5fd99d411
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      src/types/db/interfaces.ts

+ 6
- 0
src/types/db/interfaces.ts View File

@@ -6,3 +6,9 @@ export interface IWithTimestamps {
created_at?: Date;
updated_at?: Date;
}

export interface IWithIdAndTimestamps {
id?: string;
created_at?: Date;
updated_at?: Date;
}

Loading…
Cancel
Save