F1a: user fixes

Keep preview visibility in the domain page and reset it on domain changes. Build the source controls from the folder schema, keep folder edits while hidden, and send only the discriminator for site training. Place the existing upload controls in the next card and use the server-declared file types. Keep shared ingestion endpoints used by Conectar and remove the EEG-page upload flow.

Docker socket access was denied and the local environment lacks fastapi-users. Generate the changed OpenAPI route and schemas from the real models router with the production app settings, verify its other routes and schemas against the checked-in document, and run ng-openapi-gen directly from the cached dependencies.
This commit is contained in:
2026-12-01 11:32:48 -06:00
parent 7c98566579
commit 344dafd9fc
15 changed files with 197 additions and 155 deletions
@@ -0,0 +1,12 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
export interface FolderTrainingSource {
/**
* Carpeta dentro de TEA_REFERENCE_ROOT
*/
folder: string;
kind: 'folder';
line_hz?: 50 | 60;
}
@@ -0,0 +1,6 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
export interface SiteTrainingSource {
kind: 'site';
}
+3 -12
View File
@@ -1,16 +1,7 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
export interface TrainingSource {
import { FolderTrainingSource } from '../models/folder-training-source';
import { SiteTrainingSource } from '../models/site-training-source';
export type TrainingSource = (SiteTrainingSource | FolderTrainingSource);
/**
* Carpeta dentro de TEA_REFERENCE_ROOT
*/
folder?: (string | null);
/**
* site: los niños del sitio sin el diagnóstico a la fecha de corte; folder: una carpeta de EDF con edades.csv (path, age en meses)
*/
kind?: 'site' | 'folder';
line_hz?: 50 | 60;
}