@contractspec/module.learning-journey 3.7.16 → 3.7.18
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/browser/contracts/index.js +1 -578
- package/dist/browser/contracts/models.js +1 -193
- package/dist/browser/contracts/onboarding.js +1 -417
- package/dist/browser/contracts/operations.js +1 -326
- package/dist/browser/contracts/shared.js +1 -5
- package/dist/browser/docs/index.js +7 -51
- package/dist/browser/docs/learning-journey.docblock.js +7 -51
- package/dist/browser/engines/index.js +1 -675
- package/dist/browser/engines/srs.js +1 -198
- package/dist/browser/engines/streak.js +1 -159
- package/dist/browser/engines/xp.js +1 -320
- package/dist/browser/entities/ai.js +1 -343
- package/dist/browser/entities/course.js +1 -276
- package/dist/browser/entities/flashcard.js +1 -222
- package/dist/browser/entities/gamification.js +1 -340
- package/dist/browser/entities/index.js +1 -2140
- package/dist/browser/entities/learner.js +1 -333
- package/dist/browser/entities/onboarding.js +1 -301
- package/dist/browser/entities/quiz.js +1 -304
- package/dist/browser/events.js +1 -423
- package/dist/browser/i18n/catalogs/en.js +1 -43
- package/dist/browser/i18n/catalogs/es.js +1 -43
- package/dist/browser/i18n/catalogs/fr.js +1 -43
- package/dist/browser/i18n/catalogs/index.js +1 -127
- package/dist/browser/i18n/index.js +1 -169
- package/dist/browser/i18n/keys.js +1 -16
- package/dist/browser/i18n/locale.js +1 -13
- package/dist/browser/i18n/messages.js +1 -139
- package/dist/browser/index.js +7 -3914
- package/dist/browser/learning-journey.capability.js +1 -43
- package/dist/browser/learning-journey.feature.js +1 -56
- package/dist/contracts/index.js +1 -578
- package/dist/contracts/models.js +1 -193
- package/dist/contracts/onboarding.js +1 -417
- package/dist/contracts/operations.js +1 -326
- package/dist/contracts/shared.js +1 -5
- package/dist/docs/index.js +7 -51
- package/dist/docs/learning-journey.docblock.js +7 -51
- package/dist/engines/index.js +1 -675
- package/dist/engines/srs.js +1 -198
- package/dist/engines/streak.js +1 -159
- package/dist/engines/xp.js +1 -320
- package/dist/entities/ai.js +1 -343
- package/dist/entities/course.js +1 -276
- package/dist/entities/flashcard.js +1 -222
- package/dist/entities/gamification.js +1 -340
- package/dist/entities/index.js +1 -2140
- package/dist/entities/learner.js +1 -333
- package/dist/entities/onboarding.js +1 -301
- package/dist/entities/quiz.js +1 -304
- package/dist/events.js +1 -423
- package/dist/i18n/catalogs/en.js +1 -43
- package/dist/i18n/catalogs/es.js +1 -43
- package/dist/i18n/catalogs/fr.js +1 -43
- package/dist/i18n/catalogs/index.js +1 -127
- package/dist/i18n/index.js +1 -169
- package/dist/i18n/keys.js +1 -16
- package/dist/i18n/locale.js +1 -13
- package/dist/i18n/messages.js +1 -139
- package/dist/index.js +7 -3914
- package/dist/learning-journey.capability.js +1 -43
- package/dist/learning-journey.feature.js +1 -56
- package/dist/node/contracts/index.js +1 -578
- package/dist/node/contracts/models.js +1 -193
- package/dist/node/contracts/onboarding.js +1 -417
- package/dist/node/contracts/operations.js +1 -326
- package/dist/node/contracts/shared.js +1 -5
- package/dist/node/docs/index.js +7 -51
- package/dist/node/docs/learning-journey.docblock.js +7 -51
- package/dist/node/engines/index.js +1 -675
- package/dist/node/engines/srs.js +1 -198
- package/dist/node/engines/streak.js +1 -159
- package/dist/node/engines/xp.js +1 -320
- package/dist/node/entities/ai.js +1 -343
- package/dist/node/entities/course.js +1 -276
- package/dist/node/entities/flashcard.js +1 -222
- package/dist/node/entities/gamification.js +1 -340
- package/dist/node/entities/index.js +1 -2140
- package/dist/node/entities/learner.js +1 -333
- package/dist/node/entities/onboarding.js +1 -301
- package/dist/node/entities/quiz.js +1 -304
- package/dist/node/events.js +1 -423
- package/dist/node/i18n/catalogs/en.js +1 -43
- package/dist/node/i18n/catalogs/es.js +1 -43
- package/dist/node/i18n/catalogs/fr.js +1 -43
- package/dist/node/i18n/catalogs/index.js +1 -127
- package/dist/node/i18n/index.js +1 -169
- package/dist/node/i18n/keys.js +1 -16
- package/dist/node/i18n/locale.js +1 -13
- package/dist/node/i18n/messages.js +1 -139
- package/dist/node/index.js +7 -3914
- package/dist/node/learning-journey.capability.js +1 -43
- package/dist/node/learning-journey.feature.js +1 -56
- package/package.json +5 -5
|
@@ -1,44 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
defineCapability,
|
|
5
|
-
StabilityEnum
|
|
6
|
-
} from "@contractspec/lib.contracts-spec";
|
|
7
|
-
var LearningJourneyCapability = defineCapability({
|
|
8
|
-
meta: {
|
|
9
|
-
key: "learning-journey",
|
|
10
|
-
version: "1.0.0",
|
|
11
|
-
kind: "ui",
|
|
12
|
-
stability: StabilityEnum.Experimental,
|
|
13
|
-
description: "Guided learning paths and progress tracking",
|
|
14
|
-
owners: ["platform.core"],
|
|
15
|
-
tags: ["learning", "onboarding", "ui"]
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
var OnboardingCapability = defineCapability({
|
|
19
|
-
meta: {
|
|
20
|
-
key: "onboarding",
|
|
21
|
-
version: "1.0.0",
|
|
22
|
-
kind: "ui",
|
|
23
|
-
stability: StabilityEnum.Experimental,
|
|
24
|
-
description: "User onboarding and first-time experience flows",
|
|
25
|
-
owners: ["platform.core"],
|
|
26
|
-
tags: ["onboarding", "ux", "ui"]
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
var GamificationCapability = defineCapability({
|
|
30
|
-
meta: {
|
|
31
|
-
key: "gamification",
|
|
32
|
-
version: "1.0.0",
|
|
33
|
-
kind: "ui",
|
|
34
|
-
stability: StabilityEnum.Experimental,
|
|
35
|
-
description: "Gamification elements like badges, points, and achievements",
|
|
36
|
-
owners: ["platform.core"],
|
|
37
|
-
tags: ["gamification", "engagement", "ui"]
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
OnboardingCapability,
|
|
42
|
-
LearningJourneyCapability,
|
|
43
|
-
GamificationCapability
|
|
44
|
-
};
|
|
2
|
+
import{defineCapability as g,StabilityEnum as h}from"@contractspec/lib.contracts-spec";var k=g({meta:{key:"learning-journey",version:"1.0.0",kind:"ui",stability:h.Experimental,description:"Guided learning paths and progress tracking",owners:["platform.core"],tags:["learning","onboarding","ui"]}}),q=g({meta:{key:"onboarding",version:"1.0.0",kind:"ui",stability:h.Experimental,description:"User onboarding and first-time experience flows",owners:["platform.core"],tags:["onboarding","ux","ui"]}}),v=g({meta:{key:"gamification",version:"1.0.0",kind:"ui",stability:h.Experimental,description:"Gamification elements like badges, points, and achievements",owners:["platform.core"],tags:["gamification","engagement","ui"]}});export{q as OnboardingCapability,k as LearningJourneyCapability,v as GamificationCapability};
|
|
@@ -1,57 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
|
|
3
|
-
import { defineFeature } from "@contractspec/lib.contracts-spec";
|
|
4
|
-
var LearningJourneyFeature = defineFeature({
|
|
5
|
-
meta: {
|
|
6
|
-
key: "learning-journey",
|
|
7
|
-
version: "1.0.0",
|
|
8
|
-
title: "Learning Journey",
|
|
9
|
-
description: "Learning platform with courses, onboarding, flashcards, and gamification",
|
|
10
|
-
domain: "learning",
|
|
11
|
-
owners: ["@platform.learning-journey"],
|
|
12
|
-
tags: ["learning", "onboarding", "courses", "flashcards", "gamification"],
|
|
13
|
-
stability: "stable"
|
|
14
|
-
},
|
|
15
|
-
operations: [
|
|
16
|
-
{ key: "learning.onboarding.recordEvent", version: "1.0.0" },
|
|
17
|
-
{ key: "learning.onboarding.listTracks", version: "1.0.0" },
|
|
18
|
-
{ key: "learning.onboarding.getProgress", version: "1.0.0" },
|
|
19
|
-
{ key: "learning.enroll", version: "1.0.0" },
|
|
20
|
-
{ key: "learning.completeLesson", version: "1.0.0" },
|
|
21
|
-
{ key: "learning.submitCardReview", version: "1.0.0" },
|
|
22
|
-
{ key: "learning.getDueCards", version: "1.0.0" },
|
|
23
|
-
{ key: "learning.getDashboard", version: "1.0.0" }
|
|
24
|
-
],
|
|
25
|
-
events: [
|
|
26
|
-
{ key: "course.published", version: "1.0.0" },
|
|
27
|
-
{ key: "course.completed", version: "1.0.0" },
|
|
28
|
-
{ key: "enrollment.created", version: "1.0.0" },
|
|
29
|
-
{ key: "lesson.completed", version: "1.0.0" },
|
|
30
|
-
{ key: "onboarding.started", version: "1.0.0" },
|
|
31
|
-
{ key: "onboarding.step_completed", version: "1.0.0" },
|
|
32
|
-
{ key: "onboarding.completed", version: "1.0.0" },
|
|
33
|
-
{ key: "flashcard.reviewed", version: "1.0.0" },
|
|
34
|
-
{ key: "quiz.started", version: "1.0.0" },
|
|
35
|
-
{ key: "quiz.completed", version: "1.0.0" },
|
|
36
|
-
{ key: "xp.earned", version: "1.0.0" },
|
|
37
|
-
{ key: "level.up", version: "1.0.0" },
|
|
38
|
-
{ key: "streak.updated", version: "1.0.0" },
|
|
39
|
-
{ key: "achievement.unlocked", version: "1.0.0" },
|
|
40
|
-
{ key: "daily_goal.completed", version: "1.0.0" },
|
|
41
|
-
{ key: "certificate.issued", version: "1.0.0" }
|
|
42
|
-
],
|
|
43
|
-
presentations: [],
|
|
44
|
-
opToPresentation: [],
|
|
45
|
-
presentationsTargets: [],
|
|
46
|
-
capabilities: {
|
|
47
|
-
provides: [
|
|
48
|
-
{ key: "learning-journey", version: "1.0.0" },
|
|
49
|
-
{ key: "onboarding", version: "1.0.0" },
|
|
50
|
-
{ key: "gamification", version: "1.0.0" }
|
|
51
|
-
],
|
|
52
|
-
requires: [{ key: "identity", version: "1.0.0" }]
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
LearningJourneyFeature
|
|
57
|
-
};
|
|
2
|
+
import{defineFeature as g}from"@contractspec/lib.contracts-spec";var j=g({meta:{key:"learning-journey",version:"1.0.0",title:"Learning Journey",description:"Learning platform with courses, onboarding, flashcards, and gamification",domain:"learning",owners:["@platform.learning-journey"],tags:["learning","onboarding","courses","flashcards","gamification"],stability:"stable"},operations:[{key:"learning.onboarding.recordEvent",version:"1.0.0"},{key:"learning.onboarding.listTracks",version:"1.0.0"},{key:"learning.onboarding.getProgress",version:"1.0.0"},{key:"learning.enroll",version:"1.0.0"},{key:"learning.completeLesson",version:"1.0.0"},{key:"learning.submitCardReview",version:"1.0.0"},{key:"learning.getDueCards",version:"1.0.0"},{key:"learning.getDashboard",version:"1.0.0"}],events:[{key:"course.published",version:"1.0.0"},{key:"course.completed",version:"1.0.0"},{key:"enrollment.created",version:"1.0.0"},{key:"lesson.completed",version:"1.0.0"},{key:"onboarding.started",version:"1.0.0"},{key:"onboarding.step_completed",version:"1.0.0"},{key:"onboarding.completed",version:"1.0.0"},{key:"flashcard.reviewed",version:"1.0.0"},{key:"quiz.started",version:"1.0.0"},{key:"quiz.completed",version:"1.0.0"},{key:"xp.earned",version:"1.0.0"},{key:"level.up",version:"1.0.0"},{key:"streak.updated",version:"1.0.0"},{key:"achievement.unlocked",version:"1.0.0"},{key:"daily_goal.completed",version:"1.0.0"},{key:"certificate.issued",version:"1.0.0"}],presentations:[],opToPresentation:[],presentationsTargets:[],capabilities:{provides:[{key:"learning-journey",version:"1.0.0"},{key:"onboarding",version:"1.0.0"},{key:"gamification",version:"1.0.0"}],requires:[{key:"identity",version:"1.0.0"}]}});export{j as LearningJourneyFeature};
|