Add basic column selection
All checks were successful
build / build (push) Successful in 1m31s

This commit is contained in:
2025-07-08 19:10:31 +09:30
parent a53c01ab8e
commit 4def7b8daf
5 changed files with 77 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ import { z } from 'zod';
export const Column = z.object({
name: z.string(),
type: z.string(),
enabled: z.boolean().default(true),
});
export const SortColumn = z.object({
@@ -142,6 +143,7 @@ export class DuckdbService {
cols.push({
name: jsonData['column_name'],
type: jsonData['column_type'],
enabled: true,
});
}
return cols;