Skip to content

Commit 810104f

Browse files
Copilothotlong
andcommitted
Fix code review issues: remove incorrect FilterOperators type
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent d7cc23d commit 810104f

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

packages/spec/src/data/filter.zod.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,6 @@ export type Filter<T = any> = {
272272
*/
273273
export type Scalar = string | number | boolean | Date | null;
274274

275-
/**
276-
* Generic filter operators type.
277-
*/
278-
export type FilterOperators<T = Scalar> = z.infer<typeof FieldOperatorsSchema> & {
279-
$not?: FilterOperators<T>;
280-
};
281-
282275
// Export inferred types
283276
export type FieldOperators = z.infer<typeof FieldOperatorsSchema>;
284277
export type QueryFilter = z.infer<typeof QueryFilterSchema>;

0 commit comments

Comments
 (0)