chelys 2.7.8 → 2.8.1

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.
@@ -3,20 +3,20 @@ export interface UserFavorites {
3
3
  uid: string;
4
4
  favs: number[];
5
5
  }
6
- export interface CstFavReqAdd {
6
+ export interface FavReqAdd {
7
7
  cstId: string;
8
8
  songId: number;
9
9
  }
10
- export interface CstFavReqRemove {
10
+ export interface FavReqRemove {
11
11
  cstId: string;
12
12
  songId: number;
13
13
  }
14
- export interface CstFavReqGet {
14
+ export interface FavReqGet {
15
15
  cstId: string;
16
16
  }
17
- export interface CstFavReqUnsubscribe {
17
+ export interface FavReqUnsubscribe {
18
18
  cstId: string;
19
19
  }
20
- export interface CstFavResUpdate {
20
+ export interface FavResUpdate {
21
21
  userFavorites: UserFavorites;
22
22
  }
package/dist/message.d.ts CHANGED
@@ -13,14 +13,14 @@ export declare enum EventType {
13
13
  CST_name_url = "CST-name-url",
14
14
  CST_state = "CST-state",
15
15
  CST_unsubscribe = "CST-unsubscribe",
16
- CST_FAV_add = "CST-FAV-add",
17
- CST_FAV_remove = "CST-FAV-remove",
18
- CST_FAV_get = "CST-FAV-get",
19
- CST_FAV_unsubscribe = "CST-FAV-unsubscribe",
20
16
  CST_SONG_add = "CST-SONG-add",
21
17
  CST_SONG_get_all = "CST-SONG-get-all",
22
18
  CST_SONG_remove = "CST-SONG-remove",
23
19
  CST_SONG_unsubscribe = "CST-SONG-unsubscribe",
20
+ CST_SONG_FAV_add = "CST-SONG-FAV-add",
21
+ CST_SONG_FAV_remove = "CST-SONG-FAV-remove",
22
+ CST_SONG_FAV_get = "CST-SONG-FAV-get",
23
+ CST_SONG_FAV_unsubscribe = "CST-SONG-FAV-unsubscribe",
24
24
  CST_SONG_GRADE_edit = "CST-SONG-GRADE-edit",
25
25
  CST_SONG_GRADE_get_all = "CST-SONG-GRADE-get-all",
26
26
  CST_SONG_GRADE_get_user = "CST-SONG-GRADE-get-user",
@@ -30,7 +30,9 @@ export declare enum EventType {
30
30
  INVITE_delete = "INVITE-delete",
31
31
  INVITE_get_all = "INVITE-get-all",
32
32
  INVITE_unsubscribe = "INVITE-unsubscribe",
33
+ PANTHEON_add = "PANTHEON-add",
33
34
  PANTHEON_get_all = "PANTHEON-get-all",
35
+ PANTHEON_unsubscribe = "PANTHEON-unsubscribe",
34
36
  USER_create = "USER-create",
35
37
  USER_edit_profile = "USER-edit-profile",
36
38
  USER_edit_roles = "USER-edit-roles",
@@ -38,8 +40,8 @@ export declare enum EventType {
38
40
  USER_get_all = "USER-get-all",
39
41
  USER_unsubscribe = "USER-unsubscribe",
40
42
  CST_update = "CST-update",
41
- CST_FAV_update = "CST-FAV-update",
42
43
  CST_SONG_update = "CST-SONG-update",
44
+ CST_SONG_FAV_update = "CST-SONG-FAV-update",
43
45
  CST_SONG_GRADE_summary_update = "CST-SONG-GRADE-summary-update",
44
46
  CST_SONG_GRADE_userdata_update = "CST-SONG-GRADE-userdata-update",
45
47
  INVITE_update = "INVITE-update",
package/dist/message.js CHANGED
@@ -15,14 +15,14 @@ var EventType;
15
15
  EventType["CST_name_url"] = "CST-name-url";
16
16
  EventType["CST_state"] = "CST-state";
17
17
  EventType["CST_unsubscribe"] = "CST-unsubscribe";
18
- EventType["CST_FAV_add"] = "CST-FAV-add";
19
- EventType["CST_FAV_remove"] = "CST-FAV-remove";
20
- EventType["CST_FAV_get"] = "CST-FAV-get";
21
- EventType["CST_FAV_unsubscribe"] = "CST-FAV-unsubscribe";
22
18
  EventType["CST_SONG_add"] = "CST-SONG-add";
23
19
  EventType["CST_SONG_get_all"] = "CST-SONG-get-all";
24
20
  EventType["CST_SONG_remove"] = "CST-SONG-remove";
25
21
  EventType["CST_SONG_unsubscribe"] = "CST-SONG-unsubscribe";
22
+ EventType["CST_SONG_FAV_add"] = "CST-SONG-FAV-add";
23
+ EventType["CST_SONG_FAV_remove"] = "CST-SONG-FAV-remove";
24
+ EventType["CST_SONG_FAV_get"] = "CST-SONG-FAV-get";
25
+ EventType["CST_SONG_FAV_unsubscribe"] = "CST-SONG-FAV-unsubscribe";
26
26
  EventType["CST_SONG_GRADE_edit"] = "CST-SONG-GRADE-edit";
27
27
  EventType["CST_SONG_GRADE_get_all"] = "CST-SONG-GRADE-get-all";
28
28
  EventType["CST_SONG_GRADE_get_user"] = "CST-SONG-GRADE-get-user";
@@ -32,7 +32,9 @@ var EventType;
32
32
  EventType["INVITE_delete"] = "INVITE-delete";
33
33
  EventType["INVITE_get_all"] = "INVITE-get-all";
34
34
  EventType["INVITE_unsubscribe"] = "INVITE-unsubscribe";
35
+ EventType["PANTHEON_add"] = "PANTHEON-add";
35
36
  EventType["PANTHEON_get_all"] = "PANTHEON-get-all";
37
+ EventType["PANTHEON_unsubscribe"] = "PANTHEON-unsubscribe";
36
38
  EventType["USER_create"] = "USER-create";
37
39
  EventType["USER_edit_profile"] = "USER-edit-profile";
38
40
  EventType["USER_edit_roles"] = "USER-edit-roles";
@@ -41,8 +43,8 @@ var EventType;
41
43
  EventType["USER_unsubscribe"] = "USER-unsubscribe";
42
44
  // From server
43
45
  EventType["CST_update"] = "CST-update";
44
- EventType["CST_FAV_update"] = "CST-FAV-update";
45
46
  EventType["CST_SONG_update"] = "CST-SONG-update";
47
+ EventType["CST_SONG_FAV_update"] = "CST-SONG-FAV-update";
46
48
  EventType["CST_SONG_GRADE_summary_update"] = "CST-SONG-GRADE-summary-update";
47
49
  EventType["CST_SONG_GRADE_userdata_update"] = "CST-SONG-GRADE-userdata-update";
48
50
  EventType["INVITE_update"] = "INVITE-update";
@@ -12,8 +12,13 @@ export interface PantheonSong {
12
12
  author: string;
13
13
  users: string[];
14
14
  }
15
+ export interface PantheonReqAdd {
16
+ pantheon: PantheonSong;
17
+ }
15
18
  export interface PantheonReqGetAll {
16
19
  }
17
20
  export interface PantheonResUpdate {
18
21
  pantheon: PantheonSong;
19
22
  }
23
+ export interface PantheonReqUnsubscribe {
24
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chelys",
3
- "version": "2.7.8",
3
+ "version": "2.8.1",
4
4
  "description": "Common code between Yatga and Kalimba",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {