-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(deps): update mongoose to 6 (#6832)
* chore: bump mongoose to 6.12 * fix: type mismatch on cursorquery, objectid * fix: required and validator shape in user and form model * fix: use try catch block for mongoose connect loader * fix: add missing goLinkSuffix property in IForm * fix: overwrite typing of IPaymentSchema for mongoose Id * fix: querycursor import in submission.ts * fix: removed undefined in AgencySchema causing schema methods to be never * fix: schema typings in form logic and sms types * fix: replace ConnectionOptions with ConnectOptions * fix: remove deprecated connect options * fix: objectid imports * chore: remove mongodb package, upgrade connect-mongo to 4.6.0 * chore: replace mongoerror import reference * fix: typescript errors * chore: change nModified to modifiedCount * fix: typeerror on form_statistics_total.server.model * fix: typeerror on bouncemodel * fix: form server model, only fixed affected methods * fix: mongoerror is now mongoservererror * fix: execPopulate no longer required to be called * fix: verification.model * fix: replace enforcedocument to hydrateddocument * fix: duplicateFormFieldByIdAndIndex * fix: util/logic.ts type inference errors * refactor: swap bson with bson-ext * chore: update test db configs * refactor: remove bson reference * refactor: gloal replacement of bson * chore: remove execPopulate * fix: void promise returns * fix: remove bson reference with mongoose * fix: replace more bson on admin-forms.form.routes.specs * fix: test failures on admin-forms.submissions.routes.spec * fix: test failures on src/app/models * fix: test failures on src/app/modules/payments * fix: test failures on src/app/modules/issues * fix: form model always defaulting to private mode on save * chore: remove bson in jest-db * fix: lint and type errors in loader * chore: remove unused typedef * chore: remove commented out BSON code * fix: playwright mongod init failure * refactor: rename constants * fix: mongoose loader * fix: removed form model business field to be required * fix: e2e email-submission tests * fix: make mongoose.connect to be async * fix: add specific db connection uri * fix: restore missing _id in table column * fix: workspace model support * chore: add verbose playwight reporting * chore: update bson-ext to bson for workspace-related code * fix: dburi should not be random * fix: drop form collection instead of the whole db * chore: update hosting port from 5000 to 5001 for playwright * fix: replace bson-ext with bson * Revert "chore: update hosting port from 5000 to 5001 for playwright" This reverts commit e5db025. * fix: workspace spec, exists returning null and doc instead of boolean * chore: remove commented code * chore: remove confusing statement * chore: remove unneeded comments * chore: remove duplicated typedef * Revert "chore: remove duplicated typedef" This reverts commit 66f638f. --------- Co-authored-by: foochifa <[email protected]>
- Loading branch information
1 parent
ba4bf70
commit fc65373
Showing
102 changed files
with
3,537 additions
and
3,247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.