Skip to content

Commit 8d36199

Browse files
committed
Add data tables to RecipeDescriptor on the JS model.
1 parent 3a1af4c commit 8d36199

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

rewrite-javascript/rewrite/src/recipe.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ export abstract class Recipe {
102102
value: (this as any)[key],
103103
required: descriptor.required ?? true,
104104
...descriptor
105-
}))
105+
})),
106+
dataTables: this.dataTables
106107
}
107108
}
108109

@@ -136,6 +137,7 @@ export interface RecipeDescriptor {
136137
readonly estimatedEffortPerOccurrence: Minutes
137138
readonly recipeList: RecipeDescriptor[]
138139
readonly options: ({ name: string, value?: any } & OptionDescriptor)[]
140+
readonly dataTables: DataTableDescriptor[]
139141
}
140142

141143
export interface OptionDescriptor {

0 commit comments

Comments
 (0)