Skip to content

Commit 5d3ada4

Browse files
committed
Added JSDoc documentation for UI modal handlers
1 parent ecaa1c8 commit 5d3ada4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ai-assistant/src/utils/handleModalViewSubmit.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@ const MODALS: Record<string, any> = {
2626
[TESTCASES_COMMAND_MODAL]: testcasesModalSubmitHandler,
2727
};
2828

29+
/**
30+
* Handles the submission of a modal view.
31+
*
32+
* @param {UIKitViewSubmitInteractionContext} context - The interaction context for the view submission.
33+
* @param {IRead} read - The read utility for accessing data.
34+
* @param {IHttp} http - The HTTP utility for making HTTP requests.
35+
* @param {IModify} modify - The modify utility for modifying data.
36+
* @returns {Promise<void>} - A promise that resolves when the handling is complete.
37+
*/
2938
export async function handleModalViewSubmit(
3039
context: UIKitViewSubmitInteractionContext,
3140
read: IRead,

0 commit comments

Comments
 (0)