mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-16 11:49:18 +02:00
feat(grid): replace ranking/AI/score with Qlik network data
Remove ranking, AI analysis (routes + ai-copilot module), and score-engine from the grid. Add Qlik Sense network metrics (CA, Qte, nb magasins per product) joined by code centrale (articles.artcentrale). - qlik-client.ts: NTLM + ticket SSO auth, QIX hypercube extraction (master items) - qlik-network-cache.ts + qlik_network_metrics table (db-init): cache layer - POST /api/qlik/sync?fournisseur=: per-supplier sync into cache - SyncQlikButton: per-supplier sync, grid reload, last-update date display - get-product-rows Phase 8: enrich rows with cached network metrics - heatmap-grid: CA reseau / Qte reseau / Magasins (/270) / % presence columns - discovery: app 9872ee6e, master items CA N / Quantite N / Magasin Ventes Nb N - deps: httpntlm, ws Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
02a10caa4b
commit
aee968d30f
34 files changed
+1043
-2925
No files matched your search
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
declare module "httpntlm" {
|
||||
interface NtlmOptions {
|
||||
url: string;
|
||||
username: string;
|
||||
password: string;
|
||||
domain?: string;
|
||||
workstation?: string;
|
||||
headers?: Record<string, string>;
|
||||
rejectUnauthorized?: boolean;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
interface NtlmResponse {
|
||||
statusCode: number;
|
||||
headers: Record<string, unknown>;
|
||||
body: string;
|
||||
}
|
||||
type Cb = (err: Error | null, res: NtlmResponse) => void;
|
||||
const httpntlm: {
|
||||
get(opts: NtlmOptions, cb: Cb): void;
|
||||
post(opts: NtlmOptions, cb: Cb): void;
|
||||
};
|
||||
export default httpntlm;
|
||||
}
|
||||
Reference in new issue
Block a user