relay-compiler 0.0.0-main-ee6e87cc → 0.0.0-main-bb6162ea

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 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,7 +1,7 @@
1
1
  {
2
2
  "name": "relay-compiler",
3
3
  "description": "A compiler tool for building GraphQL-driven applications.",
4
- "version": "0.0.0-main-ee6e87cc",
4
+ "version": "0.0.0-main-bb6162ea",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay"
@@ -923,6 +923,92 @@
923
923
  }
924
924
  ]
925
925
  },
926
+ "omit_resolver_type_assertions_for_confirmed_types": {
927
+ "description": "Skip generating resolver type assertions for resolvers which have been derived from TS/Flow types.",
928
+ "default": {
929
+ "kind": "disabled"
930
+ },
931
+ "oneOf": [
932
+ {
933
+ "description": "Fully disabled: developers may not use this feature",
934
+ "type": "object",
935
+ "required": [
936
+ "kind"
937
+ ],
938
+ "properties": {
939
+ "kind": {
940
+ "type": "string",
941
+ "enum": [
942
+ "disabled"
943
+ ]
944
+ }
945
+ }
946
+ },
947
+ {
948
+ "description": "Fully enabled: developers may use this feature",
949
+ "type": "object",
950
+ "required": [
951
+ "kind"
952
+ ],
953
+ "properties": {
954
+ "kind": {
955
+ "type": "string",
956
+ "enum": [
957
+ "enabled"
958
+ ]
959
+ }
960
+ }
961
+ },
962
+ {
963
+ "description": "Partially enabled: developers may only use this feature on the listed items (fragments, fields, types).",
964
+ "type": "object",
965
+ "required": [
966
+ "allowlist",
967
+ "kind"
968
+ ],
969
+ "properties": {
970
+ "allowlist": {
971
+ "type": "array",
972
+ "items": {
973
+ "type": "string"
974
+ },
975
+ "uniqueItems": true
976
+ },
977
+ "kind": {
978
+ "type": "string",
979
+ "enum": [
980
+ "limited"
981
+ ]
982
+ }
983
+ }
984
+ },
985
+ {
986
+ "description": "Partially enabled: used for gradual rollout of the feature",
987
+ "type": "object",
988
+ "required": [
989
+ "kind",
990
+ "rollout"
991
+ ],
992
+ "properties": {
993
+ "kind": {
994
+ "type": "string",
995
+ "enum": [
996
+ "rollout"
997
+ ]
998
+ },
999
+ "rollout": {
1000
+ "description": "A utility to enable gradual rollout of large codegen changes. Can be constructed as the Default which passes or a percentage between 0 and 100.",
1001
+ "type": [
1002
+ "integer",
1003
+ "null"
1004
+ ],
1005
+ "format": "uint8",
1006
+ "minimum": 0.0
1007
+ }
1008
+ }
1009
+ }
1010
+ ]
1011
+ },
926
1012
  "prefer_fetchable_in_refetch_queries": {
927
1013
  "description": "Feature flag to prefer `fetch_MyType()` generatior over `node()` query generator in @refetchable transform",
928
1014
  "default": false,
@@ -1818,6 +1904,9 @@
1818
1904
  "no_inline": {
1819
1905
  "kind": "disabled"
1820
1906
  },
1907
+ "omit_resolver_type_assertions_for_confirmed_types": {
1908
+ "kind": "disabled"
1909
+ },
1821
1910
  "prefer_fetchable_in_refetch_queries": false,
1822
1911
  "relay_resolver_enable_interface_output_type": {
1823
1912
  "kind": "disabled"
@@ -2646,6 +2735,92 @@
2646
2735
  }
2647
2736
  ]
2648
2737
  },
