21 lines
471 B
TypeScript
21 lines
471 B
TypeScript
// frontend/src/types.ts
|
|
|
|
export interface Titular {
|
|
id: number;
|
|
texto: string;
|
|
urlFuente: string | null;
|
|
modificadoPorUsuario: boolean;
|
|
esEntradaManual: boolean;
|
|
ordenVisual: number;
|
|
fechaCreacion: string;
|
|
tipo: 'Scraped' | 'Edited' | 'Manual' | null;
|
|
fuente: string | null;
|
|
viñeta: string | null;
|
|
}
|
|
|
|
export interface Configuracion {
|
|
rutaCsv: string;
|
|
intervaloMinutos: number;
|
|
cantidadTitularesAScrapear: number;
|
|
//limiteTotalEnDb: number;
|
|
} |