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:
co-authored by
Claude Opus 5.5
parent
5d2548771d
commit
ec37dd6d3c
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user