2738
+ "omit_resolver_type_assertions_for_confirmed_types": {
2739
+ "description": "Skip generating resolver type assertions for resolvers which have been derived from TS/Flow types.",
2740
+ "default": {
2741
+ "kind": "disabled"
2742
+ },
2743
+ "oneOf": [
2744
+ {
2745
+ "description": "Fully disabled: developers may not use this feature",
2746
+ "type": "object",
2747
+ "required": [
2748
+ "kind"
2749
+ ],
2750
+ "properties": {
2751
+ "kind": {
2752
+ "type": "string",
2753
+ "enum": [
2754
+ "disabled"
2755
+ ]
2756
+ }
2757
+ }
2758
+ },
2759
+ {
2760
+ "description": "Fully enabled: developers may use this feature",
2761
+ "type": "object",
2762
+ "required": [
2763
+ "kind"
2764
+ ],
2765
+ "properties": {
2766
+ "kind": {
2767
+ "type": "string",
2768
+ "enum": [
2769
+ "enabled"
2770
+ ]
2771
+ }
2772
+ }
2773
+ },
2774
+ {
2775
+ "description": "Partially enabled: developers may only use this feature on the listed items (fragments, fields, types).",
2776
+ "type": "object",
2777
+ "required": [
2778
+ "allowlist",
2779
+ "kind"
2780
+ ],
2781
+ "properties": {
2782
+ "allowlist": {
2783
+ "type": "array",
2784
+ "items": {
2785
+ "type": "string"
2786
+ },
2787
+ "uniqueItems": true
2788
+ },
2789
+ "kind": {
2790
+ "type": "string",
2791
+ "enum": [
2792
+ "limited"
2793
+ ]
2794
+ }
2795
+ }
2796
+ },
2797
+ {
2798
+ "description": "Partially enabled: used for gradual rollout of the feature",
2799
+ "type": "object",
2800
+ "required": [
2801
+ "kind",
2802
+ "rollout"
2803
+ ],
2804
+ "properties": {
2805
+ "kind": {
2806
+ "type": "string",
2807
+ "enum": [
2808
+ "rollout"
2809
+ ]
2810
+ },
2811
+ "rollout": {
2812
+ "description": "A utility to enable gradual rollout of large codegen changes. Can be constructed as the Default which passes or a percentage between 0 and 100.",
2813
+ "type": [
2814
+ "integer",
2815
+ "null"
2816
+ ],
2817
+ "format": "uint8",
2818
+ "minimum": 0.0
2819
+ }
2820
+ }
2821
+ }
2822
+ ]
2823
+ },
2649
2824
  "prefer_fetchable_in_refetch_queries": {
2650
2825
  "description": "Feature flag to prefer `fetch_MyType()` generatior over `node()` query generator in @refetchable transform",
2651
2826
  "default": false,
@@ -4023,6 +4198,92 @@
4023
4198
  }
4024
4199
  ]
4025
4200
  },
4201
+ "omit_resolver_type_assertions_for_confirmed_types": {
4202
+ "description": "Skip generating resolver type assertions for resolvers which have been derived from TS/Flow types.",
4203
+ "default": {
4204
+ "kind": "disabled"
4205
+ },
4206
+ "oneOf": [
4207
+ {
4208
+ "description": "Fully disabled: developers may not use this feature",
4209
+ "type": "object",
4210
+ "required": [
4211
+ "kind"
4212
+ ],
4213
+ "properties": {
4214
+ "kind": {
4215
+ "type": "string",
4216
+ "enum": [
4217
+ "disabled"
4218
+ ]
4219
+ }
4220
+ }
4221
+ },
4222
+ {
4223
+ "description": "Fully enabled: developers may use this feature",
4224
+ "type": "object",
4225
+ "required": [
4226
+ "kind"
4227
+ ],
4228
+ "properties": {
4229
+ "kind": {
4230
+ "type": "string",
4231
+ "enum": [
4232
+ "enabled"
4233
+ ]
4234
+ }
4235
+ }
4236
+ },
4237
+ {
4238
+ "description": "Partially enabled: developers may only use this feature on the listed items (fragments, fields, types).",
4239
+ "type": "object",
4240
+ "required": [
4241
+ "allowlist",
4242
+ "kind"
4243
+ ],
4244
+ "properties": {
4245
+ "allowlist": {
4246
+ "type": "array",
4247
+ "items": {
4248
+ "type": "string"
4249
+ },
4250
+ "uniqueItems": true
4251
+ },
4252
+ "kind": {
4253
+ "type": "string",
4254
+ "enum": [
4255
+ "limited"
4256
+ ]
4257
+ }
4258
+ }
4259
+ },
4260
+ {
4261
+ "description": "Partially enabled: used for gradual rollout of the feature",
4262
+ "type": "object",
4263
+ "required": [
4264
+ "kind",
4265
+ "rollout"
4266
+ ],
4267
+ "properties": {
4268
+ "kind": {
4269
+ "type": "string",
4270
+ "enum": [
4271
+ "rollout"
4272
+ ]
4273
+ },
4274
+ "rollout": {
4275
+ "description": "A utility to enable gradual rollout of large codegen changes. Can be constructed as the Default which passes or a percentage between 0 and 100.",
4276
+ "type": [
4277
+ "integer",
4278
+ "null"
4279
+ ],
4280
+ "format": "uint8",
4281
+ "minimum": 0.0
4282
+ }
4283
+ }
4284
+ }
4285
+ ]
4286
+ },
4026
4287
  "prefer_fetchable_in_refetch_queries": {
4027
4288
  "description": "Feature flag to prefer `fetch_MyType()` generatior over `node()` query generator in @refetchable transform",
4028
4289
  "default": false,
package/win-x64/relay.exe CHANGED
Binary file