@1024pix/epreuves-components 2.4.1 → 2.4.2

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 (2) hide show
  1. package/dist/schema.js +9 -5
  2. package/package.json +1 -1
package/dist/schema.js CHANGED
@@ -67,7 +67,7 @@ const o = e.object({
67
67
  ).required()
68
68
  }).required(), l = e.object({
69
69
  quizzes: e.array().items(i).required()
70
- }).required(), m = e.object({
70
+ }).required(), g = e.object({
71
71
  title: e.string().required(),
72
72
  messages: e.array().items(
73
73
  e.object({
@@ -80,11 +80,15 @@ const o = e.object({
80
80
  }).unknown(!0).optional()
81
81
  })
82
82
  ).required()
83
- }).required(), g = e.object({
83
+ }).required(), m = e.object({
84
84
  titleLevel: e.number().optional(),
85
- conversations: e.array().items(e.object({
85
+ messages: e.array().items(e.object({
86
86
  senderName: e.string().required(),
87
- message: e.string().required()
87
+ content: e.string().required(),
88
+ title: e.string().required(),
89
+ goodFeelings: e.array().items(e.string().required()).required(),
90
+ victory: e.string().required(),
91
+ loose: e.string().required()
88
92
  })).required()
89
93
  }), q = e.object({
90
94
  notifications: e.array().items(e.object({
@@ -210,7 +214,7 @@ const o = e.object({
210
214
  goodIdea: e.boolean().required(),
211
215
  feedback: e.string().required()
212
216
  })).required()
213
- }), I = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.schema.js": o, "./capacity-calculation/capacity-calculation.schema.js": a, "./clickable-image/clickable-image.schema.js": c, "./complete-phrase/complete-phrase.schema.js": u, "./flip-cards/flip-cards.schema.js": d, "./image-quiz/image-quiz.schema.js": i, "./image-quiz/image-quizzes.schema.js": l, "./message-conversation/message-conversation.schema.js": m, "./phishing-message/phishing-message.schema.js": g, "./phishing-notification/phishing-notification.schema.js": q, "./pix-article/pix-article.schema.js": b, "./pix-carousel/pix-carousel.schema.js": v, "./pix-cursor/pix-cursor.schema.js": y, "./pix-llm/llm-compare-messages.schema.js": L, "./pix-llm/llm-messages.schema.js": w, "./pix-llm/llm-prompt-select.schema.js": k, "./qcm-deepfake/qcm-deepfake.schema.js": S, "./select-conversation/select-conversation.schema.js": z }), C = Object.fromEntries(Object.entries(I).map(([s, n]) => [
217
+ }), I = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.schema.js": o, "./capacity-calculation/capacity-calculation.schema.js": a, "./clickable-image/clickable-image.schema.js": c, "./complete-phrase/complete-phrase.schema.js": u, "./flip-cards/flip-cards.schema.js": d, "./image-quiz/image-quiz.schema.js": i, "./image-quiz/image-quizzes.schema.js": l, "./message-conversation/message-conversation.schema.js": g, "./phishing-message/phishing-message.schema.js": m, "./phishing-notification/phishing-notification.schema.js": q, "./pix-article/pix-article.schema.js": b, "./pix-carousel/pix-carousel.schema.js": v, "./pix-cursor/pix-cursor.schema.js": y, "./pix-llm/llm-compare-messages.schema.js": L, "./pix-llm/llm-messages.schema.js": w, "./pix-llm/llm-prompt-select.schema.js": k, "./qcm-deepfake/qcm-deepfake.schema.js": S, "./select-conversation/select-conversation.schema.js": z }), C = Object.fromEntries(Object.entries(I).map(([s, n]) => [
214
218
  s.replace(/^.*\/([^/]+)\.schema\.js$/, "$1"),
215
219
  n
216
220
  ]));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/epreuves-components",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "A collection of interactive components to be used in Pix challenges or modules",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",