Skip to content

Commit

Permalink
DEV - Sample
Browse files Browse the repository at this point in the history
  • Loading branch information
juliecoust committed Nov 14, 2024
1 parent bf35746 commit fef1c2f
Show file tree
Hide file tree
Showing 22 changed files with 2,333 additions and 185 deletions.
54 changes: 53 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
"author": "Julie Coustenoble",
"license": "LGPL-3.0-only",
"dependencies": {
"@types/csv-parse": "^1.2.5",
"@types/uuid": "^9.0.6",
"bcrypt": "^5.1.0",
"cookie-parser": "^1.4.6",
"csv-parse": "^5.5.6",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-validator": "^7.0.1",
Expand All @@ -32,7 +34,8 @@
"nodemailer": "^6.9.7",
"path": "^0.12.7",
"sqlite3": "^5.1.6",
"uuid": "^9.0.1"
"uuid": "^9.0.1",
"yauzl": "^3.1.3"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
Expand All @@ -46,6 +49,7 @@
"@types/shelljs": "^0.8.15",
"@types/sqlite3": "^3.1.8",
"@types/supertest": "^2.0.12",
"@types/yauzl": "^2.10.3",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"eslint": "^8.45.0",
Expand All @@ -60,4 +64,4 @@
"ts-node": "^10.9.2",
"typescript": "^5.2.2"
}
}
}
2 changes: 1 addition & 1 deletion src/data/data-sources/sqlite/sqlite-project-data-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class SQLiteProjectDataSource implements ProjectDataSource {
const params: any[] = []
let placeholders: string = ""
for (const [key, value] of Object.entries(projectData)) {
if (key == "enable_descent_filter") { // TODO somewhere else? serializer?
if (key == "enable_descent_filter") {
params.push(value == true || value == "true" ? 1 : 0) // TODO clean
} else {
params.push(value)
Expand Down
Loading

0 comments on commit fef1c2f

Please sign in to comment.