@teambit/graphql 1.0.410 → 1.0.412

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.harmony/graphql@1.0.410" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/graphql@1.0.412" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/graphql-preview"]=t():e["teambit.harmony/graphql-preview"]=t()}(self,(()=>(()=>{"use strict";var e={34185:(e,t,o)=>{var r={id:"teambit.harmony/graphql@1.0.410",homepage:"https://bit.cloud/teambit/harmony/graphql",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-grphql.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>d});var i=o(34185);o(41594);const a=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var c=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},l.apply(null,arguments)}var s={},u="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,c);return(0,a.mdx)(u,l({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],m=[n],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["teambit.harmony/graphql-preview"]=t():e["teambit.harmony/graphql-preview"]=t()}(self,(()=>(()=>{"use strict";var e={22431:(e,t,o)=>{var r={id:"teambit.harmony/graphql@1.0.412",homepage:"https://bit.cloud/teambit/harmony/graphql",exported:!0};function n(){const e=i(o(41594));return n=function(){return e},e}function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Logo=void 0,n.__bit_component=r,i.__bit_component=r;const a=()=>n().default.createElement("div",{style:{height:"100%",display:"flex",justifyContent:"center"}},n().default.createElement("img",{style:{width:70},src:"https://static.bit.dev/brands/logo-grphql.svg"}));a.__bit_component=r,t.Logo=a},41594:e=>{e.exports=React}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};o.r(r),o.d(r,{compositions:()=>f,compositions_metadata:()=>y,overview:()=>m});var n={};o.r(n),o.d(n,{default:()=>d});var i=o(22431);o(41594);const a=MdxJsReact,p=TeambitMdxUiMdxScopeContext;var c=["components"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},l.apply(null,arguments)}var s={},u="wrapper";function d(e){var t=e.components,o=function(e,t){if(null==e)return{};var o,r,n=function(e,t){if(null==e)return{};var o={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;o[r]=e[r]}return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,c);return(0,a.mdx)(u,l({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}d.isMDXComponent=!0;const f=[i],m=[n],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -20,6 +20,7 @@
20
20
  "line": 1,
21
21
  "character": 10
22
22
  },
23
+ "signature": "const GraphqlAspect: Aspect",
23
24
  "name": "GraphqlAspect",
24
25
  "exportNode": {
25
26
  "__schema": "VariableLikeSchema",
@@ -55,6 +56,7 @@
55
56
  "line": 1,
56
57
  "character": 42
57
58
  },
59
+ "signature": "const GraphqlAspect: Aspect",
58
60
  "name": "GraphqlAspect",
59
61
  "exportNode": {
60
62
  "__schema": "VariableLikeSchema",
@@ -91,6 +93,7 @@
91
93
  "line": 3,
92
94
  "character": 15
93
95
  },
96
+ "signature": "type Schema = {\n typeDefs?: string | DocumentNode | undefined;\n resolvers?: {\n [key: string]: any;\n } | undefined;\n schemaDirectives?: SchemaDirectives | undefined;\n}",
94
97
  "name": "Schema",
95
98
  "exportNode": {
96
99
  "__schema": "TypeSchema",
@@ -248,6 +251,7 @@
248
251
  "line": 4,
249
252
  "character": 15
250
253
  },
254
+ "signature": "class GraphqlMain",
251
255
  "name": "GraphqlMain",
252
256
  "exportNode": {
253
257
  "__schema": "ClassSchema",
@@ -1072,6 +1076,7 @@
1072
1076
  "line": 4,
1073
1077
  "character": 28
1074
1078
  },
1079
+ "signature": "type SchemaSlot = SlotRegistry<Schema>",
1075
1080
  "name": "SchemaSlot",
1076
1081
  "exportNode": {
1077
1082
  "__schema": "TypeSchema",
@@ -1111,6 +1116,7 @@
1111
1116
  "line": 5,
1112
1117
  "character": 15
1113
1118
  },
1119
+ "signature": "class GraphqlUI",
1114
1120
  "name": "GraphqlUI",
