@tstdl/base 0.92.24 → 0.92.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/types.d.ts +3 -1
- package/package.json +1 -1
package/ai/types.d.ts
CHANGED
|
@@ -84,6 +84,8 @@ export type GenerationResult = {
|
|
|
84
84
|
usage: GenerationUsage;
|
|
85
85
|
};
|
|
86
86
|
export declare function defineFunctions<T extends SchemaFunctionDeclarations>(declarations: T): T;
|
|
87
|
-
export declare function defineFunction<T extends SchemaFunctionDeclarationWithHandler
|
|
87
|
+
export declare function defineFunction<P extends Record, T extends SchemaFunctionDeclarationWithHandler<P>>(declaration: T & {
|
|
88
|
+
parameters: ObjectSchema<P>;
|
|
89
|
+
}): T;
|
|
88
90
|
export declare function defineFunction<T extends SchemaFunctionDeclarationWithoutHandler>(declaration: T): T;
|
|
89
91
|
export declare function isSchemaFunctionDeclarationWithHandler(declaration: SchemaFunctionDeclaration): declaration is SchemaFunctionDeclarationWithHandler;
|