C1a: code only, no comments, no Markdown
Remove 125 JavaScript, TypeScript, and stylesheet comments and nine configuration comments. The submodule had zero tracked Markdown files. Remove the Markdown-only EditorConfig section. Keep the generated client headers and tool directives. Delete other comments in place without regenerating the client or changing OpenAPI data.
This commit is contained in:
@@ -3,14 +3,8 @@
|
||||
|
||||
export interface Condition {
|
||||
|
||||
/**
|
||||
* Por ejemplo «text», el texto leído del documento.
|
||||
*/
|
||||
column: string;
|
||||
op: 'equals' | 'contains' | 'matches' | 'present';
|
||||
|
||||
/**
|
||||
* Lo que se busca; por ejemplo «citología».
|
||||
*/
|
||||
value?: string;
|
||||
}
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* One field of one record as a reviewer read it in the source document: an identity
|
||||
* field (a mistyped record number) or a study's (a stage the scan made unreadable).
|
||||
*/
|
||||
export interface Correction {
|
||||
entity?: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'breast_recurrence' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
|
||||
field: string;
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
import { Domain } from './domain';
|
||||
|
||||
/**
|
||||
* Each possible value of `Domain`
|
||||
*/
|
||||
export const DOMAIN: Domain[] = [
|
||||
'cacu',
|
||||
'cama',
|
||||
|
||||
@@ -3,30 +3,12 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* EDF files (a column of file hashes) to the facts their header holds: patient code, sex,
|
||||
* birth date, recording date, record code, duration and channel count, as `edf_*` columns.
|
||||
* An unreadable file keeps its row with `edf_error` set.
|
||||
*
|
||||
* Use a filesystem source (`dlt.sources.filesystem:filesystem`) with the uploads folder as
|
||||
* `bucket_url`, `file_glob: "*.edf"`, and `then: "persistance.readers:read_bytes"`. Read its
|
||||
* `content` column with this node. Map `edf_patient_code`, `edf_birth_date`, and `edf_sex` to
|
||||
* identity's `record_number`, `birth_date`, and `sex`, using the site's formats and ConceptMap.
|
||||
*
|
||||
* The patient code must match the hospital's record number including its prefix. Feed the
|
||||
* identity map into the pipeline's link node alongside the hospital identity source. Map
|
||||
* `edf_study_date` to `study_date` (format `%Y-%m-%d`), `edf_record_code` to `lab_record_id`,
|
||||
* and `content` to `edf`, then feed that map and the link into a target with entity `eeg`.
|
||||
*/
|
||||
export interface Edf {
|
||||
column: string;
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'edf';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
}
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* What a request or a job config carries: None means the deployment's default.
|
||||
*/
|
||||
export interface Execution {
|
||||
mode?: ('sync' | 'local' | 'remote' | null);
|
||||
scheduler?: (string | null);
|
||||
|
||||
@@ -3,50 +3,27 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Platform fields read from text, each kept with the text it was read from.
|
||||
*
|
||||
* `auto` asks the LLM when one is configured and answering, else applies `patterns`;
|
||||
* with neither, the row is held. Patterns are regexes with one group, per field (the
|
||||
* LLM can propose them from sample documents); their values go through the ConceptMap
|
||||
* and `formats` as in `map`.
|
||||
*/
|
||||
export interface Extract {
|
||||
column: (string | Array<string>);
|
||||
|
||||
/**
|
||||
* Dato → columna, sin leer el texto.
|
||||
*/
|
||||
columns?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
concept_map?: (string | null);
|
||||
|
||||
/**
|
||||
* Qué estudio se saca del documento.
|
||||
*/
|
||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'breast_recurrence' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
|
||||
formats?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Para el modelo de lenguaje.
|
||||
*/
|
||||
hints?: string;
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'extract';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
method?: 'auto' | 'llm' | 'patterns';
|
||||
|
||||
/**
|
||||
* Dato → expresión con un grupo ( ).
|
||||
*/
|
||||
patterns?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
|
||||
@@ -3,11 +3,6 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* FHIR R4 Bundles a standard hospital sent (a column of their JSON) as rows of one
|
||||
* entity: identity, death or a study (core.fhir_in). The sender's own codes go through
|
||||
* its ConceptMap.
|
||||
*/
|
||||
export interface Fhir {
|
||||
column?: string;
|
||||
concept_map?: (string | null);
|
||||
@@ -16,9 +11,6 @@ export interface Fhir {
|
||||
inputs?: Array<string>;
|
||||
kind?: 'fhir';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
}
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
export interface FolderTrainingSource {
|
||||
|
||||
/**
|
||||
* Carpeta dentro de TEA_REFERENCE_ROOT
|
||||
*/
|
||||
folder: string;
|
||||
kind: 'folder';
|
||||
line_hz?: 50 | 60;
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* How the Conectar dialog drew a source: its type (core.sources) and the answers given.
|
||||
* The node's dlt fields are made from them; drawn by hand ("Avanzado"), a node has none.
|
||||
*/
|
||||
export interface Guided {
|
||||
answers?: {
|
||||
[key: string]: any;
|
||||
|
||||
@@ -3,23 +3,14 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Two inputs side by side where their columns match.
|
||||
*/
|
||||
export interface Join {
|
||||
how?: 'inner' | 'left';
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'join';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
|
||||
/**
|
||||
* Columna de la primera entrada = columna de la segunda.
|
||||
*/
|
||||
on: Array<[string, string]>;
|
||||
position?: (Position | null);
|
||||
}
|
||||
|
||||
@@ -3,33 +3,16 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Identity rows from every input, grouped into persons (Splink).
|
||||
*
|
||||
* Two records are the same person when any rule holds (Splink's SQL rule syntax, `l.`
|
||||
* and `r.` for the two records); persons are the connected groups. A person whose
|
||||
* records disagree on birth date or sex is held for review as a whole. Pairs Splink
|
||||
* scores above `review` that ended up apart are queued as possible matches.
|
||||
*/
|
||||
export interface Link {
|
||||
fields?: Array<string>;
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'link';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
|
||||
/**
|
||||
* Parecidos por encima de esto los ve un revisor.
|
||||
*/
|
||||
review?: number;
|
||||
|
||||
/**
|
||||
* Vacío: las de siempre (mismo identificador, o misma fecha de nacimiento y nombre).
|
||||
*/
|
||||
rules?: Array<string>;
|
||||
}
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* What "Probar conexión" shows: a database's tables (the resources of `source`, built
|
||||
* from `args`), or the first rows the type's own node reads (files, records).
|
||||
*/
|
||||
export interface Listing {
|
||||
args?: {
|
||||
[key: string]: any;
|
||||
|
||||
@@ -3,27 +3,14 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Columns to platform fields, the site's codes translated by its ConceptMap
|
||||
* (core.concept_map), and its date formats.
|
||||
*/
|
||||
export interface Map {
|
||||
|
||||
/**
|
||||
* La tabla de códigos del sitio.
|
||||
*/
|
||||
concept_map?: (string | null);
|
||||
|
||||
/**
|
||||
* Dato de la plataforma → columna del sitio.
|
||||
*/
|
||||
fields: {
|
||||
[key: string]: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Por ejemplo %d/%m/%Y.
|
||||
*/
|
||||
formats?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
@@ -31,15 +18,9 @@ export interface Map {
|
||||
inputs?: Array<string>;
|
||||
kind?: 'map';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
|
||||
/**
|
||||
* Un dato igual para todas las filas.
|
||||
*/
|
||||
values?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
|
||||
@@ -4,9 +4,6 @@
|
||||
import { Tasks } from '../models/tasks';
|
||||
import { Worker } from '../models/worker';
|
||||
|
||||
/**
|
||||
* The run tag's JSON; the API returns it as it is.
|
||||
*/
|
||||
export interface Progress {
|
||||
done: number;
|
||||
elapsed_s: number;
|
||||
|
||||
@@ -2,9 +2,6 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* A sign-in button's OAuth 2.0 provider (authorization code flow).
|
||||
*/
|
||||
export interface Provider {
|
||||
authorize_params?: {
|
||||
[key: string]: string;
|
||||
|
||||
@@ -3,22 +3,13 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Files in a column (PDF, Word, Excel, scans...) to text (MarkItDown, OCRmyPDF).
|
||||
*/
|
||||
export interface Read {
|
||||
|
||||
/**
|
||||
* Donde la entrada trae cada documento.
|
||||
*/
|
||||
column: string;
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'read';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
}
|
||||
|
||||
@@ -4,24 +4,13 @@
|
||||
import { Condition } from '../models/condition';
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Only the rows where every condition holds (e.g. reports titled "Citología"). An
|
||||
* `otherwise` route takes the rows of its input that none of the other routes on that
|
||||
* input take (documents nobody recognises, for a reviewer), then its own conditions.
|
||||
*/
|
||||
export interface Route {
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'route';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
|
||||
/**
|
||||
* Recoge lo que nadie reconoce, para revisarlo.
|
||||
*/
|
||||
otherwise?: boolean;
|
||||
position?: (Position | null);
|
||||
when?: Array<Condition>;
|
||||
|
||||
@@ -2,10 +2,6 @@
|
||||
/* Code generated by ng-openapi-gen DO NOT EDIT. */
|
||||
|
||||
|
||||
/**
|
||||
* Which EEGs an analysis takes: the pending ones, the first `n` of them, or the named
|
||||
* ones (re-analysis), each named by the `id` that `/tea/eegs` shows.
|
||||
*/
|
||||
export interface Scope {
|
||||
ids?: Array<string>;
|
||||
mode?: 'pending' | 'first_n' | 'ids';
|
||||
|
||||
@@ -4,15 +4,8 @@
|
||||
import { Guided } from '../models/guided';
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* One table, file set or API resource, copied as it is (dlt). Merged on the source's
|
||||
* own primary key or `primary_key`; replaced whole when it has none.
|
||||
*/
|
||||
export interface Source {
|
||||
|
||||
/**
|
||||
* Los de la fuente dlt.
|
||||
*/
|
||||
args?: {
|
||||
[key: string]: any;
|
||||
};
|
||||
@@ -21,29 +14,14 @@ export interface Source {
|
||||
inputs?: Array<string>;
|
||||
kind?: 'source';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
|
||||
/**
|
||||
* Columnas que identifican una fila.
|
||||
*/
|
||||
primary_key?: Array<string>;
|
||||
|
||||
/**
|
||||
* Cuál, si la fuente ofrece varios (una tabla).
|
||||
*/
|
||||
resource?: (string | null);
|
||||
|
||||
/**
|
||||
* Módulo:función de la fuente dlt.
|
||||
*/
|
||||
source: string;
|
||||
|
||||
/**
|
||||
* Transformador dlt para los archivos.
|
||||
*/
|
||||
then?: (string | null);
|
||||
}
|
||||
|
||||
@@ -3,23 +3,13 @@
|
||||
|
||||
import { Position } from '../models/position';
|
||||
|
||||
/**
|
||||
* Rows of platform fields into one platform entity, each row given its person by the
|
||||
* one `link` node among the inputs. Rule breaks are held for review.
|
||||
*/
|
||||
export interface Target {
|
||||
|
||||
/**
|
||||
* En qué estudio de la plataforma se guarda.
|
||||
*/
|
||||
entity: 'identity' | 'cervical_cytology' | 'cervical_biopsy' | 'mammography' | 'breast_biopsy' | 'breast_treatment' | 'breast_recurrence' | 'clinical_note' | 'death' | 'mchat' | 'ados2' | 'eeg';
|
||||
id: string;
|
||||
inputs?: Array<string>;
|
||||
kind?: 'target';
|
||||
|
||||
/**
|
||||
* Cómo se ve en el diagrama.
|
||||
*/
|
||||
label?: string;
|
||||
position?: (Position | null);
|
||||
}
|
||||
|
||||
@@ -5,9 +5,6 @@ import { Execution } from '../models/execution';
|
||||
import { TrainingSource } from '../models/training-source';
|
||||
export interface Training {
|
||||
|
||||
/**
|
||||
* Fecha de corte de los datos (por omisión, hoy)
|
||||
*/
|
||||
as_of?: (string | null);
|
||||
execution?: (Execution | null);
|
||||
models?: Array<string>;
|
||||
|
||||
Reference in New Issue
Block a user