Mock Data
- 로그인 시
- Like, ComingUp, History → movie Id 저장? id
- 구독하고 있는 OTT
{
'userId':'',
'userName':'',
'described':[{id: 8, price: 1}],
'like': [{id: 53503, mediaType: 'movie'}],
'comingUp':[],
'history':[]
}
const Netflix = 8
const Watcha = 97
const AmazonPrimeVideo = 119
const DisneyPlus = 337
const AppleTVPlus = 350
const Wavve = 356
const OTT = [
{
id: 8,
name: 'netflix',
priceInfo: [
{
id: 81,
name: 'basic',
price: 7900,
},
{
id: 82,
name: 'prime',
price: 14900,
},
],
},
{
id: 97,
name: 'Watcha',
priceInfo: [
{
id: 1,
name: 'basic',
price: 7900,
},
{
id: 2,
name: 'prime',
price: 12900,
},
],
},
];
User |
userId: string, |
userName: string, |
described: Array, |
like: Array, |
comingUp: Array, |
history: Array, |
USER_ID |
USER_NAME |
SUBSCRIBED |
LIKE |
COMINGUP |
HISTORY |
[email protected] |
엘사 |
[ |
|
|
|
{id: 8, price: 7900}, |
|
|
|
|
|
{id: 350, price: 9900} |
|
|
|
|
|
] |
[ |
|
|
|
|
{id: 452358, type:'movie', modified_at: '2023-04-15T12:59:32.746Z’} |
|
|
|
|
|
] |
[] |
[ |
|
|
|
{id: 829, type: 'movie modified_at: '2020-12-31T12:59:32.746Z’}, |
|
|
|
|
|
{id: 54823, type: 'tv', modified_at: '2020-12-31T12:59:32.746Z’}, |
|
|
|
|
|
{id: 18712, type: 'movie', modified_at: '2021-12-25T12:59:32.746Z’} |
|
|
|
|
|
] |
|
|
|
|
|
[email protected] |
squid |
[ |
|
|
|
{id: 8, price: 7900} |
|
|
|
|
|
] |
[] |
[ |
|
|
|
{id:4158, type:'movie', modified_at: '2023-04-15T12:59:32.746Z’}, |
|
|
|
|
|
{id: 289415, type: 'movie', modified_at: '2023-04-15T12:59:32.746Z’} |
|
|
|
|
|
] |
[ |
|
|
|
|
{id: 829, type: 'movie’, modified_at: '2023-04-15T12:59:32.746Z’}, |
|
|
|
|
|
{id: 54823, type: 'tv', modified_at: '2022-01-01T12:59:32.746Z’} |
|
|
|
|
|
] |
|
|
|
|
|