From bfab28ffd773900e60da8c615cb55459a4a3c440 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Thu, 12 Nov 2026 17:43:47 +0100 Subject: [PATCH 01/12] feat(events): english and french titles of the processing and run events The processing events of the api (create, patch, delete, trigger) and the run events of the worker (log-error, finish-ok, finish-error, disabled) now send { en, fr } titles, written next to their emitter as in the stack-wide events convention. The resource title of the run events is the plain processing title, no longer a French sentence. The topic keys are unchanged. --- api/src/processings/router.ts | 34 ++++++++++++++++++++-------------- worker/src/utils/runs.ts | 32 +++++++++++++++++--------------- 2 files changed, 37 insertions(+), 29 deletions(-) diff --git a/api/src/processings/router.ts b/api/src/processings/router.ts index f3ef786a..9c9c2372 100644 --- a/api/src/processings/router.ts +++ b/api/src/processings/router.ts @@ -120,21 +120,27 @@ async function fetchPluginArtefact (processing: Pick ({ en: `The processing ${title} was created`, fr: `Le traitement ${title} a été créé` }), + patch: (title: string) => ({ en: `The processing ${title} was updated`, fr: `Le traitement ${title} a été modifié` }), + delete: (title: string) => ({ en: `The processing ${title} was deleted`, fr: `Le traitement ${title} a été supprimé` }), + 'trigger-manual': (title: string) => ({ en: `The processing ${title} was triggered manually`, fr: `Le traitement ${title} a été déclenché manuellement` }), + 'trigger-webhook': (title: string) => ({ en: `The processing ${title} was triggered by a webhook`, fr: `Le traitement ${title} a été déclenché par webhook` }) +} + /** - * Helper function to send events related to processings - * @param processing The processing object - * @param actionText The text describing the action (e.g. "a été créé") - * @param topicAction The action part of the topic key (e.g. "create", "delete") - * @param sessionState Optional session state for authentication + * Send an event about a processing. + * @param topicAction The action part of the topic key + * @param textAction The text of the title, when it is more precise than the topic action */ const sendProcessingEvent = ( processing: Processing, - actionText: string, - topicAction: string, - sessionState?: SessionStateAuthenticated + topicAction: 'create' | 'patch' | 'delete' | 'trigger', + sessionState?: SessionStateAuthenticated, + textAction: keyof typeof processingTitles = topicAction === 'trigger' ? 'trigger-manual' : topicAction ) => { eventsQueue.pushEvent({ - title: `Le traitement ${processing.title} ${actionText}`, + title: processingTitles[textAction](processing.title), topic: { key: `processings:processing-${topicAction}:${processing._id}` }, sender: processing.owner, resource: { @@ -407,7 +413,7 @@ router.post('', requireOperationScope('postProcessing'), async (req, res) => { Object.assign(processing, await prepareProcessing(processing)) await mongo.processings.insertOne(processing) - sendProcessingEvent(processing, 'a été créé', 'create', sessionState) + sendProcessingEvent(processing, 'create', sessionState) res.status(200).json(cleanProcessing(processing, sessionState)) }) @@ -440,7 +446,7 @@ const saveProcessingPatch = async (processing: Processing, body: Record { if (!processing) return res.status(404).send() if (req.query.key) { if (req.query.key !== processing.webhookKey) return res.status(403).send('Mauvaise clé de déclenchement') - sendProcessingEvent(processing, 'a été déclenché par webhook', 'trigger') + sendProcessingEvent(processing, 'trigger', undefined, 'trigger-webhook') } else { // the webhook key path reads no session, so the scope is checked here rather than by a middleware assertReqScope(req, acceptedScopes('processings', 'write')) const sessionState = await session.reqAuthenticated(req) if (!['admin', 'exec'].includes(permissions.getUserResourceProfile(processing.owner, processing.permissions, sessionState) ?? '')) return res.status(403).send() - sendProcessingEvent(processing, 'a été déclenché manuellement', 'trigger', sessionState) + sendProcessingEvent(processing, 'trigger', sessionState, 'trigger-manual') } if (!processing.active) return res.status(409).send('Le traitement n\'est pas actif') res.send(await createNext(mongo.db, locks, processing, true, req.query.delay ? Number(req.query.delay) : 0)) diff --git a/worker/src/utils/runs.ts b/worker/src/utils/runs.ts index 1a456162..9bddbe09 100644 --- a/worker/src/utils/runs.ts +++ b/worker/src/utils/runs.ts @@ -9,17 +9,24 @@ import mongo from '#mongo' import { internalError } from '@data-fair/lib-node/observer.js' import { isDocumentTooLargeError, shouldDisableForFailures } from './runs-operations.ts' +const runTitles = { + 'log-error': (title: string) => ({ en: `The processing ${title} finished but its log contains errors`, fr: `Le traitement ${title} s'est terminé mais son journal contient des erreurs` }), + 'finish-ok': (title: string) => ({ en: `The processing ${title} finished without errors`, fr: `Le traitement ${title} s'est terminé sans erreur` }), + 'finish-error': (title: string) => ({ en: `The processing ${title} failed`, fr: `Le traitement ${title} a échoué` }), + disabled: (title: string) => ({ en: `The processing ${title} was disabled after failing ${config.maxFailures} times in a row`, fr: `Le traitement ${title} a été désactivé après ${config.maxFailures} échecs consécutifs` }) +} + const sendProcessingEvent = ( run: Run, - statusText: string, - statusKey: string, + action: keyof typeof runTitles, body?: string ) => { - // @test:spy("pushEvent", `processings:processing-${statusKey}:${run.processing._id}`) + // @test:spy("pushEvent", `processings:processing-${action}:${run.processing._id}`) eventsQueue.pushEvent({ - title: `Le traitement ${run.processing.title} ${statusText}.`, - topic: { key: `processings:processing-${statusKey}:${run.processing._id}` }, + title: runTitles[action](run.processing.title), + topic: { key: `processings:processing-${action}:${run.processing._id}` }, sender: run.owner, + // the run's own error messages, not translated body, visibility: 'private' as const, urlParams: { @@ -28,7 +35,7 @@ const sendProcessingEvent = ( resource: { type: 'processing', id: run.processing._id, - title: 'Traitement associé : ' + run.processing.title, + title: run.processing.title, }, originator: { internalProcess: { @@ -118,17 +125,12 @@ export const finish = async (run: Run, errorMessage: string | undefined = undefi if (lastRun.status === 'finished') { const errorLogs = lastRun.log.filter((l) => l.type === 'error') if (errorLogs.length) { - sendProcessingEvent( - run, - 's\'est terminé correctement mais son journal contient des erreurs', - 'log-error', - errorLogs.map((l) => l.msg).join('\n --- \n') - ) + sendProcessingEvent(run, 'log-error', errorLogs.map((l) => l.msg).join('\n --- \n')) } else { - sendProcessingEvent(run, 's\'est terminé sans erreurs', 'finish-ok') + sendProcessingEvent(run, 'finish-ok') } } else if (lastRun.status === 'error') { - sendProcessingEvent(run, 'a échoué', 'finish-error', errorMessage) + sendProcessingEvent(run, 'finish-error', errorMessage) const raw = (await mongo.runs.aggregate([ { $match: { 'processing._id': run.processing._id } }, @@ -167,7 +169,7 @@ export const finish = async (run: Run, errorMessage: string | undefined = undefi { _id: run.processing._id }, { $set: { active: false } } ) - sendProcessingEvent(run, `a été désactivé car il a échoué ${config.maxFailures} fois de suite`, 'disabled') + sendProcessingEvent(run, 'disabled') } } From 395a69fbc17ed60503d6649729fa91f84386ca65 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Fri, 13 Nov 2026 10:28:31 +0100 Subject: [PATCH 02/12] fix(events): name the worker in the originator title of the run events The events UI reads internalProcess.title: with a name only, the run events showed a generic "Internal process" instead of "Processings Worker". --- worker/src/utils/runs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/utils/runs.ts b/worker/src/utils/runs.ts index 9bddbe09..4841b475 100644 --- a/worker/src/utils/runs.ts +++ b/worker/src/utils/runs.ts @@ -40,7 +40,7 @@ const sendProcessingEvent = ( originator: { internalProcess: { id: 'processings-worker', - name: 'Processings Worker' + title: 'Processings Worker' } } }) From 4911dc9205a6e57796fdbbd9bc2bdd365f494006 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Fri, 13 Nov 2026 10:28:36 +0100 Subject: [PATCH 03/12] refactor(events): the manual trigger is the default text of the trigger event The trigger-manual default was never used, both calls passed their text. --- api/src/processings/router.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/processings/router.ts b/api/src/processings/router.ts index 9c9c2372..d2f969be 100644 --- a/api/src/processings/router.ts +++ b/api/src/processings/router.ts @@ -124,7 +124,7 @@ const processingTitles = { create: (title: string) => ({ en: `The processing ${title} was created`, fr: `Le traitement ${title} a été créé` }), patch: (title: string) => ({ en: `The processing ${title} was updated`, fr: `Le traitement ${title} a été modifié` }), delete: (title: string) => ({ en: `The processing ${title} was deleted`, fr: `Le traitement ${title} a été supprimé` }), - 'trigger-manual': (title: string) => ({ en: `The processing ${title} was triggered manually`, fr: `Le traitement ${title} a été déclenché manuellement` }), + trigger: (title: string) => ({ en: `The processing ${title} was triggered manually`, fr: `Le traitement ${title} a été déclenché manuellement` }), 'trigger-webhook': (title: string) => ({ en: `The processing ${title} was triggered by a webhook`, fr: `Le traitement ${title} a été déclenché par webhook` }) } @@ -137,7 +137,7 @@ const sendProcessingEvent = ( processing: Processing, topicAction: 'create' | 'patch' | 'delete' | 'trigger', sessionState?: SessionStateAuthenticated, - textAction: keyof typeof processingTitles = topicAction === 'trigger' ? 'trigger-manual' : topicAction + textAction: keyof typeof processingTitles = topicAction ) => { eventsQueue.pushEvent({ title: processingTitles[textAction](processing.title), @@ -593,7 +593,7 @@ router.post('/:id/_trigger', async (req, res) => { assertReqScope(req, acceptedScopes('processings', 'write')) const sessionState = await session.reqAuthenticated(req) if (!['admin', 'exec'].includes(permissions.getUserResourceProfile(processing.owner, processing.permissions, sessionState) ?? '')) return res.status(403).send() - sendProcessingEvent(processing, 'trigger', sessionState, 'trigger-manual') + sendProcessingEvent(processing, 'trigger', sessionState) } if (!processing.active) return res.status(409).send('Le traitement n\'est pas actif') res.send(await createNext(mongo.db, locks, processing, true, req.query.delay ? Number(req.query.delay) : 0)) From 14de236672d338de9c1bb831fcfe6c08f5d09d33 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Fri, 13 Nov 2026 15:12:51 +0100 Subject: [PATCH 04/12] feat(i18n): the edit form and the UI follow the session language - processing and permission schemas: english base keywords, the existing french moved to x-i18n-title / x-i18n-description / x-i18n-label / x-i18n-addItem with a fr value; the permission profiles use short technical titles (ReadProfile, ExecProfile) with the full english text in x-i18n-title.en; no import used the old generated type names - agent-surface golden regenerated for the new schema titles - plugin title, description and group taken in the session language, falling back on the other one (localizedText helper), instead of always fr - localized dayjs formats (lll, L LT) instead of hard-coded french date formats - App.vue sets the document lang from the session; createI18n gets legacy: false and fallbackLocale: 'en' - "Status", "Plugin" and the config section title through keys, the auth error of the new processing page too; private-access i18n block lists en first - task progress numbers formatted with the session locale --- api/types/permission/schema.js | 39 +++++++--- api/types/processing/schema.js | 31 +++++--- tests/fixtures/agent-surface.json | 78 +++++++++++++++---- ui/src/App.vue | 3 + ui/src/components/private-access.vue | 8 +- .../processing/processing-activity.vue | 4 +- .../components/processing/processing-card.vue | 4 +- ui/src/components/processings-actions.vue | 12 ++- ui/src/components/run/run-list-item.vue | 2 +- ui/src/components/run/run-logs-list.vue | 6 +- ui/src/main.ts | 2 +- ui/src/pages/processings/[id]/index.vue | 8 +- ui/src/pages/processings/new.vue | 10 ++- ui/src/utils/localized-text.ts | 9 +++ 14 files changed, 157 insertions(+), 59 deletions(-) create mode 100644 ui/src/utils/localized-text.ts diff --git a/api/types/permission/schema.js b/api/types/permission/schema.js index 591b7555..533a8339 100644 --- a/api/types/permission/schema.js +++ b/api/types/permission/schema.js @@ -14,21 +14,38 @@ export default { properties: { profile: { type: 'string', - title: 'profil', + title: 'Profile', + 'x-i18n-title': { fr: 'Profil' }, default: 'read', oneOf: [ - { const: 'read', title: "lecture - permet d'accéder aux informations essentielles du traitement dont les logs, mais pas aux informations sensibles" }, - { const: 'exec', title: "exécution - permet d'accéder aux informations essentielles du traitement et de déclencher le traitement" } + { + const: 'read', + title: 'Read profile', + 'x-i18n-title': { + en: 'Read - gives access to the essential information of the processing, logs included, but not to the sensitive information', + fr: "Lecture - permet d'accéder aux informations essentielles du traitement dont les logs, mais pas aux informations sensibles" + } + }, + { + const: 'exec', + title: 'Exec profile', + 'x-i18n-title': { + en: 'Execution - gives access to the essential information of the processing and allows to trigger it', + fr: "Exécution - permet d'accéder aux informations essentielles du traitement et de déclencher le traitement" + } + } ] }, target: { type: 'object', oneOfLayout: { - label: 'type de cible' + label: 'Target type', + 'x-i18n-label': { fr: 'Type de cible' } }, oneOf: [ { - title: 'utilisateur désigné par son email', + title: 'User email', + 'x-i18n-title': { en: 'User designated by their email', fr: 'Utilisateur désigné par son email' }, required: ['email'], properties: { type: { @@ -36,12 +53,14 @@ export default { }, email: { type: 'string', - title: 'email' + title: 'Email', + 'x-i18n-title': { fr: 'Email' } } } }, { - title: 'organisation partenaire', + title: 'Partner organization', + 'x-i18n-title': { fr: 'Organisation partenaire' }, required: ['organization', 'roles'], properties: { type: { @@ -49,7 +68,8 @@ export default { }, organization: { type: 'object', - title: 'organisation', + title: 'Organization', + 'x-i18n-title': { fr: 'Organisation' }, additionalProperties: true, layout: { cols: 8, @@ -72,7 +92,8 @@ export default { }, roles: { type: 'array', - title: 'rôles', + title: 'Roles', + 'x-i18n-title': { fr: 'Rôles' }, default: ['admin'], layout: { cols: 4 }, items: { diff --git a/api/types/processing/schema.js b/api/types/processing/schema.js index 6aa5360e..ce34be75 100644 --- a/api/types/processing/schema.js +++ b/api/types/processing/schema.js @@ -21,15 +21,18 @@ export default { properties: { _id: { type: 'string', - title: 'Identifiant du traitement', + title: 'Processing ID', + 'x-i18n-title': { fr: 'Identifiant du traitement' }, readOnly: true }, title: { type: 'string', - title: 'Titre' + title: 'Title', + 'x-i18n-title': { fr: 'Titre' } }, active: { - title: 'Actif', + title: 'Active', + 'x-i18n-title': { fr: 'Actif' }, type: 'boolean', default: false, layout: { @@ -76,8 +79,10 @@ export default { }, debug: { type: 'boolean', - title: 'Mode debug', - description: 'Capture des logs détaillés (stacks d\'erreurs, appels HTTP) réservés aux super-admins, pour diagnostiquer un plugin en erreur.', + title: 'Debug mode', + 'x-i18n-title': { fr: 'Mode debug' }, + description: 'Captures detailed logs (error stacks, HTTP calls) reserved to super-admins, to diagnose a failing plugin.', + 'x-i18n-description': { fr: 'Capture des logs détaillés (stacks d\'erreurs, appels HTTP) réservés aux super-admins, pour diagnostiquer un plugin en erreur.' }, readOnly: true }, owner: { @@ -91,10 +96,12 @@ export default { }, scheduling: { type: 'array', - title: 'Planification du traitement', + title: 'Processing scheduling', + 'x-i18n-title': { fr: 'Planification du traitement' }, layout: { messages: { - addItem: 'Ajouter une règle de planification' + addItem: 'Add a scheduling rule', + 'x-i18n-addItem': { fr: 'Ajouter une règle de planification' } }, cols: 6 }, @@ -114,7 +121,8 @@ export default { title: 'Permissions', layout: { messages: { - addItem: 'Ajouter une permission' + addItem: 'Add a permission', + 'x-i18n-addItem': { fr: 'Ajouter une permission' } }, cols: 6 }, @@ -153,16 +161,17 @@ export default { lastRun: jsonSchema(RunSchema) .removeId() .removeProperties(['log', 'processing', 'owner']) - .appendTitle('Dernière exécution') + .appendTitle(' last run') .schema, nextRun: jsonSchema(RunSchema) .removeId() .removeProperties(['log', 'processing', 'owner']) - .appendTitle('Prochaine exécution') + .appendTitle(' next run') .schema, webhookKey: { type: 'string', - title: 'Clé pour exécution à distance du traitement', + title: 'Remote execution key of the processing', + 'x-i18n-title': { fr: 'Clé pour exécution à distance du traitement' }, readOnly: true } }, diff --git a/tests/fixtures/agent-surface.json b/tests/fixtures/agent-surface.json index f3385c12..b39da705 100644 --- a/tests/fixtures/agent-surface.json +++ b/tests/fixtures/agent-surface.json @@ -95,7 +95,10 @@ "properties": { "title": { "type": "string", - "title": "Titre" + "title": "Title", + "x-i18n-title": { + "fr": "Titre" + } }, "plugin": { "type": "string", @@ -318,10 +321,16 @@ }, "title": { "type": "string", - "title": "Titre" + "title": "Title", + "x-i18n-title": { + "fr": "Titre" + } }, "active": { - "title": "Actif", + "title": "Active", + "x-i18n-title": { + "fr": "Actif" + }, "type": "boolean", "default": false, "layout": { @@ -341,10 +350,16 @@ }, "scheduling": { "type": "array", - "title": "Planification du traitement", + "title": "Processing scheduling", + "x-i18n-title": { + "fr": "Planification du traitement" + }, "layout": { "messages": { - "addItem": "Ajouter une règle de planification" + "addItem": "Add a scheduling rule", + "x-i18n-addItem": { + "fr": "Ajouter une règle de planification" + } }, "cols": 6 }, @@ -817,7 +832,10 @@ "title": "Permissions", "layout": { "messages": { - "addItem": "Ajouter une permission" + "addItem": "Add a permission", + "x-i18n-addItem": { + "fr": "Ajouter une permission" + } }, "cols": 6 }, @@ -832,27 +850,45 @@ "properties": { "profile": { "type": "string", - "title": "profil", + "title": "Profile", + "x-i18n-title": { + "fr": "Profil" + }, "default": "read", "oneOf": [ { "const": "read", - "title": "lecture - permet d'accéder aux informations essentielles du traitement dont les logs, mais pas aux informations sensibles" + "title": "Read profile", + "x-i18n-title": { + "en": "Read - gives access to the essential information of the processing, logs included, but not to the sensitive information", + "fr": "Lecture - permet d'accéder aux informations essentielles du traitement dont les logs, mais pas aux informations sensibles" + } }, { "const": "exec", - "title": "exécution - permet d'accéder aux informations essentielles du traitement et de déclencher le traitement" + "title": "Exec profile", + "x-i18n-title": { + "en": "Execution - gives access to the essential information of the processing and allows to trigger it", + "fr": "Exécution - permet d'accéder aux informations essentielles du traitement et de déclencher le traitement" + } } ] }, "target": { "type": "object", "oneOfLayout": { - "label": "type de cible" + "label": "Target type", + "x-i18n-label": { + "fr": "Type de cible" + } }, "oneOf": [ { - "title": "utilisateur désigné par son email", + "title": "User email", + "x-i18n-title": { + "en": "User designated by their email", + "fr": "Utilisateur désigné par son email" + }, "required": [ "email" ], @@ -862,12 +898,18 @@ }, "email": { "type": "string", - "title": "email" + "title": "Email", + "x-i18n-title": { + "fr": "Email" + } } } }, { - "title": "organisation partenaire", + "title": "Partner organization", + "x-i18n-title": { + "fr": "Organisation partenaire" + }, "required": [ "organization", "roles" @@ -878,7 +920,10 @@ }, "organization": { "type": "object", - "title": "organisation", + "title": "Organization", + "x-i18n-title": { + "fr": "Organisation" + }, "additionalProperties": true, "layout": { "cols": 8, @@ -900,7 +945,10 @@ }, "roles": { "type": "array", - "title": "rôles", + "title": "Roles", + "x-i18n-title": { + "fr": "Rôles" + }, "default": [ "admin" ], diff --git a/ui/src/App.vue b/ui/src/App.vue index a2d309dd..9a4450b3 100644 --- a/ui/src/App.vue +++ b/ui/src/App.vue @@ -9,4 +9,7 @@ diff --git a/ui/src/components/private-access.vue b/ui/src/components/private-access.vue index f737225a..73cf93a4 100644 --- a/ui/src/components/private-access.vue +++ b/ui/src/components/private-access.vue @@ -32,14 +32,14 @@ -fr: - public: Public - privateAccess: Vue restreinte à des comptes - searchName: Saisissez un nom d'organisation / un utilisateur en: public: Public privateAccess: Restricted access to some accounts searchName: Search an organization name / a user name +fr: + public: Public + privateAccess: Vue restreinte à des comptes + searchName: Saisissez un nom d'organisation / un utilisateur From e77e07b98ff9813e4d2ddcfbd1ade6cc7754fdfd Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Mon, 16 Nov 2026 09:49:17 +0100 Subject: [PATCH 11/12] docs(ui): point the { en, fr } reader to its registry reference Co-Authored-By: Claude Opus 5.5 --- ui/src/utils/localized-text.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/ui/src/utils/localized-text.ts b/ui/src/utils/localized-text.ts index 006d2c84..4d80c7e2 100644 --- a/ui/src/utils/localized-text.ts +++ b/ui/src/utils/localized-text.ts @@ -1,10 +1,7 @@ +// copy of the reading rule of { en, fr } registry values, see https://github.com/data-fair/registry/blob/main/ui/src/utils/localized.ts + type LocalizedText = { fr?: string, en?: string } -/** - * text of a { en, fr } value stored by the registry (plugin title, description, group) - * French sessions read the French text, every other session language reads the English one, - * each falling back on the other language - */ export const localizedText = (value: LocalizedText | undefined, lang: string | undefined): string | undefined => { if (!value) return undefined return lang?.startsWith('fr') ? (value.fr || value.en || undefined) : (value.en || value.fr || undefined) From d71fe5a6976d219c61c72f94ed7ba5f016b905d0 Mon Sep 17 00:00:00 2001 From: BatLeDev Date: Mon, 16 Nov 2026 11:25:16 +0100 Subject: [PATCH 12/12] chore(deps): lib-utils 1.15.0, lib-common-types 1.28.1, lib-vuetify 2.5.4 The lib releases of the fr/en pass: dates in the session language for non French locales, English byte units, English schema bases, translated search-address and date-match-filter. Co-Authored-By: Claude Opus 5.5 --- api/package.json | 4 ++-- package-lock.json | 32 ++++++++++++++++---------------- package.json | 4 ++-- shared/package.json | 2 +- ui/package.json | 4 ++-- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/api/package.json b/api/package.json index 56489c7d..7c43ce31 100644 --- a/api/package.json +++ b/api/package.json @@ -20,11 +20,11 @@ "@types/ws": "^8.5.12" }, "dependencies": { - "@data-fair/lib-common-types": "^1.27.0", + "@data-fair/lib-common-types": "^1.28.1", "@data-fair/lib-express": "^1.34.1", "@data-fair/lib-node": "^2.16.1", "@data-fair/lib-node-registry": "0.7.2", - "@data-fair/lib-utils": "^1.13.1", + "@data-fair/lib-utils": "^1.15.0", "@data-fair/lib-validation": "^1.0.2", "@data-fair/processings-shared": "*", "@json-layout/core": "^2.13.3", diff --git a/package-lock.json b/package-lock.json index 11019c1c..3e605045 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,10 +20,10 @@ "devDependencies": { "@commitlint/cli": "^21.2.3", "@commitlint/config-conventional": "^21.2.3", - "@data-fair/lib-common-types": "^1.27.0", + "@data-fair/lib-common-types": "^1.28.1", "@data-fair/lib-dev": "^0.1.0", "@data-fair/lib-node": "^2.16.1", - "@data-fair/lib-utils": "^1.14.0", + "@data-fair/lib-utils": "^1.15.0", "@data-fair/openapi-mcp": "^0.12.0", "@json-layout/agents": "^0.5.0", "@playwright/test": "^1.52.0", @@ -48,11 +48,11 @@ }, "api": { "dependencies": { - "@data-fair/lib-common-types": "^1.27.0", + "@data-fair/lib-common-types": "^1.28.1", "@data-fair/lib-express": "^1.34.1", "@data-fair/lib-node": "^2.16.1", "@data-fair/lib-node-registry": "0.7.2", - "@data-fair/lib-utils": "^1.13.1", + "@data-fair/lib-utils": "^1.15.0", "@data-fair/lib-validation": "^1.0.2", "@data-fair/processings-shared": "*", "@json-layout/core": "^2.13.3", @@ -533,9 +533,9 @@ "license": "MIT" }, "node_modules/@data-fair/lib-common-types": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/@data-fair/lib-common-types/-/lib-common-types-1.27.0.tgz", - "integrity": "sha512-4Aol9enLJo8Ut4ypNwPa5X0XYJ/IUuH6iuhfGw/+a6+XFljPfXi+UNw/WorMUDWU0HhnJGPzHT27edlR6tXKRw==", + "version": "1.28.1", + "resolved": "https://registry.npmjs.org/@data-fair/lib-common-types/-/lib-common-types-1.28.1.tgz", + "integrity": "sha512-joY6owKDY5vhlM9YaUBT70WzM2ZqzZq3Q8Eq4lvyUqgnsKu75Cr+yoHoPJXkWyGrIg+4eVz185vunRlWJTL3iQ==", "license": "MIT", "dependencies": { "@data-fair/lib-utils": "^1.6.1", @@ -695,9 +695,9 @@ } }, "node_modules/@data-fair/lib-utils": { - "version": "1.14.0", - "resolved": "https://registry.npmjs.org/@data-fair/lib-utils/-/lib-utils-1.14.0.tgz", - "integrity": "sha512-4a/E73ORqOrv/aJqk8GUO1mh3o2c4/LRA1x2KYngeJculJdTgv2ZZnjW9tJGyD6RCthzco4Twnk00UMI5cjLNw==", + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/@data-fair/lib-utils/-/lib-utils-1.15.0.tgz", + "integrity": "sha512-obo84Se8fnLg5L1+vtU/UM+7Xh2FNUegrlH41q96fKupg7KYgPu+P4Nz+nk8wXnnRVBq7E1lZNZ2MhbNWc5K+Q==", "license": "MIT", "peerDependencies": { "dayjs": "1" @@ -754,9 +754,9 @@ } }, "node_modules/@data-fair/lib-vuetify": { - "version": "2.5.3", - "resolved": "https://registry.npmjs.org/@data-fair/lib-vuetify/-/lib-vuetify-2.5.3.tgz", - "integrity": "sha512-C7lmw7/99fjRpM21AJDw3m97RXwAMDdcL06qlD5BwNejfpk2lIjVhI3gpP9madnMrX1gQky01QSXuyMLuLIvDA==", + "version": "2.5.4", + "resolved": "https://registry.npmjs.org/@data-fair/lib-vuetify/-/lib-vuetify-2.5.4.tgz", + "integrity": "sha512-NXa7TjteQWv7cTsmTAhy+fmqGEwRRus2JcIGfLKqrAlKFJzajPKZgU19RDJWM9nriA1QT8PIdNH4wxtZAbXqFg==", "license": "MIT", "dependencies": { "@data-fair/lib-common-types": "^1.10.4", @@ -10032,7 +10032,7 @@ "name": "@data-fair/processings-shared", "dependencies": { "@data-fair/lib-node": "^2.16.1", - "@data-fair/lib-utils": "^1.13.1", + "@data-fair/lib-utils": "^1.15.0", "croner": "^9.1.0", "dayjs": "^1.11.13", "fs-extra": "^11.3.0", @@ -10063,9 +10063,9 @@ "ui": { "dependencies": { "@data-fair/frame": "^0.18.4", - "@data-fair/lib-utils": "^1.13.1", + "@data-fair/lib-utils": "^1.15.0", "@data-fair/lib-vue": "^1.31.1", - "@data-fair/lib-vuetify": "^2.5.1", + "@data-fair/lib-vuetify": "^2.5.4", "@data-fair/processings-shared": "*", "@intlify/unplugin-vue-i18n": "^11.0.7", "@koumoul/vjsf": "^4.2.0", diff --git a/package.json b/package.json index 73cdcd2c..2c0064dd 100644 --- a/package.json +++ b/package.json @@ -47,10 +47,10 @@ "devDependencies": { "@commitlint/cli": "^21.2.3", "@commitlint/config-conventional": "^21.2.3", - "@data-fair/lib-common-types": "^1.27.0", + "@data-fair/lib-common-types": "^1.28.1", "@data-fair/lib-dev": "^0.1.0", "@data-fair/lib-node": "^2.16.1", - "@data-fair/lib-utils": "^1.14.0", + "@data-fair/lib-utils": "^1.15.0", "@data-fair/openapi-mcp": "^0.12.0", "@json-layout/agents": "^0.5.0", "@playwright/test": "^1.52.0", diff --git a/shared/package.json b/shared/package.json index 1ed1dc33..246a4019 100644 --- a/shared/package.json +++ b/shared/package.json @@ -3,7 +3,7 @@ "type": "module", "dependencies": { "@data-fair/lib-node": "^2.16.1", - "@data-fair/lib-utils": "^1.13.1", + "@data-fair/lib-utils": "^1.15.0", "croner": "^9.1.0", "dayjs": "^1.11.13", "fs-extra": "^11.3.0", diff --git a/ui/package.json b/ui/package.json index cd29c4ec..ed50041d 100644 --- a/ui/package.json +++ b/ui/package.json @@ -17,9 +17,9 @@ }, "dependencies": { "@data-fair/frame": "^0.18.4", - "@data-fair/lib-utils": "^1.13.1", + "@data-fair/lib-utils": "^1.15.0", "@data-fair/lib-vue": "^1.31.1", - "@data-fair/lib-vuetify": "^2.5.1", + "@data-fair/lib-vuetify": "^2.5.4", "@data-fair/processings-shared": "*", "@intlify/unplugin-vue-i18n": "^11.0.7", "@koumoul/vjsf": "^4.2.0",