gamelet-cli 0.6.2 → 0.6.3

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.
Files changed (68) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/assets/common.d.ts +4 -4
  4. package/assets/gitignore.txt +65 -65
  5. package/assets/launch.json +21 -21
  6. package/assets/package.json.twig +22 -22
  7. package/assets/server/greenlock.d/config.json +25 -25
  8. package/assets/server/static/css/style.css +0 -0
  9. package/assets/server/static/js/monitor.js +0 -0
  10. package/assets/server/static/js/test.js +0 -0
  11. package/assets/server/views/error.twig +0 -0
  12. package/assets/server/views/index.twig +0 -0
  13. package/assets/server/views/monitor.twig +0 -0
  14. package/assets/server/views/test.twig +0 -0
  15. package/assets/tsconfig.json.twig +42 -42
  16. package/build/package.json +67 -67
  17. package/build/src/gamelet/download.js +736 -736
  18. package/build/src/gamelet/merges.js +143 -143
  19. package/build/src/gamelet/prepare.js +274 -274
  20. package/build/src/gamelet/upload.js +278 -278
  21. package/build/src/index.js +85 -85
  22. package/build/src/server/Constant.js +9 -9
  23. package/build/src/server/entities/Client.js +77 -77
  24. package/build/src/server/entities/ClientOwner.js +66 -66
  25. package/build/src/server/entities/ClientProject.js +83 -83
  26. package/build/src/server/entities/Gameroom.js +88 -88
  27. package/build/src/server/entities/GameroomBase.js +275 -275
  28. package/build/src/server/entities/Gamezone.js +72 -72
  29. package/build/src/server/entities/ListFilter.js +192 -192
  30. package/build/src/server/entities/Monitor.js +80 -80
  31. package/build/src/server/entities/Player.js +131 -131
  32. package/build/src/server/managers/ApiManager.js +74 -74
  33. package/build/src/server/managers/ClientManager.js +63 -63
  34. package/build/src/server/managers/Database.js +593 -593
  35. package/build/src/server/managers/GameroomManager.js +391 -391
  36. package/build/src/server/managers/ManagerBase.js +16 -16
  37. package/build/src/server/managers/MonitorManager.js +72 -72
  38. package/build/src/server/managers/PlayerManager.js +103 -103
  39. package/build/src/server/managers/SocketManager.js +55 -55
  40. package/build/src/server/managers/UserManager.js +57 -57
  41. package/build/src/server/messages/Message.js +141 -141
  42. package/build/src/server/server.js +109 -109
  43. package/build/src/server/services/ServiceBase.js +24 -24
  44. package/build/src/server/services/clientService.js +23 -23
  45. package/build/src/server/services/gameroomService.js +121 -121
  46. package/build/src/server/services/gltserver.service.js +23 -23
  47. package/build/src/server/services/playerService.js +29 -29
  48. package/build/src/server/startServer.js +32 -32
  49. package/build/src/server/types/BadgeStatus.js +24 -24
  50. package/build/src/server/types/OrderType.js +37 -37
  51. package/build/src/server/types/SubmitType.js +23 -23
  52. package/build/src/server/types/TimeRange.js +25 -25
  53. package/build/src/server/utils/ArrayUtil.js +125 -125
  54. package/build/src/server/utils/IntUtil.js +9 -9
  55. package/build/src/server/utils/ObjectUtil.js +190 -190
  56. package/build/src/server/utils/StringUtil.js +36 -36
  57. package/build/src/server/vo/Database.js +0 -0
  58. package/build/src/server/vo/Gameroom.js +0 -0
  59. package/build/src/server/vo/Gamezone.js +0 -0
  60. package/build/src/server/vo/Player.js +0 -0
  61. package/build/src/server/vo/Response.js +0 -0
  62. package/build/src/server/vo/System.js +0 -0
  63. package/build/src/utils/cli.js +48 -48
  64. package/build/src/utils/file.js +326 -326
  65. package/build/src/utils/init.js +41 -41
  66. package/build/src/utils/log.js +16 -16
  67. package/build/src/utils/net.js +38 -38
  68. package/package.json +2 -2
