@tricoteuses/assemblee 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/loaders.d.ts +52 -2
- package/lib/loaders.js +961 -187
- package/lib/loaders.mjs +285 -3
- package/package.json +1 -1
package/lib/loaders.d.ts
CHANGED
|
@@ -45,14 +45,64 @@ export interface Data {
|
|
|
45
45
|
[uid: string]: Scrutin;
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
|
|
48
|
+
export declare function iterLoadAssembleeActeurs(dataDir: string, legislature: Legislature, { log }?: {
|
|
49
|
+
log?: boolean | undefined;
|
|
50
|
+
}): Generator<{
|
|
51
|
+
acteur: Acteur;
|
|
52
|
+
datasetLegislature: Legislature;
|
|
53
|
+
}, void, unknown>;
|
|
54
|
+
export declare function iterLoadAssembleeAmendements(dataDir: string, legislature: Legislature, { log }?: {
|
|
55
|
+
log?: boolean | undefined;
|
|
56
|
+
}): Generator<{
|
|
57
|
+
amendement: Amendement;
|
|
58
|
+
datasetLegislature: Legislature;
|
|
59
|
+
}, void, unknown>;
|
|
60
|
+
export declare function iterLoadAssembleeDocuments(dataDir: string, legislature: Legislature, { log }?: {
|
|
61
|
+
log?: boolean | undefined;
|
|
62
|
+
}): Generator<{
|
|
63
|
+
document: Document;
|
|
64
|
+
datasetLegislature: Legislature;
|
|
65
|
+
}, void, unknown>;
|
|
66
|
+
export declare function iterLoadAssembleeDossiersParlementaires(dataDir: string, legislature: Legislature, { log }?: {
|
|
67
|
+
log?: boolean | undefined;
|
|
68
|
+
}): Generator<{
|
|
69
|
+
dossierParlementaire: DossierParlementaire;
|
|
70
|
+
datasetLegislature: Legislature;
|
|
71
|
+
}, void, unknown>;
|
|
72
|
+
export declare function iterLoadAssembleeOrganes(dataDir: string, legislature: Legislature, { log }?: {
|
|
73
|
+
log?: boolean | undefined;
|
|
74
|
+
}): Generator<{
|
|
75
|
+
organe: Organe;
|
|
76
|
+
datasetLegislature: Legislature;
|
|
77
|
+
}, void, unknown>;
|
|
78
|
+
export declare function iterLoadAssembleeReunions(dataDir: string, legislature: Legislature, { log }?: {
|
|
79
|
+
log?: boolean | undefined;
|
|
80
|
+
}): Generator<{
|
|
81
|
+
reunion: Reunion;
|
|
82
|
+
datasetLegislature: Legislature;
|
|
83
|
+
}, void, unknown>;
|
|
84
|
+
export declare function iterLoadAssembleeScrutins(dataDir: string, legislature: Legislature, { log }?: {
|
|
85
|
+
log?: boolean | undefined;
|
|
86
|
+
}): Generator<{
|
|
87
|
+
scrutin: Scrutin;
|
|
88
|
+
datasetLegislature: Legislature;
|
|
89
|
+
}, void, unknown>;
|
|
49
90
|
export declare function loadAssembleeData(dataDir: string, enabledDatasets: EnabledDatasets, legislature: Legislature, { log }?: {
|
|
50
91
|
log?: boolean | undefined;
|
|
51
92
|
}): Data;
|
|
52
|
-
/** Load data from big monolytic files. */
|
|
53
93
|
export declare function loadAssembleeDataFromBigFiles(dataDir: string, enabledDatasets: EnabledDatasets, legislature: Legislature, { log }?: {
|
|
54
94
|
log?: boolean | undefined;
|
|
55
95
|
}): Data;
|
|
96
|
+
export declare function loadAssembleePhotosDeputes(dataDir: string, legislature: Legislature, { log }?: {
|
|
97
|
+
log?: boolean | undefined;
|
|
98
|
+
}): {
|
|
99
|
+
[uid: string]: Photo;
|
|
100
|
+
};
|
|
101
|
+
export declare function loadAssembleePhotosSenateurs(dataDir: string, { log }?: {
|
|
102
|
+
log?: boolean | undefined;
|
|
103
|
+
}): {
|
|
104
|
+
[uid: string]: Photo;
|
|
105
|
+
};
|
|
56
106
|
export declare function pathFromDocumentUid(documentsDir: string, uid: string): string;
|
|
57
107
|
export declare function pathFromDossierParlementaireUid(dossiersDir: string, uid: string): string;
|
|
58
108
|
export declare function pathFromReunionUid(reunionsDir: string, uid: string): string;
|