This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user