mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-09 11:41:30 -07:00
polls min 0, max 20, max length 100, min 0, unique items not needed
This commit is contained in:
parent
8dac3e00af
commit
ae03cdccf7
1 changed files with 4 additions and 4 deletions
|
@ -139,10 +139,10 @@ export const paramDef = {
|
|||
properties: {
|
||||
choices: {
|
||||
type: "array",
|
||||
uniqueItems: true,
|
||||
minItems: 2,
|
||||
maxItems: 10,
|
||||
items: { type: "string", minLength: 1, maxLength: 50 },
|
||||
uniqueItems: false,
|
||||
minItems: 0,
|
||||
maxItems: 20,
|
||||
items: { type: "string", minLength: 0, maxLength: 100 },
|
||||
},
|
||||
multiple: { type: "boolean", default: false },
|
||||
expiresAt: { type: "integer", nullable: true },
|
||||
|
|
Loading…
Reference in a new issue