UNPKG

@tricoteuses/senat

Version:

Handle French Sénat's open data

82 lines (81 loc) 2.3 kB
import { InferResult } from "kysely"; export type DebatResult = InferResult<typeof findAllQuery>[0]; declare const findAllQuery: import("kysely").SelectQueryBuilder<import("../raw_types/debats").DB, "debats", { id: string; date_seance: string; numero: string | null; url: string | null; etat_synchronisation: string | null; sections: { id: string | null; numero: string | null; objet: string | null; url: string | null; type: string | null; categorie: string | null; interventions: { id: string | null; auteur_code: string; fonction_intervenant: string | null; url: string | null; analyse: string | null; }[]; lecture_id: string; }[]; sections_divers: { type: string | null; categorie: string | null; libelle: string | null; objet: string | null; interventions: { id: string | null; auteur_code: string; fonction_intervenant: string | null; url: string | null; analyse: string | null; }[]; }[]; lectures: { id: string; }[]; }>; export declare function findAll(): AsyncIterableIterator<{ id: string; date_seance: string; numero: string | null; url: string | null; etat_synchronisation: string | null; sections: { id: string | null; numero: string | null; objet: string | null; url: string | null; type: string | null; categorie: string | null; interventions: { id: string | null; auteur_code: string; fonction_intervenant: string | null; url: string | null; analyse: string | null; }[]; lecture_id: string; }[]; sections_divers: { type: string | null; categorie: string | null; libelle: string | null; objet: string | null; interventions: { id: string | null; auteur_code: string; fonction_intervenant: string | null; url: string | null; analyse: string | null; }[]; }[]; lectures: { id: string; }[]; }>; export {};