T3: openapi.json and API client regenerated for the training source

This commit is contained in:
2026-12-01 01:20:29 -06:00
parent f0dd3ec52f
commit 48e6c9f390
5 changed files with 60 additions and 41 deletions
+41 -27
View File
@@ -2348,31 +2348,6 @@
"title": "Read", "title": "Read",
"type": "object" "type": "object"
}, },
"Reference": {
"additionalProperties": false,
"properties": {
"line_hz": {
"default": 50,
"enum": [
50,
60
],
"title": "Frecuencia de la red el\u00e9ctrica (Hz)",
"type": "integer"
},
"name": {
"description": "Carpeta dentro de TEA_REFERENCE_ROOT con los EDF y edades.csv",
"pattern": "^[A-Za-z0-9._-]{1,64}$",
"title": "Cohorte de referencia",
"type": "string"
}
},
"required": [
"name"
],
"title": "Reference",
"type": "object"
},
"Rejection": { "Rejection": {
"properties": { "properties": {
"entity": { "entity": {
@@ -3428,10 +3403,10 @@
"title": "Models", "title": "Models",
"type": "array" "type": "array"
}, },
"reference": { "source": {
"anyOf": [ "anyOf": [
{ {
"$ref": "#/components/schemas/Reference" "$ref": "#/components/schemas/TrainingSource"
}, },
{ {
"type": "null" "type": "null"
@@ -3472,6 +3447,45 @@
"title": "TrainingConfig", "title": "TrainingConfig",
"type": "object" "type": "object"
}, },
"TrainingSource": {
"additionalProperties": false,
"properties": {
"folder": {
"anyOf": [
{
"pattern": "^[A-Za-z0-9._-]{1,64}$",
"type": "string"
},
{
"type": "null"
}
],
"description": "Carpeta dentro de TEA_REFERENCE_ROOT",
"title": "Carpeta"
},
"kind": {
"default": "site",
"description": "site: los ni\u00f1os del sitio sin el diagn\u00f3stico a la fecha de corte; folder: una carpeta de EDF con edades.csv (path, age en meses)",
"enum": [
"site",
"folder"
],
"title": "Origen",
"type": "string"
},
"line_hz": {
"default": 50,
"enum": [
50,
60
],
"title": "Frecuencia de la red el\u00e9ctrica (Hz)",
"type": "integer"
}
},
"title": "Datos de entrenamiento",
"type": "object"
},
"Uploaded": { "Uploaded": {
"properties": { "properties": {
"bucket_url": { "bucket_url": {
+1 -1
View File
@@ -47,7 +47,6 @@ export type { PreviewStatus } from './models/preview-status';
export type { Progress } from './models/progress'; export type { Progress } from './models/progress';
export type { Provider } from './models/provider'; export type { Provider } from './models/provider';
export type { Read } from './models/read'; export type { Read } from './models/read';
export type { Reference } from './models/reference';
export type { Rejection } from './models/rejection'; export type { Rejection } from './models/rejection';
export type { Route } from './models/route'; export type { Route } from './models/route';
export type { Run } from './models/run'; export type { Run } from './models/run';
@@ -68,6 +67,7 @@ export type { Tasks } from './models/tasks';
export type { Tested } from './models/tested'; export type { Tested } from './models/tested';
export type { Training } from './models/training'; export type { Training } from './models/training';
export type { TrainingConfig } from './models/training-config'; export type { TrainingConfig } from './models/training-config';
export type { TrainingSource } from './models/training-source';
export type { Uploaded } from './models/uploaded'; export type { Uploaded } from './models/uploaded';
export type { UserCreate } from './models/user-create'; export type { UserCreate } from './models/user-create';
export type { UserRead } from './models/user-read'; export type { UserRead } from './models/user-read';
-11
View File
@@ -1,11 +0,0 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
export interface Reference {
line_hz?: 50 | 60;
/**
* Carpeta dentro de TEA_REFERENCE_ROOT con los EDF y edades.csv
*/
name: string;
}
+16
View File
@@ -0,0 +1,16 @@
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */
export interface TrainingSource {
/**
* 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;
}
+2 -2
View File
@@ -2,7 +2,7 @@
/* Code generated by ng-openapi-gen DO NOT EDIT. */ /* Code generated by ng-openapi-gen DO NOT EDIT. */
import { Execution } from '../models/execution'; import { Execution } from '../models/execution';
import { Reference } from '../models/reference'; import { TrainingSource } from '../models/training-source';
export interface Training { export interface Training {
/** /**
@@ -11,5 +11,5 @@ export interface Training {
as_of?: (string | null); as_of?: (string | null);
execution?: (Execution | null); execution?: (Execution | null);
models?: Array<string>; models?: Array<string>;
reference?: (Reference | null); source?: (TrainingSource | null);
} }