Skip to content

Commit

Permalink
Fix missing/incorrect TS props, per feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
misscoded committed Aug 7, 2024
1 parent 5499a45 commit 9df1e68
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/types/events/base-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -494,11 +494,12 @@ export interface FileUnsharedEvent {
}

export interface FunctionParams {
type?: string;
name?: string;
type: string;
name: string;
description?: string;
title?: string;
is_required?: boolean;
is_required: boolean;
hint?: string;
}

export interface FunctionInputs {
Expand All @@ -513,7 +514,7 @@ export interface FunctionExecutedEvent {
id: string;
callback_id: string;
title: string;
description: string;
description?: string;
type: string;
input_parameters: FunctionParams[];
output_parameters: FunctionParams[];
Expand Down

0 comments on commit 9df1e68

Please sign in to comment.