chelys 2.7.1 → 2.7.4
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/invite.d.ts +12 -5
- package/dist/message.d.ts +2 -2
- package/dist/message.js +2 -2
- package/dist/{history.d.ts → pantheon.d.ts} +4 -4
- package/dist/{history.js → pantheon.js} +0 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export * from './client';
|
|
|
2
2
|
export * from './constitution';
|
|
3
3
|
export * from './favorite';
|
|
4
4
|
export * from './grade';
|
|
5
|
-
export * from './history';
|
|
6
5
|
export * from './invite';
|
|
7
6
|
export * from './message';
|
|
7
|
+
export * from './pantheon';
|
|
8
8
|
export * from './song';
|
|
9
9
|
export * from './user';
|
package/dist/index.js
CHANGED
|
@@ -14,8 +14,8 @@ __exportStar(require("./client"), exports);
|
|
|
14
14
|
__exportStar(require("./constitution"), exports);
|
|
15
15
|
__exportStar(require("./favorite"), exports);
|
|
16
16
|
__exportStar(require("./grade"), exports);
|
|
17
|
-
__exportStar(require("./history"), exports);
|
|
18
17
|
__exportStar(require("./invite"), exports);
|
|
19
18
|
__exportStar(require("./message"), exports);
|
|
19
|
+
__exportStar(require("./pantheon"), exports);
|
|
20
20
|
__exportStar(require("./song"), exports);
|
|
21
21
|
__exportStar(require("./user"), exports);
|
package/dist/invite.d.ts
CHANGED
|
@@ -4,21 +4,28 @@ export interface Invite {
|
|
|
4
4
|
createdBy: string;
|
|
5
5
|
date: string;
|
|
6
6
|
}
|
|
7
|
+
export interface NewAccount {
|
|
8
|
+
uid: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
email: string;
|
|
11
|
+
photoURL: string;
|
|
12
|
+
}
|
|
7
13
|
export interface InvReqNew {
|
|
8
14
|
}
|
|
15
|
+
export interface InvReqDelete {
|
|
16
|
+
id: string;
|
|
17
|
+
}
|
|
9
18
|
export interface InvReqGetAll {
|
|
10
19
|
}
|
|
11
|
-
export interface
|
|
20
|
+
export interface InvReqCheck {
|
|
12
21
|
id: string;
|
|
22
|
+
account: NewAccount;
|
|
13
23
|
}
|
|
14
|
-
export interface
|
|
15
|
-
id: string;
|
|
24
|
+
export interface InvReqUnsubscribe {
|
|
16
25
|
}
|
|
17
26
|
export interface InvResCheck {
|
|
18
27
|
status: ResponseStatus;
|
|
19
28
|
}
|
|
20
|
-
export interface InvResUnsubscribe {
|
|
21
|
-
}
|
|
22
29
|
export interface InvResUpdate {
|
|
23
30
|
status: "added" | "modified" | "removed";
|
|
24
31
|
invite: Invite;
|
package/dist/message.d.ts
CHANGED
|
@@ -26,12 +26,12 @@ export declare enum EventType {
|
|
|
26
26
|
CST_SONG_GRADE_get_user = "CST-SONG-GRADE-get-user",
|
|
27
27
|
CST_SONG_GRADE_get_summary = "CST-SONG-GRADE-get-summary",
|
|
28
28
|
CST_SONG_GRADE_unsubscribe = "CST-SONG-GRADE-unsubscribe",
|
|
29
|
-
HISTORY_get = "HISTORY-get",
|
|
30
29
|
INVITE_check = "INVITE-check",
|
|
31
30
|
INVITE_delete = "INVITE-delete",
|
|
32
31
|
INVITE_get_all = "INVITE-get-all",
|
|
33
32
|
INVITE_new = "INVITE-new",
|
|
34
33
|
INVITE_unsubscribe = "INVITE-unsubscribe",
|
|
34
|
+
PANTHEON_get_all = "PANTHEON-get-all",
|
|
35
35
|
USER_create = "USER-create",
|
|
36
36
|
USER_edit_profile = "USER-edit-profile",
|
|
37
37
|
USER_edit_roles = "USER-edit-roles",
|
|
@@ -43,8 +43,8 @@ export declare enum EventType {
|
|
|
43
43
|
CST_SONG_update = "CST-SONG-update",
|
|
44
44
|
CST_SONG_GRADE_summary_update = "CST-SONG-GRADE-summary-update",
|
|
45
45
|
CST_SONG_GRADE_userdata_update = "CST-SONG-GRADE-userdata-update",
|
|
46
|
-
HISTORY_update = "HISTORY-update",
|
|
47
46
|
INVITE_update = "INVITE-update",
|
|
47
|
+
PANTHEON_update = "PANTHEON-update",
|
|
48
48
|
USER_update = "USER-update"
|
|
49
49
|
}
|
|
50
50
|
export declare function createMessage<T>(event: string, data: T): string;
|
package/dist/message.js
CHANGED
|
@@ -28,12 +28,12 @@ var EventType;
|
|
|
28
28
|
EventType["CST_SONG_GRADE_get_user"] = "CST-SONG-GRADE-get-user";
|
|
29
29
|
EventType["CST_SONG_GRADE_get_summary"] = "CST-SONG-GRADE-get-summary";
|
|
30
30
|
EventType["CST_SONG_GRADE_unsubscribe"] = "CST-SONG-GRADE-unsubscribe";
|
|
31
|
-
EventType["HISTORY_get"] = "HISTORY-get";
|
|
32
31
|
EventType["INVITE_check"] = "INVITE-check";
|
|
33
32
|
EventType["INVITE_delete"] = "INVITE-delete";
|
|
34
33
|
EventType["INVITE_get_all"] = "INVITE-get-all";
|
|
35
34
|
EventType["INVITE_new"] = "INVITE-new";
|
|
36
35
|
EventType["INVITE_unsubscribe"] = "INVITE-unsubscribe";
|
|
36
|
+
EventType["PANTHEON_get_all"] = "PANTHEON-get-all";
|
|
37
37
|
EventType["USER_create"] = "USER-create";
|
|
38
38
|
EventType["USER_edit_profile"] = "USER-edit-profile";
|
|
39
39
|
EventType["USER_edit_roles"] = "USER-edit-roles";
|
|
@@ -46,8 +46,8 @@ var EventType;
|
|
|
46
46
|
EventType["CST_SONG_update"] = "CST-SONG-update";
|
|
47
47
|
EventType["CST_SONG_GRADE_summary_update"] = "CST-SONG-GRADE-summary-update";
|
|
48
48
|
EventType["CST_SONG_GRADE_userdata_update"] = "CST-SONG-GRADE-userdata-update";
|
|
49
|
-
EventType["HISTORY_update"] = "HISTORY-update";
|
|
50
49
|
EventType["INVITE_update"] = "INVITE-update";
|
|
50
|
+
EventType["PANTHEON_update"] = "PANTHEON-update";
|
|
51
51
|
EventType["USER_update"] = "USER-update";
|
|
52
52
|
})(EventType = exports.EventType || (exports.EventType = {}));
|
|
53
53
|
// FUNCTION
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SongPlatform } from "./song";
|
|
2
|
-
export interface
|
|
2
|
+
export interface PantheonSong {
|
|
3
3
|
id: string;
|
|
4
4
|
season: number;
|
|
5
5
|
part: number;
|
|
@@ -12,8 +12,8 @@ export interface History {
|
|
|
12
12
|
author: string;
|
|
13
13
|
users: string[];
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface PantheonReqGetAll {
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
18
|
-
|
|
17
|
+
export interface PantheonResUpdate {
|
|
18
|
+
pantheon: PantheonSong;
|
|
19
19
|
}
|
|
File without changes
|