Skip to content

Commit

Permalink
Technique id name change
Browse files Browse the repository at this point in the history
  • Loading branch information
deepaksftc committed Jun 25, 2024
1 parent b21ad7b commit 934fbfd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion packages/validation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@user-office-software/duo-validation",
"version": "5.1.2",
"version": "5.1.3",
"description": "Duo frontend and backend validation in one place.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/validation/src/Technique/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const createTechniqueValidationSchema = Yup.object().shape({
});

export const updateTechniqueValidationSchema = Yup.object().shape({
techniqueId: Yup.number().required(),
id: Yup.number().required(),
name: Yup.string()
.max(100, 'Name of the technique should be no longer than 100 characters')
.required('Name of the technique is required'),
Expand All @@ -28,7 +28,7 @@ export const updateTechniqueValidationSchema = Yup.object().shape({
});

export const deleteTechniqueValidationSchema = Yup.object().shape({
techniqueId: Yup.number().required(),
id: Yup.number().required(),
});

export const assignInstrumentsToTechniqueValidationSchema = Yup.object().shape({
Expand Down

0 comments on commit 934fbfd

Please sign in to comment.