You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@doc("Upload files as answers for a specific question in the response. This operation automatically creates or updates the answer for this question with the uploaded file URLs.")
Copy file name to clipboardExpand all lines: src/form/question/models.tsp
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -162,6 +162,24 @@ namespace CoreSystem.Forms {
162
162
description?:string;
163
163
}
164
164
165
+
@doc("Options for date questions.")
166
+
modelDateOption {
167
+
@doc("Whether the year component is required for the date.")
168
+
hasYear:boolean;
169
+
170
+
@doc("Whether the month component is required for the date.")
171
+
hasMonth:boolean;
172
+
173
+
@doc("Whether the day component is required for the date.")
174
+
hasDay:boolean;
175
+
176
+
@doc("Minimum date range in utcDateTime (e.g., 2025-01-01T00:00:00Z for 2025/1/1 00:00:00 UTC). If specified, use the first day of the month/year for the minimum value.")
177
+
minDate?:utcDateTime;
178
+
179
+
@doc("Maximum date range in utcDateTime (e.g., 2025-05-31T23:59:59Z for 2025/5/31 23:59:59 UTC). If specified, use the last day of the month/year for the maximum value.")
180
+
maxDate?:utcDateTime;
181
+
}
182
+
165
183
@doc("Response model for the detailed structure of a question.")
166
184
modelQuestionResponse {
167
185
@doc("The question's unique identifier.")
@@ -191,6 +209,9 @@ namespace CoreSystem.Forms {
191
209
@doc("Available options for file upload questions.")
192
210
uploadFile?:UploadFileOption;
193
211
212
+
@doc("Available options for date questions.")
213
+
date?:DateOption;
214
+
194
215
@doc("Available options for OAuth connect questions.")
0 commit comments