Skip to content

Commit

Permalink
Add createdAt propert for all objects
Browse files Browse the repository at this point in the history
  • Loading branch information
n1klaus committed Apr 27, 2023
1 parent 6542b1d commit 2ce2382
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface IChannel {
videos: Array<string>;
subscribers: number;
isPublic: boolean;
createdAt: string;
}

export interface IVideo {
Expand All @@ -47,4 +48,5 @@ export interface IComment {
description: string;
upvotes: number;
downvotes: number;
createdAt: string;
}

0 comments on commit 2ce2382

Please sign in to comment.