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:
@@ -15,7 +15,7 @@ export interface TrainingInputs$Params {
|
||||
}
|
||||
|
||||
export function trainingInputs(http: HttpClient, rootUrl: string, params: TrainingInputs$Params, context?: HttpContext): Observable<StrictHttpResponse<{
|
||||
[key: string]: any;
|
||||
[key: string]: Array<string>;
|
||||
}>> {
|
||||
const rb = new RequestBuilder(rootUrl, trainingInputs.PATH, 'get');
|
||||
if (params) {
|
||||
@@ -29,7 +29,7 @@ export function trainingInputs(http: HttpClient, rootUrl: string, params: Traini
|
||||
filter((r: any): r is HttpResponse<any> => r instanceof HttpResponse),
|
||||
map((r: HttpResponse<any>) => {
|
||||
return r as StrictHttpResponse<{
|
||||
[key: string]: any;
|
||||
[key: string]: Array<string>;
|
||||
}>;
|
||||
})
|
||||
);
|
||||
|
||||
@@ -23,6 +23,7 @@ export type { Execution } from './models/execution';
|
||||
export type { Extract } from './models/extract';
|
||||
export type { Fhir } from './models/fhir';
|
||||
export type { FieldSpec } from './models/field-spec';
|
||||
export type { FolderTrainingSource } from './models/folder-training-source';
|
||||
export type { Group } from './models/group';
|
||||
export type { Guided } from './models/guided';
|
||||
export type { Health } from './models/health';
|
||||
@@ -57,6 +58,7 @@ export type { Scope } from './models/scope';
|
||||
export type { Score } from './models/score';
|
||||
export type { SignIn } from './models/sign-in';
|
||||
export type { Site } from './models/site';
|
||||
export type { SiteTrainingSource } from './models/site-training-source';
|
||||
export type { Source } from './models/source';
|
||||
export type { SourceRef } from './models/source-ref';
|
||||
export type { SourceType } from './models/source-type';
|
||||
|
||||
@@ -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';
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user