Rafael Lopez

diario y descargas

...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 "d3": "^7.9.0", 13 "d3": "^7.9.0",
14 "fuse.js": "^7.1.0", 14 "fuse.js": "^7.1.0",
15 "hyparquet": "^1.25.1", 15 "hyparquet": "^1.25.1",
16 + "hyparquet-compressors": "^1.1.1",
16 "marked": "^17.0.4" 17 "marked": "^17.0.4"
17 }, 18 },
18 "devDependencies": { 19 "devDependencies": {
...@@ -1984,6 +1985,12 @@ ...@@ -1984,6 +1985,12 @@
1984 "node": ">=10" 1985 "node": ">=10"
1985 } 1986 }
1986 }, 1987 },
1988 + "node_modules/fzstd": {
1989 + "version": "0.1.1",
1990 + "resolved": "https://registry.npmjs.org/fzstd/-/fzstd-0.1.1.tgz",
1991 + "integrity": "sha512-dkuVSOKKwh3eas5VkJy1AW1vFpet8TA/fGmVA5krThl8YcOVE/8ZIoEA1+U1vEn5ckxxhLirSdY837azmbaNHA==",
1992 + "license": "MIT"
1993 + },
1987 "node_modules/graceful-fs": { 1994 "node_modules/graceful-fs": {
1988 "version": "4.2.11", 1995 "version": "4.2.11",
1989 "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", 1996 "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
...@@ -2009,6 +2016,22 @@ ...@@ -2009,6 +2016,22 @@
2009 "integrity": "sha512-CXcN/u6RdQqsK8IphUptpAEqY8IzgwzHY+MuXX+2wpoWTumfxPVr6JYbbywsNsiAl9aEbM5sRtxkwRBa22b49w==", 2016 "integrity": "sha512-CXcN/u6RdQqsK8IphUptpAEqY8IzgwzHY+MuXX+2wpoWTumfxPVr6JYbbywsNsiAl9aEbM5sRtxkwRBa22b49w==",
2010 "license": "MIT" 2017 "license": "MIT"
2011 }, 2018 },
2019 + "node_modules/hyparquet-compressors": {
2020 + "version": "1.1.1",
2021 + "resolved": "https://registry.npmjs.org/hyparquet-compressors/-/hyparquet-compressors-1.1.1.tgz",
2022 + "integrity": "sha512-yx7aA3Rhj0YycbdV71+XznQSLAefa4cT0urpgNXy4aM6eSeCknaVDNne8y45Uz74Fb15yyXUzOStlceOJBan7A==",
2023 + "license": "MIT",
2024 + "dependencies": {
2025 + "fzstd": "0.1.1",
2026 + "hysnappy": "1.0.0"
2027 + }
2028 + },
2029 + "node_modules/hysnappy": {
2030 + "version": "1.0.0",
2031 + "resolved": "https://registry.npmjs.org/hysnappy/-/hysnappy-1.0.0.tgz",
2032 + "integrity": "sha512-MNrC4NfwDGPb889O6gIfEtbvEZCSWUsSEhsz4Oq2FRcpGtXHfeVz3KciSPp5Pnnz1NjFMgDQNfxdJozymJEDDA==",
2033 + "license": "MIT"
2034 + },
2012 "node_modules/iconv-lite": { 2035 "node_modules/iconv-lite": {
2013 "version": "0.6.3", 2036 "version": "0.6.3",
2014 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", 2037 "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
24 "d3": "^7.9.0", 24 "d3": "^7.9.0",
25 "fuse.js": "^7.1.0", 25 "fuse.js": "^7.1.0",
26 "hyparquet": "^1.25.1", 26 "hyparquet": "^1.25.1",
27 + "hyparquet-compressors": "^1.1.1",
27 "marked": "^17.0.4" 28 "marked": "^17.0.4"
28 } 29 }
29 } 30 }
......
1 -import { API_HOST } from '$lib/api.js'; 1 +const API_BASE = 'https://abierto.economiayfinanzas.gob.bo/presupuesto/_api/diario';
2 -const API_BASE = API_HOST + '/api/diario';
3 2
4 export async function GET({ url }) { 3 export async function GET({ url }) {
5 const tipo = url.searchParams.get('tipo') || 'status'; 4 const tipo = url.searchParams.get('tipo') || 'status';
......
This diff is collapsed. Click to expand it.
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
278 }; 278 };
279 }); 279 });
280 280
281 - // Filtrar datos por transferencias y días 281 + // Filtrar datos por transferencias
282 let timeserieFiltered = $derived( 282 let timeserieFiltered = $derived(
283 timeserie.filter(d => d.transferencias === undefined || d.transferencias === incluirTransferencias) 283 timeserie.filter(d => d.transferencias === undefined || d.transferencias === incluirTransferencias)
284 ); 284 );
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type