mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: update jsdoc
This commit is contained in:
parent
5b08d9d36f
commit
af502e97dd
@ -44,7 +44,7 @@ export class ContentType extends BaseSchema {
|
|||||||
required: true,
|
required: true,
|
||||||
validate: {
|
validate: {
|
||||||
/**
|
/**
|
||||||
* Ensures every `name` in the fields array is unique.
|
* Ensures every `label` in the fields array is unique.
|
||||||
* Runs on `save`, `create`, `insertMany`, and `findOneAndUpdate`
|
* Runs on `save`, `create`, `insertMany`, and `findOneAndUpdate`
|
||||||
* when `runValidators: true` is set.
|
* when `runValidators: true` is set.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user