@@ -1,26 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TimeRange = void 0;
4
- const ArrayUtil_1 = require("../utils/ArrayUtil");
5
- let all = {};
6
- class TimeRange {
7
- constructor(_value) {
8
- this._value = _value;
9
- all[_value] = this;
10
- }
11
- static getByValue(value) {
12
- return all[value];
13
- }
14
- static listAll() {
15
- return ArrayUtil_1.ArrayUtil.listValuesOfObject(all);
16
- }
17
- get value() {
18
- return this._value;
19
- }
20
- }
21
- exports.TimeRange = TimeRange;
22
- TimeRange.HISTORY = new TimeRange("History");
23
- TimeRange.MONTHLY = new TimeRange("Monthly");
24
- TimeRange.WEEKLY = new TimeRange("Weekly");
25
- TimeRange.DAILY = new TimeRange("Daily");
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TimeRange = void 0;
4
+ const ArrayUtil_1 = require("../utils/ArrayUtil");
5
+ let all = {};
6
+ class TimeRange {
7
+ constructor(_value) {
8
+ this._value = _value;
9
+ all[_value] = this;
10
+ }
11
+ static getByValue(value) {
12
+ return all[value];
13
+ }
14
+ static listAll() {
15
+ return ArrayUtil_1.ArrayUtil.listValuesOfObject(all);
16
+ }
17
+ get value() {
18
+ return this._value;
19
+ }
20
+ }
21
+ exports.TimeRange = TimeRange;
22
+ TimeRange.HISTORY = new TimeRange("History");
23
+ TimeRange.MONTHLY = new TimeRange("Monthly");
24
+ TimeRange.WEEKLY = new TimeRange("Weekly");
25
+ TimeRange.DAILY = new TimeRange("Daily");
26
26
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVGltZVJhbmdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3NlcnZlci90eXBlcy9UaW1lUmFuZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsa0RBQStDO0FBRS9DLElBQUksR0FBRyxHQUFHLEVBQUUsQ0FBQztBQUViLE1BQWEsU0FBUztJQWVyQixZQUFvQixNQUFjO1FBQWQsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUNqQyxHQUFHLENBQUMsTUFBTSxDQUFDLEdBQUcsSUFBSSxDQUFDO0lBQ3BCLENBQUM7SUFWTSxNQUFNLENBQUMsVUFBVSxDQUFDLEtBQWE7UUFDckMsT0FBTyxHQUFHLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDbkIsQ0FBQztJQUVNLE1BQU0sQ0FBQyxPQUFPO1FBQ3BCLE9BQU8scUJBQVMsQ0FBQyxrQkFBa0IsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUMxQyxDQUFDO0lBTUQsSUFBSSxLQUFLO1FBQ1IsT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDO0lBQ3BCLENBQUM7O0FBckJGLDhCQXNCQztBQXBCYyxpQkFBTyxHQUFjLElBQUksU0FBUyxDQUFDLFNBQVMsQ0FBQyxDQUFDO0FBQzlDLGlCQUFPLEdBQWMsSUFBSSxTQUFTLENBQUMsU0FBUyxDQUFDLENBQUM7QUFDOUMsZ0JBQU0sR0FBYyxJQUFJLFNBQVMsQ0FBQyxRQUFRLENBQUMsQ0FBQztBQUM1QyxlQUFLLEdBQWMsSUFBSSxTQUFTLENBQUMsT0FBTyxDQUFDLENBQUMifQ==
@@ -1,126 +1,126 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ArrayUtil = void 0;
4
- class ArrayUtil {
5
- /**
6
- * Swaps the position of the elements.
7
- * @param {Array<any>} array the array to swap the position of the elements.
8
- * @param {number} index1 the first element.
9
- * @param {number} index2 the second element.
10
- */
11
- static swapElements(array, element1, element2) {
12
- ArrayUtil.swapElementsAt(array, array.indexOf(element1), array.indexOf(element2));
13
- }
14
- /**
15
- * Swaps the position of the elements in the specified indexes.
16
- * @param {Array[]} array the array to swap the position of the elements.
17
- * @param {number} index1 the index of the first element.
18
- * @param {number} index2 the index of the second element.
19
- */
20
- static swapElementsAt(array, index1, index2) {
21
- var el = array[index1];
22
- array[index1] = array[index2];
23
- array[index2] = el;
24
- }
25
- /**
26
- * Remove an element from the array
27
- * @param {Array<any>} array
28
- * @param {any} element
29
- */
30
- static removeElement(array, element) {
31
- var index = array.indexOf(element);
32
- if (index == -1)
33
- return false;
34
- array.splice(index, 1);
35
- return true;
36
- }
37
- /**
38
- * Add an element to an array if the specified element is not in the array.
39
- * @param {Array<any>} array
40
- * @param {any} element
41
- */
42
- static addUniqueElement(array, element) {
43
- if (array.indexOf(element) != -1)
44
- return false;
45
- array.push(element);
46
- return true;
47
- }
48
- /**
49
- * Sort an array of number objects
50
- * @param {Array<any>} array
51
- * @param {boolean} ascending
52
- */
53
- static sortNumeric(array, ascending) {
54
- if (ascending) {
55
- array.sort((a, b) => a - b);
56
- }
57
- else {
58
- array.sort((a, b) => b - a);
59
- }
60
- return array;
61
- }
62
- /**
63
- * Sort an array of objects by a field of the objects.
64
- * @param {Array<any>} array
65
- * @param {string} key the property key used to sort
66
- * @param {boolean} ascending
67
- */
68
- static sortNumericOn(arr, key, ascending) {
69
- if (ascending) {
70
- arr.sort((a, b) => a[key] - b[key]);
71
- }
72
- else {
73
- arr.sort((a, b) => b[key] - a[key]);
74
- }
75
- return arr;
76
- }
77
- /**
78
- * Sort an array of objects by a field of the objects.
79
- * @param {Array<any>} array
80
- * @param {string} key the property key used to sort
81
- * @param {boolean} ascending
82
- */
83
- static sortOn(arr, key, ascending) {
84
- if (ascending) {
85
- arr.sort((a, b) => a[key] == b[key] ? 0 : (a[key] > b[key] ? 1 : -1));
86
- }
87
- else {
88
- arr.sort((a, b) => a[key] == b[key] ? 0 : (a[key] < b[key] ? 1 : -1));
89
- }
90
- return arr;
91
- }
92
- /**
93
- * Set an element in an array to a specified index.
94
- * @param {Array<any>} array
95
- * @param {any} element
96
- * @param {number} index
97
- * @return {number} returns the index number of the element
98
- */
99
- static setElementIndex(array, element, index) {
100
- var order = array.indexOf(element);
101
- if (order == -1)
102
- return -1;
103
- index = Math.max(0, Math.min(array.length - 1, index));
104
- if (index != order) {
105
- array.splice(order, 1);
106
- array.splice(index, 0, element);
107
- }
108
- return index;
109
- }
110
- static listKeysOfObject(obj) {
111
- let keys = [];
112
- for (let key in obj) {
113
- keys.push(key);
114
- }
115
- return keys;
116
- }
117
- static listValuesOfObject(obj) {
118
- let values = [];
119
- for (let key in obj) {
120
- values.push(obj[key]);
121
- }
122
- return values;
123
- }
124
- }
125
- exports.ArrayUtil = ArrayUtil;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ArrayUtil = void 0;
4
+ class ArrayUtil {
5
+ /**
6
+ * Swaps the position of the elements.
7
+ * @param {Array<any>} array the array to swap the position of the elements.
8
+ * @param {number} index1 the first element.
9
+ * @param {number} index2 the second element.
10
+ */
11
+ static swapElements(array, element1, element2) {
12
+ ArrayUtil.swapElementsAt(array, array.indexOf(element1), array.indexOf(element2));
13
+ }
14
+ /**
15
+ * Swaps the position of the elements in the specified indexes.
16
+ * @param {Array[]} array the array to swap the position of the elements.
17
+ * @param {number} index1 the index of the first element.
18
+ * @param {number} index2 the index of the second element.
19
+ */
20
+ static swapElementsAt(array, index1, index2) {
21
+ var el = array[index1];
22
+ array[index1] = array[index2];
23
+ array[index2] = el;
24
+ }
25
+ /**
26
+ * Remove an element from the array
27
+ * @param {Array<any>} array
28
+ * @param {any} element
29
+ */
30
+ static removeElement(array, element) {
31
+ var index = array.indexOf(element);
32
+ if (index == -1)
33
+ return false;
34
+ array.splice(index, 1);
35
+ return true;
36
+ }
37
+ /**
38
+ * Add an element to an array if the specified element is not in the array.
39
+ * @param {Array<any>} array
40
+ * @param {any} element
41
+ */
42
+ static addUniqueElement(array, element) {
43
+ if (array.indexOf(element) != -1)
44
+ return false;
45
+ array.push(element);
46
+ return true;
47
+ }
48
+ /**
49
+ * Sort an array of number objects
50
+ * @param {Array<any>} array
51
+ * @param {boolean} ascending
52
+ */
53
+ static sortNumeric(array, ascending) {
54
+ if (ascending) {
55
+ array.sort((a, b) => a - b);
56
+ }
57
+ else {
58
+ array.sort((a, b) => b - a);
59
+ }
60
+ return array;
61
+ }
62
+ /**
63
+ * Sort an array of objects by a field of the objects.
64
+ * @param {Array<any>} array
65
+ * @param {string} key the property key used to sort
66
+ * @param {boolean} ascending
67
+ */
68
+ static sortNumericOn(arr, key, ascending) {
69
+ if (ascending) {
70
+ arr.sort((a, b) => a[key] - b[key]);
71
+ }
72
+ else {
73
+ arr.sort((a, b) => b[key] - a[key]);
74
+ }
75
+ return arr;
76
+ }
77
+ /**
78
+ * Sort an array of objects by a field of the objects.
79
+ * @param {Array<any>} array
80
+ * @param {string} key the property key used to sort
81
+ * @param {boolean} ascending
82
+ */
83
+ static sortOn(arr, key, ascending) {
84
+ if (ascending) {
85
+ arr.sort((a, b) => a[key] == b[key] ? 0 : (a[key] > b[key] ? 1 : -1));
86
+ }
87
+ else {
88
+ arr.sort((a, b) => a[key] == b[key] ? 0 : (a[key] < b[key] ? 1 : -1));
89
+ }
90
+ return arr;
91
+ }
92
+ /**
93
+ * Set an element in an array to a specified index.
94
+ * @param {Array<any>} array
95
+ * @param {any} element
96
+ * @param {number} index
97
+ * @return {number} returns the index number of the element
98
+ */
99
+ static setElementIndex(array, element, index) {
100
+ var order = array.indexOf(element);
101
+ if (order == -1)
102
+ return -1;
103
+ index = Math.max(0, Math.min(array.length - 1, index));
104
+ if (index != order) {
105
+ array.splice(order, 1);
106
+ array.splice(index, 0, element);
107
+ }
108
+ return index;
109
+ }
110
+ static listKeysOfObject(obj) {
111
+ let keys = [];
112
+ for (let key in obj) {
113
+ keys.push(key);
114
+ }
115
+ return keys;
116
+ }
117
+ static listValuesOfObject(obj) {
118
+ let values = [];
119
+ for (let key in obj) {
120
+ values.push(obj[key]);
121
+ }
122
+ return values;
123
+ }
124
+ }
125
+ exports.ArrayUtil = ArrayUtil;
126
126
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXJyYXlVdGlsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3NlcnZlci91dGlscy9BcnJheVV0aWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsTUFBYSxTQUFTO0lBQ2xCOzs7OztXQUtPO0lBQ0EsTUFBTSxDQUFDLFlBQVksQ0FBQyxLQUFpQixFQUFFLFFBQWEsRUFBRSxRQUFhO1FBQ3RFLFNBQVMsQ0FBQyxjQUFjLENBQUMsS0FBS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0FBSyxDQUFDLENBQUMsQ0FBQztRQUN2RCxJQUFJLEtBQUssSUFBSSxLQUFLLEVBQUU7WUFDaEIsS0FBSyxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsQ0FBQyxDQUFDLENBQUM7WUFDdkIsS0FBSyxDQUFDLE1BQU0sQ0FBQyxLQUFLLEVBQUUsQ0FBQyxFQUFFLE9BQU8sQ0FBQyxDQUFDO1NBQ25DO1FBQ0QsT0FBTyxLQUFLLENBQUM7SUFDakIsQ0FBQztJQUVNLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxHQUFXO1FBQ3RDLElBQUksSUFBSSxHQUFrQixFQUFFLENBQUM7UUFDN0IsS0FBSyxJQUFJLEdBQUcsSUFBSSxHQUFHLEVBQUU7WUFDakIsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztTQUNsQjtRQUNELE9BQU8sSUFBSSxDQUFDO0lBQ2hCLENBQUM7SUFFTSxNQUFNLENBQUMsa0JBQWtCLENBQUMsR0FBVztRQUN4QyxJQUFJLE1BQU0sR0FBZSxFQUFFLENBQUM7UUFDNUIsS0FBSyxJQUFJLEdBQUcsSUFBSSxHQUFHLEVBQUU7WUFDakIsTUFBTSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztTQUN6QjtRQUNELE9BQU8sTUFBTSxDQUFDO0lBQ2xCLENBQUM7Q0FFSjtBQWhJRCw4QkFnSUMifQ==
@@ -1,10 +1,10 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IntUtil = void 0;
4
- class IntUtil {
5
- static randInt(min, max) {
6
- return Math.floor(min + (max - min + 1) * Math.random());
7
- }
8
- }
9
- exports.IntUtil = IntUtil;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IntUtil = void 0;
4
+ class IntUtil {
5
+ static randInt(min, max) {
6
+ return Math.floor(min + (max - min + 1) * Math.random());
7
+ }
8
+ }
9
+ exports.IntUtil = IntUtil;
10
10
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW50VXRpbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zZXJ2ZXIvdXRpbHMvSW50VXRpbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSxNQUFhLE9BQU87SUFFaEIsTUFBTSxDQUFDLE9BQU8sQ0FBQyxHQUFXLEVBQUUsR0FBVztRQUNuQyxPQUFPLElBQUksQ0FBQyxLQUFLLENBQUMsR0FBRyxHQUFHLENBQUMsR0FBRyxHQUFHLEdBQUcsR0FBRyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsTUFBTSxFQUFFLENBQUMsQ0FBQztJQUM3RCxDQUFDO0NBQ0o7QUFMRCwwQkFLQyJ9