@sparted/shared-library 1.7.92 → 1.8.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/business/course/index.d.ts +1 -0
- package/business/course/index.js +10 -0
- package/business/course/index.js.map +1 -0
- package/business/course/microknowledge-max-lengths.d.ts +12 -0
- package/business/course/microknowledge-max-lengths.js +19 -0
- package/business/course/microknowledge-max-lengths.js.map +1 -0
- package/business/index.d.ts +4 -0
- package/business/index.js +52 -0
- package/business/index.js.map +1 -0
- package/business/types/campaign.d.ts +2 -2
- package/business/types/campaign.js.map +1 -1
- package/business/types/score.d.ts +7 -0
- package/business/types/score.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +44 -0
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './microknowledge-max-lengths';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var microknowledgeMaxLengths = require('./microknowledge-max-lengths.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
exports.MICROKNOWLEDGE_MAX_LENGTHS = microknowledgeMaxLengths.MICROKNOWLEDGE_MAX_LENGTHS;
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const MICROKNOWLEDGE_MAX_LENGTHS = {
|
|
6
|
+
IMAGE: {
|
|
7
|
+
MAX_TITLE_LENGTH: 40,
|
|
8
|
+
MAX_CONTENT_LENGTH: 500,
|
|
9
|
+
},
|
|
10
|
+
VIDEO: {
|
|
11
|
+
MAX_TITLE_LENGTH: 40,
|
|
12
|
+
},
|
|
13
|
+
CHAPTER: {
|
|
14
|
+
MAX_TITLE_LENGTH: 40,
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.MICROKNOWLEDGE_MAX_LENGTHS = MICROKNOWLEDGE_MAX_LENGTHS;
|
|
19
|
+
//# sourceMappingURL=microknowledge-max-lengths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"microknowledge-max-lengths.js","sources":["../../../src/business/course/microknowledge-max-lengths.ts"],"sourcesContent":["export const MICROKNOWLEDGE_MAX_LENGTHS = {\n IMAGE: {\n MAX_TITLE_LENGTH: 40,\n MAX_CONTENT_LENGTH: 500,\n },\n VIDEO: {\n MAX_TITLE_LENGTH: 40,\n },\n CHAPTER: {\n MAX_TITLE_LENGTH: 40,\n },\n};\n"],"names":[],"mappings":";;;;AAAa,MAAA,0BAA0B,GAAG;AACxC,IAAA,KAAK,EAAE;AACL,QAAA,gBAAgB,EAAE,EAAE;AACpB,QAAA,kBAAkB,EAAE,GAAG;AACxB,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,gBAAgB,EAAE,EAAE;AACrB,KAAA;AACD,IAAA,OAAO,EAAE;AACP,QAAA,gBAAgB,EAAE,EAAE;AACrB,KAAA;;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var liveCampaign = require('./campaign/live-campaign.js');
|
|
6
|
+
var microknowledgeMaxLengths = require('./course/microknowledge-max-lengths.js');
|
|
7
|
+
var index = require('./picture-spot/index.js');
|
|
8
|
+
var activity = require('./types/activity.js');
|
|
9
|
+
var campaign = require('./types/campaign.js');
|
|
10
|
+
var content = require('./types/content.js');
|
|
11
|
+
var multilingual = require('./types/multilingual.js');
|
|
12
|
+
var score = require('./types/score.js');
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
exports.checkTodayPlayable = liveCampaign.checkTodayPlayable;
|
|
17
|
+
exports.computeCurrentSession = liveCampaign.computeCurrentSession;
|
|
18
|
+
exports.computeIntenseCalendar = liveCampaign.computeIntenseCalendar;
|
|
19
|
+
exports.findNextAvailableDate = liveCampaign.findNextAvailableDate;
|
|
20
|
+
exports.getCalendarSessionDatesFromCampaign = liveCampaign.getCalendarSessionDatesFromCampaign;
|
|
21
|
+
exports.MICROKNOWLEDGE_MAX_LENGTHS = microknowledgeMaxLengths.MICROKNOWLEDGE_MAX_LENGTHS;
|
|
22
|
+
exports.getQuestions = index.getQuestions;
|
|
23
|
+
exports.ACTIVITY_STATUS = activity.ACTIVITY_STATUS;
|
|
24
|
+
exports.isActivityBreakingNews = activity.isActivityBreakingNews;
|
|
25
|
+
exports.isActivityCampaign = activity.isActivityCampaign;
|
|
26
|
+
exports.isCampaignSchedulingManual = campaign.isCampaignSchedulingManual;
|
|
27
|
+
exports.isCampaignSchedulingRandom = campaign.isCampaignSchedulingRandom;
|
|
28
|
+
exports.isWikiCard = campaign.isWikiCard;
|
|
29
|
+
exports.GAME_TYPE = content.GAME_TYPE;
|
|
30
|
+
exports.extractExplanation = content.extractExplanation;
|
|
31
|
+
exports.extractGameExplanation = content.extractGameExplanation;
|
|
32
|
+
exports.extractImages = content.extractImages;
|
|
33
|
+
exports.isGameErrorText = content.isGameErrorText;
|
|
34
|
+
exports.isGameMultipleChoiceQuestion = content.isGameMultipleChoiceQuestion;
|
|
35
|
+
exports.isGameNoInteraction = content.isGameNoInteraction;
|
|
36
|
+
exports.isGameOpenQuestion = content.isGameOpenQuestion;
|
|
37
|
+
exports.isGameOrderingCards = content.isGameOrderingCards;
|
|
38
|
+
exports.isGamePictureSpot = content.isGamePictureSpot;
|
|
39
|
+
exports.isGameSwipingCards = content.isGameSwipingCards;
|
|
40
|
+
exports.isPartialGameErrorText = content.isPartialGameErrorText;
|
|
41
|
+
exports.isPartialGameMultipleChoiceQuestion = content.isPartialGameMultipleChoiceQuestion;
|
|
42
|
+
exports.isPartialGameNoInteraction = content.isPartialGameNoInteraction;
|
|
43
|
+
exports.isPartialGameOpenQuestion = content.isPartialGameOpenQuestion;
|
|
44
|
+
exports.isPartialGameOrderingCards = content.isPartialGameOrderingCards;
|
|
45
|
+
exports.isPartialGamePictureSpot = content.isPartialGamePictureSpot;
|
|
46
|
+
exports.isPartialGameSwipingCards = content.isPartialGameSwipingCards;
|
|
47
|
+
exports.Languages = multilingual.Languages;
|
|
48
|
+
exports.isLanguageCode = multilingual.isLanguageCode;
|
|
49
|
+
exports.isBattleScore = score.isBattleScore;
|
|
50
|
+
exports.isCampaignScore = score.isCampaignScore;
|
|
51
|
+
exports.isWikiScore = score.isWikiScore;
|
|
52
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,7 +4,7 @@ import type { Content, GameType } from './content';
|
|
|
4
4
|
import type { Image } from './media';
|
|
5
5
|
import type { MultilingualLabel } from './multilingual';
|
|
6
6
|
import type { PlayerProfile, PlayerWithParticipation } from './player';
|
|
7
|
-
import type { Points, Stars, Streaks } from './score';
|
|
7
|
+
import type { LiveCampaignPoints, Points, Stars, Streaks } from './score';
|
|
8
8
|
export type WithCampaignContentId<T> = T & {
|
|
9
9
|
campaignContentId: number;
|
|
10
10
|
};
|
|
@@ -88,7 +88,7 @@ export type LiveCampaignAchievement = {
|
|
|
88
88
|
lastSessionPlayed: number;
|
|
89
89
|
lastPlayedAt: string;
|
|
90
90
|
stars: Stars;
|
|
91
|
-
points:
|
|
91
|
+
points: LiveCampaignPoints;
|
|
92
92
|
streaks?: Streaks;
|
|
93
93
|
};
|
|
94
94
|
export type SessionInsight = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"campaign.js","sources":["../../../src/business/types/campaign.ts"],"sourcesContent":["import type { CampaignStats } from './achievement';\nimport { ActivityStatus } from './activity';\nimport type { Content, GameType } from './content';\nimport type { Image } from './media';\nimport type { MultilingualLabel } from './multilingual';\nimport type { PlayerProfile, PlayerWithParticipation } from './player';\nimport type { Points, Stars, Streaks } from './score';\n\nexport type WithCampaignContentId<T> = T & { campaignContentId: number };\n\nexport type CampaignInformations = {\n coverImage: Image;\n name: MultilingualLabel;\n description: MultilingualLabel;\n disclaimer?: MultilingualLabel;\n lastSave: Date;\n};\n\nexport type BaseCampaignScheduling = {\n type: 'flexible' | 'intense';\n launchDate: string;\n endDate?: string;\n extraDays: number;\n enabledWeekDays: number[];\n disabledDates: string[];\n};\n\nexport type ManualCampaignScheduling = BaseCampaignScheduling & {\n mode: 'manual';\n orderedSessions: Content[][];\n};\n\nexport type RandomCampaignScheduling = BaseCampaignScheduling & {\n mode: 'random';\n nbSessions: number;\n contents: Content[];\n};\n\nexport type CampaignScheduling = ManualCampaignScheduling | RandomCampaignScheduling;\n\nexport type Campaign = {\n id: number;\n informations: CampaignInformations;\n scheduling: CampaignScheduling;\n type: 'campaign';\n};\n\nexport type BaseCampaignCardDetails = {\n id: number;\n status: ActivityStatus;\n cover: string;\n title: MultilingualLabel;\n description: MultilingualLabel;\n disclaimer?: MultilingualLabel;\n utcStartDate: string;\n utcEndDate: string;\n contentCount: number;\n sessionContentDistribution: number[];\n isRandom: boolean;\n playableDays?: Date[];\n};\n\nexport type WikiCardDetails = BaseCampaignCardDetails;\n\nexport type WikiCardPlayerInteraction = {\n contentPlayedIds: number[];\n favorite: boolean;\n};\n\nexport type WikiCard = {\n details: WikiCardDetails;\n playerInteraction: WikiCardPlayerInteraction;\n};\n\nexport type WikiContentCardDetails = {\n id: number;\n campaignContentId: number;\n coverImage: string;\n title: MultilingualLabel;\n explanation?: MultilingualLabel;\n session: number;\n};\n\nexport type WikiContentCard = {\n contentDetails: WikiContentCardDetails;\n points: Points;\n};\n\nexport type LiveCampaignScheduling = {\n type: 'flexible' | 'intense';\n extraDays: number;\n enabledWeekDays: number[];\n disabledDates: string[];\n sessionCount: number;\n};\n\nexport type LiveCampaignDetails = BaseCampaignCardDetails & LiveCampaignScheduling;\n\nexport type LiveCampaignAchievement = {\n playedSessions: number[];\n playedSessionsCount: number;\n lastSessionPlayed: number;\n lastPlayedAt: string;\n stars: Stars;\n points:
|
|
1
|
+
{"version":3,"file":"campaign.js","sources":["../../../src/business/types/campaign.ts"],"sourcesContent":["import type { CampaignStats } from './achievement';\nimport { ActivityStatus } from './activity';\nimport type { Content, GameType } from './content';\nimport type { Image } from './media';\nimport type { MultilingualLabel } from './multilingual';\nimport type { PlayerProfile, PlayerWithParticipation } from './player';\nimport type { LiveCampaignPoints, Points, Stars, Streaks } from './score';\n\nexport type WithCampaignContentId<T> = T & { campaignContentId: number };\n\nexport type CampaignInformations = {\n coverImage: Image;\n name: MultilingualLabel;\n description: MultilingualLabel;\n disclaimer?: MultilingualLabel;\n lastSave: Date;\n};\n\nexport type BaseCampaignScheduling = {\n type: 'flexible' | 'intense';\n launchDate: string;\n endDate?: string;\n extraDays: number;\n enabledWeekDays: number[];\n disabledDates: string[];\n};\n\nexport type ManualCampaignScheduling = BaseCampaignScheduling & {\n mode: 'manual';\n orderedSessions: Content[][];\n};\n\nexport type RandomCampaignScheduling = BaseCampaignScheduling & {\n mode: 'random';\n nbSessions: number;\n contents: Content[];\n};\n\nexport type CampaignScheduling = ManualCampaignScheduling | RandomCampaignScheduling;\n\nexport type Campaign = {\n id: number;\n informations: CampaignInformations;\n scheduling: CampaignScheduling;\n type: 'campaign';\n};\n\nexport type BaseCampaignCardDetails = {\n id: number;\n status: ActivityStatus;\n cover: string;\n title: MultilingualLabel;\n description: MultilingualLabel;\n disclaimer?: MultilingualLabel;\n utcStartDate: string;\n utcEndDate: string;\n contentCount: number;\n sessionContentDistribution: number[];\n isRandom: boolean;\n playableDays?: Date[];\n};\n\nexport type WikiCardDetails = BaseCampaignCardDetails;\n\nexport type WikiCardPlayerInteraction = {\n contentPlayedIds: number[];\n favorite: boolean;\n};\n\nexport type WikiCard = {\n details: WikiCardDetails;\n playerInteraction: WikiCardPlayerInteraction;\n};\n\nexport type WikiContentCardDetails = {\n id: number;\n campaignContentId: number;\n coverImage: string;\n title: MultilingualLabel;\n explanation?: MultilingualLabel;\n session: number;\n};\n\nexport type WikiContentCard = {\n contentDetails: WikiContentCardDetails;\n points: Points;\n};\n\nexport type LiveCampaignScheduling = {\n type: 'flexible' | 'intense';\n extraDays: number;\n enabledWeekDays: number[];\n disabledDates: string[];\n sessionCount: number;\n};\n\nexport type LiveCampaignDetails = BaseCampaignCardDetails & LiveCampaignScheduling;\n\nexport type LiveCampaignAchievement = {\n playedSessions: number[];\n playedSessionsCount: number;\n lastSessionPlayed: number;\n lastPlayedAt: string;\n stars: Stars;\n points: LiveCampaignPoints;\n streaks?: Streaks;\n};\n\nexport type SessionInsight = {\n sessionNumber: number;\n gameTypes: GameType[];\n};\n\nexport type StreakSession = {\n day: 1 | 2 | 3 | 4 | 5 | 6 | 7;\n status: CalendarStatus;\n streakCount?: number;\n};\n\nexport type LiveCampaign = {\n details: LiveCampaignDetails;\n achievement: LiveCampaignAchievement;\n /** @deprecated to avoid breaking changes */\n sessionInsights: SessionInsight[];\n leaderPlayer?: PlayerProfile;\n streakSessions?: StreakSession[];\n};\n\nexport type CalendarStatus = 'played' | 'playable' | 'pending' | 'missed';\n\nexport type Calendar = {\n order: number;\n status: CalendarStatus;\n date: Date;\n};\n\nexport type CampaignDetails = {\n id: number;\n coverImage?: Image;\n name: MultilingualLabel;\n mode: 'manual' | 'random';\n launchDate: string;\n endDate: string;\n enabledWeekDays: number[];\n disabledDates: Date[];\n lastNotificationDate: Date;\n nbPlayers: number;\n nbSessions: number;\n nbQuestions: number;\n players: PlayerWithParticipation[];\n stats: CampaignStats;\n};\n\nexport const isCampaignSchedulingRandom = (scheduling: CampaignScheduling): scheduling is RandomCampaignScheduling =>\n scheduling.mode === 'random';\n\nexport const isCampaignSchedulingManual = (scheduling: CampaignScheduling): scheduling is ManualCampaignScheduling =>\n scheduling.mode === 'manual';\n\nexport const isWikiCard = (item: unknown): item is WikiCard =>\n typeof item === 'object' && item !== null && 'details' in item && 'playerInteraction' in item;\n"],"names":[],"mappings":";;;;AAyJO,MAAM,0BAA0B,GAAG,CAAC,UAA8B,KACvE,UAAU,CAAC,IAAI,KAAK,SAAS;AAExB,MAAM,0BAA0B,GAAG,CAAC,UAA8B,KACvE,UAAU,CAAC,IAAI,KAAK,SAAS;AAElB,MAAA,UAAU,GAAG,CAAC,IAAa,KACtC,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,mBAAmB,IAAI;;;;;;"}
|
|
@@ -3,6 +3,12 @@ export type Points = {
|
|
|
3
3
|
chrono: number;
|
|
4
4
|
bonus: number;
|
|
5
5
|
};
|
|
6
|
+
export type LiveCampaignPoints = {
|
|
7
|
+
question: number;
|
|
8
|
+
chrono: number;
|
|
9
|
+
bonus: number;
|
|
10
|
+
adaptive: number;
|
|
11
|
+
};
|
|
6
12
|
export type Stars = {
|
|
7
13
|
question: number;
|
|
8
14
|
chrono: number;
|
|
@@ -26,6 +32,7 @@ export type BaseScore = {
|
|
|
26
32
|
createdAt: Date;
|
|
27
33
|
};
|
|
28
34
|
export type CampaignScore = BaseScore & {
|
|
35
|
+
points: LiveCampaignPoints;
|
|
29
36
|
campaignId: number;
|
|
30
37
|
campaignContentId: number;
|
|
31
38
|
sessionNumber?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"score.js","sources":["../../../src/business/types/score.ts"],"sourcesContent":["export type Points = {\n question: number;\n chrono: number;\n bonus: number;\n};\n\nexport type Stars = {\n question: number;\n chrono: number;\n bonus: number;\n};\n\nexport type Streaks = {\n totalPoints: number;\n streaksCount: number;\n streaksCountHistory: number[];\n};\n\nexport type Timer = {\n timespent: number;\n timeout: boolean;\n};\n\nexport type BaseScore = {\n id?: number;\n playerId: number;\n contentId: number;\n points: Points;\n timer: Timer;\n createdAt: Date;\n};\n\nexport type CampaignScore = BaseScore & {\n campaignId: number;\n campaignContentId: number;\n sessionNumber?: number; // TODO: should be required after conversion\n};\n\nexport type WikiScore = BaseScore & {\n wikiId: number;\n campaignContentId: number;\n sessionNumber?: number;\n};\n\nexport type BattleScore = BaseScore & {\n battleId: number;\n};\n\nexport type Score = CampaignScore | WikiScore | BattleScore;\n\nexport const isCampaignScore = (score: Score): score is CampaignScore => 'campaignId' in score;\nexport const isWikiScore = (score: Score): score is WikiScore => 'wikiId' in score;\nexport const isBattleScore = (score: Score): score is BattleScore => 'battleId' in score;\n"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"score.js","sources":["../../../src/business/types/score.ts"],"sourcesContent":["export type Points = {\n question: number;\n chrono: number;\n bonus: number;\n};\n\nexport type LiveCampaignPoints = {\n question: number;\n chrono: number;\n bonus: number;\n adaptive: number;\n};\n\nexport type Stars = {\n question: number;\n chrono: number;\n bonus: number;\n};\n\nexport type Streaks = {\n totalPoints: number;\n streaksCount: number;\n streaksCountHistory: number[];\n};\n\nexport type Timer = {\n timespent: number;\n timeout: boolean;\n};\n\nexport type BaseScore = {\n id?: number;\n playerId: number;\n contentId: number;\n points: Points;\n timer: Timer;\n createdAt: Date;\n};\n\nexport type CampaignScore = BaseScore & {\n points: LiveCampaignPoints;\n campaignId: number;\n campaignContentId: number;\n sessionNumber?: number; // TODO: should be required after conversion\n};\n\nexport type WikiScore = BaseScore & {\n wikiId: number;\n campaignContentId: number;\n sessionNumber?: number;\n};\n\nexport type BattleScore = BaseScore & {\n battleId: number;\n};\n\nexport type Score = CampaignScore | WikiScore | BattleScore;\n\nexport const isCampaignScore = (score: Score): score is CampaignScore => 'campaignId' in score;\nexport const isWikiScore = (score: Score): score is WikiScore => 'wikiId' in score;\nexport const isBattleScore = (score: Score): score is BattleScore => 'battleId' in score;\n"],"names":[],"mappings":";;;;AA0DO,MAAM,eAAe,GAAG,CAAC,KAAY,KAA6B,YAAY,IAAI,MAAM;AACxF,MAAM,WAAW,GAAG,CAAC,KAAY,KAAyB,QAAQ,IAAI,MAAM;AAC5E,MAAM,aAAa,GAAG,CAAC,KAAY,KAA2B,UAAU,IAAI;;;;;;"}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -6,6 +6,14 @@ var arrayToMap = require('./array/array-to-map.js');
|
|
|
6
6
|
var getValuesFromKeys = require('./array/get-values-from-keys.js');
|
|
7
7
|
var leftOutterJoin = require('./array/left-outter-join.js');
|
|
8
8
|
var innerJoin = require('./array/inner-join.js');
|
|
9
|
+
var liveCampaign = require('./business/campaign/live-campaign.js');
|
|
10
|
+
var microknowledgeMaxLengths = require('./business/course/microknowledge-max-lengths.js');
|
|
11
|
+
var index = require('./business/picture-spot/index.js');
|
|
12
|
+
var activity = require('./business/types/activity.js');
|
|
13
|
+
var campaign = require('./business/types/campaign.js');
|
|
14
|
+
var content = require('./business/types/content.js');
|
|
15
|
+
var multilingual = require('./business/types/multilingual.js');
|
|
16
|
+
var score = require('./business/types/score.js');
|
|
9
17
|
var cdn_factory = require('./cdn/cdn.factory.js');
|
|
10
18
|
var getApproximatedSessionTime = require('./chrono/get-approximated-session-time.js');
|
|
11
19
|
var constants = require('./time/constants.js');
|
|
@@ -56,6 +64,42 @@ exports.arrayToMap = arrayToMap.arrayToMap;
|
|
|
56
64
|
exports.valuesFromKeys = getValuesFromKeys.valuesFromKeys;
|
|
57
65
|
exports.leftOutterJoin = leftOutterJoin.leftOutterJoin;
|
|
58
66
|
exports.innerJoin = innerJoin.innerJoin;
|
|
67
|
+
exports.checkTodayPlayable = liveCampaign.checkTodayPlayable;
|
|
68
|
+
exports.computeCurrentSession = liveCampaign.computeCurrentSession;
|
|
69
|
+
exports.computeIntenseCalendar = liveCampaign.computeIntenseCalendar;
|
|
70
|
+
exports.findNextAvailableDate = liveCampaign.findNextAvailableDate;
|
|
71
|
+
exports.getCalendarSessionDatesFromCampaign = liveCampaign.getCalendarSessionDatesFromCampaign;
|
|
72
|
+
exports.MICROKNOWLEDGE_MAX_LENGTHS = microknowledgeMaxLengths.MICROKNOWLEDGE_MAX_LENGTHS;
|
|
73
|
+
exports.getQuestions = index.getQuestions;
|
|
74
|
+
exports.ACTIVITY_STATUS = activity.ACTIVITY_STATUS;
|
|
75
|
+
exports.isActivityBreakingNews = activity.isActivityBreakingNews;
|
|
76
|
+
exports.isActivityCampaign = activity.isActivityCampaign;
|
|
77
|
+
exports.isCampaignSchedulingManual = campaign.isCampaignSchedulingManual;
|
|
78
|
+
exports.isCampaignSchedulingRandom = campaign.isCampaignSchedulingRandom;
|
|
79
|
+
exports.isWikiCard = campaign.isWikiCard;
|
|
80
|
+
exports.GAME_TYPE = content.GAME_TYPE;
|
|
81
|
+
exports.extractExplanation = content.extractExplanation;
|
|
82
|
+
exports.extractGameExplanation = content.extractGameExplanation;
|
|
83
|
+
exports.extractImages = content.extractImages;
|
|
84
|
+
exports.isGameErrorText = content.isGameErrorText;
|
|
85
|
+
exports.isGameMultipleChoiceQuestion = content.isGameMultipleChoiceQuestion;
|
|
86
|
+
exports.isGameNoInteraction = content.isGameNoInteraction;
|
|
87
|
+
exports.isGameOpenQuestion = content.isGameOpenQuestion;
|
|
88
|
+
exports.isGameOrderingCards = content.isGameOrderingCards;
|
|
89
|
+
exports.isGamePictureSpot = content.isGamePictureSpot;
|
|
90
|
+
exports.isGameSwipingCards = content.isGameSwipingCards;
|
|
91
|
+
exports.isPartialGameErrorText = content.isPartialGameErrorText;
|
|
92
|
+
exports.isPartialGameMultipleChoiceQuestion = content.isPartialGameMultipleChoiceQuestion;
|
|
93
|
+
exports.isPartialGameNoInteraction = content.isPartialGameNoInteraction;
|
|
94
|
+
exports.isPartialGameOpenQuestion = content.isPartialGameOpenQuestion;
|
|
95
|
+
exports.isPartialGameOrderingCards = content.isPartialGameOrderingCards;
|
|
96
|
+
exports.isPartialGamePictureSpot = content.isPartialGamePictureSpot;
|
|
97
|
+
exports.isPartialGameSwipingCards = content.isPartialGameSwipingCards;
|
|
98
|
+
exports.Languages = multilingual.Languages;
|
|
99
|
+
exports.isLanguageCode = multilingual.isLanguageCode;
|
|
100
|
+
exports.isBattleScore = score.isBattleScore;
|
|
101
|
+
exports.isCampaignScore = score.isCampaignScore;
|
|
102
|
+
exports.isWikiScore = score.isWikiScore;
|
|
59
103
|
exports.createCdn = cdn_factory.createCdn;
|
|
60
104
|
exports.DOLPHIN_AVERAGE_CHRONO_GAMEPLAY = getApproximatedSessionTime.DOLPHIN_AVERAGE_CHRONO_GAMEPLAY;
|
|
61
105
|
exports.getApproximatedSessionTime = getApproximatedSessionTime.getApproximatedSessionTime;
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|