@teambit/graphql 1.0.310 → 1.0.311

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
  <?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.310" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/graphql@1.0.311" 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={8602:(e,t,o)=>{var r={id:"teambit.harmony/graphql@1.0.310",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:()=>u});var i=o(8602);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={},d="wrapper";function u(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.indexOf(r)>=0)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.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,c);return(0,a.mdx)(d,l({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}u.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={82415:(e,t,o)=>{var r={id:"teambit.harmony/graphql@1.0.311",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:()=>u});var i=o(82415);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={},d="wrapper";function u(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.indexOf(r)>=0)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.indexOf(o)>=0||{}.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(e,c);return(0,a.mdx)(d,l({},s,o,{components:t,mdxType:"MDXLayout"}),(0,a.mdx)(p.MDXScopeProvider,{components:{},mdxType:"MDXScopeProvider"}))}u.isMDXComponent=!0;const f=[i],m=[n],y={compositions:[{displayName:"Logo",identifier:"Logo"}]};return r})()));
@@ -107,7 +107,8 @@
107
107
  "character": 1
108
108
  },
109
109
  "raw": "/**\n * graphql schema for an extension.\n */",
110
- "comment": "graphql schema for an extension."
110
+ "comment": "graphql schema for an extension.",
111
+ "tags": []
111
112
  },
112
113
  "signature": "type Schema = {\n typeDefs?: string | DocumentNode | undefined;\n resolvers?: {\n [key: string]: any;\n } | undefined;\n schemaDirectives?: SchemaDirectives | undefined;\n}",
113
114
  "name": "Schema",
@@ -449,7 +450,8 @@
449
450
  "character": 3
450
451
  },
451
452
  "raw": "/**\n * returns the schema for a specific aspect by its id.\n */",
452
- "comment": "returns the schema for a specific aspect by its id."
453
+ "comment": "returns the schema for a specific aspect by its id.",
454
+ "tags": []
453
455
  },
454
456
  "signature": "(method) GraphqlMain.getSchema(aspectId: string): Schema | undefined",
455
457
  "name": "getSchema",
@@ -501,7 +503,8 @@
501
503
  "character": 3
502
504
  },
503
505
  "raw": "/**\n * get multiple schema by aspect ids.\n */",
504
- "comment": "get multiple schema by aspect ids."
506
+ "comment": "get multiple schema by aspect ids.",
507
+ "tags": []
505
508
  },
506
509
  "signature": "(method) GraphqlMain.getSchemas(aspectIds: string[]): Schema[]",
507
510
  "name": "getSchemas",
@@ -606,7 +609,8 @@
606
609
  "character": 3
607
610
  },
608
611
  "raw": "/**\n * register a new graphql server.\n */",
609
- "comment": "register a new graphql server."
612
+ "comment": "register a new graphql server.",
613
+ "tags": []
610
614
  },
611
615
  "signature": "(method) GraphqlMain.registerServer(server: GraphQLServer): this",
612
616
  "name": "registerServer",
@@ -658,7 +662,8 @@
658
662
  "character": 3
659
663
  },
660
664
  "raw": "/**\n * register a pubsub client\n */",
661
- "comment": "register a pubsub client"
665
+ "comment": "register a pubsub client",
666
+ "tags": []
662
667
  },
663
668
  "signature": "(method) GraphqlMain.registerPubSub(pubsub: PubSubEngine): this",
664
669
  "name": "registerPubSub",
@@ -711,7 +716,8 @@
711
716
  "character": 3
712
717
  },
713
718
  "raw": "/**\n * start a graphql server.\n */",
714
- "comment": "start a graphql server."
719
+ "comment": "start a graphql server.",
720
+ "tags": []
715
721
  },
716
722
  "signature": "(method) GraphqlMain.listen(port?: number, server?: Server, app?: Express): Promise<void>",
717
723
  "name": "listen",
@@ -807,7 +813,8 @@
807
813
  "character": 3
808
814
  },
809
815
  "raw": "/**\n * register a new graphql module.\n */",
810
- "comment": "register a new graphql module."
816
+ "comment": "register a new graphql module.",
817
+ "tags": []
811
818
  },
812
819
  "signature": "(method) GraphqlMain.register(schema: Schema): this",
813
820
  "name": "register",
@@ -1378,7 +1385,8 @@
1378
1385
  "character": 3
1379
1386
  },
1380
1387
  "raw": "/**\n * get the graphQL provider\n */",
1381
- "comment": "get the graphQL provider"
1388
+ "comment": "get the graphQL provider",
1389
+ "tags": []
1382
1390
  },
1383
1391
  "signature": "(property) GraphqlUI.getProvider: ({ client, children }: {\n client: GraphQLClient<any>;\n children: ReactNode;\n}) => React.JSX.Element",
1384
1392
  "name": "getProvider",
@@ -1868,7 +1876,8 @@
1868
1876
  "character": 1
1869
1877
  },
1870
1878
  "raw": "/**\n * graphql schema for an extension.\n */",
1871
- "comment": "graphql schema for an extension."
1879
+ "comment": "graphql schema for an extension.",
1880
+ "tags": []
1872
1881
  },
1873
1882
  "signature": "type Schema = {\n typeDefs?: string | DocumentNode | undefined;\n resolvers?: {\n [key: string]: any;\n } | undefined;\n schemaDirectives?: SchemaDirectives | undefined;\n}",
1874
1883
  "name": "Schema",
@@ -2637,7 +2646,8 @@
2637
2646
  "character": 3
2638
2647
  },
2639
2648
  "raw": "/**\n * returns the schema for a specific aspect by its id.\n */",
