mirror of
https://github.com/maciejpedzich/spotifyplaylistarchive.com.git
synced 2024-09-19 18:16:19 +02:00
Rename "Owner" model to "User"
This commit is contained in:
parent
662d54d01f
commit
2157bcdedd
@ -1,11 +1,11 @@
|
||||
import { Owner } from './owner';
|
||||
import { User } from './user';
|
||||
import { Track } from './track';
|
||||
|
||||
export interface Playlist {
|
||||
description: string;
|
||||
num_followers: number;
|
||||
original_name: string;
|
||||
owner: Owner;
|
||||
owner: User;
|
||||
snapshot_id: string;
|
||||
tracks: Track[];
|
||||
unique_name: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { Owner } from './owner';
|
||||
import { User } from './user';
|
||||
|
||||
export interface Track {
|
||||
added_at: string;
|
||||
@ -6,7 +6,7 @@ export interface Track {
|
||||
name: string;
|
||||
url: string;
|
||||
};
|
||||
artists: Owner[];
|
||||
artists: User[];
|
||||
duration_ms: number;
|
||||
name: string;
|
||||
url: string;
|
||||
|
@ -1,4 +1,4 @@
|
||||
export interface Owner {
|
||||
export interface User {
|
||||
name: string;
|
||||
url: string;
|
||||
}
|
Loading…
Reference in New Issue
Block a user