feat(sdk-js): Add output schema typedef

This commit is contained in:
Tat Dat Duong
2024-08-06 14:06:47 +02:00
parent 8850e8a373
commit 3ba8500e90
+7 -1
View File
@@ -39,11 +39,17 @@ export interface GraphSchema {
graph_id: string;
/**
* The schema for the graph state.
* The schema for the input state.
* Missing if unable to generate JSON schema from graph.
*/
input_schema?: JSONSchema7;
/**
* The schema for the output state.
* Missing if unable to generate JSON schema from graph.
*/
output_schema?: JSONSchema7;
/**
* The schema for the graph state.
* Missing if unable to generate JSON schema from graph.