Starting post load
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
export type User = {
|
||||
name: string
|
||||
};
|
||||
|
||||
export type Rating = {
|
||||
likes: number,
|
||||
dislikes: number
|
||||
}
|
||||
|
||||
export type Category = {
|
||||
name: string
|
||||
}
|
||||
|
||||
export type Post = {
|
||||
// author: User,
|
||||
name: string,
|
||||
// category: Category,
|
||||
content: string,
|
||||
// post_date: Date,
|
||||
// rating: Rating
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
export type Env = {
|
||||
PG_USERNAME: string,
|
||||
PG_PASSWORD: string,
|
||||
PG_HOST: string,
|
||||
PG_PORT: string,
|
||||
PG_DATABASE: string,
|
||||
|
||||
SSH_HOST: string,
|
||||
SSH_PORT: string,
|
||||
SSH_USERNAME: string,
|
||||
SSH_PASSWORD: string
|
||||
};
|
||||
Reference in New Issue
Block a user