Skip to content

Commit

Permalink
fix: change exports once again
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvdkolk committed Jan 26, 2024
1 parent befe50c commit 6b8bb60
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
25 changes: 15 additions & 10 deletions src/interfaces/statsfm/album.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@ import { Artist } from './artist';
import { Object, TrackRelease } from '.';
import { TopObject } from './top';

export enum AlbumReleaseType {
SINGLE,
ALBUM,
COMPILATION,
EP
}
export const AlbumReleaseType = {
SINGLE: 'SINGLE',
ALBUM: 'ALBUM',
COMPILATION: 'COMPILATION',
EP: 'EP'
};

export enum AlbumReleaseImageSource {
SPOTIFY,
APPLEMUSIC
}
export type AlbumReleaseType = (typeof AlbumReleaseType)[keyof typeof AlbumReleaseType];

export const AlbumReleaseImageSource = {
SPOTIFY: 'SPOTIFY',
APPLEMUSIC: 'APPLEMUSIC'
};

export type AlbumReleaseImageSource =
(typeof AlbumReleaseImageSource)[keyof typeof AlbumReleaseImageSource];

export interface AlbumReleaseImage {
id: number;
Expand Down
10 changes: 6 additions & 4 deletions src/interfaces/statsfm/artist.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { Object } from '.';
import { TopObject } from './top';

export enum ArtistImageSource {
SPOTIFY,
APPLEMUSIC
}
export const ArtistImageSource = {
SPOTIFY: 'SPOTIFY',
APPLEMUSIC: 'APPLEMUSIC'
};

export type ArtistImageSource = (typeof ArtistImageSource)[keyof typeof ArtistImageSource];

export interface ArtistImage {
id: number;
Expand Down

0 comments on commit 6b8bb60

Please sign in to comment.