Skip to content

Commit 493cbf9

Browse files
committed
Update CatalogInputs to support import, adds SystemStatus enums
1 parent 9d885e1 commit 493cbf9

File tree

7 files changed

+298
-53
lines changed

7 files changed

+298
-53
lines changed

graphql.schema.json

Lines changed: 163 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,20 @@
17511751
{
17521752
"name": "catalogs",
17531753
"description": null,
1754-
"args": [],
1754+
"args": [
1755+
{
1756+
"name": "first",
1757+
"description": null,
1758+
"type": { "kind": "SCALAR", "name": "Int", "ofType": null },
1759+
"defaultValue": null
1760+
},
1761+
{
1762+
"name": "after",
1763+
"description": null,
1764+
"type": { "kind": "SCALAR", "name": "ID", "ofType": null },
1765+
"defaultValue": null
1766+
}
1767+
],
17551768
"type": {
17561769
"kind": "NON_NULL",
17571770
"name": null,
@@ -1961,6 +1974,34 @@
19611974
},
19621975
"isDeprecated": false,
19631976
"deprecationReason": null
1977+
},
1978+
{
1979+
"name": "systemStatus",
1980+
"description": null,
1981+
"args": [],
1982+
"type": {
1983+
"kind": "NON_NULL",
1984+
"name": null,
1985+
"ofType": {
1986+
"kind": "ENUM",
1987+
"name": "SystemStatus",
1988+
"ofType": null
1989+
}
1990+
},
1991+
"isDeprecated": false,
1992+
"deprecationReason": null
1993+
},
1994+
{
1995+
"name": "errors",
1996+
"description": null,
1997+
"args": [],
1998+
"type": {
1999+
"kind": "LIST",
2000+
"name": null,
2001+
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null }
2002+
},
2003+
"isDeprecated": false,
2004+
"deprecationReason": null
19642005
}
19652006
],
19662007
"inputFields": null,
@@ -2187,6 +2228,34 @@
21872228
},
21882229
"isDeprecated": false,
21892230
"deprecationReason": null
2231+
},
2232+
{
2233+
"name": "systemStatus",
2234+
"description": null,
2235+
"args": [],
2236+
"type": {
2237+
"kind": "NON_NULL",
2238+
"name": null,
2239+
"ofType": {
2240+
"kind": "ENUM",
2241+
"name": "SystemStatus",
2242+
"ofType": null
2243+
}
2244+
},
2245+
"isDeprecated": false,
2246+
"deprecationReason": null
2247+
},
2248+
{
2249+
"name": "errors",
2250+
"description": null,
2251+
"args": [],
2252+
"type": {
2253+
"kind": "LIST",
2254+
"name": null,
2255+
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null }
2256+
},
2257+
"isDeprecated": false,
2258+
"deprecationReason": null
21902259
}
21912260
],
21922261
"inputFields": null,
@@ -3070,6 +3139,47 @@
30703139
"enumValues": null,
30713140
"possibleTypes": null
30723141
},
3142+
{
3143+
"kind": "ENUM",
3144+
"name": "SystemStatus",
3145+
"description": null,
3146+
"fields": null,
3147+
"inputFields": null,
3148+
"interfaces": null,
3149+
"enumValues": [
3150+
{
3151+
"name": "PENDING",
3152+
"description": null,
3153+
"isDeprecated": false,
3154+
"deprecationReason": null
3155+
},
3156+
{
3157+
"name": "PROCESSING",
3158+
"description": null,
3159+
"isDeprecated": false,
3160+
"deprecationReason": null
3161+
},
3162+
{
3163+
"name": "PROCESSED",
3164+
"description": null,
3165+
"isDeprecated": false,
3166+
"deprecationReason": null
3167+
},
3168+
{
3169+
"name": "ERROR",
3170+
"description": null,
3171+
"isDeprecated": false,
3172+
"deprecationReason": null
3173+
},
3174+
{
3175+
"name": "DELETED",
3176+
"description": null,
3177+
"isDeprecated": false,
3178+
"deprecationReason": null
3179+
}
3180+
],
3181+
"possibleTypes": null
3182+
},
30733183
{
30743184
"kind": "ENUM",
30753185
"name": "AuthPermission",
@@ -3906,7 +4016,7 @@
39064016
"fields": null,
39074017
"inputFields": [
39084018
{
3909-
"name": "ids__in",
4019+
"name": "id__in",
39104020
"description": null,
39114021
"type": {
39124022
"kind": "LIST",
@@ -4008,7 +4118,30 @@
40084118
"name": null,
40094119
"ofType": {
40104120
"kind": "INPUT_OBJECT",
4011-
"name": "CatalogInput",
4121+
"name": "CatalogCreateInput",
4122+
"ofType": null
4123+
}
4124+
},
4125+
"defaultValue": null
4126+
}
4127+
],
4128+
"type": { "kind": "OBJECT", "name": "Catalog", "ofType": null },
4129+
"isDeprecated": false,
4130+
"deprecationReason": null
4131+
},
4132+
{
4133+
"name": "importCatalog",
4134+
"description": null,
4135+
"args": [
4136+
{
4137+
"name": "input",
4138+
"description": null,
4139+
"type": {
4140+
"kind": "NON_NULL",
4141+
"name": null,
4142+
"ofType": {
4143+
"kind": "INPUT_OBJECT",
4144+
"name": "CatalogImportInput",
40124145
"ofType": null
40134146
}
40144147
},
@@ -4678,7 +4811,7 @@
46784811
},
46794812
{
46804813
"kind": "INPUT_OBJECT",
4681-
"name": "CatalogInput",
4814+
"name": "CatalogCreateInput",
46824815
"description": null,
46834816
"fields": null,
46844817
"inputFields": [
@@ -4696,6 +4829,27 @@
46964829
},
46974830
"defaultValue": null
46984831
},
4832+
{
4833+
"name": "mediaChannelId",
4834+
"description": null,
4835+
"type": {
4836+
"kind": "NON_NULL",
4837+
"name": null,
4838+
"ofType": { "kind": "SCALAR", "name": "ID", "ofType": null }
4839+
},
4840+
"defaultValue": null
4841+
}
4842+
],
4843+
"interfaces": null,
4844+
"enumValues": null,
4845+
"possibleTypes": null
4846+
},
4847+
{
4848+
"kind": "INPUT_OBJECT",
4849+
"name": "CatalogImportInput",
4850+
"description": null,
4851+
"fields": null,
4852+
"inputFields": [
46994853
{
47004854
"name": "mediaChannelId",
47014855
"description": null,
@@ -4709,7 +4863,11 @@
47094863
{
47104864
"name": "remoteId",
47114865
"description": null,
4712-
"type": { "kind": "SCALAR", "name": "String", "ofType": null },
4866+
"type": {
4867+
"kind": "NON_NULL",
4868+
"name": null,
4869+
"ofType": { "kind": "SCALAR", "name": "String", "ofType": null }
4870+
},
47134871
"defaultValue": null
47144872
}
47154873
],
@@ -5167,20 +5325,6 @@
51675325
},
51685326
"defaultValue": null
51695327
},
5170-
{
5171-
"name": "remoteState",
5172-
"description": null,
5173-
"type": {
5174-
"kind": "NON_NULL",
5175-
"name": null,
5176-
"ofType": {
5177-
"kind": "SCALAR",
5178-
"name": "JSONObject",
5179-
"ofType": null
5180-
}
5181-
},
5182-
"defaultValue": null
5183-
},
51845328
{
51855329
"name": "vendorId",
51865330
"description": null,
@@ -5234,12 +5378,6 @@
52345378
"type": { "kind": "SCALAR", "name": "String", "ofType": null },
52355379
"defaultValue": null
52365380
},
5237-
{
5238-
"name": "remoteState",
5239-
"description": null,
5240-
"type": { "kind": "SCALAR", "name": "JSONObject", "ofType": null },
5241-
"defaultValue": null
5242-
},
52435381
{
52445382
"name": "metadata",
52455383
"description": null,

index.node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)