@tricoteuses/assemblee 2.5.9 → 2.5.11
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.
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare function getFirstInterventionStartTimecode(dataNvs: string, finalPlayerNvs: string): number | null;
|
|
2
|
+
/**
|
|
3
|
+
* Build VOD master HLS URL from data.nvs <files><file ... url="..."> entries.
|
|
4
|
+
*/
|
|
5
|
+
export declare function buildVodMasterM3u8FromNvs(xml: string, host?: string): string | null;
|
|
6
|
+
export declare function extractMeetingIdsFromNvs(nvsText: string): string[];
|
|
@@ -1 +1,17 @@
|
|
|
1
|
+
import { default as commandLineArgs } from 'command-line-args';
|
|
2
|
+
import { Dataset } from '../datasets';
|
|
3
|
+
type ProcessDatasetArguments = {
|
|
4
|
+
dataset: Dataset;
|
|
5
|
+
dataDir: string;
|
|
6
|
+
options: commandLineArgs.CommandLineOptions;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Processes a dataset by fetching, unzipping, and converting files from XML to JSON format.
|
|
10
|
+
*
|
|
11
|
+
* @param {any} dataset - The dataset object containing metadata and processing instructions.
|
|
12
|
+
* @param {string} dataDir - The directory where the dataset files will be stored.
|
|
13
|
+
* @param {any} options - Options to control the processing behavior, such as fetching and silent mode.
|
|
14
|
+
* @returns {Promise<void>} A promise that resolves when the dataset processing is complete.
|
|
15
|
+
*/
|
|
16
|
+
export declare function processDataset(args: ProcessDatasetArguments): Promise<void>;
|
|
1
17
|
export {};
|
|
@@ -5,8 +5,4 @@ type CommonOptions = {
|
|
|
5
5
|
"only-recent"?: number;
|
|
6
6
|
};
|
|
7
7
|
export declare function downloadAndParseVideos(reunion: Reunion, datasetCleanDir: string, options: CommonOptions): Promise<void>;
|
|
8
|
-
/**
|
|
9
|
-
* Build VOD master HLS URL from data.nvs <files><file ... url="..."> entries.
|
|
10
|
-
*/
|
|
11
|
-
export declare function buildVodMasterM3u8FromNvs(xml: string, host?: string): string | null;
|
|
12
8
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tricoteuses/assemblee",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.11",
|
|
4
4
|
"description": "Retrieve, clean up & handle French Assemblée nationale's open data",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Assemblée nationale",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"fast-xml-parser": "^5.0.8",
|
|
91
91
|
"front-matter": "^4.0.2",
|
|
92
92
|
"fs-extra": "^11.2.0",
|
|
93
|
-
"glob": "^
|
|
93
|
+
"glob": "^13.0.0",
|
|
94
94
|
"js-yaml": "^4.0.0",
|
|
95
95
|
"node-html-parser": "^7.0.1",
|
|
96
96
|
"node-stream-zip": "^1.11.6",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"@types/deep-equal": "^1.0.4",
|
|
105
105
|
"@types/fs-extra": "^11.0.4",
|
|
106
106
|
"@types/js-yaml": "^4.0.0",
|
|
107
|
-
"@types/node": "^
|
|
107
|
+
"@types/node": "^24.10.1",
|
|
108
108
|
"@types/temp": "^0.9.0",
|
|
109
109
|
"@types/unzipper": "^0.10.3",
|
|
110
110
|
"ajv": "^8.0.4",
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Dataset } from '../datasets';
|
|
2
|
-
type ProcessDatasetArguments = {
|
|
3
|
-
dataset: Dataset;
|
|
4
|
-
dataDir: string;
|
|
5
|
-
options: any;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Processes a dataset by fetching, unzipping, and converting files from XML to JSON format.
|
|
9
|
-
*
|
|
10
|
-
* @param {any} dataset - The dataset object containing metadata and processing instructions.
|
|
11
|
-
* @param {string} dataDir - The directory where the dataset files will be stored.
|
|
12
|
-
* @param {any} options - Options to control the processing behavior, such as fetching and silent mode.
|
|
13
|
-
* @returns {Promise<void>} A promise that resolves when the dataset processing is complete.
|
|
14
|
-
*/
|
|
15
|
-
export declare function processDataset(args: ProcessDatasetArguments): Promise<void>;
|
|
16
|
-
export {};
|