File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/vertexai/src/types Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import {
23
23
HarmBlockThreshold ,
24
24
HarmCategory
25
25
} from './enums' ;
26
+ import { SchemaInterface } from './schema' ;
26
27
27
28
/**
28
29
* Base parameters for a number of methods.
@@ -156,7 +157,7 @@ export declare interface FunctionDeclaration {
156
157
* format. Reflects the Open API 3.03 Parameter Object. Parameter names are
157
158
* case-sensitive. For a function with no parameters, this can be left unset.
158
159
*/
159
- parameters ?: ObjectSchema ;
160
+ parameters ?: SchemaInterface ;
160
161
}
161
162
162
163
/**
Original file line number Diff line number Diff line change @@ -70,4 +70,8 @@ export interface SchemaInterface extends SchemaParams {
70
70
* SchemaType}.
71
71
*/
72
72
type : SchemaType ;
73
- }
73
+ }
74
+
75
+ export interface ObjectSchemaInterface extends SchemaInterface {
76
+ type : SchemaType . OBJECT ;
77
+ }
You can’t perform that action at this time.
0 commit comments