Skip to content

Commit 553a628

Browse files
authored
Merge pull request #71 from MITLibraries/update-schema
Schema change and cassette rebuild
2 parents 41719d2 + ec61091 commit 553a628

38 files changed

+323
-209
lines changed

app/models/timdex_search.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class TimdexSearch < TimdexBase
1515
$sourceFacet: [String!]
1616
$index: String
1717
$from: String
18-
$contentType: String
18+
$contentType: [String!]
1919
) {
2020
search(
2121
searchterm: $q

config/schema/schema.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"description": null,
5555
"fields": [
5656
{
57-
"name": "contentFormat",
57+
"name": "contentType",
5858
"description": null,
5959
"args": [
6060

@@ -76,7 +76,7 @@
7676
"deprecationReason": null
7777
},
7878
{
79-
"name": "contentType",
79+
"name": "contributors",
8080
"description": null,
8181
"args": [
8282

@@ -98,7 +98,7 @@
9898
"deprecationReason": null
9999
},
100100
{
101-
"name": "contributors",
101+
"name": "format",
102102
"description": null,
103103
"args": [
104104

@@ -1216,7 +1216,7 @@
12161216
"defaultValue": "null"
12171217
},
12181218
{
1219-
"name": "collectionFacet",
1219+
"name": "contentTypeFacet",
12201220
"description": null,
12211221
"type": {
12221222
"kind": "LIST",
@@ -1233,16 +1233,6 @@
12331233
},
12341234
"defaultValue": "null"
12351235
},
1236-
{
1237-
"name": "contentTypeFacet",
1238-
"description": null,
1239-
"type": {
1240-
"kind": "SCALAR",
1241-
"name": "String",
1242-
"ofType": null
1243-
},
1244-
"defaultValue": "null"
1245-
},
12461236
{
12471237
"name": "contributorsFacet",
12481238
"description": null,

test/vcr_cassettes/advanced.yml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/advanced_all.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/advanced_all_spaces.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/advanced_citation_asdf.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/advanced_keyword_asdf.yml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/advanced_source_defaults_to_all.yml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/advanced_source_limit_to_one_source.yml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/vcr_cassettes/advanced_source_limit_to_two_sources.yml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)