Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | SOFTWARE & RESEARCH4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : agentilab-web8 * File : content/public/assets.ts9 * Module : Content10 * Repository : https://git.spboucher.ai/agentilab-web11 * Project Website : Not specified12 * Created : 2026-12-0513 * Last Modified : 2026-12-0514 *15 * Author : Simon-Pierre Boucher16 * Position : Professor of Finance17 * Institution : Université du Québec en Outaouais (UQO)18 * Organization : SP Boucher19 * Website : https://spboucher.ai20 * Git : https://git.spboucher.ai21 *22 * Preferred Contact: contact@spboucher.ai23 * Development : dev@spboucher.ai24 * Support : support@spboucher.ai25 * Security/Admin : admin@spboucher.ai26 *27 * Copyright (c) 202628 * Simon-Pierre Boucher29 * All rights reserved where applicable. This file is governed by the30 * applicable project license, copyright notices and relevant law.31 * Existing third-party rights and notices remain unaffected.32 *33 * License : Proprietary34 *35 * Do not embed credentials, private keys, access tokens,36 * certificates or confidential personal information.37 *38 * =============================================================================39 * END OF SP BOUCHER SOURCE HEADER40 * =============================================================================41 */4243import type { AssetRecord, ImageAsset } from '@/lib/catalog/types';44import orixAssets from './assets.orix.generated.json';45import kaAssets from './assets.ka.generated.json';4647/**48 * Registre des actifs rapatriés par scripts/fetch-assets.mjs depuis les sites49 * publics officiels des produits (source et date dans chaque entrée).50 * Le registre complet, avec droits et usages, est tenu dans docs/CONTENT_INVENTORY.md.51 */52export const assetRecords: AssetRecord[] = [...orixAssets, ...kaAssets];5354export function asset(id: string, alt?: { fr: string; en: string }): ImageAsset | null {55 const record = assetRecords.find((r) => r.id === id);56 if (!record) return null;57 return {58 src: record.file,59 width: record.width,60 height: record.height,61 alt: alt ?? { fr: record.altFr, en: record.altEn },62 };63}64