Skip to content

Commit 515e52a

Browse files
committed
refactor: clean up of code
1 parent 9d49f96 commit 515e52a

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

src/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export interface FlowrConfig extends MergeableRecord {
207207
}
208208
}
209209

210-
export type ValidFlowrConfigPaths = Paths<FlowrConfig, { depth: 3 }>;
210+
export type ValidFlowrConfigPaths = Paths<FlowrConfig, { depth: 9 }>;
211211

212212
export interface TreeSitterEngineConfig extends MergeableRecord {
213213
readonly type: 'tree-sitter'
@@ -351,10 +351,10 @@ export const FlowrConfig = {
351351
}).optional().description('The configuration for the slicer.')
352352
}).description('How to resolve constants, constraints, cells, ...'),
353353
abstractInterpretation: Joi.object({
354-
dataFrame: Joi.object({
355-
maxColNames: Joi.number().min(0).description('The maximum number of columns names to infer for data frames before over-approximating the column names to top.'),
356-
wideningThreshold: Joi.number().min(1).description('The threshold for the number of visitations of a node at which widening should be performed to ensure the termination of the fixpoint iteration.'),
357-
readLoadedData: Joi.object({
354+
wideningThreshold: Joi.number().min(1).description('The threshold for the number of visitations of a node at which widening should be performed to ensure the termination of the fixpoint iteration.'),
355+
dataFrame: Joi.object({
356+
maxColNames: Joi.number().min(0).description('The maximum number of columns names to infer for data frames before over-approximating the column names to top.'),
357+
readLoadedData: Joi.object({
358358
readExternalFiles: Joi.boolean().description('Whether data frame shapes should be extracted from loaded external files, such as CSV files.'),
359359
maxReadLines: Joi.number().min(1).description('The maximum number of lines to read when extracting data frame shapes from loaded files, such as CSV files.')
360360
}).description('Configuration options for reading data frame shapes from loaded external data files, such as CSV files.')

0 commit comments

Comments
 (0)