Rename "Owner" model to "User"

This commit is contained in:
Maciej Pędzich 2022-07-05 13:39:15 +02:00
parent 662d54d01f
commit 2157bcdedd
3 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;

View File

@ -1,4 +1,4 @@
export interface Owner {
export interface User {
name: string;
url: string;
}