Danny Avila
19af2b06ce
feat: utitlize lean queries, remove migration script, index createdAt timestamps ( #698 )
...
* feat(mongoDb): utitlize lean queries and index createdAt timestamps for cosmosDB support
* fix: remove unnecessary lean() method from deleteMany calls
* fix: remove unnecessary lean() method from deleteMany calls
* fix: remove lean() from queries that need hydration
* chore(migrateDb.js): remove unused migration script
fix(Preset.js): return lean documents when retrieving presets
refactor(index.js): remove migration script from server initialization
refactor(convos.js): remove toObject() when sending conversation object
refactor(presets.js): remove toObject() when sending presets object
2023-07-25 19:27:55 -04:00
Danny Avila
e5336039fc
ci(backend-review.yml): add linter step to the backend review workflow ( #625 )
...
* ci(backend-review.yml): add linter step to the backend review workflow
* chore(backend-review.yml): remove prettier from lint-action configuration
* chore: apply new linting workflow
* chore(lint-staged.config.js): reorder lint-staged tasks for JavaScript and TypeScript files
* chore(eslint): update ignorePatterns in .eslintrc.js
chore(lint-action): remove prettier option in backend-review.yml
chore(package.json): add lint and lint:fix scripts
* chore(lint-staged.config.js): remove prettier --write command for js, jsx, ts, tsx files
* chore(titleConvo.js): remove unnecessary console.log statement
chore(titleConvo.js): add missing comma in options object
* chore: apply linting to all files
* chore(lint-staged.config.js): update lint-staged configuration to include prettier formatting
2023-07-14 09:36:49 -04:00
Dan Orlando
7fdc862042
Build/Refactor: lint pre-commit hook and reformat repo to spec ( #314 )
...
* build/refactor: move lint/prettier packages to project root, install husky, add pre-commit hook
* refactor: reformat files
* build: put full eslintrc back with all rules
2023-05-18 14:09:31 -04:00
Wentao Lyu
dd1f74da72
replace all created to timestamps: true in db
2023-03-15 02:15:46 +08:00
Danny Avila
fca546af63
reorganize dirs for dockerize
2023-03-06 10:15:07 -05:00