relay-compiler 17.0.0 → 18.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,9 @@
3
3
  # This source code is licensed under the MIT license found in the
4
4
  # LICENSE file in the root directory of this source tree.
5
5
 
6
- directive @relay_test_operation on QUERY | MUTATION | SUBSCRIPTION
6
+ directive @relay_test_operation(
7
+ DO_NOT_USE_use_in_production: Boolean = false @static
8
+ ) on QUERY | MUTATION | SUBSCRIPTION
7
9
 
8
10
  """
9
11
  (Relay only)
@@ -174,7 +176,7 @@ declare how null values should be handled at runtime. You can think of it as
174
176
  saying "if this field is ever null, its parent field is invalid and should be
175
177
  null".
176
178
 
177
- [Read More](https://www.internalfb.com/intern/staticdocs/relay/docs/guides/required-directive/) (FB only)
179
+ [Read More](https://relay.dev/docs/guides/required-directive/)
178
180
  """
179
181
  directive @required(action: RequiredFieldAction! @static) on FIELD
180
182
 
@@ -213,7 +215,7 @@ directive @deleteEdge(connections: [ID!]!) on FIELD
213
215
  For use within mutations. After the mutation request is complete, this edge
214
216
  will be appended to its parent connection.
215
217
 
216
- [Read More](https://relay.dev/docs/guided-tour/updating-data/graphql-mutations/#updating-data-once-a-request-is-complete)
218
+ [Read More](https://relay.dev/docs/guided-tour/list-data/updating-connections/#appendedge--prependedge)
217
219
  """
218
220
  directive @appendEdge(connections: [ID!]!) on FIELD
219
221
 
@@ -223,7 +225,7 @@ directive @appendEdge(connections: [ID!]!) on FIELD
223
225
  For use within mutations. After the mutation request is complete, this edge
224
226
  will be prepended to its parent connection.
225
227
 
226
- [Read More](https://relay.dev/docs/guided-tour/updating-data/graphql-mutations/#updating-data-once-a-request-is-complete)
228
+ [Read More](https://relay.dev/docs/guided-tour/list-data/updating-connections/#appendedge--prependedge)
227
229
  """
228
230
  directive @prependEdge(connections: [ID!]!) on FIELD
229
231
 
@@ -233,7 +235,7 @@ directive @prependEdge(connections: [ID!]!) on FIELD
233
235
  For use within mutations. After the mutation request is complete, this node
234
236
  will be appended to its parent connection.
235
237
 
236
- [Read More](https://relay.dev/docs/guided-tour/updating-data/graphql-mutations/#updating-data-once-a-request-is-complete)
238
+ [Read More](https://relay.dev/docs/guided-tour/list-data/updating-connections/#appendnode--prependnode)
237
239
  """
238
240
  directive @appendNode(connections: [ID!]!, edgeTypeName: String!) on FIELD
239
241
 
@@ -243,7 +245,7 @@ directive @appendNode(connections: [ID!]!, edgeTypeName: String!) on FIELD
243
245
  For use within mutations. After the mutation request is complete, this node
244
246
  will be prepended to its parent connection.
245
247
 
246
- [Read More](https://relay.dev/docs/guided-tour/updating-data/graphql-mutations/#updating-data-once-a-request-is-complete)
248
+ [Read More](https://relay.dev/docs/guided-tour/list-data/updating-connections/#appendnode--prependnode)
247
249
  """
248
250
  directive @prependNode(connections: [ID!]!, edgeTypeName: String!) on FIELD
249
251
 
@@ -269,7 +271,7 @@ A special scalar type which can be used as the return type of a Relay Resolver.
269
271
  When used, the resolver field will derive its TypeScript/Flow type from the
270
272
  return value of the Resolver function.
271
273
 
272
- [Learn More](https://relay.dev/docs/next/guides/relay-resolvers/)
274
+ [Learn More](https://relay.dev/docs/guides/relay-resolvers/return-types/#javascript-values)
273
275
  """
274
276
  scalar RelayResolverValue
275
277
 
@@ -290,7 +292,7 @@ directive @RelayOutputType on OBJECT
290
292
 
291
293
  Marks a given query or fragment as updatable.
292
294
 
293
- [Read More](https://relay.dev/docs/next/guided-tour/updating-data/imperatively-modifying-linked-fields/)
295
+ [Read More](https://relay.dev/docs/guided-tour/updating-data/imperatively-modifying-linked-fields/)
294
296
  """
295
297
  directive @updatable on QUERY | FRAGMENT_DEFINITION
296
298
 
@@ -299,7 +301,7 @@ directive @updatable on QUERY | FRAGMENT_DEFINITION
299
301
 
300
302
  Marks a given fragment as assignable.
301
303
 
302
- [Read More](https://relay.dev/docs/next/guided-tour/updating-data/imperatively-modifying-linked-fields/)
304
+ [Read More](https://relay.dev/docs/guided-tour/updating-data/imperatively-modifying-linked-fields/)
303
305
  """
304
306
  directive @assignable on FRAGMENT_DEFINITION
305
307
 
@@ -309,7 +311,7 @@ directive @assignable on FRAGMENT_DEFINITION
309
311
  Exposes a fragment's data as a new field which can be null checked to ensure it
310
312
  matches the parent selection.
311
313
 
312
- [Read More](https://relay.dev/docs/next/guides/alias-directive/)
314
+ [Read More](https://relay.dev/docs/guides/alias-directive/)
313
315
  """
314
316
  directive @alias(as: String) on FRAGMENT_SPREAD | INLINE_FRAGMENT
315
317
 
@@ -322,7 +324,7 @@ escape hatch for incremental adoption of enforcing `@alias`.
322
324
 
323
325
  DO NOT ADD NEW USES OF THIS DIRECTIVE.
324
326
 
325
- [Read More](https://relay.dev/docs/next/guides/alias-directive/)
327
+ [Read More](https://relay.dev/docs/guides/alias-directive/)
326
328
  """
327
329
  directive @dangerously_unaliased_fixme on FRAGMENT_SPREAD
328
330
 
package/win-x64/relay.exe CHANGED
Binary file