@isograph/react 0.0.0-main-fe41f671 → 0.0.0-main-e6ed7144

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @isograph/react@0.0.0-main-fe41f671 compile-typescript /Users/runner/work/isograph/isograph/libs/isograph-react
2
+ > @isograph/react@0.0.0-main-e6ed7144 compile-typescript /Users/runner/work/isograph/isograph/libs/isograph-react
3
3
  > rm -rf dist/* && tsc -p tsconfig.pkg.json
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isograph/react",
3
- "version": "0.0.0-main-fe41f671",
3
+ "version": "0.0.0-main-e6ed7144",
4
4
  "description": "Use Isograph with React",
5
5
  "homepage": "https://isograph.dev",
6
6
  "main": "dist/index.js",
@@ -20,9 +20,9 @@
20
20
  "iso-watch": "cross-env ../../target/debug/isograph_cli --config ./isograph.config.json --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@isograph/disposable-types": "0.0.0-main-fe41f671",
24
- "@isograph/react-disposable-state": "0.0.0-main-fe41f671",
25
- "@isograph/reference-counted-pointer": "0.0.0-main-fe41f671"
23
+ "@isograph/disposable-types": "0.0.0-main-e6ed7144",
24
+ "@isograph/react-disposable-state": "0.0.0-main-e6ed7144",
25
+ "@isograph/reference-counted-pointer": "0.0.0-main-e6ed7144"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": "^18.0.0 || ^19.0.0"
@@ -2,15 +2,9 @@ import type {IsographEntrypoint, NormalizationAst, RefetchQueryNormalizationArti
2
2
  import {Query__meName__param} from './param_type';
3
3
  import {Query__meName__output_type} from './output_type';
4
4
  import readerResolver from './resolver_reader';
5
+ import queryText from './query_text';
5
6
  const nestedRefetchQueries: RefetchQueryNormalizationArtifactWrapper[] = [];
6
7
 
7
- const queryText = 'query meName {\
8
- me {\
9
- id,\
10
- name,\
11
- },\
12
- }';
13
-
14
8
  const normalizationAst: NormalizationAst = {
15
9
  kind: "NormalizationAst",
16
10
  selections: [
@@ -0,0 +1,6 @@
1
+ export default 'query meName {\
2
+ me {\
3
+ id,\
4
+ name,\
5
+ },\
6
+ }';
@@ -2,22 +2,9 @@ import type {IsographEntrypoint, NormalizationAst, RefetchQueryNormalizationArti
2
2
  import {Query__meNameSuccessor__param} from './param_type';
3
3
  import {Query__meNameSuccessor__output_type} from './output_type';
4
4
  import readerResolver from './resolver_reader';
5
+ import queryText from './query_text';
5
6
  const nestedRefetchQueries: RefetchQueryNormalizationArtifactWrapper[] = [];
6
7
 
7
- const queryText = 'query meNameSuccessor {\
8
- me {\
9
- id,\
10
- name,\
11
- successor {\
12
- id,\
13
- successor {\
14
- id,\
15
- name,\
16
- },\
17
- },\
18
- },\
19
- }';
20
-
21
8
  const normalizationAst: NormalizationAst = {
22
9
  kind: "NormalizationAst",
23
10
  selections: [
@@ -0,0 +1,13 @@
1
+ export default 'query meNameSuccessor {\
2
+ me {\
3
+ id,\
4
+ name,\
5
+ successor {\
6
+ id,\
7
+ successor {\
8
+ id,\
9
+ name,\
10
+ },\
11
+ },\
12
+ },\
13
+ }';
@@ -2,15 +2,9 @@ import type {IsographEntrypoint, NormalizationAst, RefetchQueryNormalizationArti
2
2
  import {Query__nodeField__param} from './param_type';
3
3
  import {Query__nodeField__output_type} from './output_type';
4
4
  import readerResolver from './resolver_reader';
5
+ import queryText from './query_text';
5
6
  const nestedRefetchQueries: RefetchQueryNormalizationArtifactWrapper[] = [];
6
7
 
7
- const queryText = 'query nodeField ($id: ID!) {\
8
- node____id___v_id: node(id: $id) {\
9
- __typename,\
10
- id,\
11
- },\
12
- }';
13
-
14
8
  const normalizationAst: NormalizationAst = {
15
9
  kind: "NormalizationAst",
16
10
  selections: [
@@ -0,0 +1,6 @@
1
+ export default 'query nodeField ($id: ID!) {\
2
+ node____id___v_id: node(id: $id) {\
3
+ __typename,\
4
+ id,\
5
+ },\
6
+ }';
@@ -2,17 +2,9 @@ import type {IsographEntrypoint, NormalizationAst, RefetchQueryNormalizationArti
2
2
  import {Query__subquery__param} from './param_type';
3
3
  import {Query__subquery__output_type} from './output_type';
4
4
  import readerResolver from './resolver_reader';
5
+ import queryText from './query_text';
5
6
  const nestedRefetchQueries: RefetchQueryNormalizationArtifactWrapper[] = [];
6
7
 
7
- const queryText = 'query subquery ($id: ID!) {\
8
- query {\
9
- node____id___v_id: node(id: $id) {\
10
- __typename,\
11
- id,\
12
- },\
13
- },\
14
- }';
15
-
16
8
  const normalizationAst: NormalizationAst = {
17
9
  kind: "NormalizationAst",
18
10
  selections: [
@@ -0,0 +1,8 @@
1
+ export default 'query subquery ($id: ID!) {\
2
+ query {\
3
+ node____id___v_id: node(id: $id) {\
4
+ __typename,\
5
+ id,\
6
+ },\
7
+ },\
8
+ }';