UNPKG
instagram-model-ts
Version:
latest (1.0.0)
1.0.0
Instagram model
instagram-model-ts
/
src
/
Model
/
Post.ts
12 lines
(11 loc)
•
236 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
type
{
Comment
}
from
"./Comment.ts"
import
type
{
User
}
from
"./User.ts"
export
type
Post
= {
id
:
string
,
image
:
string
,
description
:
string
,
user
:
User
,
date
:
Date
,
comments
:
Array
<
Comment
>,
likes
:
Array
<
User
> }