chelys 2.7.7 → 2.8.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/favorite.d.ts +5 -5
- package/dist/invite.d.ts +1 -1
- package/dist/message.d.ts +6 -4
- package/dist/message.js +6 -4
- package/dist/pantheon.d.ts +5 -0
- package/package.json +1 -1
package/dist/favorite.d.ts
CHANGED
|
@@ -3,20 +3,20 @@ export interface UserFavorites {
|
|
|
3
3
|
uid: string;
|
|
4
4
|
favs: number[];
|
|
5
5
|
}
|
|
6
|
-
export interface
|
|
6
|
+
export interface FavReqAdd {
|
|
7
7
|
cstId: string;
|
|
8
8
|
songId: number;
|
|
9
9
|
}
|
|
10
|
-
export interface
|
|
10
|
+
export interface FavReqRemove {
|
|
11
11
|
cstId: string;
|
|
12
12
|
songId: number;
|
|
13
13
|
}
|
|
14
|
-
export interface
|
|
14
|
+
export interface FavReqGet {
|
|
15
15
|
cstId: string;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface FavReqUnsubscribe {
|
|
18
18
|
cstId: string;
|
|
19
19
|
}
|
|
20
|
-
export interface
|
|
20
|
+
export interface FavResUpdate {
|
|
21
21
|
userFavorites: UserFavorites;
|
|
22
22
|
}
|
package/dist/invite.d.ts
CHANGED
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",
|
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";
|
package/dist/pantheon.d.ts
CHANGED
|
@@ -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
|
+
}
|