diff --git a/src/endpoints/forms.tsp b/src/endpoints/forms.tsp index 36752da..3295450 100644 --- a/src/endpoints/forms.tsp +++ b/src/endpoints/forms.tsp @@ -116,6 +116,7 @@ namespace Forms { default_title?: string; visibility?: Visibility; + answer_visibility?: Visibility; }, ): { @statusCode statusCode: 200; diff --git a/src/models/form.tsp b/src/models/form.tsp index 996b9cc..c91ae03 100644 --- a/src/models/form.tsp +++ b/src/models/form.tsp @@ -57,7 +57,16 @@ model Form { webhook_url: url; default_title: string; + + /** + * フォーム自体を公開するかどうか + */ visibility: Visibility; + + /** + * 回答を公開するかどうか + */ + answer_visibility: Visibility; }; metadata: { created_at: utcDateTime;