Skip to content

Commit 5e67460

Browse files
committed
chore: update northwind graphql schema files
1 parent 4341533 commit 5e67460

File tree

3 files changed

+62
-1
lines changed

3 files changed

+62
-1
lines changed

examples/northwind/data/schema.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,6 +1886,12 @@ enum SortRemoveOneProductInput {
18861886
NAME__SUPPLIERID_DESC
18871887
}
18881888

1889+
type Subscription {
1890+
orderCreated: Order
1891+
orderUpdated: Order
1892+
orderRemoved: MongoID
1893+
}
1894+
18891895
type Supplier {
18901896
"""Supplier unique ID"""
18911897
supplierID: Float

examples/northwind/data/schema.graphql.json

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"mutationType": {
88
"name": "Mutation"
99
},
10-
"subscriptionType": null,
10+
"subscriptionType": {
11+
"name": "Subscription"
12+
},
1113
"types": [
1214
{
1315
"kind": "OBJECT",
@@ -14539,6 +14541,53 @@
1453914541
"enumValues": null,
1454014542
"possibleTypes": null
1454114543
},
14544+
{
14545+
"kind": "OBJECT",
14546+
"name": "Subscription",
14547+
"description": null,
14548+
"fields": [
14549+
{
14550+
"name": "orderCreated",
14551+
"description": null,
14552+
"args": [],
14553+
"type": {
14554+
"kind": "OBJECT",
14555+
"name": "Order",
14556+
"ofType": null
14557+
},
14558+
"isDeprecated": false,
14559+
"deprecationReason": null
14560+
},
14561+
{
14562+
"name": "orderUpdated",
14563+
"description": null,
14564+
"args": [],
14565+
"type": {
14566+
"kind": "OBJECT",
14567+
"name": "Order",
14568+
"ofType": null
14569+
},
14570+
"isDeprecated": false,
14571+
"deprecationReason": null
14572+
},
14573+
{
14574+
"name": "orderRemoved",
14575+
"description": null,
14576+
"args": [],
14577+
"type": {
14578+
"kind": "SCALAR",
14579+
"name": "MongoID",
14580+
"ofType": null
14581+
},
14582+
"isDeprecated": false,
14583+
"deprecationReason": null
14584+
}
14585+
],
14586+
"inputFields": null,
14587+
"interfaces": [],
14588+
"enumValues": null,
14589+
"possibleTypes": null
14590+
},
1454214591
{
1454314592
"kind": "OBJECT",
1454414593
"name": "__Schema",

examples/northwind/data/schema.v11.graphql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,6 +1868,12 @@ enum SortRemoveOneProductInput {
18681868
NAME__SUPPLIERID_DESC
18691869
}
18701870

1871+
type Subscription {
1872+
orderCreated: Order
1873+
orderUpdated: Order
1874+
orderRemoved: MongoID
1875+
}
1876+
18711877
type Supplier {
18721878
# Supplier unique ID
18731879
supplierID: Float

0 commit comments

Comments
 (0)