chelys 2.12.0 → 2.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/song.d.ts CHANGED
@@ -3,11 +3,8 @@ export declare const SONG_AUTHOR_LENGTH = 100;
3
3
  export declare enum SongPlatform {
4
4
  INVALID_PLATFORM = -1,
5
5
  YOUTUBE = 0,
6
- SOUNDCLOUD = 1
7
- }
8
- export interface Title {
9
- original: string;
10
- translation?: string;
6
+ SOUNDCLOUD = 1,
7
+ PEERTUBE = 2
11
8
  }
12
9
  export interface Song {
13
10
  id: number;
package/dist/song.js CHANGED
@@ -9,10 +9,10 @@ var SongPlatform;
9
9
  SongPlatform[SongPlatform["INVALID_PLATFORM"] = -1] = "INVALID_PLATFORM";
10
10
  SongPlatform[SongPlatform["YOUTUBE"] = 0] = "YOUTUBE";
11
11
  SongPlatform[SongPlatform["SOUNDCLOUD"] = 1] = "SOUNDCLOUD";
12
+ SongPlatform[SongPlatform["PEERTUBE"] = 2] = "PEERTUBE";
12
13
  })(SongPlatform = exports.SongPlatform || (exports.SongPlatform = {}));
13
14
  exports.EMPTY_SONG = {
14
15
  id: -1,
15
- // title: { original: '' },
16
16
  title: '',
17
17
  platform: -1,
18
18
  url: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chelys",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "Common code between Yatga and Kalimba",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {