From 08139e6b412068f8085afa0aed242cefc871bd51 Mon Sep 17 00:00:00 2001 From: Okiki Ojo Date: Tue, 9 Dec 2025 05:03:32 -0500 Subject: [PATCH] refactor: update executor configuration types for improved type safety in UpdateBuilder Signed-off-by: Okiki Ojo --- update.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.ts b/update.ts index a4090c2..16837c1 100644 --- a/update.ts +++ b/update.ts @@ -35,7 +35,7 @@ */ import { raw, sparql, type SparqlValue } from './sparql.ts' -import { createExecutor, type ExecutorConfig, type SparqlResult } from './executor.ts' +import { createExecutor, type BindingMap, type ExecutionConfig, type QueryResult } from './executor.ts' // ============================================================================ // Update Operation Types @@ -672,9 +672,9 @@ export class UpdateBuilder { * } * ``` */ - execute(config: ExecutorConfig): Promise { + execute(config: ExecutionConfig): Promise> { const executor = createExecutor(config) - return executor(this.build()) + return executor.execute(this.build()) } } -- 2.51.2