@isograph/react 0.0.0-main-e7d6b095 → 0.0.0-main-5da1ab92
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/dist/core/IsographEnvironment.d.ts +1 -0
- package/dist/core/entrypoint.d.ts +2 -0
- package/package.json +4 -4
- package/src/core/IsographEnvironment.ts +1 -0
- package/src/core/entrypoint.ts +2 -0
- package/src/tests/__isograph/Query/meName/entrypoint.ts +1 -0
- package/src/tests/__isograph/Query/meNameSuccessor/entrypoint.ts +3 -0
- package/src/tests/__isograph/Query/nodeField/entrypoint.ts +1 -0
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { TypeName } from './IsographEnvironment';
|
1
2
|
import { TopLevelReaderArtifact } from './reader';
|
2
3
|
import { Arguments } from './util';
|
3
4
|
export type ReaderWithRefetchQueries<TReadFromStore extends {
|
@@ -37,6 +38,7 @@ export type NormalizationLinkedField = {
|
|
37
38
|
readonly fieldName: string;
|
38
39
|
readonly arguments: Arguments | null;
|
39
40
|
readonly selections: NormalizationAst;
|
41
|
+
readonly concreteType: TypeName | null;
|
40
42
|
};
|
41
43
|
export type NormalizationInlineFragment = {
|
42
44
|
readonly kind: 'InlineFragment';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@isograph/react",
|
3
|
-
"version": "0.0.0-main-
|
3
|
+
"version": "0.0.0-main-5da1ab92",
|
4
4
|
"description": "Use Isograph with React",
|
5
5
|
"homepage": "https://isograph.dev",
|
6
6
|
"main": "dist/index.js",
|
@@ -17,9 +17,9 @@
|
|
17
17
|
"tsc": "tsc"
|
18
18
|
},
|
19
19
|
"dependencies": {
|
20
|
-
"@isograph/disposable-types": "0.0.0-main-
|
21
|
-
"@isograph/react-disposable-state": "0.0.0-main-
|
22
|
-
"@isograph/reference-counted-pointer": "0.0.0-main-
|
20
|
+
"@isograph/disposable-types": "0.0.0-main-5da1ab92",
|
21
|
+
"@isograph/react-disposable-state": "0.0.0-main-5da1ab92",
|
22
|
+
"@isograph/reference-counted-pointer": "0.0.0-main-5da1ab92"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
25
|
"react": "18.3.1"
|
package/src/core/entrypoint.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import type { TypeName } from './IsographEnvironment';
|
1
2
|
import { TopLevelReaderArtifact } from './reader';
|
2
3
|
import { Arguments } from './util';
|
3
4
|
|
@@ -57,6 +58,7 @@ export type NormalizationLinkedField = {
|
|
57
58
|
readonly fieldName: string;
|
58
59
|
readonly arguments: Arguments | null;
|
59
60
|
readonly selections: NormalizationAst;
|
61
|
+
readonly concreteType: TypeName | null;
|
60
62
|
};
|
61
63
|
|
62
64
|
export type NormalizationInlineFragment = {
|
@@ -23,6 +23,7 @@ const normalizationAst: NormalizationAst = [
|
|
23
23
|
kind: "Linked",
|
24
24
|
fieldName: "me",
|
25
25
|
arguments: null,
|
26
|
+
concreteType: "Economist",
|
26
27
|
selections: [
|
27
28
|
{
|
28
29
|
kind: "Scalar",
|
@@ -38,6 +39,7 @@ const normalizationAst: NormalizationAst = [
|
|
38
39
|
kind: "Linked",
|
39
40
|
fieldName: "successor",
|
40
41
|
arguments: null,
|
42
|
+
concreteType: "Economist",
|
41
43
|
selections: [
|
42
44
|
{
|
43
45
|
kind: "Scalar",
|
@@ -48,6 +50,7 @@ const normalizationAst: NormalizationAst = [
|
|
48
50
|
kind: "Linked",
|
49
51
|
fieldName: "successor",
|
50
52
|
arguments: null,
|
53
|
+
concreteType: "Economist",
|
51
54
|
selections: [
|
52
55
|
{
|
53
56
|
kind: "Scalar",
|