From 3ba8500e90ca313aa9a8c05d913a006ca6659b68 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Tue, 6 Aug 2024 14:06:47 +0200 Subject: [PATCH] feat(sdk-js): Add output schema typedef --- libs/sdk-js/src/schema.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libs/sdk-js/src/schema.ts b/libs/sdk-js/src/schema.ts index ac68fa844..69cb069f7 100644 --- a/libs/sdk-js/src/schema.ts +++ b/libs/sdk-js/src/schema.ts @@ -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.