@teambit/graphql 1.0.13 → 1.0.14
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,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import type { GraphQLClient } from '../graphql.ui.runtime';
|
|
3
3
|
export declare type GraphQLProviderProps = {
|
|
4
4
|
client: GraphQLClient<any>;
|
|
5
5
|
children: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
export declare function GraphQLProvider({ client, children }: GraphQLProviderProps): JSX.Element;
|
|
7
|
+
export declare function GraphQLProvider({ client, children }: GraphQLProviderProps): React.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Logo: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const Logo: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { ApolloClient } from '@apollo/client';
|
|
3
3
|
import type { NormalizedCacheObject } from '@apollo/client';
|
|
4
4
|
import { GraphqlRenderPlugins } from './render-lifecycle';
|
|
@@ -27,7 +27,7 @@ export declare class GraphqlUI {
|
|
|
27
27
|
getProvider: ({ client, children }: {
|
|
28
28
|
client: GraphQLClient<any>;
|
|
29
29
|
children: ReactNode;
|
|
30
|
-
}) => JSX.Element;
|
|
30
|
+
}) => React.JSX.Element;
|
|
31
31
|
readonly renderPlugins: GraphqlRenderPlugins;
|
|
32
32
|
static runtime: import("@teambit/harmony").RuntimeDefinition;
|
|
33
33
|
static dependencies: never[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.
|
|
2
|
-
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.
|
|
1
|
+
import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.14/dist/graphql.composition.js';
|
|
2
|
+
import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad3d35bfc38b9cd90c0e05b598a5a55af/teambit.harmony_graphql@1.0.14/dist/graphql.docs.mdx';
|
|
3
3
|
|
|
4
4
|
export const compositions = [compositions_0];
|
|
5
5
|
export const overview = [overview_0];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import type { ApolloClient, NormalizedCacheObject } from '@apollo/client';
|
|
3
3
|
import type { SSR } from '@teambit/ui';
|
|
4
4
|
import type { GraphqlUI, GraphQLClient } from './graphql.ui.runtime';
|
|
@@ -34,6 +34,6 @@ export declare class GraphqlRenderPlugins implements SSR.RenderPlugin<RenderCont
|
|
|
34
34
|
reactContext: ({ renderCtx, children }: {
|
|
35
35
|
renderCtx?: RenderContext | undefined;
|
|
36
36
|
children: ReactNode;
|
|
37
|
-
}) => JSX.Element;
|
|
37
|
+
}) => React.JSX.Element;
|
|
38
38
|
}
|
|
39
39
|
export {};
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/graphql",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/harmony/graphql",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.harmony",
|
|
8
8
|
"name": "graphql",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.14"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@graphql-modules/core": "0.7.17",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@teambit/cli": "0.0.793",
|
|
37
37
|
"@teambit/logger": "0.0.886",
|
|
38
38
|
"@teambit/toolbox.network.get-port": "1.0.2",
|
|
39
|
-
"@teambit/ui": "1.0.
|
|
39
|
+
"@teambit/ui": "1.0.14"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/react": "^17.0.8",
|