Skip to content

Commit 092e5f8

Browse files
committed
updated: updated_at field to firebase FieldValue (#37)
1 parent 8391f41 commit 092e5f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/pastpaper/types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import { User } from "firebase/auth";
2+
import { FieldValue } from "firebase/firestore";
23

34
export interface PastPaperDocType {
45
uid: string;
56
photo_url: string;
67
subject_name: string;
78

8-
upload_at: string;
9+
upload_at: FieldValue;
910
deleted?: boolean;
10-
11+
1112
// true if, marked as a spam by moderator
1213
spam?: boolean;
1314

0 commit comments

Comments
 (0)