diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-05-17 20:18:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-17 20:18:37 -0400 |
commit | 76276e78dac387df66384a10bc1179c90ebd93fe (patch) | |
tree | ba11d7bf4375aa76ae45646b45953df9e71f1d78 /test/data/translator-test-results-note-data1.json | |
parent | 12451eaf61281e588fb8ef5f911d604ba34aca92 (diff) |
Expose search query to anki template renderer (#1686)
* Expose query and fullQuery to Anki context
* Add {search-query} marker
* Update test data
* Update tests
* Wrap search query in multiLine
Diffstat (limited to 'test/data/translator-test-results-note-data1.json')
-rw-r--r-- | test/data/translator-test-results-note-data1.json | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/test/data/translator-test-results-note-data1.json b/test/data/translator-test-results-note-data1.json index e9d41526..740e6661 100644 --- a/test/data/translator-test-results-note-data1.json +++ b/test/data/translator-test-results-note-data1.json @@ -138,6 +138,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -283,6 +285,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -510,6 +514,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -728,6 +734,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -961,6 +969,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -1189,6 +1199,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -1417,6 +1429,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -1645,6 +1659,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -1863,6 +1879,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -2081,6 +2099,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -2400,6 +2420,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -2714,6 +2736,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -3028,6 +3052,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -3342,6 +3368,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -3572,6 +3600,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -3802,6 +3832,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -4032,6 +4064,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -4262,6 +4296,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -4480,6 +4516,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -4698,6 +4736,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -4876,6 +4916,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -5099,6 +5141,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -5322,6 +5366,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -5555,6 +5601,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -5783,6 +5831,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -6016,6 +6066,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -6244,6 +6296,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -6563,6 +6617,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -6877,6 +6933,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -7107,6 +7165,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -7337,6 +7397,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -7656,6 +7718,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -7970,6 +8034,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -8200,6 +8266,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -8430,6 +8498,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -8608,6 +8678,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -8989,6 +9061,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -9317,6 +9391,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -9569,6 +9645,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -9821,6 +9899,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -10037,6 +10117,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -10253,6 +10335,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -10830,6 +10914,8 @@ ], "pitchCount": 4, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -11229,6 +11315,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -11420,6 +11508,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -11611,6 +11701,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -11934,6 +12026,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -12252,6 +12346,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -12570,6 +12666,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -12888,6 +12986,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -13118,6 +13218,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -13348,6 +13450,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -13578,6 +13682,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -13808,6 +13914,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -14026,6 +14134,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -14244,6 +14354,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -14563,6 +14675,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -14877,6 +14991,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -15191,6 +15307,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -15505,6 +15623,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -15735,6 +15855,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -15965,6 +16087,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -16195,6 +16319,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -16425,6 +16551,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -16643,6 +16771,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -16861,6 +16991,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -17180,6 +17312,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -17494,6 +17628,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -17808,6 +17944,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -18122,6 +18260,8 @@ ], "pitchCount": 2, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -18352,6 +18492,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -18582,6 +18724,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -18812,6 +18956,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -19042,6 +19188,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -19260,6 +19408,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -19478,6 +19628,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -19613,6 +19765,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -19726,6 +19880,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -19861,6 +20017,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -20438,6 +20596,8 @@ ], "pitchCount": 4, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } @@ -20837,6 +20997,8 @@ "pitches": [], "pitchCount": 0, "context": { + "query": "query", + "fullQuery": "fullQuery", "document": { "title": "title" } |