tethys.backend/contracts/validator.ts
Arno Kaimbacher e0ff71b117 - additional functionality for DatasetController.ts
- additional validation rules like 'uniqueArray'
- additional Lucid models like BaseModel.ts for filling attributes, Title.ts, Description.ts
- npm updates for @adonisjs/core
2023-06-22 17:20:04 +02:00

7 lines
198 B
TypeScript

declare module '@ioc:Adonis/Core/Validator' {
interface Rules {
translatedLanguage(mainLanguageField: string, typeField: string): Rule;
uniqueArray(field: string): Rule;
}
}