@tricoteuses/senat
Version:
Handle French Sénat's open data
104 lines (103 loc) • 4.1 kB
TypeScript
import { InferResult } from "kysely";
export type AmendementResult = InferResult<typeof findAllQuery>[0];
declare const findAllQuery: import("kysely").SelectQueryBuilder<{
amd: import("../raw_types/ameli").Amd;
amdsen: import("../raw_types/ameli").Amdsen;
avicom: import("kysely").Nullable<import("../raw_types/ameli").Avicom>;
avigvt: import("kysely").Nullable<import("../raw_types/ameli").Avigvt>;
cab: import("kysely").Nullable<import("../raw_types/ameli").Cab>;
com_ameli: import("kysely").Nullable<import("../raw_types/ameli").ComAmeli>;
ent: import("../raw_types/ameli").Ent;
etatxt: import("../raw_types/ameli").Etatxt;
fbu: import("../raw_types/ameli").Fbu;
grppol_ameli: import("kysely").Nullable<import("../raw_types/ameli").GrppolAmeli>;
gvt: import("../raw_types/ameli").Gvt;
intora: import("../raw_types/ameli").Intora;
irr: import("kysely").Nullable<import("../raw_types/ameli").Irr>;
lec_ameli: import("kysely").Nullable<import("../raw_types/ameli").LecAmeli>;
mot: import("../raw_types/ameli").Mot;
nat: import("kysely").Nullable<import("../raw_types/ameli").Nat>;
orarol: import("../raw_types/ameli").Orarol;
sai: import("../raw_types/ameli").Sai;
saisen: import("../raw_types/ameli").Saisen;
sea: import("../raw_types/ameli").Sea;
sen_ameli: import("../raw_types/ameli").SenAmeli;
ses: import("kysely").Nullable<import("../raw_types/ameli").Ses>;
sor: import("kysely").Nullable<import("../raw_types/ameli").Sor>;
sub: import("kysely").Nullable<import("../raw_types/ameli").Sub>;
txt_ameli: import("kysely").Nullable<import("../raw_types/ameli").TxtAmeli>;
typrect: import("../raw_types/ameli").Typrect;
typses: import("../raw_types/ameli").Typses;
typsub: import("kysely").Nullable<import("../raw_types/ameli").Typsub>;
w_nivrec: import("../raw_types/ameli").WNivrec;
}, "amd" | "avicom" | "avigvt" | "cab" | "com_ameli" | "grppol_ameli" | "irr" | "lec_ameli" | "nat" | "ses" | "sor" | "sub" | "txt_ameli" | "typsub", {
session: string | null;
signet_dossier_legislatif: string | null;
nature_texte: string | null;
numero_texte: number | null;
intitule_texte: string | null;
lecture: string | null;
nature: string;
id: number;
parent_id: number | null;
numero: string | null;
numero_absolu: string | null;
ordre: string | null;
subdivision_libelle: string | null;
subdivision_libelle_court: string | null;
subdivision_type: string | null;
alinea: number | null;
date_depot: string;
dispositif: string | null;
objet: string | null;
etat: string;
avis_commission: string | null;
avis_gouvernement: string | null;
sort: string | null;
revision: string;
url: string;
au_nom_de_groupe_politique: string | null;
au_nom_de_commission: string | null;
auteur_est_gouvernement: boolean;
auteurs: {
prenom: string | null;
nom: string | null;
matricule: string | null;
}[];
}>;
export declare function findAll(): AsyncIterableIterator<{
session: string | null;
signet_dossier_legislatif: string | null;
nature_texte: string | null;
numero_texte: number | null;
intitule_texte: string | null;
lecture: string | null;
nature: string;
id: number;
parent_id: number | null;
numero: string | null;
numero_absolu: string | null;
ordre: string | null;
subdivision_libelle: string | null;
subdivision_libelle_court: string | null;
subdivision_type: string | null;
alinea: number | null;
date_depot: string;
dispositif: string | null;
objet: string | null;
etat: string;
avis_commission: string | null;
avis_gouvernement: string | null;
sort: string | null;
revision: string;
url: string;
au_nom_de_groupe_politique: string | null;
au_nom_de_commission: string | null;
auteur_est_gouvernement: boolean;
auteurs: {
prenom: string | null;
nom: string | null;
matricule: string | null;
}[];
}>;
export {};