-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:update findex #33
Conversation
fe2cee2
to
bb0b148
Compare
src/utils/covercryptConfig.ts
Outdated
@@ -9,6 +9,18 @@ export type Employee = { | |||
salary?: number | string; | |||
}; | |||
|
|||
// in the findex workflow we need to have the country as a string because it will be encrypted | |||
// using this new type to avoid breaking changes (OCP) | |||
export type findexDatabaseEmployee = Omit<Employee, "country"> & { country?: string }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong naming - encryptedEmployee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure ? I can't see it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General thoughts :
Those files under public/actions
They should have never been committed to the repo, they should be copied in Vite's config at build time and be ignored when committing
I will add this to one of the repo issues to update it, it should make reviews less verbose for us and avoid linters & co catching those files
src/utils/covercryptConfig.ts
Outdated
@@ -9,6 +9,18 @@ export type Employee = { | |||
salary?: number | string; | |||
}; | |||
|
|||
// in the findex workflow we need to have the country as a string because it will be encrypted | |||
// using this new type to avoid breaking changes (OCP) | |||
export type findexDatabaseEmployee = Omit<Employee, "country"> & { country?: string }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
53d4b0e
to
03d5b0d
Compare
chore:WIP save feat:first working prototype feat: encrypt db OK feat: first working app fix: fix encrypt DB bugs
fix:rebase
fix: restaure knip fix: restaure package-lock
fix:final review fixes reread fix:another fix chore:lint the project fix:fix cloudproof bug, upgrade lock feat:commit login logo chore:fix store
2504939
to
a324212
Compare
What's new ?
[ ] ded codemoved here : Dead code #36 . specefic PR will be created laterGeneral notes
might see multiple such copy pasted lines like this :
'refactoring' these needs a lot of code lines ( ~ 25 ) and generates (pointless) type errors that need themselves other boilerplate. I consider the upper code to be way more readable, despite "the copy". Any less verbose suggestion is welcome !