relay-compiler 0.0.0-main-1eca4a57 → 0.0.0-main-70b27dfd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/linux-arm64/relay +0 -0
- package/linux-x64/relay +0 -0
- package/macos-arm64/relay +0 -0
- package/macos-x64/relay +0 -0
- package/package.json +1 -1
- package/relay-compiler-config-schema.json +49 -14
- package/win-x64/relay.exe +0 -0
package/linux-arm64/relay
CHANGED
|
Binary file
|
package/linux-x64/relay
CHANGED
|
Binary file
|
package/macos-arm64/relay
CHANGED
|
Binary file
|
package/macos-x64/relay
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
3
|
"title": "ConfigFile",
|
|
4
|
+
"description": "Relay's configuration file. Supports a single project config for simple use cases and a multi-project config for cases where multiple projects live in the same repository.\n\nIn general, start with the SingleProjectConfigFile.",
|
|
4
5
|
"anyOf": [
|
|
5
6
|
{
|
|
6
7
|
"description": "Base case configuration (mostly of OSS) where the project have single schema, and single source directory",
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
]
|
|
43
44
|
},
|
|
44
45
|
"codegenCommand": {
|
|
46
|
+
"description": "Name of the command that runs the relay compiler. This will be added at the top of generated code to let readers know how to regenerate the file.",
|
|
45
47
|
"default": null,
|
|
46
48
|
"type": [
|
|
47
49
|
"string",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
}
|
|
69
71
|
},
|
|
70
72
|
"diagnosticReportConfig": {
|
|
73
|
+
"description": "Threshold for diagnostics to be critical to the compiler's execution. All diagnostic with severities at and below this level will cause the compiler to fatally exit.",
|
|
71
74
|
"default": {
|
|
72
75
|
"criticalLevel": "error"
|
|
73
76
|
},
|
|
@@ -112,6 +115,7 @@
|
|
|
112
115
|
]
|
|
113
116
|
},
|
|
114
117
|
"featureFlags": {
|
|
118
|
+
"description": "Enable and disable experimental or legacy behaviors. WARNING! These are not stable and may change at any time.",
|
|
115
119
|
"default": null,
|
|
116
120
|
"anyOf": [
|
|
117
121
|
{
|
|
@@ -123,6 +127,7 @@
|
|
|
123
127
|
]
|
|
124
128
|
},
|
|
125
129
|
"jsModuleFormat": {
|
|
130
|
+
"description": "Import/export style to use in generated JavaScript modules.",
|
|
126
131
|
"default": "commonjs",
|
|
127
132
|
"allOf": [
|
|
128
133
|
{
|
|
@@ -139,6 +144,7 @@
|
|
|
139
144
|
]
|
|
140
145
|
},
|
|
141
146
|
"moduleImportConfig": {
|
|
147
|
+
"description": "Configuration for the @module GraphQL directive.",
|
|
142
148
|
"default": {
|
|
143
149
|
"dynamicModuleProvider": null,
|
|
144
150
|
"operationModuleProvider": null,
|
|
@@ -184,6 +190,7 @@
|
|
|
184
190
|
]
|
|
185
191
|
},
|
|
186
192
|
"relativizeJsModulePaths": {
|
|
193
|
+
"description": "Whether to treat all JS module names as relative to './' (true) or not. default: true",
|
|
187
194
|
"default": true,
|
|
188
195
|
"type": "boolean"
|
|
189
196
|
},
|
|
@@ -193,7 +200,7 @@
|
|
|
193
200
|
"type": "boolean"
|
|
194
201
|
},
|
|
195
202
|
"resolverContextType": {
|
|
196
|
-
"description": "Indicates the type to import and use as the context for
|
|
203
|
+
"description": "Indicates the type to import and use as the context for Relay Resolvers.",
|
|
197
204
|
"default": null,
|
|
198
205
|
"anyOf": [
|
|
199
206
|
{
|
|
@@ -232,6 +239,7 @@
|
|
|
232
239
|
]
|
|
233
240
|
},
|
|
234
241
|
"schemaConfig": {
|
|
242
|
+
"description": "Extra configuration for the GraphQL schema itself.",
|
|
235
243
|
"default": {
|
|
236
244
|
"connectionInterface": {
|
|
237
245
|
"cursor": "cursor",
|
|
@@ -371,16 +379,28 @@
|
|
|
371
379
|
"additionalProperties": false
|
|
372
380
|
},
|
|
373
381
|
"CustomType": {
|
|
382
|
+
"description": "Defines a custom GraphQL descrbing a custom scalar.",
|
|
374
383
|
"anyOf": [
|
|
375
384
|
{
|
|
376
|
-
"
|
|
385
|
+
"description": "A string representing the name of a custom type. e.g. \"string\" or \"number\"",
|
|
386
|
+
"allOf": [
|
|
387
|
+
{
|
|
388
|
+
"$ref": "#/definitions/StringKey"
|
|
389
|
+
}
|
|
390
|
+
]
|
|
377
391
|
},
|
|
378
392
|
{
|
|
379
|
-
"
|
|
393
|
+
"description": "A module which defines the custom type. e.g. { \"name\": \"MyCustomType\", \"path\": \"./Types.ts\" }",
|
|
394
|
+
"allOf": [
|
|
395
|
+
{
|
|
396
|
+
"$ref": "#/definitions/CustomTypeImport"
|
|
397
|
+
}
|
|
398
|
+
]
|
|
380
399
|
}
|
|
381
400
|
]
|
|
382
401
|
},
|
|
383
402
|
"CustomTypeImport": {
|
|
403
|
+
"description": "Defines a module path and export name of the Flow or TypeScript type descrbing a GraphQL custom scalar.",
|
|
384
404
|
"type": "object",
|
|
385
405
|
"required": [
|
|
386
406
|
"name",
|
|
@@ -388,9 +408,15 @@
|
|
|
388
408
|
],
|
|
389
409
|
"properties": {
|
|
390
410
|
"name": {
|
|
391
|
-
"
|
|
411
|
+
"description": "The name under which the type is exported from the module",
|
|
412
|
+
"allOf": [
|
|
413
|
+
{
|
|
414
|
+
"$ref": "#/definitions/StringKey"
|
|
415
|
+
}
|
|
416
|
+
]
|
|
392
417
|
},
|
|
393
418
|
"path": {
|
|
419
|
+
"description": "The path to the module relative to the project root",
|
|
394
420
|
"type": "string"
|
|
395
421
|
}
|
|
396
422
|
}
|
|
@@ -985,6 +1011,7 @@
|
|
|
985
1011
|
}
|
|
986
1012
|
},
|
|
987
1013
|
"featureFlags": {
|
|
1014
|
+
"description": "Enable and disable experimental or legacy behaviors. WARNING! These are not stable and may change at any time.",
|
|
988
1015
|
"default": {
|
|
989
1016
|
"actor_change_support": {
|
|
990
1017
|
"kind": "disabled"
|
|
@@ -1229,12 +1256,23 @@
|
|
|
1229
1256
|
"additionalProperties": false
|
|
1230
1257
|
},
|
|
1231
1258
|
"ResolverContextTypeInput": {
|
|
1259
|
+
"description": "Describes the type to import and use as the context for Relay Resolvers.",
|
|
1232
1260
|
"anyOf": [
|
|
1233
1261
|
{
|
|
1234
|
-
"
|
|
1262
|
+
"description": "The type imported using a relative path",
|
|
1263
|
+
"allOf": [
|
|
1264
|
+
{
|
|
1265
|
+
"$ref": "#/definitions/ResolverContextTypeInputPath"
|
|
1266
|
+
}
|
|
1267
|
+
]
|
|
1235
1268
|
},
|
|
1236
1269
|
{
|
|
1237
|
-
"
|
|
1270
|
+
"description": "The type imported using a named package",
|
|
1271
|
+
"allOf": [
|
|
1272
|
+
{
|
|
1273
|
+
"$ref": "#/definitions/ResolverContextTypeInputPackage"
|
|
1274
|
+
}
|
|
1275
|
+
]
|
|
1238
1276
|
}
|
|
1239
1277
|
]
|
|
1240
1278
|
},
|
|
@@ -1480,7 +1518,7 @@
|
|
|
1480
1518
|
]
|
|
1481
1519
|
},
|
|
1482
1520
|
"codegenCommand": {
|
|
1483
|
-
"description": "Name of the command that runs the relay compiler",
|
|
1521
|
+
"description": "Name of the command that runs the relay compiler. This will be added at the top of generated code to let readers know how to regenerate the file.",
|
|
1484
1522
|
"default": null,
|
|
1485
1523
|
"type": [
|
|
1486
1524
|
"string",
|
|
@@ -1532,6 +1570,7 @@
|
|
|
1532
1570
|
}
|
|
1533
1571
|
},
|
|
1534
1572
|
"featureFlags": {
|
|
1573
|
+
"description": "Enable and disable experimental or legacy behaviors. WARNING! These are not stable and may change at any time.",
|
|
1535
1574
|
"default": null,
|
|
1536
1575
|
"anyOf": [
|
|
1537
1576
|
{
|
|
@@ -1551,7 +1590,7 @@
|
|
|
1551
1590
|
]
|
|
1552
1591
|
},
|
|
1553
1592
|
"jsModuleFormat": {
|
|
1554
|
-
"description": "
|
|
1593
|
+
"description": "Import/export style to use in generated JavaScript modules.",
|
|
1555
1594
|
"default": "commonjs",
|
|
1556
1595
|
"allOf": [
|
|
1557
1596
|
{
|
|
@@ -1625,7 +1664,7 @@
|
|
|
1625
1664
|
"type": "boolean"
|
|
1626
1665
|
},
|
|
1627
1666
|
"resolverContextType": {
|
|
1628
|
-
"description": "Indicates the type to import and use as the context for
|
|
1667
|
+
"description": "Indicates the type to import and use as the context for Relay Resolvers.",
|
|
1629
1668
|
"default": null,
|
|
1630
1669
|
"anyOf": [
|
|
1631
1670
|
{
|
|
@@ -1653,7 +1692,7 @@
|
|
|
1653
1692
|
"type": "string"
|
|
1654
1693
|
},
|
|
1655
1694
|
"schemaConfig": {
|
|
1656
|
-
"description": "Extra configuration for the schema itself.",
|
|
1695
|
+
"description": "Extra configuration for the GraphQL schema itself.",
|
|
1657
1696
|
"default": {
|
|
1658
1697
|
"connectionInterface": {
|
|
1659
1698
|
"cursor": "cursor",
|
|
@@ -1698,10 +1737,6 @@
|
|
|
1698
1737
|
"default": "",
|
|
1699
1738
|
"type": "string"
|
|
1700
1739
|
},
|
|
1701
|
-
"typegenPhase": {
|
|
1702
|
-
"description": "Added in 13.1.1 to customize Final/Compat mode in the single project config file Removed in 14.0.0",
|
|
1703
|
-
"default": null
|
|
1704
|
-
},
|
|
1705
1740
|
"typescriptExcludeUndefinedFromNullableUnion": {
|
|
1706
1741
|
"description": "Keep the previous compiler behavior by outputting an union of the raw type and null, and not the **correct** behavior of an union with the raw type, null and undefined.",
|
|
1707
1742
|
"default": false,
|
package/win-x64/relay.exe
CHANGED
|
Binary file
|