@types/relay-runtime
Advanced tools
Comparing version
@@ -73,2 +73,3 @@ // Type definitions for relay-runtime 14.1 | ||
MissingFieldHandler, | ||
RequiredFieldLogger, | ||
ModuleImportPointer, | ||
@@ -75,0 +76,0 @@ MutableRecordSource, |
@@ -916,4 +916,4 @@ import { MutationParameters } from '../mutations/commitMutation'; | ||
/** | ||
* A handler for events related to @required fields. Currently reports missing | ||
* fields with either `action: LOG` or `action: THROW`. | ||
* A handler for events related to @required fields or Relay Resolvers. Currently reports missing | ||
* fields with either `action: LOG` or `action: THROW` or when a Relay Resolver throws. | ||
*/ | ||
@@ -931,2 +931,8 @@ export type RequiredFieldLogger = ( | ||
fieldPath: string; | ||
}> | ||
| Readonly<{ | ||
kind: 'relay_resolver.error'; | ||
owner: string; | ||
fieldPath: string; | ||
error: Error; | ||
}>, | ||
@@ -933,0 +939,0 @@ ) => void; |
{ | ||
"name": "@types/relay-runtime", | ||
"version": "14.1.2", | ||
"version": "14.1.3", | ||
"description": "TypeScript definitions for relay-runtime", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/relay-runtime", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "556035a2fd19a2ffd6380d014572397d8bc0936af010a1ee33314e0f8ffa3923", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "25a1c54fe9ad46cd5fe253e215ad41603f74164a4f5861a94ce5020349163ca7", | ||
"typeScriptVersion": "4.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 24 Aug 2022 09:32:27 GMT | ||
* Last updated: Thu, 15 Sep 2022 23:02:48 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
140155
0.17%3434
0.2%