Liens d'échange : #import (compressé) et #import-json

Proposition {program, profile?, reason} validée, erreurs en français.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-18 01:00:01 +01:00
co-authored by Claude Opus 5.5
parent 5d2548771d
commit ec37dd6d3c
3 changed files with 236 additions and 1 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ export function convertAtelier(input, { device, now = new Date() }) {
* @param {string} [when]
*/
const add = (type, data, key, when = at) =>
events.push(createEvent(type, data, { device, at: when, id: stableId("atelier", type + "|" + key) }));
events.push(createEvent(type, /** @type {any} */ (data), { device, at: when, id: stableId("atelier", type + "|" + key) }));
const isExport = "instructions" in obj || "charges_courantes" in obj || "planning" in obj;
const isProgramOnly = !isObject(obj.program) && Array.isArray(obj.sessions);