SPB Git

Repository Public

types.ts 4.5 KB 168 lines typescript

1/**2 * =============================================================================3 *                  SP BOUCHER | SOFTWARE & RESEARCH4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : agentilab-web8 * File             : lib/catalog/types.ts9 * Module           : Catalog10 * 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 { Localized } from '@/lib/i18n/config';4445export type BrandId = 'groupe-ka' | 'orix';46export type Platform = 'web' | 'macos' | 'ios' | 'ipados';47export type ProductStatus = 'available' | 'beta' | 'development' | 'unverified';48export type ProductCategory =49  | 'housing'50  | 'real-estate'51  | 'automotive'52  | 'grocery'53  | 'productivity'54  | 'utilities'55  | 'creativity'56  | 'ai'57  | 'entertainment';5859export interface ImageAsset {60  src: string;61  width: number;62  height: number;63  alt: Localized;64}6566export interface Brand {67  id: BrandId;68  name: string;69  tagline: Localized;70  summary: Localized;71  description: Localized;72  officialUrl: Localized;73  /** Libellé affiché du lien officiel (nom de domaine). */74  officialLabel: string;75  screenshot: ImageAsset | null;76  verifiedAt: string;77  evidenceRef: string;78}7980export interface StoreLink {81  kind: 'app-store';82  url: string;83  verifiedAt: string;84}8586export interface Product {87  /** Identifiant stable, jamais réutilisé. */88  id: string;89  slug: string;90  brandId: BrandId;91  name: Localized;92  summary: Localized;93  description: Localized;94  platforms: Platform[];95  category: ProductCategory;96  status: ProductStatus;97  /** Version publique, seulement si elle a été vérifiée sur la page officielle. */98  version: string | null;99  officialUrl: Localized;100  storeLinks: StoreLink[];101  icon: ImageAsset | null;102  screenshots: ImageAsset[];103  /** Caractéristique de confidentialité propre à ce produit, telle que publiée par sa fiche officielle. */104  privacyNote: Localized | null;105  verifiedAt: string;106  /** Renvoi à docs/CONTENT_INVENTORY.md. Interne : retiré avant tout rendu. */107  evidenceRef: string;108  publish: boolean;109}110111/** Ce que les pages reçoivent : sans preuve interne ni drapeau de publication. */112export type PublicProduct = Omit<Product, 'evidenceRef' | 'publish'>;113114export interface Technology {115  id: string;116  title: Localized;117  text: Localized;118  /** Détail affiché sur la page Technologies seulement. */119  detail: Localized;120  evidenceRef: string;121}122123export interface Milestone {124  date: string;125  title: Localized;126  text: Localized;127  evidenceRef: string;128}129130export interface LegalIdentity {131  legalName: string;132  neq: string;133  constitutedOn: string;134  registeredOn: string;135  form: Localized;136  statute: Localized;137  president: string;138  activity: Localized;139  caeCode: string;140  location: Localized;141  registrySource: Localized;142  registryDate: string;143}144145export type ContactCategoryId = 'institutional' | 'partnership' | 'press' | 'privacy';146147export interface ContactChannel {148  id: string;149  kind: 'email';150  value: string;151  categories: ContactCategoryId[];152  /** Vrai seulement après une réception réelle constatée (voir docs/AUDIT.md). */153  verified: boolean;154  verifiedAt: string | null;155}156157export interface AssetRecord {158  id: string;159  file: string;160  width: number;161  height: number;162  source: string;163  retrievedAt: string;164  altFr: string;165  altEn: string;166  usage: string;167}168
Files main
Menu

Theme