import { FieldConfig } from 'app/schema/definitions' ; import { timelogCategoryFindMany } from 'app/vendor/timelogCategory/timelogCategoryFindMany' ; import { TimelogCategoryTC } from 'app/schema/entities/TimelogCategoryTC' ; export default { type : TimelogCategoryTC . NonNull . List , resolve : ( _ , __ , context ) => { return timelogCategoryFindMany ( { } , context ) ; } , extensions : { complexity : ( { childComplexity } ) => childComplexity * 10 , } , } as FieldConfig ;