only_ever_generator 0.5.4 → 0.5.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/src/index.ts CHANGED
@@ -20,7 +20,7 @@ import { OnlyEverGenerator } from "./bootstrap/app";
20
20
 
21
21
  /// While Publishing the package , and using this code as a separate npm module
22
22
  /// uncomment the below line and comment all the others, expect the import of OnlyEverGenerator
23
- export {OnlyEverGenerator};
23
+ export {OnlyEverGenerator};
24
24
 
25
25
  // . All the Codes Below uses express and are strictly for development purpose, while publishing the package, comment everything
26
26
  // below this line
@@ -29,7 +29,7 @@ export class ParseClozeCard {
29
29
  },
30
30
  concepts: data.concepts,
31
31
  facts: data.facts,
32
- bloomLevel: data.bloom_level,
32
+ explanation: data.card_content.explanation,
33
33
  };
34
34
 
35
35
  return this._validateCloze(clozeCardData);
@@ -28,7 +28,7 @@ export class ParseMatchCard {
28
28
  displayTitle: displayTitle,
29
29
  concepts: cardData.concepts,
30
30
  facts: cardData.facts,
31
- bloomLevel: cardData.bloom_level,
31
+ explanation: cardData.card_content.explanation,
32
32
  };
33
33
 
34
34
  return this._validateMatch(matchCard);
@@ -32,7 +32,7 @@ export class ParseMcqCard {
32
32
  },
33
33
  concepts: data.concepts,
34
34
  facts: data.facts,
35
- bloomLevel: data.bloom_level,
35
+ explanation: data.card_content.explanation,
36
36
  };
37
37
  // return mcqCard;
38
38
  const isValid = this._validate(mcqCard);
@@ -88,8 +88,8 @@ export class ParseCardResponse {
88
88
  back_content: data.card_content.back,
89
89
  },
90
90
  concepts: data.concepts,
91
+ explanation: data.card_content.explanation,
91
92
  facts: data.facts,
92
- bloomLevel: data.bloom_level,
93
93
  };
94
94
 
95
95
  return flashCardData;