chelys 2.4.0 → 2.4.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.
package/README.md CHANGED
@@ -1,7 +1,9 @@
1
1
  # Chelys
2
2
  Common code between [Yatga](https://github.com/TableauBits/Yatga) and [Kalimba](https://github.com/TableauBits/Kalimba)
3
3
 
4
+ Data struct for :
4
5
  * Constitutions
6
+ * Invites
5
7
  * Songs
6
8
  * Users
7
9
  * Votes
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export * from './client';
2
2
  export * from './constitution';
3
3
  export * from './favorite';
4
4
  export * from './grade';
5
+ export * from './invite';
5
6
  export * from './message';
6
7
  export * from './song';
7
8
  export * from './user';
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ __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("./invite"), exports);
17
18
  __exportStar(require("./message"), exports);
18
19
  __exportStar(require("./song"), exports);
19
20
  __exportStar(require("./user"), exports);
package/dist/invite.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { ResponseStatus } from "./client";
1
2
  export interface Invite {
2
3
  id: string;
3
4
  createdBy: string;
@@ -5,11 +6,17 @@ export interface Invite {
5
6
  }
6
7
  export interface InvReqNew {
7
8
  }
8
- export interface InvReqGet {
9
+ export interface InvReqGetAll {
10
+ }
11
+ export interface InvRefCheck {
12
+ id: string;
9
13
  }
10
14
  export interface InvReqDelete {
11
15
  id: string;
12
16
  }
17
+ export interface InvResCheck {
18
+ status: ResponseStatus;
19
+ }
13
20
  export interface InvResUnsubscribe {
14
21
  }
15
22
  export interface InvResUpdate {
package/dist/message.d.ts CHANGED
@@ -24,8 +24,9 @@ export declare enum EventType {
24
24
  CST_SONG_GRADE_get_user = "CST-SONG-GRADE-get-user",
25
25
  CST_SONG_GRADE_get_summary = "CST-SONG-GRADE-get-summary",
26
26
  CST_SONG_GRADE_unsubscribe = "CST-SONG-GRADE-unsubscribe",
27
+ INVITE_check = "INVITE-check",
27
28
  INVITE_delete = "INVITE-delete",
28
- INVITE_get = "INVITE-get",
29
+ INVITE_get_all = "INVITE-get-all",
29
30
  INVITE_new = "INVITE-new",
30
31
  INVITE_unsubscribe = "INVITE-unsubscribe",
31
32
  USER_create = "USER-create",
package/dist/message.js CHANGED
@@ -26,8 +26,9 @@ var EventType;
26
26
  EventType["CST_SONG_GRADE_get_user"] = "CST-SONG-GRADE-get-user";
27
27
  EventType["CST_SONG_GRADE_get_summary"] = "CST-SONG-GRADE-get-summary";
28
28
  EventType["CST_SONG_GRADE_unsubscribe"] = "CST-SONG-GRADE-unsubscribe";
29
+ EventType["INVITE_check"] = "INVITE-check";
29
30
  EventType["INVITE_delete"] = "INVITE-delete";
30
- EventType["INVITE_get"] = "INVITE-get";
31
+ EventType["INVITE_get_all"] = "INVITE-get-all";
31
32
  EventType["INVITE_new"] = "INVITE-new";
32
33
  EventType["INVITE_unsubscribe"] = "INVITE-unsubscribe";
33
34
  EventType["USER_create"] = "USER-create";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chelys",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "Common code between Yatga and Kalimba",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {