Rest api updates (#2844)
* Fix typo * Fix ':' parsing * Add '' for strings * Add 'in', 'is', 'neq', 'like', 'ilike', 'startWith' comparators * Fix test * Move mapFieldMetadataToGraphqlQuery to util * Move filter utils to utils * Split code into factories * Fix order by parser * Reorganize files * Add tests for limit parser * Add tests for last_cursor parser * Add tests for last_filter parser * Move filter utils to factory * Update filter parser tests * Code review returns * Fix tests * Remove LOCAL_SERVER_URL * Simplify and fix filter string parser * Rename parser to input * Add new lines for more readability * Use unary plus * Use nextjs errors * Use destructuring * Remove useless else * Use FieldMetadata types * Rename enums * Move methods to utils * Lint project * Use singular name if id provided * Handle typing * Handle typing * Minor update * Simplify order by parser * Lint * handle missing conjunction * filter parser update
This commit is contained in:
@ -79,8 +79,8 @@ module.exports = {
|
||||
"@typescript-eslint/consistent-type-imports": ["error", { "prefer": "no-type-imports" }],
|
||||
"@stylistic/linebreak-style": ["error", "unix"],
|
||||
"@stylistic/lines-between-class-members": ["error", { "enforce": [
|
||||
{ blankLine: "always", prev: "method", next: "method" }
|
||||
]}],
|
||||
{ blankLine: "always", prev: "method", next: "method" }
|
||||
]}],
|
||||
"@stylistic/padding-line-between-statements": [
|
||||
"error",
|
||||
{ blankLine: "always", prev: "*", next: "return" },
|
||||
|
||||
Reference in New Issue
Block a user