Skip to content

Commit 1b85ee4

Browse files
committed
add info logs to usage reports
1 parent d85d23d commit 1b85ee4

File tree

1 file changed

+6
-14
lines changed

1 file changed

+6
-14
lines changed

libs/application-generic/src/commands/base.command.ts

+6-14
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,12 @@ export class ConstraintValidation {
3939
{
4040
type: 'array',
4141
items: {
42-
type: 'object',
43-
additionalProperties: true,
44-
},
45-
},
46-
{
47-
type: 'array',
48-
items: {
49-
type: 'string',
50-
},
51-
},
52-
{
53-
type: 'array',
54-
items: {
55-
type: 'number',
42+
anyOf: [
43+
{ type: 'string', nullable: true },
44+
{ type: 'number' },
45+
{ type: 'boolean' },
46+
{ type: 'object', additionalProperties: true },
47+
],
5648
},
5749
},
5850
],

0 commit comments

Comments
 (0)