feat: support "discussion" metaculus type

This commit is contained in:
Vyacheslav Matyukhin 2022-06-03 11:43:35 +03:00
parent de47956e29
commit 2345b81350
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C

View File

@ -131,6 +131,12 @@ const apiQuestionSchema = {
}, },
additionalProperties: true, additionalProperties: true,
}, },
discussion: {
optionalProperties: {
...optionalPageProps,
},
additionalProperties: true,
},
}, },
} as const; } as const;