Skip to content

Commit

Permalink
Merge pull request #345 from claushaas/dev
Browse files Browse the repository at this point in the history
change description size
  • Loading branch information
claushaas authored Aug 22, 2024
2 parents a19d190 + 098c995 commit 8fb2170
Show file tree
Hide file tree
Showing 6 changed files with 185 additions and 183 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.16.0
v20.17.0
2 changes: 1 addition & 1 deletion app/entities/course.entity.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {convertNameToSlug} from '~/utils/convert-name-to-slug.js';
const courseSchema = Joi.object({
oldId: Joi.string().allow(''),
name: Joi.string().required().min(3).max(50),
description: Joi.string().min(10).max(154).required(),
description: Joi.string().min(3).max(154).required(),
order: Joi.number().integer().min(0),
content: Joi.string().allow(''),
marketingContent: Joi.string().allow(''),
Expand Down
2 changes: 1 addition & 1 deletion app/entities/lesson.entity.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const lessonSchema = Joi.object({
oldId: Joi.string().allow(''),
name: Joi.string().required().min(3).max(100),
type: Joi.string().required().valid('video', 'text', 'courseWare'),
description: Joi.string().min(10).max(154).required(),
description: Joi.string().min(3).max(154).required(),
content: Joi.string().allow(''),
marketingContent: Joi.string().allow(''),
videoSourceUrl: Joi.string().allow(''),
Expand Down
2 changes: 1 addition & 1 deletion app/entities/module.entity.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {convertNameToSlug} from '~/utils/convert-name-to-slug.js';
const moduleSchema = Joi.object({
oldId: Joi.string().allow(''),
name: Joi.string().required().min(3).max(50),
description: Joi.string().min(10).max(154).required(),
description: Joi.string().min(3).max(154).required(),
content: Joi.string().allow(''),
marketingContent: Joi.string().allow(''),
videoSourceUrl: Joi.string().allow(''),
Expand Down
Loading

0 comments on commit 8fb2170

Please sign in to comment.