1115
1121
  "exportNode": {
1116
1122
  "__schema": "ClassSchema",
@@ -1487,6 +1493,7 @@
1487
1493
  "line": 5,
1488
1494
  "character": 26
1489
1495
  },
1496
+ "signature": "type GraphQLClient<T> = ApolloClient<T>",
1490
1497
  "name": "GraphQLClient",
1491
1498
  "exportNode": {
1492
1499
  "__schema": "TypeSchema",
@@ -1548,6 +1555,7 @@
1548
1555
  "line": 6,
1549
1556
  "character": 15
1550
1557
  },
1558
+ "signature": "interface GraphQLServer",
1551
1559
  "name": "GraphQLServer",
1552
1560
  "exportNode": {
1553
1561
  "__schema": "InterfaceSchema",
@@ -1610,6 +1618,7 @@
1610
1618
  "line": 7,
1611
1619
  "character": 10
1612
1620
  },
1621
+ "signature": "function GraphQLProvider({ client, children }: GraphQLProviderProps): React.JSX.Element",
1613
1622
  "name": "GraphQLProvider",
1614
1623
  "exportNode": {
1615
1624
  "__schema": "ReactSchema",
@@ -1686,6 +1695,7 @@
1686
1695
  "line": 8,
1687
1696
  "character": 10
1688
1697
  },
1698
+ "signature": "class GraphQlError",
1689
1699
  "name": "GraphQlError",
1690
1700
  "exportNode": {
1691
1701
  "__schema": "ClassSchema",
@@ -3895,7 +3905,7 @@
3895
3905
  "componentId": {
3896
3906
  "scope": "teambit.harmony",
3897
3907
  "name": "graphql",
3898
- "version": "1.0.410"
3908
+ "version": "1.0.412"
3899
3909
  },
3900
3910
  "taggedModuleExports": []
3901
3911
  }
@@ -80,7 +80,7 @@ export declare class GraphqlMain {
80
80
  * get multiple schema by aspect ids.
81
81
  */
82
82
  getSchemas(aspectIds: string[]): Schema[];
83
- createServer(options: GraphQLServerOptions): Promise<Server>;
83
+ createServer(options: GraphQLServerOptions): Promise<Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>>;
84
84
  /**
85
85
  * register a new graphql server.
86
86
  */
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.410/dist/graphql.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.410/dist/graphql.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.412/dist/graphql.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.412/dist/graphql.docs.mdx';
3
3
 
4
4
  export const compositions = [compositions_0];
5
5
  export const overview = [overview_0];
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/graphql",
3
- "version": "1.0.410",
3
+ "version": "1.0.412",
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.410"
9
+ "version": "1.0.412"
10
10
  },
11
11
  "dependencies": {
12
12
  "@graphql-modules/core": "0.7.17",
@@ -32,10 +32,10 @@
32
32
  "bufferutil": "4.0.3",
33
33
  "@teambit/harmony": "0.4.6",
34
34
  "@teambit/ui-foundation.ui.is-browser": "0.0.500",
35
- "@teambit/cli": "0.0.987",
36
- "@teambit/logger": "0.0.1080",
35
+ "@teambit/cli": "0.0.989",
36
+ "@teambit/logger": "0.0.1082",
37
37
  "@teambit/toolbox.network.get-port": "1.0.6",
38
- "@teambit/ui": "1.0.410"
38
+ "@teambit/ui": "1.0.412"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/cors": "2.8.10",
@@ -43,8 +43,7 @@
43
43
  "@types/lodash": "4.14.165",
44
44
  "@types/node-fetch": "2.5.12",
45
45
  "@types/mocha": "9.1.0",
46
- "chai": "4.3.0",
47
- "@teambit/harmony.envs.core-aspect-env": "0.0.47"
46
+ "@teambit/harmony.envs.core-aspect-env": "0.0.59"
48
47
  },
49
48
  "peerDependencies": {
50
49
  "@apollo/client": "^3.6.0",