2640
- "comment": "returns the schema for a specific aspect by its id."
2649
+ "comment": "returns the schema for a specific aspect by its id.",
2650
+ "tags": []
2641
2651
  },
2642
2652
  "signature": "(method) GraphqlMain.getSchema(aspectId: string): Schema | undefined",
2643
2653
  "name": "getSchema",
@@ -2689,7 +2699,8 @@
2689
2699
  "character": 3
2690
2700
  },
2691
2701
  "raw": "/**\n * get multiple schema by aspect ids.\n */",
2692
- "comment": "get multiple schema by aspect ids."
2702
+ "comment": "get multiple schema by aspect ids.",
2703
+ "tags": []
2693
2704
  },
2694
2705
  "signature": "(method) GraphqlMain.getSchemas(aspectIds: string[]): Schema[]",
2695
2706
  "name": "getSchemas",
@@ -2794,7 +2805,8 @@
2794
2805
  "character": 3
2795
2806
  },
2796
2807
  "raw": "/**\n * register a new graphql server.\n */",
2797
- "comment": "register a new graphql server."
2808
+ "comment": "register a new graphql server.",
2809
+ "tags": []
2798
2810
  },
2799
2811
  "signature": "(method) GraphqlMain.registerServer(server: GraphQLServer): this",
2800
2812
  "name": "registerServer",
@@ -2846,7 +2858,8 @@
2846
2858
  "character": 3
2847
2859
  },
2848
2860
  "raw": "/**\n * register a pubsub client\n */",
2849
- "comment": "register a pubsub client"
2861
+ "comment": "register a pubsub client",
2862
+ "tags": []
2850
2863
  },
2851
2864
  "signature": "(method) GraphqlMain.registerPubSub(pubsub: PubSubEngine): this",
2852
2865
  "name": "registerPubSub",
@@ -2899,7 +2912,8 @@
2899
2912
  "character": 3
2900
2913
  },
2901
2914
  "raw": "/**\n * start a graphql server.\n */",
2902
- "comment": "start a graphql server."
2915
+ "comment": "start a graphql server.",
2916
+ "tags": []
2903
2917
  },
2904
2918
  "signature": "(method) GraphqlMain.listen(port?: number, server?: Server, app?: Express): Promise<void>",
2905
2919
  "name": "listen",
@@ -2995,7 +3009,8 @@
2995
3009
  "character": 3
2996
3010
  },
2997
3011
  "raw": "/**\n * register a new graphql module.\n */",
2998
- "comment": "register a new graphql module."
3012
+ "comment": "register a new graphql module.",
3013
+ "tags": []
2999
3014
  },
3000
3015
  "signature": "(method) GraphqlMain.register(schema: Schema): this",
3001
3016
  "name": "register",
@@ -3588,7 +3603,8 @@
3588
3603
  "character": 3
3589
3604
  },
3590
3605
  "raw": "/**\n * get the graphQL provider\n */",
3591
- "comment": "get the graphQL provider"
3606
+ "comment": "get the graphQL provider",
3607
+ "tags": []
3592
3608
  },
3593
3609
  "signature": "(property) GraphqlUI.getProvider: ({ client, children }: {\n client: GraphQLClient<any>;\n children: ReactNode;\n}) => React.JSX.Element",
3594
3610
  "name": "getProvider",
@@ -3751,7 +3767,8 @@
3751
3767
  "character": 3
3752
3768
  },
3753
3769
  "raw": "/** Preset in-memory cache with state (e.g. continue state from SSR) */",
3754
- "comment": "Preset in-memory cache with state (e.g. continue state from SSR)"
3770
+ "comment": "Preset in-memory cache with state (e.g. continue state from SSR)",
3771
+ "tags": []
3755
3772
  },
3756
3773
  "signature": "(property) state?: NormalizedCacheObject | undefined",
3757
3774
  "name": "state",
@@ -3782,7 +3799,8 @@
3782
3799
  "character": 3
3783
3800
  },
3784
3801
  "raw": "/** endpoint for websocket connections */",
3785
- "comment": "endpoint for websocket connections"
3802
+ "comment": "endpoint for websocket connections",
3803
+ "tags": []
3786
3804
  },
3787
3805
  "signature": "(property) subscriptionUri?: string | undefined",
3788
3806
  "name": "subscriptionUri",
@@ -3967,7 +3985,7 @@
3967
3985
  "componentId": {
3968
3986
  "scope": "teambit.harmony",
3969
3987
  "name": "graphql",
3970
- "version": "1.0.310"
3988
+ "version": "1.0.311"
3971
3989
  },
3972
3990
  "taggedModuleExports": []
3973
3991
  }
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="got/dist/source/core/utils/timed-out" />
3
1
  import { Harmony, SlotRegistry } from '@teambit/harmony';
4
2
  import { Logger, LoggerMain } from '@teambit/logger';
5
3
  import { Express } from 'express';
@@ -1,5 +1,5 @@
1
- import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.310/dist/graphql.composition.js';
2
- import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.310/dist/graphql.docs.mdx';
1
+ import * as compositions_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.311/dist/graphql.composition.js';
2
+ import * as overview_0 from '/home/circleci/Library/Caches/Bit/capsules/8891be5ad/teambit.harmony_graphql@1.0.311/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.310",
3
+ "version": "1.0.311",
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.310"
9
+ "version": "1.0.311"
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.887",
36
- "@teambit/logger": "0.0.980",
35
+ "@teambit/cli": "0.0.888",
36
+ "@teambit/logger": "0.0.981",
37
37
  "@teambit/toolbox.network.get-port": "1.0.6",
38
- "@teambit/ui": "1.0.310"
38
+ "@teambit/ui": "1.0.311"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/cors": "2.8.10",