mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -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: {
|
properties: {
|
||||||
choices: {
|
choices: {
|
||||||
type: "array",
|
type: "array",
|
||||||
uniqueItems: true,
|
uniqueItems: false,
|
||||||
minItems: 2,
|
minItems: 0,
|
||||||
maxItems: 10,
|
maxItems: 20,
|
||||||
items: { type: "string", minLength: 1, maxLength: 50 },
|
items: { type: "string", minLength: 0, maxLength: 100 },
|
||||||
},
|
},
|
||||||
multiple: { type: "boolean", default: false },
|
multiple: { type: "boolean", default: false },
|
||||||
expiresAt: { type: "integer", nullable: true },
|
expiresAt: { type: "integer", nullable: true },
|
||||||
|
|
Loading…
Reference in a new issue