@1024pix/epreuves-components 1.4.0 → 1.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.
- package/dist/schema.js +15 -17
- package/package.json +1 -1
package/dist/schema.js
CHANGED
|
@@ -25,7 +25,7 @@ const o = e.object({
|
|
|
25
25
|
consumptionImg: e.string().required()
|
|
26
26
|
}).required()
|
|
27
27
|
}).required()
|
|
28
|
-
}), c = e.object({
|
|
28
|
+
}).meta({ title: "capacity-calculation" }), c = e.object({
|
|
29
29
|
image: e.object({
|
|
30
30
|
src: e.string().required(),
|
|
31
31
|
alt: e.string().required(),
|
|
@@ -43,7 +43,7 @@ const o = e.object({
|
|
|
43
43
|
info: e.string().required(),
|
|
44
44
|
tooltipPosition: e.string().valid("bottom").optional()
|
|
45
45
|
}).required()).required().min(1)
|
|
46
|
-
}), u = e.object({
|
|
46
|
+
}).meta({ title: "clickable-image" }), u = e.object({
|
|
47
47
|
titleLevel: e.number().required(),
|
|
48
48
|
listOfProbabilityBarsLists: e.array().items(
|
|
49
49
|
e.array().items(
|
|
@@ -59,17 +59,15 @@ const o = e.object({
|
|
|
59
59
|
}), d = e.object({
|
|
60
60
|
name: e.string().required(),
|
|
61
61
|
cardList: e.array().items(
|
|
62
|
-
e.
|
|
63
|
-
e.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
})
|
|
70
|
-
)
|
|
62
|
+
e.object({
|
|
63
|
+
name: e.string().required(),
|
|
64
|
+
description: e.string().required(),
|
|
65
|
+
icon: e.string().required(),
|
|
66
|
+
image: e.string().required(),
|
|
67
|
+
titleLevel: e.string()
|
|
68
|
+
})
|
|
71
69
|
).required()
|
|
72
|
-
}), i = e.object({
|
|
70
|
+
}).meta({ title: "flip-cards" }), i = e.object({
|
|
73
71
|
name: e.string().required(),
|
|
74
72
|
multiple: e.boolean().optional(),
|
|
75
73
|
maxChoicesPerLine: e.number().optional(),
|
|
@@ -85,9 +83,9 @@ const o = e.object({
|
|
|
85
83
|
response: e.string().optional()
|
|
86
84
|
}).required()
|
|
87
85
|
).required()
|
|
88
|
-
}).required(), m = e.object({
|
|
89
|
-
quizzes: e.array().items(i).required()
|
|
90
86
|
}).required(), l = e.object({
|
|
87
|
+
quizzes: e.array().items(i).required()
|
|
88
|
+
}).required(), m = e.object({
|
|
91
89
|
title: e.string().required(),
|
|
92
90
|
messages: e.array().items(
|
|
93
91
|
e.object({
|
|
@@ -177,7 +175,7 @@ const o = e.object({
|
|
|
177
175
|
content: e.string().required()
|
|
178
176
|
}), I = e.object({
|
|
179
177
|
messages: e.array().items(t.required()).required()
|
|
180
|
-
}).required(),
|
|
178
|
+
}).required(), f = e.object({
|
|
181
179
|
speed: e.number().default(20).min(0).optional(),
|
|
182
180
|
messages: e.array().items(t).required(),
|
|
183
181
|
prompts: e.array().items(
|
|
@@ -186,13 +184,13 @@ const o = e.object({
|
|
|
186
184
|
response: e.string().required()
|
|
187
185
|
}).required()
|
|
188
186
|
).required()
|
|
189
|
-
}).required(),
|
|
187
|
+
}).required(), w = e.object({
|
|
190
188
|
titleLevel: e.number().optional(),
|
|
191
189
|
successImage: e.string().required(),
|
|
192
190
|
failImage: e.string().required(),
|
|
193
191
|
infoImage: e.string().required(),
|
|
194
192
|
searchImage: e.string().required()
|
|
195
|
-
}), L = /* @__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":
|
|
193
|
+
}), L = /* @__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, "./pix-article/pix-article.schema.js": g, "./pix-carousel/pix-carousel.schema.js": j, "./pix-cursor/pix-cursor.schema.js": h, "./pix-llm/llm-compare-messages.schema.js": x, "./pix-llm/llm-messages.schema.js": I, "./pix-llm/llm-prompt-select.schema.js": f, "./qcm-deepfake/qcm-deepfake.schema.js": w }), S = Object.fromEntries(Object.entries(L).map(([s, n]) => [
|
|
196
194
|
s.replace(/^.*\/([^/]+)\.schema\.js$/, "$1"),
|
|
197
195
|
n
|
|
198
196
|
]));
|