chelys 2.9.3 → 2.11.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/constitution.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/song.d.ts +4 -0
- package/package.json +1 -1
package/dist/constitution.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ export interface Constitution {
|
|
|
22
22
|
users: string[];
|
|
23
23
|
maxUserCount: number;
|
|
24
24
|
numberOfSongsPerUser: number;
|
|
25
|
+
startDate?: string;
|
|
26
|
+
endDate?: string;
|
|
25
27
|
}
|
|
26
28
|
export declare const EMPTY_CONSTITUTION: Constitution;
|
|
27
29
|
export declare function canModifySongs(constitution: Constitution): boolean;
|
|
@@ -51,7 +53,7 @@ export interface CstReqUnsubscribe {
|
|
|
51
53
|
export interface CstResUpdate {
|
|
52
54
|
cstInfo: Constitution;
|
|
53
55
|
}
|
|
54
|
-
export
|
|
56
|
+
export type CstReqGetFromUser = {};
|
|
55
57
|
export interface CstReqUpdateState {
|
|
56
58
|
id: string;
|
|
57
59
|
newState: number;
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
package/dist/song.d.ts
CHANGED