-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: optimized query and updated test cases
- Loading branch information
1 parent
4952bd2
commit 0be561f
Showing
3 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,7 @@ export const data = [ | |
FORM: {}, | ||
JSON: { | ||
query: | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{}") {id}}', | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{}") {id}}', | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
@@ -172,7 +172,7 @@ export const data = [ | |
FORM: {}, | ||
JSON: { | ||
query: | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{}") {id}}', | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{}") {id}}', | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
@@ -716,7 +716,7 @@ export const data = [ | |
body: { | ||
JSON: { | ||
query: | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"}}") {id}}', | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"}}") {id}}', | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
@@ -827,7 +827,7 @@ export const data = [ | |
body: { | ||
JSON: { | ||
query: | ||
'mutation { create_item (board_id: 339283933, group_id: "group_title", item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"}}") {id}}', | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"}}", group_id: "group_title") {id}}', | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
@@ -1188,7 +1188,7 @@ export const data = [ | |
body: { | ||
JSON: { | ||
query: | ||
'mutation { create_item (board_id: 339283933, group_id: "group_title", item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"},\\"checkbox\\":{\\"checked\\":true},\\"numbers\\":\\"45\\",\\"text\\":\\"texting\\",\\"country\\":{\\"countryName\\":\\"Unites States\\",\\"countryCode\\":\\"US\\"},\\"location\\":{\\"address\\":\\"New York\\",\\"lat\\":\\"51.23\\",\\"lng\\":\\"35.3\\"},\\"phone\\":{\\"phone\\":\\"2626277272\\",\\"countryShortName\\":\\"US\\"},\\"rating\\":3,\\"link\\":{\\"url\\":\\"demo.com\\",\\"text\\":\\"websiteLink\\"},\\"long_text\\":{\\"text\\":\\"property description\\"},\\"world_clock\\":{\\"timezone\\":\\"America/New_York\\"}}") {id}}', | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"},\\"checkbox\\":{\\"checked\\":true},\\"numbers\\":\\"45\\",\\"text\\":\\"texting\\",\\"country\\":{\\"countryName\\":\\"Unites States\\",\\"countryCode\\":\\"US\\"},\\"location\\":{\\"address\\":\\"New York\\",\\"lat\\":\\"51.23\\",\\"lng\\":\\"35.3\\"},\\"phone\\":{\\"phone\\":\\"2626277272\\",\\"countryShortName\\":\\"US\\"},\\"rating\\":3,\\"link\\":{\\"url\\":\\"demo.com\\",\\"text\\":\\"websiteLink\\"},\\"long_text\\":{\\"text\\":\\"property description\\"},\\"world_clock\\":{\\"timezone\\":\\"America/New_York\\"}}", group_id: "group_title") {id}}', | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,7 +113,7 @@ export const data = [ | |
FORM: {}, | ||
JSON: { | ||
query: | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{}") {id}}', | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{}") {id}}', | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|
@@ -159,7 +159,7 @@ export const data = [ | |
body: { | ||
JSON: { | ||
query: | ||
'mutation { create_item (board_id: 339283933, group_id: "group_title", item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"}}") {id}}', | ||
'mutation { create_item (board_id: 339283933, item_name: "Task 1", column_values: "{\\"status\\":{\\"label\\":\\"Done\\"},\\"email\\":{\\"email\\":\\"[email protected]\\",\\"text\\":\\"emailId\\"}}", group_id: "group_title") {id}}', | ||
}, | ||
JSON_ARRAY: {}, | ||
XML: {}, | ||
|