()
| 4365 | Object.defineProperty(Model, '~standard', { |
| 4366 | configurable: true, |
| 4367 | get() { |
| 4368 | return { |
| 4369 | version: 1, |
| 4370 | vendor: 'mongoose', |
| 4371 | validate: (value, options) => { |
| 4372 | return this.validate(value, options?.libraryOptions).then( |
| 4373 | value => ({ value }), |
| 4374 | error => ({ issues: convertErrorToStandardSchemaIssues(error) }) |
| 4375 | ); |
| 4376 | } |
| 4377 | }; |
| 4378 | } |
| 4379 | }); |
| 4380 | |
| 4381 | /** |
no test coverage detected