@mtgame/core 0.0.4 → 0.0.5
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/bundles/mtgame-core.umd.js +12 -3
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/api/league-news-api.js +2 -2
- package/esm2015/models/basketball-game-config.js +6 -4
- package/esm2015/models/tournament.js +8 -1
- package/esm5/api/league-news-api.js +2 -2
- package/esm5/models/basketball-game-config.js +6 -4
- package/esm5/models/tournament.js +8 -1
- package/fesm2015/mtgame-core.js +13 -4
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +13 -4
- package/fesm5/mtgame-core.js.map +1 -1
- package/models/basketball-game-config.d.ts +2 -1
- package/models/tournament.d.ts +5 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -762,6 +762,11 @@ var BasketballStatisticTypes;
|
|
|
762
762
|
BasketballStatisticTypes[BasketballStatisticTypes["light"] = 2] = "light";
|
|
763
763
|
BasketballStatisticTypes[BasketballStatisticTypes["extended"] = 3] = "extended";
|
|
764
764
|
})(BasketballStatisticTypes || (BasketballStatisticTypes = {}));
|
|
765
|
+
var GameTimeTypes;
|
|
766
|
+
(function (GameTimeTypes) {
|
|
767
|
+
GameTimeTypes[GameTimeTypes["clean"] = 1] = "clean";
|
|
768
|
+
GameTimeTypes[GameTimeTypes["dirty"] = 2] = "dirty";
|
|
769
|
+
})(GameTimeTypes || (GameTimeTypes = {}));
|
|
765
770
|
var TournamentSettings = /** @class */ (function (_super) {
|
|
766
771
|
__extends(TournamentSettings, _super);
|
|
767
772
|
function TournamentSettings() {
|
|
@@ -803,11 +808,13 @@ var TournamentSettings = /** @class */ (function (_super) {
|
|
|
803
808
|
transfer_is_open: 'transferIsOpen',
|
|
804
809
|
basketball_statistic_type: 'basketballStatisticType',
|
|
805
810
|
shot_clock_enabled: 'shotClockEnabled',
|
|
811
|
+
game_time_type: 'gameTimeType',
|
|
806
812
|
},
|
|
807
813
|
relation: {
|
|
808
814
|
type: enumField(TournamentTypes),
|
|
809
815
|
gender: enumField(TournamentGender),
|
|
810
816
|
basketballStatisticType: enumField(BasketballStatisticTypes),
|
|
817
|
+
gameTimeType: enumField(GameTimeTypes),
|
|
811
818
|
}
|
|
812
819
|
})
|
|
813
820
|
], TournamentSettings);
|
|
@@ -938,11 +945,13 @@ var BasketballGameConfig = /** @class */ (function (_super) {
|
|
|
938
945
|
overtime_timeout_count: 'overtimeTimeoutCount',
|
|
939
946
|
timeout_time: 'timeoutTime',
|
|
940
947
|
statistic_type: 'statisticType',
|
|
941
|
-
shot_clock_enabled: 'shotClockEnabled'
|
|
948
|
+
shot_clock_enabled: 'shotClockEnabled',
|
|
949
|
+
game_time_type: 'gameTimeType',
|
|
942
950
|
},
|
|
943
951
|
relation: {
|
|
944
952
|
overtimeType: enumField(OvertimeTypes),
|
|
945
|
-
statisticType: enumField(BasketballStatisticTypes)
|
|
953
|
+
statisticType: enumField(BasketballStatisticTypes),
|
|
954
|
+
gameTimeType: enumField(GameTimeTypes),
|
|
946
955
|
}
|
|
947
956
|
})
|
|
948
957
|
], BasketballGameConfig);
|
|
@@ -2247,7 +2256,7 @@ var LeagueNewsApi = /** @class */ (function () {
|
|
|
2247
2256
|
LeagueNewsApi.prototype.getNewsById = function (newsId) {
|
|
2248
2257
|
return __awaiter(this, void 0, void 0, function () {
|
|
2249
2258
|
return __generator(this, function (_a) {
|
|
2250
|
-
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league_news/" + newsId)
|
|
2259
|
+
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/league_news/" + newsId + "/")
|
|
2251
2260
|
.pipe(map(function (response) { return LeagueNews.toFront(response); }))
|
|
2252
2261
|
.toPromise()];
|
|
2253
2262
|
});
|
|
@@ -5691,5 +5700,5 @@ var HttpCookieInterceptor = /** @class */ (function () {
|
|
|
5691
5700
|
* Generated bundle index. Do not edit.
|
|
5692
5701
|
*/
|
|
5693
5702
|
|
|
5694
|
-
export { BaseModel, BaseService, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, Game, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameStatuses, GameTimelineStageItem, GameTimelineStages, GameUser, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HttpCookieInterceptor, League, LeagueApi, LeagueCourt, LeagueNews, LeagueNewsApi, LocalStorageEngine, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, Poll, PollAnswer, PollStatuses, PollVariant, ReferenceApi, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl };
|
|
5703
|
+
export { BaseModel, BaseService, BasketballGameApi, BasketballGameConfig, BasketballGameLog, BasketballGameLogTypeLocalization, BasketballGameLogTypes, BasketballGameStatistic, BasketballGameTeamStatistic, BasketballProfile, BasketballStatistic, BasketballStatisticTypes, CONFIG_DATA, CentrifugoService, City, ConfigService, DateField, DateTimeField, FAULT_LOG_TYPES, Feedback, FeedbackApi, File, FileApi, FileEngine, Game, GameBasketballPosition, GameBasketballPositionLocalization, GameBasketballPositionShortLocalization, GameInvite, GameInviteStatus, GameResultTypes, GameStatuses, GameTimeTypes, GameTimelineStageItem, GameTimelineStages, GameUser, GameVolleyballPosition, GameVolleyballPositionLocalization, GameVolleyballPositionShortLocalization, GameVolleyballPositionShortRuLocalization, HttpCookieInterceptor, League, LeagueApi, LeagueCourt, LeagueNews, LeagueNewsApi, LocalStorageEngine, MediaApi, MediaItem, ModelInstance, Notification, NotificationAllowTypes, NotificationApi, NotificationBaseApi, NotificationServiceEnum, NotificationSettings, NotificationType, OrgNotificationApi, Organization, OvertimeTypeLocalization, OvertimeTypes, Playoff, PlayoffSettings, Poll, PollAnswer, PollStatuses, PollVariant, ReferenceApi, SCORE_LOG_TYPES, Sport, SportTypes, StorageEngine, StorageEngineField, Store, Team, TeamAccess, TeamApi, TeamEvent, TeamEventApi, TeamEventInvite, TeamEventInviteStatuses, TeamEventTypeLocalization, TeamEventTypes, TeamInvite, TeamInviteExternal, TeamPermission, TeamPermissionTypes, TeamUser, TeamUserRole, TeamUserRoleLocalization, ToBackHook, ToFrontHook, Tournament, TournamentApi, TournamentDisqualification, TournamentEvent, TournamentEventTypes, TournamentGender, TournamentGroup, TournamentInvite, TournamentJoinApi, TournamentJoinData, TournamentJoinTeam, TournamentNews, TournamentSettings, TournamentStage, TournamentStageApi, TournamentStageStatuses, TournamentStageTeam, TournamentStatuses, TournamentTeam, TournamentTeamUser, TournamentTeamUserInvite, TournamentTeamWinner, TournamentTypes, UntilDestroy, User, UserAccess, UserApi, UserGender, UserPermission, UserPermissionTypes, UserProfile, VolleyballGameApi, VolleyballGameConfig, VolleyballGameLog, VolleyballGameLogType, VolleyballGameLogTypeLocalization, VolleyballGameStatistic, VolleyballGameTeamStatistic, VolleyballGameTypes, VolleyballProfile, VolleyballStatistic, VolleyballWorkHand, VolleyballWorkHandLocalization, WorkHand, WorkHandLocalization, addItemInArray, changeFavicons, componentDestroyed, deleteItemFromArray, enumField, fileSizeValidator, generateArray, getArrayChunks, getCookie, getEnumOptions, getIconsData, handleError, isTouchDevice, listField, markFormGroupTouched, minLengthArrayValidator, patchItemInArray, updateItemInArray, updateItemsInArray, validateDate, validateEmail, validatePhone, validateUrl };
|
|
5695
5704
|
//# sourceMappingURL=mtgame-core.js.map
|