UNPKG

@tricoteuses/senat

Version:

Handle French Sénat's open data

208 lines (207 loc) 4.27 kB
/** * This file was generated by kysely-codegen. * Please do not edit it manually. */ import type { ColumnType } from "kysely"; export type Generated<T> = T extends ColumnType<infer S, infer I, infer U> ? ColumnType<S, I | undefined, U> : ColumnType<T, T | undefined, T>; export type Int8 = ColumnType<string, bigint | number | string, bigint | number | string>; export type Timestamp = ColumnType<Date, Date | string, Date | string>; export interface Debats { /** * à O pour signaler la présence d'intervenants non reconnnus */ autinc: string | null; cpterr: Generated<Int8>; /** * Date de la séance (clé) */ datsea: Timestamp; /** * Clé étrangère vers syndeb (état de synchronisation des données) */ debsyn: string | null; /** * URL du compte rendu */ deburl: string | null; /** * à oui pour un CR de congrès */ estcongres: Generated<string | null>; /** * Code de l'état d'envoi à la vidéo C=CRI, A=Archive */ etavidcod: string | null; /** * Libellé pour un débat spécial */ libspec: string | null; /** * numéro de la séance */ numero: Int8 | null; } export interface Intdivers { /** * Clé étrangère vers dosleg.auteur (intervenant) */ autcod: string; /** * Analyse */ intana: string | null; /** * Clé */ intdiverscle: Int8; /** * Identifiant de l'intervention (chronologiquement ordonné) */ intdiversordid: Int8 | null; /** * Fonction de l'intervenant */ intfon: string | null; /** * URL de l'intervention */ inturl: string | null; /** * Clé étrangère vers secdivers (section de discussion) */ secdiverscle: Int8; } export interface Intpjl { /** * Clé étrangère vers dosleg.auteur (intervenant) */ autcod: string; /** * Analyse */ intana: string | null; /** * Fonction de l'intervenant */ intfon: string | null; /** * Identifiant de l'intervention (chronologiquement ordonné) */ intordid: Int8 | null; /** * Clé */ intpjlcle: Int8; /** * URL de l'intervention */ inturl: string | null; /** * Clé éntrangère vers secdis (section de discussion) */ secdiscle: Int8; } export interface Lecassdeb { /** * Clé étrangère vers débats */ datsea: Timestamp; /** * Clé étrangère vers dosleg.lecass (lecture) */ lecassidt: string; } export interface Secdis { /** * Clé étrangère vers débats */ datsea: Timestamp; /** * Clé étrangère vers dosleg.lecass (lecture) */ lecassidt: string; /** * Clé */ secdiscle: Int8; /** * Numérotation de la section */ secdisnum: string | null; /** * Objet de la section */ secdisobj: string | null; /** * Ordre dans la fratrie */ secdisordid: Int8 | null; /** * Section mère */ secdispere: Int8 | null; /** * URL de la section */ secdisurl: string | null; /** * Clé étrangère vers typsec (type de section) */ typseccod: string; } export interface Secdivers { /** * Clé étrangère vers débats */ datsea: Timestamp; /** * Clé */ secdiverscle: Int8; /** * Libellé associé à la section */ secdiverslibelle: string | null; /** * Objet de la section */ secdiversobj: string | null; /** * Clé étrangère vers typsec (type de section) */ typseccod: string; } export interface Syndeb { /** * Clé */ debsyn: string; /** * Libellé */ syndeblib: string; } export interface Typsec { /** * Catégorie liée au type */ typseccat: string | null; /** * Clé */ typseccod: string; /** * Libellé */ typseclib: string; } export interface DB { debats: Debats; intdivers: Intdivers; intpjl: Intpjl; lecassdeb: Lecassdeb; secdis: Secdis; secdivers: Secdivers; syndeb: Syndeb; typsec: Typsec; }