type IdOperators = { "": TType; _not: TType; _in: TType[]; _not_in: TType[]; }; export type IdInterfaceGenerator = { [K in keyof IdOperators as `${TName}${K}`]?: IdOperators[K]; }; type IdMixedOperators = { "": string; _not: string; _in: string[]; _not_in: string[]; _gt: number | string; _gte: number | string; _lt: number | string; _lte: number | string; }; export type IdMixedInterfaceGenerator = { [K in keyof IdMixedOperators as `${TName}${K}`]?: IdMixedOperators[K]; };