Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hartmann <[email protected]>
  • Loading branch information
Chartman123 committed Jan 13, 2025
1 parent 9010013 commit 13f591f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 28 deletions.
20 changes: 10 additions & 10 deletions lib/ResponseDefinitions.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
* }
*
* @psalm-type FormsQuestionExtraSettings = array{
* allowOtherAnswer?: ?bool,
* allowedFileExtensions?: ?list<string>,
* allowedFileTypes?: ?list<string>,
* maxAllowedFilesCount?: ?int,
* maxFileSize?: ?int,
* optionsLimitMax?: ?int,
* optionsLimitMin?: ?int,
* shuffleOptions?: ?bool,
* validationRegex?: ?string,
* validationType?: ?string
* allowOtherAnswer?: bool,
* allowedFileExtensions?: list<string>,
* allowedFileTypes?: list<string>,
* maxAllowedFilesCount?: int,
* maxFileSize?: int,
* optionsLimitMax?: int,
* optionsLimitMin?: int,
* shuffleOptions?: bool,
* validationRegex?: string,
* validationType?: string
* }
*
* @psalm-type FormsQuestionType = "dropdown"|"multiple"|"multiple_unique"|"date"|"time"|"short"|"long"|"file"|"datetime"
Expand Down
27 changes: 9 additions & 18 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"expires",
"fileFormat",
"fileId",
"filePath",
"isAnonymous",
"lastUpdated",
"submitMultiple",
Expand Down Expand Up @@ -404,54 +405,44 @@
"type": "object",
"properties": {
"allowOtherAnswer": {
"type": "boolean",
"nullable": true
"type": "boolean"
},
"allowedFileExtensions": {
"type": "array",
"nullable": true,
"items": {
"type": "string"
}
},
"allowedFileTypes": {
"type": "array",
"nullable": true,
"items": {
"type": "string"
}
},
"maxAllowedFilesCount": {
"type": "integer",
"format": "int64",
"nullable": true
"format": "int64"
},
"maxFileSize": {
"type": "integer",
"format": "int64",
"nullable": true
"format": "int64"
},
"optionsLimitMax": {
"type": "integer",
"format": "int64",
"nullable": true
"format": "int64"
},
"optionsLimitMin": {
"type": "integer",
"format": "int64",
"nullable": true
"format": "int64"
},
"shuffleOptions": {
"type": "boolean",
"nullable": true
"type": "boolean"
},
"validationRegex": {
"type": "string",
"nullable": true
"type": "string"
},
"validationType": {
"type": "string",
"nullable": true
"type": "string"
}
}
},
Expand Down

0 comments on commit 13f591f

Please sign in to comment.